I'm just starting to use the XamRichTextEditor in WPF projects, and I'm looking and comparing .docx files being imported in your rich text editor versus Word and I'm seeing HUGE differences:
For most of what I do, RTF is acceptable since I'm not trying to replace Word. However, when "Word compatible" is added to functionality, there are expectations and that's why I ask: How compatible is it with Word? Any particular version over another for compatibility?
What about HTML? How accurate does it render HTML on import & export? Obviously it's notthatmuch Word compatible when importing .docx files. (see the screen shots)
Are there any specific Infragistic URLs that have an issues list? (can't hurt by asking)
I opened 3 Word docs and all 3 were rendered very incorrectly just using the "Import Content" app in the Samples Browser. Images are attached further illustrating issues:
XamRichTextEditor 14.1:
MS Word, Same Document snippet for comparisons illustrating each bullet item above:
Hello,
Thank you for your port. I have been looking into it and the XamRichTextEditor is designed to display the same content as the MS Word in its default Page Layout view. As mentioned here: http://help.infragistics.com/Help/Doc/WPF/2014.1/CLR4.0/html/InfragisticsWPF4.Controls.Editors.XamRichTextEditor.v14.1~Infragistics.Controls.Editors.XamRichTextEditor.html, the XamRichTextEditor is using the Web Layout view. When loading a document in the XamRichTextEditor, its appearance should be similar to appearance of the MS Word document when the Web Layout view is selected. You can web_view.png from the attached zip file, to see how you can turn on the Web Layout view in MS Word.
The page breaks in XamRichTextEditor (and also in the Web Layout view) are represented as an empty space and not a new page. Also the page size in MS Word is not considered when looking in Web Layout view, as it is in the XamRichTextEditor. You can load the attached document in the Samples Browser and also see the attached screenshot word_import.png, which is the appearance that I am getting after loading it, which is expected.
You can submit a new Product Idea for the XamRichTextEditr to support Page Layout view. You can suggest new Product Ideas for future versions (or vote for existing ones) at http://ideas.infragistics.com.
Steps to create your idea:
Log into the Infragistics Product Ideas site at http://ideas.infragistics.com (creating a new login if needed).
Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)
Add your product idea and be sure to be specific and provide as much detail as possible. Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!
The benefits of submitting the product idea yourself include:
Direct communication with our product management team regarding your product idea.
Notifications whenever new information regarding your idea becomes available.
Additional benefits of the Product Idea system include:
Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
Allow you to shape the future of our products by requesting new controls and products altogether.
You and other developers can discuss existing product ideas with members of our Product Management team.
The product ideas site allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Regarding the images to not appear, I could not managed reproduce it. I have created a MS Word document that has a table with images in it and every time I load the document, all images are appearing.
Would you please provide me with the document that you are loading, in order to be able to test it and research what might be causing this issue?
Looking forward to hearing from you.
Sincerely,
Krasimir, MCPD
Developer Support Supervisor - XAML
Infragistics
www.infragistics.com/support
Thank you for clarifying with the web layout as the format. I'll try to work within that as a constraint & add some ideas on your other site. I'll also submit the Word doc that I was using once I remove the private details first. I'll make sure I'm able to reproduce the import issue before uploading the file.
Thank you for your feedback. Looking forward to hearing from you.
I've attached a sample doc that was saved in Word 2013 with backwards compatibility as a .docx file. The Infragistics demo app for importing Word files drops the images. Win 7 Wordpad is OK, Word is ok, Tx Text is OK & DevExpress's RTF counterpart is also OK as well with it's display. I wanted to make sure I tried a multitude of conversion sources before uploading the doc.
Thank you for your post and the Word document. I have logged this behavior with our developers in our tracking system, with an issue ID of 174288. I have also created a support ticket on your behalf with number 4 in order to link the CAS-138945-Z9V2K1 development issue to it so that you are automatically updated when a Service Release containing your fix is available for download.
Thank you for your post. I have logged this behavior with our developers in our tracking system, with an issue ID of 174288. I have also created a support ticket on your behalf with number 4 in order to link the CAS-138945-Z9V2K1 development issue to it so that you are automatically updated when a Service Release containing your fix is available for download.
I agree, "by design" is not the correct response. This is a limitation in our current feature offering of the xamRichTextEditor. When we write new components, especially controls as complicated as a rich text editor that needs to be Word compatible, it is impossible to get everything right the first time. This is why we rely on customers like you to let us know what we need to add. Now, it is obvious that we need to add support for importing shapes. I'll add it to the backlog for estimation. It is important that when you need a feature, no matter how big or small, that you submit it to our Product Ideas website. If you don't submit it, we won't know about it, and it will never get implemented.
"this is the expected behavior since the MS Word is saving the images added in the document as complex shapes and the XamRichTextEditor does not currently support importing shapes."
Not trying to be difficult, however, with 3 other apps being able to successfully open the exact same sample Word document, a "as designed" is not acceptable.
How can we (we being Infragistics customers) possibly go back to our end users and explain "your document with 1 image & 1 sentence was too complicated for this Word compatible editor"? Answer that, and I'll be a happy camper.
I'm sorry, "as designed" isn't good enough and it needs to be addressed.
To reiterate:
1. Works in Wordpad
2. Works in DevExpress's rich text editor
3. Works in TxText too
Thank you for your patience while our development team has been looking into the behavior that you have described. After investigating it, it turns out that this is the expected behavior since the MS Word is saving the images added in the document as complex shapes and the XamRichTextEditor does not currently support importing shapes.
You can suggest new Product Ideas for future versions (or vote for existing ones) at http://ideas.infragistics.com.
Thank you for contacting Infragistics.
Word compatible?