Skip to content

Conversation

troosan
Copy link
Contributor

@troosan troosan commented Jan 28, 2017

This pull request allows you set hide spelling and/or grammatical errors.
Simply use it as this

\PhpOffice\PhpWord\Settings::setSpellingErrorsHidden(true);
\PhpOffice\PhpWord\Settings::setGrammaticalErrorsHidden(true);

This corresponds to the following option in Word:
image

This does not fix issue #542 as I did not update the reader to read the settings.xml file.
Anyone feel free to do so :-)

@troosan troosan merged commit e7c551a into PHPOffice:develop Jul 1, 2017
@troosan troosan deleted the show_hide_spelling_grammatical_errors branch July 1, 2017 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant