Documentation

Settings

Setting class.

Tags
since
0.14.0
see
http://www.datypic.com/sc/ooxml/t-w_CT_Settings.html

Table of Contents

$autoHyphenation  : null|bool
Automatically hyphenate document contents when displayed.
$consecutiveHyphenLimit  : null|int
Maximum number of consecutively hyphenated lines.
$decimalSymbol  : string
Radix Point for Field Code Evaluation.
$documentProtection  : Protection
Document Editing Restrictions.
$doNotHyphenateCaps  : null|bool
Do not hyphenate words in all capital letters.
$doNotTrackFormatting  : bool
Do Not Track Formatting Revisions When Tracking Revisions.
$doNotTrackMoves  : bool
Do Not Use Move Syntax When Tracking Revisions.
$evenAndOddHeaders  : bool
Enables different header for odd and even pages.
$hideGrammaticalErrors  : bool
Hide grammatical errors.
$hideSpellingErrors  : bool
Hide spelling errors.
$hyphenationZone  : null|float
The allowed amount of whitespace before hyphenation is applied.
$mirrorMargins  : bool
Mirror Page Margins.
$proofState  : ProofState
Spelling and Grammatical Checking State.
$revisionView  : TrackChangesView
Visibility of Annotation Types.
$themeFontLang  : Language
Theme Font Languages.
$trackRevisions  : bool
Track Revisions to Document.
$updateFields  : bool
Automatically Recalculate Fields on Open.
$zoom  : mixed
Magnification Setting.
getConsecutiveHyphenLimit()  : null|int
getDecimalSymbol()  : string
Returns the Radix Point for Field Code Evaluation.
getDocumentProtection()  : Protection
getHyphenationZone()  : null|float
getProofState()  : ProofState
getRevisionView()  : TrackChangesView
Get the Visibility of Annotation Types.
getThemeFontLang()  : Language
Returns the Language.
getZoom()  : mixed
hasAutoHyphenation()  : null|bool
hasDoNotHyphenateCaps()  : null|bool
hasDoNotTrackFormatting()  : bool
hasDoNotTrackMoves()  : bool
hasEvenAndOddHeaders()  : bool
hasHideGrammaticalErrors()  : bool
Are grammatical errors hidden.
hasHideSpellingErrors()  : bool
Are spelling errors hidden.
hasMirrorMargins()  : bool
hasTrackRevisions()  : bool
hasUpdateFields()  : bool
setAutoHyphenation()  : void
setConsecutiveHyphenLimit()  : void
setDecimalSymbol()  : void
sets the Radix Point for Field Code Evaluation.
setDocumentProtection()  : void
setDoNotHyphenateCaps()  : void
setDoNotTrackFormatting()  : void
setDoNotTrackMoves()  : void
setEvenAndOddHeaders()  : void
setHideGrammaticalErrors()  : void
Hide grammatical errors.
setHideSpellingErrors()  : void
Hide spelling errors.
setHyphenationZone()  : void
setMirrorMargins()  : void
setProofState()  : void
setRevisionView()  : void
Set the Visibility of Annotation Types.
setThemeFontLang()  : void
sets the Language for this document.
setTrackRevisions()  : void
setUpdateFields()  : void
setZoom()  : void

Properties

$autoHyphenation

Automatically hyphenate document contents when displayed.

private null|bool $autoHyphenation

$consecutiveHyphenLimit

Maximum number of consecutively hyphenated lines.

private null|int $consecutiveHyphenLimit

$decimalSymbol

Radix Point for Field Code Evaluation.

private string $decimalSymbol = '.'

$documentProtection

Document Editing Restrictions.

private Protection $documentProtection

$doNotHyphenateCaps

Do not hyphenate words in all capital letters.

private null|bool $doNotHyphenateCaps

$doNotTrackFormatting

Do Not Track Formatting Revisions When Tracking Revisions.

private bool $doNotTrackFormatting = false

$doNotTrackMoves

Do Not Use Move Syntax When Tracking Revisions.

private bool $doNotTrackMoves = false

$evenAndOddHeaders

Enables different header for odd and even pages.

private bool $evenAndOddHeaders = false

$hideGrammaticalErrors

Hide grammatical errors.

private bool $hideGrammaticalErrors = false

$hideSpellingErrors

Hide spelling errors.

private bool $hideSpellingErrors = false

$hyphenationZone

The allowed amount of whitespace before hyphenation is applied.

private null|float $hyphenationZone

$trackRevisions

Track Revisions to Document.

private bool $trackRevisions = false

$updateFields

Automatically Recalculate Fields on Open.

private bool $updateFields = false

Methods

getConsecutiveHyphenLimit()

public getConsecutiveHyphenLimit() : null|int
Return values
null|int

getDecimalSymbol()

Returns the Radix Point for Field Code Evaluation.

public getDecimalSymbol() : string
Return values
string

getHyphenationZone()

public getHyphenationZone() : null|float
Return values
null|float

getZoom()

public getZoom() : mixed
Return values
mixed

hasAutoHyphenation()

public hasAutoHyphenation() : null|bool
Return values
null|bool

hasDoNotHyphenateCaps()

public hasDoNotHyphenateCaps() : null|bool
Return values
null|bool

hasDoNotTrackFormatting()

public hasDoNotTrackFormatting() : bool
Return values
bool

hasDoNotTrackMoves()

public hasDoNotTrackMoves() : bool
Return values
bool

hasEvenAndOddHeaders()

public hasEvenAndOddHeaders() : bool
Return values
bool

hasHideGrammaticalErrors()

Are grammatical errors hidden.

public hasHideGrammaticalErrors() : bool
Return values
bool

hasHideSpellingErrors()

Are spelling errors hidden.

public hasHideSpellingErrors() : bool
Return values
bool

hasMirrorMargins()

public hasMirrorMargins() : bool
Return values
bool

hasTrackRevisions()

public hasTrackRevisions() : bool
Return values
bool

hasUpdateFields()

public hasUpdateFields() : bool
Return values
bool

setAutoHyphenation()

public setAutoHyphenation(bool $autoHyphenation) : void
Parameters
$autoHyphenation : bool
Return values
void

setConsecutiveHyphenLimit()

public setConsecutiveHyphenLimit(int $consecutiveHyphenLimit) : void
Parameters
$consecutiveHyphenLimit : int
Return values
void

setDecimalSymbol()

sets the Radix Point for Field Code Evaluation.

public setDecimalSymbol(string $decimalSymbol) : void
Parameters
$decimalSymbol : string
Return values
void

setDocumentProtection()

public setDocumentProtection(Protection $documentProtection) : void
Parameters
$documentProtection : Protection
Return values
void

setDoNotHyphenateCaps()

public setDoNotHyphenateCaps(bool $doNotHyphenateCaps) : void
Parameters
$doNotHyphenateCaps : bool
Return values
void

setDoNotTrackFormatting()

public setDoNotTrackFormatting(bool $doNotTrackFormatting) : void
Parameters
$doNotTrackFormatting : bool
Return values
void

setDoNotTrackMoves()

public setDoNotTrackMoves(bool $doNotTrackMoves) : void
Parameters
$doNotTrackMoves : bool
Return values
void

setEvenAndOddHeaders()

public setEvenAndOddHeaders(bool $evenAndOddHeaders) : void
Parameters
$evenAndOddHeaders : bool
Return values
void

setHideGrammaticalErrors()

Hide grammatical errors.

public setHideGrammaticalErrors(bool $hideGrammaticalErrors) : void
Parameters
$hideGrammaticalErrors : bool
Return values
void

setHideSpellingErrors()

Hide spelling errors.

public setHideSpellingErrors(bool $hideSpellingErrors) : void
Parameters
$hideSpellingErrors : bool
Return values
void

setHyphenationZone()

public setHyphenationZone(float $hyphenationZone) : void
Parameters
$hyphenationZone : float

Measurement unit is twip

Return values
void

setMirrorMargins()

public setMirrorMargins(bool $mirrorMargins) : void
Parameters
$mirrorMargins : bool
Return values
void

setRevisionView()

Set the Visibility of Annotation Types.

public setRevisionView([TrackChangesView $trackChangesView = null ]) : void
Parameters
$trackChangesView : TrackChangesView = null
Return values
void

setThemeFontLang()

sets the Language for this document.

public setThemeFontLang(Language $themeFontLang) : void
Parameters
$themeFontLang : Language
Return values
void

setTrackRevisions()

public setTrackRevisions(bool $trackRevisions) : void
Parameters
$trackRevisions : bool
Return values
void

setUpdateFields()

public setUpdateFields(bool $updateFields) : void
Parameters
$updateFields : bool
Return values
void

setZoom()

public setZoom(mixed $zoom) : void
Parameters
$zoom : mixed
Return values
void

Search results