keys/parameters for native illustrator file formats?
So I'm using the Illustrator CC2023 SDK to work on some plugin code where a number of functions need to be able to save documents to file silently (ie. without user intervention) and I've been trying to find valid key or parameter lists for native Illustrator formats such as Adobe Illustrator Any Format Writer for use with either the additionalOptionsDict parameter of WriteDocumentWithOptions(), or with SetDocumentFileFormatParameters() for well over a week now with very little success.
The problem is that passing extended parameters such as PDF compatiblity, embedding ICC profiles and so forth in through additionalOptionsDict requires knowing the precise key strings for these options, and I cannot seem to find an accurate reference for what those strings need to be, as they are specific to the given file format, and I can find no documentation on what parameters any of the native Illustrator file formats can take actually are or how to reference them.
Likewise, trying instead to go via Get/SetDocumentFileFormatParameters() leaves me with the problem that the AIDocumentFileFormatParameters type is basically just an opaque reference to a void pointer and its actual structure depends entirely on how the specific file format in question is specified, which I have also not been able to find any documentation for with regards to any of the native file formats.
I've so far tried both the 4-byte char keys listed in AINativeAction.h within the SDK and even the key strings located under /aiFileFormat within the Illustrator Prefs preference file, but neither of these seem to accurately correspond to dictionary keys that the native Any Format Writer format is expecting.
Is there an actual listing for the additional options dictionary keys documented, a way to retrieve them from the actual "AI File Format" plugin that handles them, or any of the sort? Or are both WriteDocumentWithOptions() and Get/SetDocumentFileFormatParameters() effectively consigned for use only with external plugin file formats that have any actual documentation?
