How to recognize the hyphenated words in the document

Question

How to recognize hyphenated words in the document while avoiding Optional Hyphens in the *.docx output?

Answer

You can use the following options:

  1. Export to the TXT or XML format and then manage these files by removing unnecessary characters or replacing them with any other. 
  2. 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.

 

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.