Quantcast
Channel: Adobe Community : Popular Discussions - InDesign SDK
Viewing all articles
Browse latest Browse all 78596

Problem exporting custom XML using ISnippetExport API ExportInCopyInterchange

$
0
0

Does the XML generation process invoked by ExportInCopyInterchange call IXMLExportHandler implementations on service bosses?

 

I cannot make it work. Following the snippet example I have created a service boss which should be recognized as an XMLExportHandler service:

 

   //Affects XML generation

   Class

    {

        kJBXMLExportHandlerBoss,

        kInvalidClass,

        {

            IID_IK2SERVICEPROVIDER,  kXMLExportServiceImpl,

            IID_IXMLEXPORTHANDLER,  kJBXMLExportHandlerImpl,

        }

    },

 

I have written a simple class to provide kJBXMLExportHandlerImpl which implements the methods of IID_IXMLEXPORTHANDLER. When I invoke 'Utils<ISnippetExport>()->ExportInCopyInterchange the XML is generated but my class is never entered. Even the constructor is never called either during InCopy startup or the export call.

 

What am I missing? I'm on Windows7 running CS6 InCopy

 

Thanks for any help.


Viewing all articles
Browse latest Browse all 78596


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>