Hi,
Yes, DiapDealer is correct. Calling the wrapper routines directly in your plugin is NOT supported. The wrapper routines are subject to change at any time. You should be using the iterators in the bookcontainer class. The bookcontainer class is the public API for the edit plugins.
Given the design uses the content.opf to derive the interface itself and tries to protect the content.opf from being incorrectly changed, directly changing the media-types will not be supported. It should not be needed if font files are added in Sigil as Sigil will assign the correct media-type.
Hope this explains things.
KevinH
|