Apache OpenOffice (AOO) Bugzilla – Issue 72502
Calc: drawing objects are printing additional on wrong pages
Last modified: 2007-01-26 14:04:32 UTC
- open the attached documents - one Calc document and one Writer document - print the documents - for the Calc document you can also switch to the print preview --> the drawing object is also printing on the first page for the Calc document and on the second empty page for the Writer document Note: For Writer documents the same holds for text frames, graphics and OLE objects
Regression: Ok in SRC680m193 and broken in SRC680m194
Created attachment 41375 [details] Calc document to reproduce the defect
Created attachment 41377 [details] Writer document to reproduce the defect
AW: Highly different in SC and SW, splitting. Using this one for SC.
AW: Cloned for SW is #i72809#, changing this title accordingly.
AW: In SC, ScOutputData::DawingLayer used for printing does not use BeginDrawLayer/EndDrawLayer at all. Changing and splitting to: Point PrePrintDrawingLayer(long nLogStX, long nLogStY ); void PostPrintDrawingLayer(); void PrintDrawingLayer(const sal_uInt16 nLayer, const sal_uInt16 nPaintMode, const Point& rMMOffset); whereby PrePrintDrawingLayer is now calculating not only returned offset, but also clip region and handing it over using BeginDrawLayer. AW: Testing with printing and previewing.
AW: Okay, works well. Adding SC... AW: modifying added version... AW: Checking in. Okay, done.
AW->OD:please review, install sets are all ready
OD->WG: Please take over.
Verified in CWS.
*** Issue 73643 has been marked as a duplicate of this issue. ***
Tested in m201. Closed.