You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHPWord is a library written in pure PHP that provides a set of classes to write to and read from different document file formats. The current version of PHPWord supports Microsoft [Office Open XML](http://en.wikipedia.org/wiki/Office_Open_XML) (OOXML or OpenXML), OASIS [Open Document Format for Office Applications](http://en.wikipedia.org/wiki/OpenDocument) (OpenDocument or ODF), and [Rich Text Format](http://en.wikipedia.org/wiki/Rich_Text_Format) (RTF).
10
+
PHPWord is a library written in pure PHP that provides a set of classes to write to and read from different document file formats. The current version of PHPWord supports Microsoft [Office Open XML](http://en.wikipedia.org/wiki/Office_Open_XML) (OOXML or OpenXML), OASIS [Open Document Format for Office Applications](http://en.wikipedia.org/wiki/OpenDocument) (OpenDocument or ODF), [Rich Text Format](http://en.wikipedia.org/wiki/Rich_Text_Format) (RTF), HTML, and PDF.
11
+
12
+
PHPWord is an open source project licensed under the terms of [LGPL version 3](https://github.com/PHPOffice/PHPWord/blob/develop/LICENSE.md). PHPWord is aimed to be a high quality software product by incorporating [continuous integration](https://travis-ci.org/PHPOffice/PHPWord) and [unit testing](http://phpoffice.github.io/PHPWord/coverage/develop/). You can learn more about PHPWord by reading the [Developers' Documentation](http://phpword.readthedocs.org/) and the [API Documentation](http://phpoffice.github.io/PHPWord/docs/develop/).
13
+
14
+
## Features
11
15
12
16
With PHPWord, you can create DOCX, ODT, or RTF documents dynamically using your PHP 5.3+ scripts. Below are some of the things that you can do with PHPWord library:
13
17
14
-
* Set document properties, e.g. title, subject, and creator.
15
-
* Create document sections with different settings, e.g. portrait/landscape, page size, and page numbering
16
-
* Create header and footer for each sections
17
-
* Set default font type, font size, and paragraph style
18
-
* Use UTF-8 and East Asia fonts/characters
19
-
* Define custom font styles (e.g. bold, italic, color) and paragraph styles (e.g. centered, multicolumns, spacing) either as named style or inline in text
20
-
* Insert paragraphs, either as a simple text or complex one (a text run) that contains other elements
21
-
* Insert titles (headers) and table of contents
22
-
* Insert text breaks and page breaks
23
-
* Insert and format images, either local, remote, or as page watermarks
24
-
* Insert binary OLE Objects such as Excel or Visio
25
-
* Insert and format table with customized properties for each rows (e.g. repeat as header row) and cells (e.g. background color, rowspan, colspan)
26
-
* Insert list items as bulleted, numbered, or multilevel
27
-
* Insert hyperlinks
28
-
* Insert footnotes and endnotes
29
-
* Create document from templates
30
-
* Use XSL 1.0 style sheets to transform main document part of OOXML template
31
-
* ... and many more features on progress
32
-
33
-
__Want to contribute?__[Fork us](https://github.com/PHPOffice/PHPWord/fork) or [submit](https://github.com/PHPOffice/PHPWord/issues) your bug reports or feature requests to us.
18
+
- Set document properties, e.g. title, subject, and creator.
19
+
- Create document sections with different settings, e.g. portrait/landscape, page size, and page numbering
20
+
- Create header and footer for each sections
21
+
- Set default font type, font size, and paragraph style
22
+
- Use UTF-8 and East Asia fonts/characters
23
+
- Define custom font styles (e.g. bold, italic, color) and paragraph styles (e.g. centered, multicolumns, spacing) either as named style or inline in text
24
+
- Insert paragraphs, either as a simple text or complex one (a text run) that contains other elements
25
+
- Insert titles (headers) and table of contents
26
+
- Insert text breaks and page breaks
27
+
- Insert and format images, either local, remote, or as page watermarks
28
+
- Insert binary OLE Objects such as Excel or Visio
29
+
- Insert and format table with customized properties for each rows (e.g. repeat as header row) and cells (e.g. background color, rowspan, colspan)
30
+
- Insert list items as bulleted, numbered, or multilevel
31
+
- Insert hyperlinks
32
+
- Insert footnotes and endnotes
33
+
- Create document from templates
34
+
- Use XSL 1.0 style sheets to transform main document part of OOXML template
-[Fork us](https://github.com/PHPOffice/PHPWord/fork) and [request a pull](https://github.com/PHPOffice/PHPWord/pulls) to the [develop](https://github.com/PHPOffice/PHPWord/tree/develop) branch
120
+
- Submit [bug reports or feature requests](https://github.com/PHPOffice/PHPWord/issues) to GitHub
121
+
- Follow [@PHPWord](https://twitter.com/PHPWord) and [@PHPOffice](https://twitter.com/PHPOffice) on Twitter
Copy file name to clipboardExpand all lines: docs/src/documentation.md
+20-10Lines changed: 20 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,11 +47,7 @@ Don't forget to change `code::` directive to `code-block::` in the resulting rst
47
47
48
48
PHPWord is a library written in pure PHP that provides a set of classes to write to and read from different document file formats. The current version of PHPWord supports Microsoft [Office Open XML](http://en.wikipedia.org/wiki/Office_Open_XML) (OOXML or OpenXML), OASIS [Open Document Format for Office Applications](http://en.wikipedia.org/wiki/OpenDocument) (OpenDocument or ODF), and [Rich Text Format](http://en.wikipedia.org/wiki/Rich_Text_Format) (RTF).
49
49
50
-
No Windows operating system is needed for usage because the resulting DOCX, ODT, or RTF files can be opened by all major [word processing softwares](http://en.wikipedia.org/wiki/List_of_word_processors).
51
-
52
-
PHPWord is an open source project licensed under LGPL version 3. PHPWord is [unit tested](https://travis-ci.org/PHPOffice/PHPWord) to make sure that the released versions are stable.
53
-
54
-
**Want to contribute?**[Fork us](https://github.com/PHPOffice/PHPWord/fork) or [submit](https://github.com/PHPOffice/PHPWord/issues) your bug reports or feature requests to us.
50
+
PHPWord is an open source project licensed under the terms of [LGPL version 3](https://github.com/PHPOffice/PHPWord/blob/develop/LICENSE.md). PHPWord is aimed to be a high quality software product by incorporating [continuous integration](https://travis-ci.org/PHPOffice/PHPWord) and [unit testing](http://phpoffice.github.io/PHPWord/coverage/develop/). You can learn more about PHPWord by reading this Developers' Documentation and the [API Documentation](http://phpoffice.github.io/PHPWord/docs/develop/).
55
51
56
52
## Features
57
53
@@ -142,6 +138,15 @@ Below are the supported features for each file formats.
142
138
|**Bonus**| Encryption ||||
143
139
|| Protection ||||
144
140
141
+
## Contributing
142
+
143
+
We welcome everyone to contribute to PHPWord. Below are some of the things that you can do to contribute:
-[Fork us](https://github.com/PHPOffice/PHPWord/fork) and [request a pull](https://github.com/PHPOffice/PHPWord/pulls) to the [develop](https://github.com/PHPOffice/PHPWord/tree/develop) branch
147
+
- Submit [bug reports or feature requests](https://github.com/PHPOffice/PHPWord/issues) to GitHub
148
+
- Follow [@PHPWord](https://twitter.com/PHPWord) and [@PHPOffice](https://twitter.com/PHPOffice) on Twitter
149
+
145
150
# Installing/configuring
146
151
147
152
## Requirements
@@ -938,13 +943,18 @@ PHPWord requires PHP 5.3+ since 0.8, while PHPWord 0.6.3 from CodePlex can run w
938
943
939
944
# References
940
945
946
+
## ISO/IEC 29500, Third edition, 2012-09-01
947
+
948
+
-[Part 1: Fundamentals and Markup Language Reference](http://standards.iso.org/ittf/PubliclyAvailableStandards/c061750_ISO_IEC_29500-1_2012.zip)
949
+
-[Part 2: Open Packaging Conventions](http://standards.iso.org/ittf/PubliclyAvailableStandards/c061796_ISO_IEC_29500-2_2012.zip)
950
+
-[Part 3: Markup Compatibility and Extensibility](http://standards.iso.org/ittf/PubliclyAvailableStandards/c061797_ISO_IEC_29500-3_2012.zip)
-[Office Open XML (OOXML) (ECMA-376) Schema](http://www.schemacentral.com/sc/ooxml/ss.html)
944
-
-[Oasis OpenDocument Standard Version 1.2](http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os.html)
945
-
-[Rich Text Format (RTF) Specification, version 1.9.1](http://www.microsoft.com/en-us/download/details.aspx?id=10725)
955
+
-[Oasis OpenDocument Standard Version 1.2](http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os.html)
956
+
-[Rich Text Format (RTF) Specification, version 1.9.1](http://www.microsoft.com/en-us/download/details.aspx?id=10725)
946
957
947
958
## Other resources
948
959
949
-
-[DocumentFormat.OpenXml.Wordprocessing Namespace on MSDN](http://msdn.microsoft.com/en-us/library/documentformat.openxml.wordprocessing%28v=office.14%29.aspx)
950
-
960
+
-[DocumentFormat.OpenXml.Wordprocessing Namespace on MSDN](http://msdn.microsoft.com/en-us/library/documentformat.openxml.wordprocessing%28v=office.14%29.aspx)
0 commit comments