Settings
in package
Setting class.
Tags
Table of Contents
Properties
- $autoHyphenation : null|bool
- Automatically hyphenate document contents when displayed.
- $bookFoldPrinting : bool
- Enable or disable book-folded printing.
- $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|int
- 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|null
- Theme Font Languages.
- $trackRevisions : bool
- Track Revisions to Document.
- $updateFields : bool
- Automatically Recalculate Fields on Open.
- $zoom : mixed
- Magnification Setting.
Methods
- getConsecutiveHyphenLimit() : null|int
- getDecimalSymbol() : string
- Returns the Radix Point for Field Code Evaluation.
- getDocumentProtection() : Protection
- getHyphenationZone() : null|float|int
- getProofState() : ProofState
- getRevisionView() : TrackChangesView
- Get the Visibility of Annotation Types.
- getThemeFontLang() : Language|null
- Returns the Language.
- getZoom() : mixed
- hasAutoHyphenation() : null|bool
- hasBookFoldPrinting() : 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
- setBookFoldPrinting() : self
- 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() : self
- Sets the Language for this document.
- setTrackRevisions() : void
- setUpdateFields() : void
- setZoom() : void
Properties
$autoHyphenation
Automatically hyphenate document contents when displayed.
private
null|bool
$autoHyphenation
$bookFoldPrinting
Enable or disable book-folded printing.
private
bool
$bookFoldPrinting
= false
$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|int
$hyphenationZone
$mirrorMargins
Mirror Page Margins.
private
bool
$mirrorMargins
Tags
$proofState
Spelling and Grammatical Checking State.
private
ProofState
$proofState
$revisionView
Visibility of Annotation Types.
private
TrackChangesView
$revisionView
$themeFontLang
Theme Font Languages.
private
Language|null
$themeFontLang
$trackRevisions
Track Revisions to Document.
private
bool
$trackRevisions
= false
$updateFields
Automatically Recalculate Fields on Open.
private
bool
$updateFields
= false
$zoom
Magnification Setting.
private
mixed
$zoom
= 100
either integer, in which case it treated as a percent, or one of PhpOffice\PhpWord\SimpleType\Zoom
Tags
Methods
getConsecutiveHyphenLimit()
public
getConsecutiveHyphenLimit() : null|int
Return values
null|intgetDecimalSymbol()
Returns the Radix Point for Field Code Evaluation.
public
getDecimalSymbol() : string
Return values
stringgetDocumentProtection()
public
getDocumentProtection() : Protection
Return values
ProtectiongetHyphenationZone()
public
getHyphenationZone() : null|float|int
Return values
null|float|intgetProofState()
public
getProofState() : ProofState
Return values
ProofStategetRevisionView()
Get the Visibility of Annotation Types.
public
getRevisionView() : TrackChangesView
Return values
TrackChangesViewgetThemeFontLang()
Returns the Language.
public
getThemeFontLang() : Language|null
Return values
Language|nullgetZoom()
public
getZoom() : mixed
hasAutoHyphenation()
public
hasAutoHyphenation() : null|bool
Return values
null|boolhasBookFoldPrinting()
public
hasBookFoldPrinting() : bool
Return values
boolhasDoNotHyphenateCaps()
public
hasDoNotHyphenateCaps() : null|bool
Return values
null|boolhasDoNotTrackFormatting()
public
hasDoNotTrackFormatting() : bool
Return values
boolhasDoNotTrackMoves()
public
hasDoNotTrackMoves() : bool
Return values
boolhasEvenAndOddHeaders()
public
hasEvenAndOddHeaders() : bool
Return values
boolhasHideGrammaticalErrors()
Are grammatical errors hidden.
public
hasHideGrammaticalErrors() : bool
Return values
boolhasHideSpellingErrors()
Are spelling errors hidden.
public
hasHideSpellingErrors() : bool
Return values
boolhasMirrorMargins()
public
hasMirrorMargins() : bool
Return values
boolhasTrackRevisions()
public
hasTrackRevisions() : bool
Return values
boolhasUpdateFields()
public
hasUpdateFields() : bool
Return values
boolsetAutoHyphenation()
public
setAutoHyphenation(bool $autoHyphenation) : void
Parameters
- $autoHyphenation : bool
setBookFoldPrinting()
public
setBookFoldPrinting(bool $bookFoldPrinting) : self
Parameters
- $bookFoldPrinting : bool
Return values
selfsetConsecutiveHyphenLimit()
public
setConsecutiveHyphenLimit(int $consecutiveHyphenLimit) : void
Parameters
- $consecutiveHyphenLimit : int
setDecimalSymbol()
sets the Radix Point for Field Code Evaluation.
public
setDecimalSymbol(string $decimalSymbol) : void
Parameters
- $decimalSymbol : string
setDocumentProtection()
public
setDocumentProtection(Protection $documentProtection) : void
Parameters
- $documentProtection : Protection
setDoNotHyphenateCaps()
public
setDoNotHyphenateCaps(bool $doNotHyphenateCaps) : void
Parameters
- $doNotHyphenateCaps : bool
setDoNotTrackFormatting()
public
setDoNotTrackFormatting(bool|null $doNotTrackFormatting) : void
Parameters
- $doNotTrackFormatting : bool|null
setDoNotTrackMoves()
public
setDoNotTrackMoves(bool|null $doNotTrackMoves) : void
Parameters
- $doNotTrackMoves : bool|null
setEvenAndOddHeaders()
public
setEvenAndOddHeaders(bool|null $evenAndOddHeaders) : void
Parameters
- $evenAndOddHeaders : bool|null
setHideGrammaticalErrors()
Hide grammatical errors.
public
setHideGrammaticalErrors(bool|null $hideGrammaticalErrors) : void
Parameters
- $hideGrammaticalErrors : bool|null
setHideSpellingErrors()
Hide spelling errors.
public
setHideSpellingErrors(bool|null $hideSpellingErrors) : void
Parameters
- $hideSpellingErrors : bool|null
setHyphenationZone()
public
setHyphenationZone(null|float|int $hyphenationZone) : void
Parameters
- $hyphenationZone : null|float|int
-
Measurement unit is twip
setMirrorMargins()
public
setMirrorMargins(bool $mirrorMargins) : void
Parameters
- $mirrorMargins : bool
setProofState()
public
setProofState(ProofState $proofState) : void
Parameters
- $proofState : ProofState
setRevisionView()
Set the Visibility of Annotation Types.
public
setRevisionView([TrackChangesView|null $trackChangesView = null ]) : void
Parameters
- $trackChangesView : TrackChangesView|null = null
setThemeFontLang()
Sets the Language for this document.
public
setThemeFontLang(Language $themeFontLang) : self
Parameters
- $themeFontLang : Language
Return values
selfsetTrackRevisions()
public
setTrackRevisions(bool|null $trackRevisions) : void
Parameters
- $trackRevisions : bool|null
setUpdateFields()
public
setUpdateFields(bool|null $updateFields) : void
Parameters
- $updateFields : bool|null
setZoom()
public
setZoom(mixed $zoom) : void
Parameters
- $zoom : mixed