Profile Picture

NRichTextView issues with table formatting

Posted By Tom Galczynski 4 Years Ago
Author
Message
Tom Galczynski
Problem Posted 4 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 4 Years Ago
Posts: 29, Visits: 87
Hello support team.  I am using the latest version of the NRichTextView (also happens in previous version) and encountering a problem when I construct tables in the control, SaveToStream in RTF format, then LoadFromStream.  The structure of the table seems to change each save/load cycle.  Here is what the first time I construct the tables (programmatically) looks like:
https://www.nevron.com/forum/uploads/images/ad0260d1-a5f0-497f-86c2-15b5.png

After I savetostream the next time I loadfromstream it looks like this
https://www.nevron.com/forum/uploads/images/1bee800c-6783-466a-bd8e-0839.png

Notice the cells are larger and the cell contents apparently have margins around them.  If I then savetostream again (such as adding a blank line after a table or inserting some text after a table) it looks even more strange:
https://www.nevron.com/forum/uploads/images/866e8f1e-bffe-45ce-a1ea-705b.png

I have attached a txt file with the RTF strings that resulted from the savetostream each time.  Is there a reason why each string is different?  Is there some setting I need to set on the table to prevent NRichTextView from changing the table structure?
Please let me know if you need additional information.  Thanks very much!






Attachments
tablesavertfstrings.txt (0 views, 133.00 KB)



Similar Topics


Reading This Topic