Hi All,
In my plugin I need to export active document to png file with specific options. And sometimes I need to export definite pages from the document, but not all.
In standard UI of InDesign there are several basic steps of export:
1."File"->"Export";
2. Choose the location and filename to export to;
3. Customize export options.
In my plugin I need to have the possibility to set options from 2 and 3 steps.
I have found out that there are some bosses, which deal with PNG:
kPNGErrorStringServiceBoss
kPNGExportCommandBoss
kPNGExportPrefsScriptProviderBoss
kPNGExportProviderBoss
kPNGExportSetPrefsCommandBoss
kPNGExportUIDialogBoss
kPNGFilterConversionBoss
kPNGIconButtonWidgetBoss
kPNGImageReadFormatBoss
kPNGImageWriteFormatBoss
kPNGPrefsDialogBoss
Also, there are some interfaces and widget id's in the following headers "PNGFilterUIID.h", "PNGPrefsUIID.h", "PNGFilterID.h", which deal with png export process.
One of the ways to solve my problem is to create png export dialog (maybe IDialogMgr::CreateNewDialog), iterate over all widgets and set necessary values, but I don't know how to create this ExportDialog.
Any ideas how to solve this are of great value.
Thanks in advance.