Issue 102707 - Big repaint problem with Writer-OLE document containing a frame
Summary: Big repaint problem with Writer-OLE document containing a frame
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 3.1
Hardware: PC Windows, all
: P3 Trivial (vote)
Target Milestone: 3.4.0
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2009-06-12 10:58 UTC by oruehaak
Modified: 2017-05-20 10:30 UTC (History)
3 users (show)

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


Attachments
ZIP containing the sample documents and a screen shot (239.85 KB, application/x-compressed)
2009-06-12 16:53 UTC, oruehaak
no flags Details
Container.odt (16.20 KB, application/vnd.oasis.opendocument.text)
2009-06-24 21:15 UTC, eric.savary
no flags Details
OLE_with_frame.odt (13.41 KB, application/vnd.oasis.opendocument.text)
2009-06-24 21:15 UTC, eric.savary
no flags Details
floating_outside.JPG (187.15 KB, image/jpeg)
2009-06-24 21:20 UTC, eric.savary
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description oruehaak 2009-06-12 10:58:11 UTC
Trying to integrate a Writer document via OLE into another OO document (e.g.
Writer or Draw - doesn't really matter, it's the same trouble) works just fine
as long as the document to be integrated does not contain any images or frames.
I gues it will probably be the same with any "free positioning element".

The output looks somehow as if the image or frame is anchored in the integrating
document. Howver - the whole integrating document will be more or less mixed up
afterwards.
Comment 1 eric.savary 2009-06-12 11:06:00 UTC
Not a P2.
Please attach a sample document and screenshots showing the problem.
Comment 2 oruehaak 2009-06-12 16:53:31 UTC
Created attachment 62950 [details]
ZIP containing the sample documents and a screen shot
Comment 3 eric.savary 2009-06-24 21:14:06 UTC
Description:
- new Writer doc with some text (I will attach a file "Container.odt")
- another Writer doc with some text and a text frame (I will attach a file
"OLE_with_frame.odt")
- Insert the second document ("OLE_with_frame.odt") as OLE iinto the first
document ("Container.odt")
-> the text frame of the OLE object is floating outside of the OLE
(I'll attach a screen shot)
Comment 4 eric.savary 2009-06-24 21:15:21 UTC
Created attachment 63197 [details]
Container.odt
Comment 5 eric.savary 2009-06-24 21:15:39 UTC
Created attachment 63198 [details]
OLE_with_frame.odt
Comment 6 eric.savary 2009-06-24 21:20:28 UTC
Created attachment 63199 [details]
floating_outside.JPG
Comment 7 eric.savary 2009-06-24 21:23:30 UTC
Regression. Broken since 3.1.
Comment 8 Oliver-Rainer Wittmann 2009-07-17 13:53:34 UTC
OD->SJ:
Please have a look (may be also AW). Embedded Writer documents with a Writer
text frame are not displayed correct in any application (Writer, Calc, etc.).
It look like as if the generation of the replacement graphic does not work:
- Creation of the replacement graphic for Powerpoint export with activated
conversion works fine.
- Opening such a document in OOo 3.0 also shows the wrong display, but an
activating-deactivating-cycle corrects the display.
Comment 9 sven.jacobi 2009-09-28 13:14:01 UTC
changed target
Comment 10 sven.jacobi 2011-03-22 10:29:49 UTC
The problem only occurs with writer objects, so this is most probably a writer/aw problem. As we found out, the metafile recording of these objects is correct (pdf export), so it might be the primitive wrapper from aw.

sj->od: As discussed you get this issue back.
Comment 11 Armin Le Grand 2011-03-22 10:49:22 UTC
AW: This is probably double to #i98753# where the same effect occurs.
AW: I disagree. The size of OLE is set in the DataTransferObject for it, not sure where this is or what the class is named exactly, but that size is calculated somewhere in SW and used for that transfer data object. Maybe it gets somehow lost. One thing that comes to mind is the change of transfer formats from internal stuff (like MetaFiles) to ODF, done by TL, thus setting to CC.

AW->TL: May those changes have changed the sizes for OLE transfer and thus have caused the regressions #i102707# and #i98753# ?
Comment 12 thomas.lange 2011-03-22 13:37:29 UTC
TL: As mentioned in the other issues as well: the change of the clipboard format is not yet completed. That cws (tl77) is on hold since no one currently has the time to look into the resulting convwatch issues. 
Thus nothing has changed yet in that respect.
Comment 13 Oliver-Rainer Wittmann 2011-03-24 07:42:22 UTC
fixed in cws os151 - changed file:
/sw/source/core/draw/dflyobj.cxx,
change set http://hg.services.openoffice.org/cws/os151/rev/99f126ca6231
Comment 14 Oliver-Rainer Wittmann 2011-03-24 08:11:45 UTC
fix reviewed by OS
Comment 15 Oliver-Rainer Wittmann 2011-03-28 12:10:14 UTC
od->mru: Checked in internal installation set of cws os151 - please verify.
Comment 16 michael.ruess 2011-03-29 14:04:50 UTC
Verified in CWS os151.