\PhpOffice\PhpWord\ComplexTypeProofState

Spelling and Grammatical Checking State

Summary

Methods
Properties
Constants
setSpelling()
getSpelling()
setGrammar()
getGrammar()
No public properties found
CLEAN
DIRTY
No protected methods found
No protected properties found
N/A
No private methods found
$spelling
$grammar
N/A

Constants

CLEAN

CLEAN = 'clean'

Check Completed

DIRTY

DIRTY = 'dirty'

Check Not Completed

Properties

$spelling

$spelling : string

Spell Checking State

Type

string

$grammar

$grammar : string

Grammatical Checking State

Type

string

Methods

setSpelling()

setSpelling(string  $spelling) : self

Set the Spell Checking State (dirty or clean)

Parameters

string $spelling

Throws

\InvalidArgumentException

Returns

self

getSpelling()

getSpelling() : string

Get the Spell Checking State

Returns

string

setGrammar()

setGrammar(string  $grammar) : self

Set the Grammatical Checking State (dirty or clean)

Parameters

string $grammar

Throws

\InvalidArgumentException

Returns

self

getGrammar()

getGrammar() : string

Get the Grammatical Checking State

Returns

string