Copy link to clipboard
Copied
HI All,
If I tried to use codesnippet given in function SnpExportDocAsPDF::ExportDocAsPDF() of snippet runner cs5 sample plugin then it will export complete indesign document as a single pdf.
Now I need to create a plugin thorugh which I am able to generate a separate pdf for each page
e.g if my document have 4 pages then it should generate a pdf for each page as follows
MyDoc_Page1.pdf
MyDoc_Page2.pdf
MyDoc_Page3.pdf
MyDoc_Page4.pdf
What are the steps that I need to perform to achieve this.
Regards,
Alam
Copy link to clipboard
Copied
Use the IOutputPages interface present in the kPDFExportCmdBoss. In this interface you can set the UIDList of the pages for which you need the pdf to be exported.
Manan Joshi
- Efficient InDesign Solutions -
MetaDesign Solutions
http://metadesignsolutions.com/services/indesign-development.php
Copy link to clipboard
Copied
HI Manan,
In order to generate one pdf per page I used kPDFExportCmdBoss, and set pages in IOutputPages and path in ISysFileData then after process the command.
Now my second requirement is that I need to generate these pdfs on background thread.
On looking into CHM I found that
IExportProvider::AsynchronousExportToFile() export the pdf on background thread.
What I need to do so that my pdf export goes on background thread
Thanks,
Alam
Copy link to clipboard
Copied
Thanks Manan it hels me to find the solution of generating a separate pdf for each page.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now