1 person found this helpful
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 -
Thanks Manan it hels me to find the solution of generating a separate pdf for each page.
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