Skip to content

Commit 741ca2b

Browse files
committed
Add file formats support section in docs/intro.rst #82
1 parent 855b36b commit 741ca2b

File tree

1 file changed

+89
-0
lines changed

1 file changed

+89
-0
lines changed

docs/intro.rst

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,98 @@ Currently PHPWord can:
2828
* Insert list items as bulleted, numbered, or multilevel
2929
* Insert hyperlinks
3030
* Create document from templates
31+
* Use XSL 1.0 style sheets to transform main document part of OOXML template
3132
* ... and many more features on progress
3233

3334

35+
File formats support
36+
--------------------
37+
38+
Below are the supported features for each file formats.
39+
40+
Writers
41+
~~~~~~~
42+
43+
+------+-----------------+--------+-------+-------+
44+
| No | Element | DOCX | ODT | RTF |
45+
+======+=================+========+=======+=======+
46+
| 1 | Text | v | v | v |
47+
+------+-----------------+--------+-------+-------+
48+
| 2 | Text Run | v | v | v |
49+
+------+-----------------+--------+-------+-------+
50+
| 3 | Title | v | | |
51+
+------+-----------------+--------+-------+-------+
52+
| 4 | Link | v | | |
53+
+------+-----------------+--------+-------+-------+
54+
| 5 | Preserve Text | v | | |
55+
+------+-----------------+--------+-------+-------+
56+
| 6 | Text Break | v | v | v |
57+
+------+-----------------+--------+-------+-------+
58+
| 7 | Page Break | v | | |
59+
+------+-----------------+--------+-------+-------+
60+
| 8 | List | v | | |
61+
+------+-----------------+--------+-------+-------+
62+
| 9 | Table | v | | |
63+
+------+-----------------+--------+-------+-------+
64+
| 10 | Image | v | | |
65+
+------+-----------------+--------+-------+-------+
66+
| 11 | MemoryImage | v | | |
67+
+------+-----------------+--------+-------+-------+
68+
| 12 | Object | v | | |
69+
+------+-----------------+--------+-------+-------+
70+
| 13 | Watermark | v | | |
71+
+------+-----------------+--------+-------+-------+
72+
| 14 | TOC | v | | |
73+
+------+-----------------+--------+-------+-------+
74+
| 15 | Header | v | | |
75+
+------+-----------------+--------+-------+-------+
76+
| 16 | Footer | v | | |
77+
+------+-----------------+--------+-------+-------+
78+
| 17 | Footnote | v | | |
79+
+------+-----------------+--------+-------+-------+
80+
81+
Readers
82+
~~~~~~~
83+
84+
+------+-----------------+--------+-------+-------+
85+
| No | Element | DOCX | ODT | RTF |
86+
+======+=================+========+=======+=======+
87+
| 1 | Text | v | | |
88+
+------+-----------------+--------+-------+-------+
89+
| 2 | Text Run | v | | |
90+
+------+-----------------+--------+-------+-------+
91+
| 3 | Title | | | |
92+
+------+-----------------+--------+-------+-------+
93+
| 4 | Link | | | |
94+
+------+-----------------+--------+-------+-------+
95+
| 5 | Preserve Text | | | |
96+
+------+-----------------+--------+-------+-------+
97+
| 6 | Text Break | v | | |
98+
+------+-----------------+--------+-------+-------+
99+
| 7 | Page Break | | | |
100+
+------+-----------------+--------+-------+-------+
101+
| 8 | List | | | |
102+
+------+-----------------+--------+-------+-------+
103+
| 9 | Table | | | |
104+
+------+-----------------+--------+-------+-------+
105+
| 10 | Image | | | |
106+
+------+-----------------+--------+-------+-------+
107+
| 11 | MemoryImage | | | |
108+
+------+-----------------+--------+-------+-------+
109+
| 12 | Object | | | |
110+
+------+-----------------+--------+-------+-------+
111+
| 13 | Watermark | | | |
112+
+------+-----------------+--------+-------+-------+
113+
| 14 | TOC | | | |
114+
+------+-----------------+--------+-------+-------+
115+
| 15 | Header | | | |
116+
+------+-----------------+--------+-------+-------+
117+
| 16 | Footer | | | |
118+
+------+-----------------+--------+-------+-------+
119+
| 17 | Footnote | | | |
120+
+------+-----------------+--------+-------+-------+
121+
122+
34123
Requirements
35124
------------------
36125

0 commit comments

Comments
 (0)