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
What are the steps that I need to perform to achieve this.
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.
- Efficient InDesign Solutions -
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
Europe, Middle East and Africa