Dear DevExpress Support,
We have reviewed the following documentation on enabling hyphenation:
Hyphenation in Rich Text Documents | WinForms Controls | DevExpress Documentation
Document.Hyphenation Property | Office File API | DevExpress Documentation
We have a few questions regarding the conditions under which the following requirements can be met:
- Importing a DOCX file with hyphenation enabled in arbitrary text passages into the RichTextEditor.
- The DOCX versions that support this functionality.
- Enabling or disabling hyphenation on selected text passages in the RichTextEditor using a button.
- Exporting the hyphenated text from the RichTextEditor as a PDF.
Thank you for your assistance.
Hello,
Thank you for contacting us.
When automatic hyphenation is enabled in the document, RichEditControl applies the linked hyphenation dictionaries to break words accordingly. Please see Hyphenation in Rich Text Documents. A user can import a DOCX document via UI, or you can use the ASPxRichEdit.Open(RichEditDocumentInfo) method to import a document in code. Please refer to the following help topics to learn how to add a hyphenation dictionary:
This question is related to DOCX specifics rather than to DevExpress. I did a quick search and found that automatic hyphenation in DOCX documents is supported in Word 2007 and later versions, which use the Office Open XML (OOXML) format: AutoHyphenation Class.
For your other questions, I created separate tickets on your behalf:
We'll process them promptly.