Page 1 of 1

Export separated pages

Posted: Sun Aug 30, 2015 4:01 pm
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.

Re: Export separated pages

Posted: Mon Aug 31, 2015 5:33 am
by HighAley
Hello.

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

Thank you.

Re: Export separated pages

Posted: Mon Aug 31, 2015 2:50 pm
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.

Re: Export separated pages

Posted: Tue Sep 01, 2015 11:22 am
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.

Re: Export separated pages

Posted: Tue Sep 01, 2015 11:50 am
by hugo
OK, it's similar to what I'm doing right now, invoking export with single object (object by object).

Thank you.

Re: Export separated pages

Posted: Tue Sep 01, 2015 12:42 pm
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.

Re: Export separated pages

Posted: Wed Sep 02, 2015 9:51 am
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.

Re: Export separated pages

Posted: Wed Sep 02, 2015 11:04 am
by HighAley
Hello.

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

Thank you.

Re: Export separated pages

Posted: Wed Sep 02, 2015 4:04 pm
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.

Re: Export separated pages

Posted: Thu Sep 03, 2015 11:44 am
by HighAley
Hello.

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

Thank you.