Documentation

Document extends AbstractPart
in package

RTF document part writer.

Tags
since
0.11.0
see
http://www.biblioscape.com/rtf15_spec.htm#Heading24

Table of Contents

Properties

$escaper  : EscaperInterface
$parentWriter  : RTF

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

Methods

setParentWriter()

public setParentWriter([RTF $writer = null ]) : void
Parameters
$writer : RTF = null

write()

Write part.

public write() : string
Return values
string

getDateValue()

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
string

writeFormatting()

Write document formatting properties.

private writeFormatting() : string
Return values
string

writeInfo()

Write document information.

private writeInfo() : string
Return values
string

writeSections()

Write sections.

private writeSections() : string
Return values
string

writeTitlepg()

Write titlepg directive if any "f" headers or footers.

private static writeTitlepg(Section $section) : string
Parameters
$section : Section
Return values
string

        
On this page

Search results