Add file formats support section in docs/intro.rst #82

This commit is contained in:
Ivan Lanin 2014-03-19 18:57:19 +07:00
parent 855b36b0aa
commit 741ca2bbc4
1 changed files with 89 additions and 0 deletions

View File

@ -28,9 +28,98 @@ Currently PHPWord can:
* Insert list items as bulleted, numbered, or multilevel
* Insert hyperlinks
* Create document from templates
* Use XSL 1.0 style sheets to transform main document part of OOXML template
* ... and many more features on progress
File formats support
--------------------
Below are the supported features for each file formats.
Writers
~~~~~~~
+------+-----------------+--------+-------+-------+
| No | Element | DOCX | ODT | RTF |
+======+=================+========+=======+=======+
| 1 | Text | v | v | v |
+------+-----------------+--------+-------+-------+
| 2 | Text Run | v | v | v |
+------+-----------------+--------+-------+-------+
| 3 | Title | v | | |
+------+-----------------+--------+-------+-------+
| 4 | Link | v | | |
+------+-----------------+--------+-------+-------+
| 5 | Preserve Text | v | | |
+------+-----------------+--------+-------+-------+
| 6 | Text Break | v | v | v |
+------+-----------------+--------+-------+-------+
| 7 | Page Break | v | | |
+------+-----------------+--------+-------+-------+
| 8 | List | v | | |
+------+-----------------+--------+-------+-------+
| 9 | Table | v | | |
+------+-----------------+--------+-------+-------+
| 10 | Image | v | | |
+------+-----------------+--------+-------+-------+
| 11 | MemoryImage | v | | |
+------+-----------------+--------+-------+-------+
| 12 | Object | v | | |
+------+-----------------+--------+-------+-------+
| 13 | Watermark | v | | |
+------+-----------------+--------+-------+-------+
| 14 | TOC | v | | |
+------+-----------------+--------+-------+-------+
| 15 | Header | v | | |
+------+-----------------+--------+-------+-------+
| 16 | Footer | v | | |
+------+-----------------+--------+-------+-------+
| 17 | Footnote | v | | |
+------+-----------------+--------+-------+-------+
Readers
~~~~~~~
+------+-----------------+--------+-------+-------+
| No | Element | DOCX | ODT | RTF |
+======+=================+========+=======+=======+
| 1 | Text | v | | |
+------+-----------------+--------+-------+-------+
| 2 | Text Run | v | | |
+------+-----------------+--------+-------+-------+
| 3 | Title | | | |
+------+-----------------+--------+-------+-------+
| 4 | Link | | | |
+------+-----------------+--------+-------+-------+
| 5 | Preserve Text | | | |
+------+-----------------+--------+-------+-------+
| 6 | Text Break | v | | |
+------+-----------------+--------+-------+-------+
| 7 | Page Break | | | |
+------+-----------------+--------+-------+-------+
| 8 | List | | | |
+------+-----------------+--------+-------+-------+
| 9 | Table | | | |
+------+-----------------+--------+-------+-------+
| 10 | Image | | | |
+------+-----------------+--------+-------+-------+
| 11 | MemoryImage | | | |
+------+-----------------+--------+-------+-------+
| 12 | Object | | | |
+------+-----------------+--------+-------+-------+
| 13 | Watermark | | | |
+------+-----------------+--------+-------+-------+
| 14 | TOC | | | |
+------+-----------------+--------+-------+-------+
| 15 | Header | | | |
+------+-----------------+--------+-------+-------+
| 16 | Footer | | | |
+------+-----------------+--------+-------+-------+
| 17 | Footnote | | | |
+------+-----------------+--------+-------+-------+
Requirements
------------------