We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Table and charts stretching

Table and charts stretching<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Hi,

I am using Aspose.Cells to generate PDF. I need some help with tables and graphs stretching on the sheet. Currently I set:

pageSetup.setOrientation(PageOrientationType.LANDSCAPE);

pageSetup.setFitToPagesTall(1);

pageSetup.setFitToPagesWide(1);

So all my content would fit on one page, but that wouldn’t s always stretch tables to page width (content area of the page, excluding margins).

I attached picture which would illustrate what I want to achieve. I also want to do the same thing with a graph I generate. Please let me know if you need any more details. Thanks you!v

Hi,

Thanks for your posting and using Aspose.Cells for Java.

Please provide us your sample runnable project along with input and output files illustrating your issue. Please provide us your expected output file which you can create manually using MS-Excel. We will look into your issue and help or advise you asap.

Please also see this document for your reference.
http://www.aspose.com/docs/display/cellsjava/Setting+Page+Options