Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
115
Ultraformatedtexteditor and IText RichContent
posted

I posted this in the editors forum too so apologies for cross posting but not sure which is best forum.

The formatting provided by the ultraformatedtexteditor is incompatible with Rich content of the IText object.  Is this by design and if so why?  Is there a fix?

The ultraformated text editor has some built in formatting which would save me hours not having to code my own but also not having to override events to stop the built in formatting as it gives incorrect tags for the rich content.

Both sets of documentation say they are compatible, providing the same tags but they dont (not even close).  Are the developers out of sync? will there be a hot fix and if so when?

Parents
No Data
Reply
  • 37774
    posted

    If there is documentation that says that all of the tags between the UltraFormattedTextEditor and the Documents engine are compatible, a bug should be submitted since this is not the case.  The AddRichContent method exists mainly to support simple HTML tags, like <b>, <i>, <u>, <font>, etc.  Fortunately, there is a helper method in the UltraWinGrid.DocumentExport assembly, Utilities.BuildFormattedText, that should take the formatted text (from the Value of the editor) and build a string that should closely resemble what the formatted text editor displays (within what is supported by the Documents engine).

    -Matt 

Children