Document
extends AbstractPart
in package
RTF document part writer.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- getParentWriter() : RTF
- setParentWriter() : void
- write() : string
- Write part.
- getDateValue() : string
- Get date value.
- writeFormatting() : string
- Write document formatting properties.
- writeInfo() : string
- Write document information.
- writeSections() : string
- Write sections.
- writeTitlepg() : string
- Write titlepg directive if any "f" headers or footers.
Properties
$escaper
protected
EscaperInterface
$escaper
$parentWriter
private
RTF
$parentWriter
Methods
__construct()
public
__construct() : mixed
getParentWriter()
public
getParentWriter() : RTF
Return values
RTFsetParentWriter()
public
setParentWriter([RTF $writer = null ]) : void
Parameters
- $writer : RTF = null
write()
Write part.
public
write() : string
Return values
stringgetDateValue()
Get date value.
private
getDateValue(int $value) : string
The format of date value is \yr?\mo?\dy?\hr?\min?\sec?
Parameters
- $value : int
Return values
stringwriteFormatting()
Write document formatting properties.
private
writeFormatting() : string
Return values
stringwriteInfo()
Write document information.
private
writeInfo() : string
Return values
stringwriteSections()
Write sections.
private
writeSections() : string
Return values
stringwriteTitlepg()
Write titlepg directive if any "f" headers or footers.
private
static writeTitlepg(Section $section) : string
Parameters
- $section : Section