Issue 102040

Summary: Printing drawing objects in Handout or Notes mode is broken
Product: Impress Reporter: camillem <cmoulin>
Component: printingAssignee: Armin Le Grand <Armin.Le.Grand>
Status: CLOSED DUPLICATE QA Contact: issues@graphics <issues>
Severity: Trivial    
Priority: P3 CC: aladdin, cno, hatapitk, issues, kamataki
Version: OOo 3.1Keywords: regression
Target Milestone: OOo 3.1.1   
Hardware: Unknown   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 101565    
Attachments:
Description Flags
Simple presentation with two slides with charts
none
Result when printing the previous file with PDF Creator
none
Result when printing the previous file in Notes Mode with PDF Creator
none
Simple test case with drawings to be printed in Notes mode
none
Result of the previous files : wrong PDF export of drawings in notes mode none

Description camillem 2009-05-18 17:07:49 UTC
Steps to reproduce the problem
1-Create an empty presentation
2-On the first slide, choose a layout with text and chart
3-Double clic to Insert a chart
4-Choose a pie chart
5-Insert a second slide
6-Double clic to insert a chart
7-Choose a bar chart
8-File > Print > Choose Handout and 2 slides per page
Comment 1 camillem 2009-05-18 17:09:44 UTC
Created attachment 62348 [details]
Simple presentation with two slides with charts
Comment 2 camillem 2009-05-18 17:12:22 UTC
Created attachment 62349 [details]
Result when printing the previous file with PDF Creator
Comment 3 camillem 2009-05-18 17:12:58 UTC
I get the same result with a Canon iR 5870C EUR PCL5c printer
Comment 4 hatapitk 2009-05-18 17:15:36 UTC
This same issue was just reported to us on dev@fi.openoffice.org. According to
the reporter this is a regression from 3.0.1 (tested on Windows XP).
Comment 5 aladdin2k7 2009-05-18 17:21:12 UTC
I confirm it works with OOo 3.0.1.
Comment 6 camillem 2009-05-18 19:20:53 UTC
Actually, there is a similar problem in Notes mode
Comment 7 wolframgarten 2009-05-19 07:46:17 UTC
Reproducible. Reassigned.
Comment 8 camillem 2009-05-19 11:19:17 UTC
Created attachment 62360 [details]
Result when printing the previous file in Notes Mode with PDF Creator
Comment 9 camillem 2009-05-19 11:26:42 UTC
Considering it's a regression and that the scope is not only Handout but also
Notes mode (and also when exporting to PDF and checking "export notes" ), I
would suggest you target it for 3.1.1.
Comment 10 camillem 2009-05-28 14:48:12 UTC
Actually, in Notes mode at least, the problems also applies to simple drawings
(at least in PDF export, I don't have a printer at hand at the moment)
Comment 11 camillem 2009-05-28 15:24:37 UTC
Created attachment 62623 [details]
Simple test case with drawings to be printed in Notes mode
Comment 12 camillem 2009-05-28 15:25:42 UTC
Created attachment 62624 [details]
Result of the previous files : wrong PDF export of drawings in notes mode
Comment 13 camillem 2009-06-03 17:50:22 UTC
As it has been set as a 3.1.1 release stopper, I changed the target accordingly
Comment 14 groucho266 2009-06-04 15:44:23 UTC
Printing is done via meta files.  OLE objects have their own meta files which
are embedded into the meta file of the slide.  While this works correctly for
most OLE types the special handling of Chart OLE objects seems not to provide a
proper transformation of coordinate systems.

@aw: Please take over.  You know this stuff better than I do.
Comment 15 Armin Le Grand 2009-06-04 16:18:04 UTC
AW: Adding to CWS aw074 to take a look...
Comment 16 Armin Le Grand 2009-06-24 13:27:40 UTC
AW: Checked, this one is identical to #i101811# which is fixed on OOo 3.2
codeline already. Setting to double, adding #i101811# to CWS aw074, too.

*** This issue has been marked as a duplicate of 101811 ***
Comment 17 Armin Le Grand 2009-06-24 13:28:13 UTC
AW: Closing double.
Comment 18 Armin Le Grand 2009-06-24 14:07:50 UTC
AW: Re-activating since #i101811# fixes the chart problem, but not the 2nd
mentioned one, the lines of simple draw shapes. Adapting title accordingly...
Comment 19 Armin Le Grand 2009-06-24 14:09:26 UTC
AW: Re-adding to CWS aw074, too. Looking for the lines offset while PDF export
(as can be seen in #i101811# basic problem is the embedding of geometry in a
PagePreview object, as it is e.g. used in handout pages)...
Comment 20 Armin Le Grand 2009-06-24 14:34:39 UTC
AW: Has to do with VclMetafileProcessor2D::impTryToCreateSvtGraphicStroke which
i already changed with #i101734#. It's double to it, and it's also already fixed
in CWS aw073 for OOo 3.2. Ahhh! Task handling needs me to set to double (the
other one is older) and also to double-add  #i101734# to CWS aw073 and aw074.

I can only set to double to one task; setting to #i101734# now. But to make
clear: It's double to #i101734# AND #i101811#.

*** This issue has been marked as a duplicate of 101734 ***
Comment 21 Armin Le Grand 2009-06-24 14:35:30 UTC
AW: Removed from aw074, closing.