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?
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
I dont see a method in Utilites called BuildFormattedText nor do I see it listed in the help file. Am I missing something? Im trying to basically do the same thing. I want to copy rich text from a word document into the editor
Are you sure that you're looking in the DocumentExport assembly and not the Documents assembly?
If tried
Infragistics.Win.UltraWinGrid. ?
Infragistics.Win.Utilities. ?
thanks
You are looking in the WinGrid and Win assemblies. You need to look in the specific DocumentExport assembly and then its corresponding namespace (i.e. Infragistics.Win.UltraWinGrid.DocumentExport.Utilities.BuildFormattedText).
ah wrong assembly. Got it. Thanks!