Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | RTF export of pictures unusable - no applications supports OOo's approach | ||
---|---|---|---|
Product: | Writer | Reporter: | sajer <ballonskipper> |
Component: | code | Assignee: | michael.ruess |
Status: | CLOSED DUPLICATE | QA Contact: | issues@sw <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | egle, hub, issues, t8m |
Version: | 644 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Issue Type: | ENHANCEMENT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
sajer
2003-03-19 21:59:47 UTC
I can confirm this bug. OOo has lot of problems with RTF export. Some pictures are not visible not only in other programs (AbiWord, MS Word, etc), but even in OpenOffice.org after exporting to RTF. See for example .sxw document, attached to the bug #12713 I can confirm this bug. OOo has lot of problems with RTF export. Some pictures are not visible not only in other programs (AbiWord, MS Word, etc), but even in OpenOffice.org after exporting to RTF. See for example .sxw document, attached to the bug #12713 First: cool down! Second (simpy explained): let's talk anyway about standard: RTF is a "norm" defined by Microsoft. MS says in the RTF standard "no embedded picturea in RTF for it is a Rich ***Text*** Format". So OOo follows the specification and doesn't embed pictures in RTF. BUT MS- Word produces RTF with embedded pictures. Means *doesn't follow it's own specification*... ES->MRU: please correct me Reassigned to MRU MRU->CMC: I think, you already have a task regarding "embedded graphics in RFT code"? If so, please re-assign this to me with the corresponding Task ID. Thank you very much! issue 3790 / #104178# cmc->er: *cough* the new graphic stuff is documented in the more recent rtf specification documents. It's just very time intensive to implement it at this juncture. see issue 2244 I'm happy that this problems get raised again. Implementing bitmap image import is quite trivial: Here is the syntax: {\*\shppict{\pict\pngblip\picw100\pich100 \bliptag10000{\*\blipuid 00000000000000000000000000002710} 89504e470d0a1a0a0000000d4948445200000064000000640802000000ff8002 030000000467414d410000b18f0bfc610500000006624b474400ff00ff00ffa0 The hex stuff is in that case PNG data. That can be JPEG or even WMF or PICT (Mac). All you need is to handle a few keywords and pass to the graphic importer. I myself did that a while back in AbiWord.... It did not take very long. \pict is in RTF 1.4 spec, which is dated sept. 95. I can't call that "newer".... It allow raw PICT (Mac), WMF or DIB (BMP). Spec 1.5 allow RTF and PNG (see above) and isn't much complex. What is hard to handle is vector image format (shapes) provided by the \*\shppict. But for a start handling bitmap should be nice. snippet above is from attachment 719 [details]
Issue is already tracked as #3790. So this is closed as duplicate. *** This issue has been marked as a duplicate of 3790 *** closed. I don't agree on this completely. It should be split to 2 issues. 1. issue: Support embedding bitmaps as in Hubert's comment. (It could be possible to do it in 1.1 timeline or maybe in some 1.1.x version.) 2. issue 3790: Which should track supporting drawing objects as shapes, lines and so on. |