From 741ca2bbc457acec54698fbfac55c791fd0ec527 Mon Sep 17 00:00:00 2001 From: Ivan Lanin Date: Wed, 19 Mar 2014 18:57:19 +0700 Subject: [PATCH] Add file formats support section in docs/intro.rst #82 --- docs/intro.rst | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/docs/intro.rst b/docs/intro.rst index 37bc01c1..903372fb 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -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 ------------------