no_proofing property

Font.no_proofing property

True when the formatted characters are not to be spell checked.

@property
def no_proofing(self) -> bool:
    ...

@no_proofing.setter
def no_proofing(self, value: bool):
    ...

Examples

Shows how to prevent text from being spell checked by Microsoft Word.

doc = aw.Document()
builder = aw.DocumentBuilder(doc)
# Normally, Microsoft Word emphasizes spelling errors with a jagged red underline.
# We can un-set the "NoProofing" flag to create a portion of text that
# bypasses the spell checker while completely disabling it.
builder.font.no_proofing = True
builder.writeln('Proofing has been disabled, so these spelking errrs will not display red lines underneath.')
doc.save(file_name=ARTIFACTS_DIR + 'Font.NoProofing.docx')

See Also