Ticket T1285835
Visible to All Users

Hyphenation in Rich Text Editor WebForms

created 6 days ago

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:

  1. Importing a DOCX file with hyphenation enabled in arbitrary text passages into the RichTextEditor.
  2. The DOCX versions that support this functionality.
  3. Enabling or disabling hyphenation on selected text passages in the RichTextEditor using a button.
  4. Exporting the hyphenated text from the RichTextEditor as a PDF.

Thank you for your assistance.

Comments (1)
Alexander (DevExpress Support) 3 days ago

    Hello,

    Thank you for contacting us.

    1. Importing a DOCX file with hyphenation enabled in arbitrary text passages into the RichTextEditor.

    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:

    1. The DOCX versions that support this functionality.

    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.

    Answers approved by DevExpress Support

    created 2 days ago

    An important follow-up:
    While my previous response was accurate for WinForms, our RichEdit for WebForms does not support hyphenation, and currently, there are no plans to implement this feature. I apologize for the confusion.
    I’ll go ahead and remove any unnecessary support tickets related to this, as hyphenation is not applicable to WebForms. Thank you for your understanding.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.