How to recognize hyphenated words in the document while avoiding Optional Hyphens in the *.docx output?
You can use the following options:
- Export to the TXT or XML format and then manage these files by removing unnecessary characters or replacing them with any other.
- Before the export pass through all the text blocks of the Layout, get to the Paragraph object, and through the Text property, get access to the text, find which characters need to be deleted, and then use the Remove method of the Paragraph object to delete the unnecessary characters. Please check the Working with Layout and Blocks section of the Developer's Help for more information.
Please sign in to leave a comment.