Creates footer for section pages.
Footer
&addFooter
([
$type $type =
'all'])
-
$type
$type: Possible values:
'all' => all pages (different odd and even headers/footers must be not set)
'left' => left pages (different odd and even headers/footers must be set)
'right' => right pages (different odd and even headers/footers must be set)
'first' => first page
Creates header for section pages.
Header
&addHeader
([
$type $type =
'all'])
-
$type
$type: Possible values:
'all' => all pages (different odd and even headers/footers must be not set)
'left' => left pages (different odd and even headers/footers must be set)
'right' => right pages (different odd and even headers/footers must be set)
'first' => first page
Gets rtf code of section. Internal use.
string
getContent
()
Redefinition of:
- Container::getContent()
- Gets rtf code of Container. Internal use.
Gets width of page layout.
float
getLayoutWidth
()
Breaks page.
void
insertPageBreak
()
Sets borders of section pages.
void
setBorders
(
BorderFormat &$borderFormat, [
boolean $left =
true], [
boolean $top =
true], [
boolean $right =
true], [
boolean $bottom =
true])
-
BorderFormat
&$borderFormat
-
boolean
$left: If false, left border is not set (default true)
-
boolean
$top: If false, top border is not set (default true)
-
boolean
$right: If false, right border is not set (default true)
-
boolean
$bottom: If false, bottom border is not set (default true)
Sets section columns with different widths.
If you use this function, you shouldn't use {@see SetColumnsNumber}.
void
setColumns
(array $columnsWidths)
-
array
$columnsWidths: Array with columns widths
Sets number of columns in section.
void
setColumnsCount
(integer $columnsCount)
-
integer
$columnsCount: Number of columns
Sets the gutter width.
NOTICE: OpenOficce doesn't understant.
void
setGutter
(float $gutter)
-
float
$gutter: Gutter width
Sets line between columns.
void
setLineBetweenColumns
()
Sets the margins of pages in section.
void
setMargins
(float $marginLeft, float $marginTop, float $marginRight, float $marginBottom)
-
float
$marginLeft: Margin left
-
float
$marginTop: Margin top
-
float
$marginRight: Margin right
-
float
$marginBottom: Margin bottom
Sets the margin definitions on left and right pages.
Notice: OpenOficce doesn't Understant.
void
setMirrorMargins
()
Sets no section break.
If footnotes are use in different sections, Word always will break sections.
void
setNoBreak
()
Sets the paper height of pages in section.
void
setPaperHeight
(float $paperHeight)
-
float
$paperHeight: Paper height
Sets the paper width of pages in section.
void
setPaperWidth
(float $paperWidth)
-
float
$paperWidth: Paper width
Sets space (width) between columns.
void
setSpaceBetweenColumns
(float $spaceBetweenColumns)
-
float
$spaceBetweenColumns: Space between columns
Sets vertical alignment of text of section.
void
setVerticalAlignment
(string $alignment)
-
string
$alignment: Possible values:
'top' => top (default)
'center' => center
'bottom' => bottom
'justify' => justify
Inherited Methods
Inherited From Container
Container::Container()
Container::addImage()
Container::addTable()
Container::emptyParagraph()
Container::getContent()
Container::writeHyperLink()
Container::writeRtfCode()
Container::writeText()