PHPWord is a
pure PHP library for reading and writing Word
, ODT, and RTF
files
.
This file is the
source file
to test the
rea
d/write capabilites of
.
PHPWord can apply font formats such as
name and size
,
bold
,
italics
,
color
,
underline
,
strikethrough
,
double strikethrough
,
small caps
,
all caps
,
subscript
,
superscript
, or
highlighted
.
You may also notice that there’s
one
text break (empty paragr
aph) before this one that can be created also by PHPWord
.
PHPWord can also format paragraph such as this
justified
,
12pt before and 12pt after with 1.5 lines spacing paragraph. This formatting can be applied inline or using predefined style as we use to do in Word.
PHPWord can also create multicolumn paragra
ph which is treated as a new section with continous break type. We can define
either the number of columns or spacing between the columns.
PHPWord can create bulleted lists …
Point 1
Point 2
… and numbered lists too.
One
Two
Three
Tables are also easy to be made by using PHPWord.
A |
B |
|
|
C |
D |
PHPWord can insert images in your documents.
End note
Rowspan
Colspan