|
|
|
Re: PDF rendering issue [message #626322 is a reply to message #560112] |
Wed, 22 September 2010 14:23 |
|
What version of BIRT are you using?
BIRT 2.6 deprecated some of the options you are using. Here are the new ones:
/**
* Properties to control how to output the content
* if the content exceeds the page-size.
* CLIP_CONTENT: clip the content
* FIT_TO_PAGE_SIZE: scale the content to fit into the page
* OUTPUT_TO_MULTIPLE_PAGES: divided the content into multiple pages
* ENLARGE_PAGE_SIZE: enlarge the page size to contain all the content.
*/
public static final String PAGE_OVERFLOW = "pdfRenderOption.pageOverflow";
public static final int CLIP_CONTENT = 1;
public static final int FIT_TO_PAGE_SIZE = 2;
public static final int OUTPUT_TO_MULTIPLE_PAGES = 4;
public static final int ENLARGE_PAGE_SIZE = 8;
Jason
|
|
|
|
Re: PDF rendering issue [message #628692 is a reply to message #628175] |
Thu, 23 September 2010 17:04 |
|
Use it like:
PDFRenderOption pdfOptions = new PDFRenderOption( options );
pdfOptions.setOption(IPDFRenderOption.PAGE_OVERFLOW,
IPDFRenderOption.FIT_TO_PAGE_SIZE);
Jason
On 9/23/2010 5:57 AM, laxmipathi raju wrote:
> Dear jason,
> Thanks again for reply and i am using BIRT 2.5 and can you give an
> example how to use the above values in my code.
>
>
> Thanks & Regards,
> Laxmipathi Raju
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04505 seconds