Hi All,
I am working on pdf export and requirment is that generated pdf should have the settings/style as mentioned in the .xyz.joboptions file, I don't want this file to be added in InDesign pdf presets style drop down
I want to use the .joboptions file in my pdf export so please let me know which one is best suited my need
Regards,
Alam
I did followings
PMString joboptionsFilePath("pdf.joboptions");
IDFile joboptionsFile(joboptionsFilePath);
InterfacePtr<IPDFExportPrefs> pdfExportPrefs((IPDFExportPrefs*)::QuerySessionPreferences(IID_IPDFEXPORTPREFS));
if( !FileUtils::DoesFileExist(joboptionsFile) )
{
ErrorCode eCode = pdfExportPrefs->ReadJobOptionsDataFromDisk(joboptionsFile);
here function returns 1
}
Not able to found the reason why it returns 1. What things I am missing
North America
Europe, Middle East and Africa
Asia Pacific