Copy link to clipboard
Copied
Hi all.
I have got a plug-ins to export a book to PDF running successfully for InDesign CS2, CS3, CS4 and CS5, but now in the new version of InDesign CS5.5 the application crash.
I have made a lot of changes into the code using different ways to do the same, but in all cases the application crash doing the exportation to PDF
I am using the last update CS5.5 7.5.1 where, theoretically, this problem was resolved:
"Critical update - InDesign CS5.5 7.5.1
Download an important update that includes fixes to certain background PDF export cases"
Please, I'd like to know if there is someone with the same problem or if exists a solution for this problem changing something into the code ( the code is very similar to the function SnpExportBookAsPDF::ExportBookAsPDF(...) that appears into the documents of SDK->Snippets)
Thank you very much in advance.
Kind regards,
Juanma.
1 Correct answer
Because of a change in CS5.5 you now also need to pass the classID of the service provider you want to perform the export, along with your IBookOutputActionCmdData:
data->SetExportProviderClassID(classID);
For export to PDF, your options for the classID are:
kPDFExportBookBoss
or
kInteractivePDFExportBookBoss
Hope this helps.
Copy link to clipboard
Copied
Because of a change in CS5.5 you now also need to pass the classID of the service provider you want to perform the export, along with your IBookOutputActionCmdData:
data->SetExportProviderClassID(classID);
For export to PDF, your options for the classID are:
kPDFExportBookBoss
or
kInteractivePDFExportBookBoss
Hope this helps.
Copy link to clipboard
Copied
Hi r ide!
Your suggestion is correct and now the export book to PDF files working properly.
Thank you very much for your help.
Best regards,
Juanma.

