Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337847

Summary: PPT emitter does not work as expected
Product: z_Archived Reporter: evgenyak
Component: BIRTAssignee: Birt-Chart-inbox <Birt-Chart-inbox>
Status: CLOSED INVALID QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: bluesoldier
Version: 2.6.1   
Target Milestone: 3.7.0   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete
Attachments:
Description Flags
Problematic PPT file
none
Design file for the problematic PPT export none

Description evgenyak CLA 2011-02-22 10:23:05 EST
When I generate a report in PPT format the image and table are there, but when I open it in power point the slide is "very" long. By default the page is opened with 10% zoom and only this way it fits in one's screen.
I would expect to have a "normal" sized slide
Comment 1 Xiaoying Gu CLA 2011-02-22 21:05:04 EST
Could you please attach your report design for us to investigate? I can not reproduce this issue in most reports.
Comment 2 evgenyak CLA 2011-02-23 00:44:50 EST
Created attachment 189576 [details]
Problematic PPT file

This is the generated PPT file
Comment 3 Xiaoying Gu CLA 2011-02-23 01:29:08 EST
Could you please attach the report design also? 

(In reply to comment #2)
> Created attachment 189576 [details]
> Problematic PPT file
> 
> This is the generated PPT file
Comment 4 evgenyak CLA 2011-02-28 01:17:59 EST
Created attachment 189909 [details]
Design file for the problematic PPT export

Please note that problem with PPT is system wide problem with all reports I have and not only this one.
Comment 5 Xiaoying Gu CLA 2011-02-28 02:23:30 EST
The setting of your masterpage size is custom type with width: 740 pixels, height: 10000 pixels.

With this width and height setting, the output of ppt/pdf is correct. Please change the masterpage size to correct value.
Comment 6 evgenyak CLA 2011-02-28 02:37:40 EST
Where do I change this setting?

The pages were developed by a freelance agent and I'm not aware of these settings.

(In reply to comment #5)
> The setting of your masterpage size is custom type with width: 740 pixels,
> height: 10000 pixels.
> 
> With this width and height setting, the output of ppt/pdf is correct. Please
> change the masterpage size to correct value.
Comment 7 evgenyak CLA 2011-02-28 02:38:46 EST
Please tell me where to change this setting.
10x
Comment 8 evgenyak CLA 2011-02-28 02:48:16 EST
Can I simply remove <property name="height">10000px</property> ?

I don't want to control the height of the page.
I want it to be automatic according to the size of the chart and the table with data.

Thanks,

(In reply to comment #5)
> The setting of your masterpage size is custom type with width: 740 pixels,
> height: 10000 pixels.
> 
> With this width and height setting, the output of ppt/pdf is correct. Please
> change the masterpage size to correct value.
Comment 9 Xiaoying Gu CLA 2011-02-28 02:51:11 EST
(In reply to comment #8)
> Can I simply remove <property name="height">10000px</property> ?
> 
> I don't want to control the height of the page.
> I want it to be automatic according to the size of the chart and the table with
> data.
> 
> Thanks,
> 
> (In reply to comment #5)
> > The setting of your masterpage size is custom type with width: 740 pixels,
> > height: 10000 pixels.
> > 
> > With this width and height setting, the output of ppt/pdf is correct. Please
> > change the masterpage size to correct value.


If the master page type is custom, you will have to set the height value.
You could set the master page type as default value: US letter.
You can find it from: Masterpage -> property editor -> General -> Type
Comment 10 evgenyak CLA 2011-02-28 02:57:43 EST
Ok. Thanks for help