Apache OpenOffice (AOO) Bugzilla – Issue 3498
Graphic anchored "To Paragraph" inside a table inside a frame does not export to Word properly
Last modified: 2013-08-07 14:43:39 UTC
I have a file containing a table and an image. It saves fine in OO format. When I: 1) Save this file in XP format 2) Exit OO 3) Start OO 4) File/Open the .doc file, OO displays the table badly mangled, and doesn't show the image. Then, OO often crashes on exit. DrWatson reports a page fault in SAL3.DLL. When reading the .doc file with Office XP on another system, Office/XP reports insufficient memory for saving. I feel this is convincing evidence the .doc file created by OO is bad. I plan to attach the OO file and the .doc I saved.
Created attachment 1212 [details] OO file
Created attachment 1213 [details] the .doc file resulting from OO Save As, in XP format
Peter, thanks for posting this issue. Thank you for using and supporting OOo. Believe it or not, I can get your attached file to export correctly to Word document format. Change the anchoring option of the graphics from Paragraph to "As Character". It worked for me. You have a graphic embedded in a table which in turn is inside a frame. If you copy and paste the table to a new document, OOo exports the table to Word fine. OOo can export tables in frames fine ( from my basic tests ). It seems to be the anchoring option of the graphic in your table which is causing the problem. User summary Can't transmit a table to XP format
Reassigned to MRU.
MRU->CMC: The table is exported as plain text to WW format. Thus the graphic also gets lost...
Its like this because in word you can't have graphics inside tables anchored anyway except as character, e.g. to paragraph, as character. Also word will not see illustrations inside their frames when making a list of them. So we try and export such frames as tables which can have such graphics in them, and whose graphics can be listed in the illustration index. That was perhaps a naive solution as there is a table in this frame and this is causing problems here. Have to think of a better solution.
can't have graphics anchored inside *frames* any way except "as character".
Set target
Fixed in jollyfilterteam03 workspace. The good news is that it can be exported without crashing word, the bad new is that word cannot have a graphic anchored to paragraph inside a frame, which this table is from word' perspective. So the picture is lost unless the user changes it to anchored as character.
reopen to reassign
As good as possible considering that word cannot have anchored to para graphic inside frame in jollyfilterteam03
Fixed as good as possible in CWS jolly03.
Fix will be available in OO 1.1 Beta 2. unfortunate, there's nothing more to get than preventing a loss of the table/graphic. Keeping the position is not possible due to restrictions in MS Word format.
Closed.