Apache OpenOffice (AOO) Bugzilla – Issue 46098
RTF: export loses text following OLE object
Last modified: 2013-08-07 14:41:36 UTC
I am a science teacher and was working on creating an assignment for students. Because of a policy within my school board, I must save all such files as "rtf" so that they can be shared with other teachers across different platforms. I had to include a graph, so I created it using Calc and pasted it in. I typed in the multiple choice questions with their answers, created a numbered and bulleted list, and idented the answers so that the would appear as multiple choice format. Finished, I saved and closed the file. A short while later I reopened the file and found that almost everything was gone. The title and initial instructions that appeared at the top were still there, but everything from (and including) the graph down were gone. I tried opening the file in MS Word to see how it would look there, and the graph was still gone, but the questions had reappeared as a text box below the title. If you would like to see this file, please give me instructions of how to send it to you. I will be redoing the assignment and can send you a pdf of how it is supposed to look if this will help.
Created attachment 24318 [details] rtf document I created in OOo
Created attachment 24319 [details] Created this one in MS Word, then exported this pdf
I almost forgot to mention that after pasting the graph into the OOo text document, I then used the Draw toolbar to add text boxes to label the different lines on the graph; I had been unhappy with how the legend turned out so I had gotten rid of it in Calc. Each line had a text box of its own as a label identifying it.
From the attached RTF I can only see, that there obviously is a problem. But we need the document in native Writer format, so that we can see what's going wrong when exporting this to RTF. So please attach a sample which is of native Writer .odt format. Feel free to reopen issue when you have done so. Thanks for supporting us!
Created attachment 24907 [details] File as an OOo file
I have attached an .odt file exactly the same as the one I was originally working on, so I am re-opening the issue as I was told I could. Please note, when I originally created this file, I didn't save it first as odt and then second "save as" an rtf. I was saving it right from the start as an rtf. That said, I created this file (lesson54assignment.odt), saved it as an OOo text file. I closed it, reopened it and everything is fine. I then "save as... " an rtf, close it, reopen it, and everything is screwed up. There is something about saving as an rtf that is causing a huge loss. If I can be of any other help please let me know.
MRU->FLR: the text following the Chart is completely lost when the .odt is converted to RTf and reloaded.
flr: The fly-frame environment was not left correctly, which caused the data-loss. However OLE's are currently *not* supported by the RTF im- and export. See #i39541#. Checking in wrtrtf.cxx; /cvs/sw/sw/source/filter/rtf/wrtrtf.cxx,v <-- wrtrtf.cxx new revision: 1.30.26.1; previous revision: 1.30 done Checking in rtfatr.cxx; /cvs/sw/sw/source/filter/rtf/rtfatr.cxx,v <-- rtfatr.cxx new revision: 1.55.198.1; previous revision: 1.55 done
*** Issue 46711 has been marked as a duplicate of this issue. ***
flr->mru: Please verify. re-open issue and reassign to mru@openoffice.org
reassign to mru@openoffice.org
reset resolution to FIXED
Verified fix in CWS fr8fix2.
Checked fix in 680m104.