INumberConverter being ignore when exporting PDF
I am using CC 2017, but it has been an issue for multiple versions.
I have a custom plugin that implements INumberConverter on kPageNumberingStylesService Boss for a custom numbering format. This works beautifully until I try to export to PDF. If I print to PDF Distiller it works fine, but when I export to PDF it exports with default numbering style.
This is similar to an old stubborn bug, when exporting book to PDF would not do the numbering correctly. I don't know that it is related, but they both seem to say that the numbering on export is decoupled from the way it is calculated for regular viewing of the PDF.
What happens if you produce your PDF using a script, without background processing?
Is your plugin by any chance a kUIPlugIn rather than kModelPlugIn?
Are you using kPageNumberingStylesService as IID_IK2SERVICEPROVIDER? Otherwise, does yours return kMultipleThreads?