Issue 62983 - RTF: graphic in table exported with wrong size attributes
Summary: RTF: graphic in table exported with wrong size attributes
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 1.0.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2006-03-09 16:27 UTC by xaliger
Modified: 2017-05-20 11:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

test Word 2003 document (27.50 KB, application/msword)
2006-03-09 16:28 UTC, xaliger
no flags Details
same document saved as RTF in Word 2003 (26.63 KB, text/rtf)
2006-03-09 16:28 UTC, xaliger
no flags Details
New testcase (14.56 KB, application/vnd.oasis.opendocument.text)
2006-03-14 11:05 UTC, xaliger
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description xaliger 2006-03-09 16:27:25 UTC
Consider anchoring of frames to column (table cell). Without it, its impossible 
to reach some effects (e.g. image in front of table).

Attached is Word 2003 created document with column anchoring of image (it is 
default anchoring in Word 2003 in tables).

Implement RTF import/export of those (new rtffly?)
Comment 1 xaliger 2006-03-09 16:28:05 UTC
Created attachment 34712 [details]
test Word 2003 document
Comment 2 xaliger 2006-03-09 16:28:30 UTC
Created attachment 34713 [details]
same document saved as RTF in Word 2003
Comment 3 Oliver-Rainer Wittmann 2006-03-10 07:01:46 UTC
I can't confirm this issue.
As far as I know, all anchor objects in Microsoft Word are anchored at a
character or are treated as a character - column anchor doesn't exist in
Microsoft Word.
But in Microsoft Word the horizontal position of an anchored object can be
relative 'to column' - default horizontal position, even if the is no table.
This horizontal position is mapped to OOo horizontal position relative to
'paragraph area'. This works fine - the Microsoft Word document open fine in OOo

OD->MRU: please confirm and close this issue.
Comment 4 michael.ruess 2006-03-10 15:13:55 UTC
Yes, this type of posittioning has been implemented into OO 2.0.x.
Comment 5 michael.ruess 2006-03-10 15:18:42 UTC
Comment 6 xaliger 2006-03-14 11:04:20 UTC
I desribed the problem really bad. And really OOo 2.0.2 opens attached doc. But 
not the RTF (becouse of shapes).

Real problem is when I create document with "column" anchoring and save it into 
RTF it coudnt be opened again (neither OOo nor Word).

Try this:
- create new Writer document
- insert 3x3 table
- insert image (any) into any cell in first row
- change "Text flow" to background (sorry - I have cs langpack installed)
- Save as .odt
- Save as .rtf
- close OOo
- open .odt
- close OOo
- open .rtf
Comment 7 xaliger 2006-03-14 11:05:52 UTC
Created attachment 34857 [details]
New testcase
Comment 8 michael.ruess 2006-03-14 15:58:07 UTC
MRU->FLR: export the attached .odt document to RTF and reopen -> the graphic has
a wrong width (too large).
Opening the exported RTF in Ms Word shows good in document, but when having a
look into the attributes dialog, you see wrong size values.
Comment 9 Mathias_Bauer 2006-08-30 15:16:46 UTC
reassigning to hbrinkm
Comment 10 Marcus 2017-05-20 11:22:38 UTC
Reset assigne to the default "".