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
Copy file name to clipboardExpand all lines: README.md
+26-4Lines changed: 26 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,33 @@
5
5
6
6
__OpenXML - Read, Write and Create Word documents in PHP.__
7
7
8
-
PHPWord is a library written in PHP that create word documents.
8
+
PHPWord is a library written in pure PHP and providing a set of classes that allow you to write to and read from different document file formats, like Word (.docx), WordPad (.rtf), Libre/OpenOffice Writer (.odt).
9
9
10
-
No Windows operating system is needed for usage because the result are docx files (Office Open XML) that can be
11
-
opened by all major office software.
10
+
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).
11
+
12
+
PHPWord is an open source project licensed under [LGPL](license.md). PHPWord is unit tested to make sure that the released versions are stable.
12
13
13
14
__Want to contribute?__ Fork us!
14
15
16
+
## Features
17
+
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
+
* Create document from templates
33
+
* ... and many more features on progress
34
+
15
35
## Requirements
16
36
17
37
* PHP version 5.3.0 or higher
@@ -33,6 +53,8 @@ the following lines to your ``composer.json``.
33
53
34
54
## Documentation
35
55
56
+
We're reorganizing our documentation. Below are some of the most important things that you needed to get PHPWord creates document for you in no time.
57
+
36
58
### Table of contents
37
59
38
60
1.[Basic usage](#basic-usage)
@@ -52,7 +74,7 @@ the following lines to your ``composer.json``.
52
74
<aname="basic-usage"></a>
53
75
#### Basic usage
54
76
55
-
The following is a basic example of the PHPWord library.
77
+
The following is a basic example of the PHPWord library. More examples are provided in the (sample folder)[samples/].
0 commit comments