IDocFileHandler SaveACopy as idml
I'm working on a plugin for InDesign and I need to save a copy of the actual document as idml (I also need to use the SaveAs function as idml).
When I use the SaveACopy function I only add the '.idml' to the file extension. this doesn't work because I can't open the file in CS5.5 (I save it in CS6).
IDocFileHandler *fIDFileH;
fIDFileH->SaveACopy(doc, destFile, uiFlags, asStationery, fileTypeID);
fileTypeId is a FileTypeInfoID.
What value (or how to declare the FileTypeInfoID) shall FileTypeInfoID have to save the file as idml?
[Moved from user forum to developer forum... Mod]
[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]