Created attachment 52928 [details]
the problematic RTF file
The attached RTF files isn't even readable when opened in LibO 3.4.3. I'm attaching the scrren shot of how it looks in LibO and a PDF which shows how it looks in Microsoft Word.
Created attachment 52929 [details]
a screen shot of the RTF file in LibO 3.4.3
You forgot to attach the pdf showing how the rtf file looks in MS-Word.
Could you, please, attach the file ?
Side note: in LO 3.5.0 beta-1 under Ubuntu 10.04 x86_64, the RTF file looks empty :-(
Best regards. JBF
Created attachment 54562 [details]
PDF generated by word from the RTF file (this is how it should look like in LibO)
You're right, there's a regression in LibO 3.5.0 Beta1 comparing to 3.4.4 with how the RTF file looks like. In 3.4.4 it's almost empty and in 3.5.0 beta1 it's totally empty.
Also, I'm attaching the missing PDF file. Thanks for noticing.
That's because the document contains "Drawing Objects in Word 6.0/95 RTF" (\do destination), while the current RTF importer supports only Word 97 and newer, which is a different syntax. In fact the document only contains those, nothing else. :-)
As you can see, it wasn't really handled by the old RTF importer either + the RTF exporter never uses that old syntax. I implemented the parser for the 97+ syntax in about a week, so I guess in similar time would be needed for the 95 one as well. (Or a bit less.)
I'll keep this bug open as it contains a useful test document and someone interested may implement this feature (or hopefully I'll have time for it, but I can't give you any estimate on that).
This is (primarily) a Writer issue, therefore changed 'Component' field
Slow progress on this: I've now implemented the following keywords in master:
- \dplinecor, \dplinecog, \dplinecob
- \dpfillbgcr, \dpfillbgcg, \dpfillbgcb
And now the rectangles from the document are mostly OK. Next step would be adding support for old-style textboxes.
I now did textboxes and polylines in master, I think the only remaining problem is the two missing pictures. I'll come back to that later.
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":
fdo#42407 fix RTF import of WMF images inside textframes
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
OK, I think this is now finally in a reasonable shape in master. Sadly various fixes were needed here and there, so I can't really backport this to -3-6.
Fix verified with master build - great work!
Would be nice to have Hebrew show correctly as well (on the top right side, near the string 510817018).
Can you please open a separate bugreport for that?
Done: Bug 56512