Issue 72502 - Calc: drawing objects are printing additional on wrong pages
Summary: Calc: drawing objects are printing additional on wrong pages
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: printing (show other issues)
Version: OOo 2.2
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 2.2
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords: regression
: 73643 (view as issue list)
Depends on:
Blocks:
 
Reported: 2006-12-12 15:13 UTC by Oliver-Rainer Wittmann
Modified: 2007-01-26 14:04 UTC (History)
1 user (show)

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


Attachments
Calc document to reproduce the defect (6.98 KB, application/vnd.oasis.opendocument.spreadsheet)
2006-12-12 15:16 UTC, Oliver-Rainer Wittmann
no flags Details
Writer document to reproduce the defect (7.01 KB, application/vnd.oasis.opendocument.text)
2006-12-12 15:17 UTC, Oliver-Rainer Wittmann
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Oliver-Rainer Wittmann 2006-12-12 15:13:41 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
Comment 1 Oliver-Rainer Wittmann 2006-12-12 15:15:49 UTC
Regression: Ok in SRC680m193 and broken in SRC680m194
Comment 2 Oliver-Rainer Wittmann 2006-12-12 15:16:40 UTC
Created attachment 41375 [details]
Calc document to reproduce the defect
Comment 3 Oliver-Rainer Wittmann 2006-12-12 15:17:47 UTC
Created attachment 41377 [details]
Writer document to reproduce the defect
Comment 4 Armin Le Grand 2006-12-20 15:22:46 UTC
AW: Highly different in SC and SW, splitting. Using this one for SC.
Comment 5 Armin Le Grand 2006-12-20 15:27:57 UTC
AW: Cloned for SW is #i72809#, changing this title accordingly.
Comment 6 Armin Le Grand 2006-12-20 15:44:16 UTC
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.
Comment 7 Armin Le Grand 2006-12-20 16:30:25 UTC
AW: Okay, works well. Adding SC...
AW: modifying added version...
AW: Checking in. Okay, done.
Comment 8 Armin Le Grand 2007-01-10 10:22:49 UTC
AW->OD:please review, install sets are all ready
Comment 9 Oliver-Rainer Wittmann 2007-01-11 12:48:46 UTC
OD->WG: Please take over.
Comment 10 wolframgarten 2007-01-12 09:45:13 UTC
Verified in CWS.
Comment 11 frank 2007-01-19 10:41:20 UTC
*** Issue 73643 has been marked as a duplicate of this issue. ***
Comment 12 wolframgarten 2007-01-26 14:04:32 UTC
Tested in m201. Closed.