|
Re: Set Postscript to Reverse Page Order? [message #660514 is a reply to message #660485] |
Fri, 18 March 2011 18:47 |
|
Steve,
I do not know of an easy way to do this, but a manual way is to render
one page at a time starting with the highest.
//render a specific page
task.setPageNumber(3);
use report document's page count to loop.
long pgcnt = document.getPageCount();
Jason
On 3/18/2011 11:41 AM, Steve Bliss wrote:
> I'm working on an java app that generates BIRT reports into postscript
> files.
>
> Is there a way to specify that the output file should be in reverse page
> order? A RenderOption flag maybe?
>
> Thanks in advance for any help!
> Steve
>
>
|
|
|
|
Re: Set Postscript to Reverse Page Order? [message #660838 is a reply to message #660515] |
Mon, 21 March 2011 21:49 |
|
I do not believe there is a way currently to do this with a runandrender
task.
Jason
On 3/18/2011 3:52 PM, Steve Bliss wrote:
> Hmm. That sounds somewhat doable, except it looks like that requires
> separate RunTask and RenderTask objects. My app uses the combined
> RunAndRenderTask object. Using separate objects requires creation of
> physical report document files. I'd like to avoid that, since we process
> thousands of reports in a single run, and adding a bunch of temporary
> files would likely slow down performance.
>
> Is it possible to do what you suggest either with a single object, or to
> avoid the physical creation of intermediate report document files?
>
> Steve
>
> Jason Weathersby wrote on Fri, 18 March 2011 14:47
>> Steve,
>>
>> I do not know of an easy way to do this, but a manual way is to render
>> one page at a time starting with the highest.
>> //render a specific page
>> task.setPageNumber(3);
>>
>> use report document's page count to loop.
>> long pgcnt = document.getPageCount();
>>
>> Jason
>>
>> On 3/18/2011 11:41 AM, Steve Bliss wrote:
>> > I'm working on an java app that generates BIRT reports into postscript
>> > files.
>> >
>> > Is there a way to specify that the output file should be in reverse
>> page
>> > order? A RenderOption flag maybe?
>> >
>> > Thanks in advance for any help!
>> > Steve
>> >
>> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02963 seconds