Export separated pages

Stimulsoft Reports.Flex discussion
Locked
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Export separated pages

Post by hugo »

There is any way to export using StiPdfExportService to separated pages (array of bytearrays).
At least I didn't found an option on StiPdFExportSettings.
There is any possible to implement that on the next release ?


Thank you,
Hugo.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export separated pages

Post by HighAley »

Hello.

Do you need to get separate file for each report page? Right?

Thank you.
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: Export separated pages

Post by hugo »

Hello,

Exactly.
Each page it's a letter for a different person that will get a generated pdf.
It's possible to do that with a "for each" for each object, however this consume a lot of time (several minutes) and of course this can be dramatically improved if your engine process at once and generate splitted pdfs (array of bytearrays).

Thank you.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export separated pages

Post by HighAley »

Hello.

You can export rendered report page by page by specifying PageRange in StiPdFExportSettings.
There is no other way to export report page by page.

Thank you.
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: Export separated pages

Post by hugo »

OK, it's similar to what I'm doing right now, invoking export with single object (object by object).

Thank you.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export separated pages

Post by HighAley »

Hello.

Maybe it will be faster to render the report with all letters and then export them page by page than render the report for each letter.

Thank you.
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: Export separated pages

Post by hugo »

Ho, that's exactly what I wanted in the first place.
Probably I didn't explain well.
How can I do that ? I didn't find the process.

Thank you,
Hugo.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export separated pages

Post by HighAley »

Hello.

Sorry, I was wrong. It's impossible to export multiple files at once due to Flex restrictions.

Thank you.
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: Export separated pages

Post by hugo »

OK,

Then, what I guess is that the current process that I'm using is the only way and slower, because the init of report, etc ... is used several times while exporting page by page.

Thank you.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export separated pages

Post by HighAley »

Hello.

It seems so.
Please, let us know if you will find better way to export report page by page.

Thank you.
Locked