Methods summary
public
|
#
__construct( integer $sectionCount, mixed $settings = null )
Create a new Section
Parameters
- $sectionCount
integer $sectionCount
- $settings
mixed $settings
|
public
PHPWord_Section_Settings
|
|
public
PHPWord_Section_Text
|
#
addText( string $text, mixed $styleFont = null, mixed $styleParagraph = null )
Add a Text Element
Parameters
- $text
string $text
- $styleFont
mixed $styleFont
- $styleParagraph
mixed $styleParagraph
Returns
|
public
PHPWord_Section_Link
|
#
addLink( string $linkSrc, string $linkName = null, mixed $styleFont = null, mixed $styleParagraph = null )
Add a Link Element
Parameters
- $linkSrc
string $linkSrc
- $linkName
string $linkName
- $styleFont
mixed $styleFont
- $styleParagraph
mixed $styleParagraph
Returns
|
public
|
#
addTextBreak( integer $count = 1 )
Add a TextBreak Element
Parameters
|
public
|
|
public
PHPWord_Section_Table
|
#
addTable( mixed $style = null )
Add a Table Element
Parameters
Returns
|
public
PHPWord_Section_ListItem
|
#
addListItem( string $text, integer $depth = 0, mixed $styleFont = null, mixed $styleList = null, mixed $styleParagraph = null )
Add a ListItem Element
Parameters
- $text
string $text
- $depth
integer $depth
- $styleFont
mixed $styleFont
- $styleList
mixed $styleList
- $styleParagraph
mixed $styleParagraph
Returns
|
public
PHPWord_Section_Object
|
#
addObject( string $src, mixed $style = null )
Add a OLE-Object Element
Parameters
- $src
string $src
- $style
mixed $style
Returns
|
public
PHPWord_Section_Image
|
#
addImage( string $src, mixed $style = null )
Add a Image Element
Parameters
- $src
string $src
- $style
mixed $style
Returns
|
public
PHPWord_Section_MemoryImage
|
#
addMemoryImage( string $link, mixed $style = null )
Add a by PHP created Image Element
Add a by PHP created Image Element
Parameters
- $link
string $link
- $style
mixed $style
Returns
|
public
PHPWord_TOC
|
#
addTOC( mixed $styleFont = null, mixed $styleTOC = null )
Add a Table-of-Contents Element
Add a Table-of-Contents Element
Parameters
- $styleFont
mixed $styleFont
- $styleTOC
mixed $styleTOC
Returns
|
public
PHPWord_Section_Title
|
#
addTitle( string $text, integer $depth = 1 )
Add a Title Element
Parameters
- $text
string $text
- $depth
integer $depth
Returns
|
public
PHPWord_Section_TextRun
|
#
createTextRun( mixed $styleParagraph = null )
Create a new TextRun
Returns
|
public
array
|
|
public
Boolean
|
#
hasDifferentFirstPage( )
Is there a header for this section that is for the first page only?
Is there a header for this section that is for the first page only?
If any of the PHPWord_Section_Header instances have a type of
PHPWord_Section_Header::FIRST then this method returns true. False
otherwise.
Returns
Boolean
|