![]() | InDesign SDK 20.5 |
#include <IXDocBkFacade.h>

Public Types | |
| enum | { kDefaultIID = IID_IXDOCBKFACADE } |
Public Member Functions | |
| virtual ErrorCode | SetOptions (const K2Vector< WideString > &optionsVec)=0 |
| virtual bool16 | AreOptionsSet ()=0 |
| virtual ErrorCode | ResizeInlines (const UIDRef &documentUIDRef)=0 |
| virtual ErrorCode | ImportXMLFile (const IDFile &xmlFile, const UIDRef &destDocumentUIDRef, const PMString &stylesheetPath)=0 |
| virtual ErrorCode | ExportXMLFile (const IDFile &sysFile, IDocument *doc, IPMUnknown *targetboss, const PMString &formatName, UIFlags uiFlags)=0 |
| virtual PMString | GetTemplatePath ()=0 |
| virtual PMString | GetDefaultTemplateFromFolder (const IDFile &importingXMLFile)=0 |
| virtual PMString | GetStylesheetPath ()=0 |
| virtual ErrorCode | SetUseXMLTransformer (bool16 newState)=0 |
| virtual ErrorCode | SetUsePostImportIterator (bool16 newState)=0 |
| virtual ErrorCode | SetUseCALSContentHandler (bool16 newState)=0 |
| virtual bool16 | IsUsingXMLTransformer ()=0 |
| virtual bool16 | IsUsingPostImportIterator ()=0 |
| virtual bool16 | IsUsingCALSContentHandler ()=0 |
| virtual ErrorCode | SetDeleteNamespacedAttrs (bool16 newState)=0 |
| virtual bool16 | IsDeleteNamespacedAttrs ()=0 |
| virtual ErrorCode | SetDeleteInboundStrucTableElements (bool16 newState)=0 |
| virtual bool16 | IsDeleteInboundStrucTableElements ()=0 |
| virtual bool16 | IsTaggingTable ()=0 |
| virtual bool16 | IsSuppliedXSLOverridingPI ()=0 |
| virtual ErrorCode | SetSuppliedXSLOverridingPI (bool16 newState)=0 |
| virtual ErrorCode | SetTaggingTable (bool16 newState)=0 |
| virtual void | UnitTestFacade ()=0 |
| virtual PMString | AddPathSeparator (const PMString &path)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
From SDK sample; facade interface that represents the main capabilities required from client code.
TODO the comment above seems to indicate that the class is not cohesive enough to be described functionally. facade that does this or that (import/import XML) would be more useful to reader.
TODO "From SDK sample" are you suggesting all sample code needs this?
| anonymous enum |
Default interface identifier for UseDefaultIID
Append platform path separator to string
| path | input string |
Implemented in XDocBkFacade.
| pure virtual |
Have options been set up? Decouple client code from knowledge of all options
Implemented in XDocBkFacade.
| pure virtual |
Export XML logical structure from given document into specified file
| sysFile | IN file to export to |
| doc | IN where logical structure comes from |
| targetBoss | IN may carry a selection or nil if not exporting from selection |
| pure virtual |
Return string based representation of path for default template in same folder
| importingXMLFile |
Implemented in XDocBkFacade.
| pure virtual |
Return path to optional XSL stylesheet
Implemented in XDocBkFacade.
| pure virtual |
Return string based representation of path to template for importing into
Implemented in XDocBkFacade.
| pure virtual |
Imports XML file into specified document
| xmlFile | IN file to import |
| destDocumentUIDRef | IN target document |
| stylesheetPath | optional XSL stylesheet path, which can be empty |
Implemented in XDocBkFacade.
| pure virtual |
Determine if option to delete aid:xxx attrs is turned on
Implemented in XDocBkFacade.
| pure virtual |
Determine if option to delete aid:xxx attrs is turned on
Implemented in XDocBkFacade.
| pure virtual |
Determine whether the option to tag created table is turned on
Implemented in XDocBkFacade.
| pure virtual |
Determine if SAX Handler to create tables from CALS model is turned on
Implemented in XDocBkFacade.
| pure virtual |
Implemented in XDocBkFacade.
| pure virtual |
Determine if the XML transformer (on stream) is being used to apply context sensitive styling through XSLT
Implemented in XDocBkFacade.
| pure virtual |
Resize inlines in document to fit within width of columns
Implemented in XDocBkFacade.
| pure virtual |
Set option to delete aid:xxx attrs on import
Implemented in XDocBkFacade.
| pure virtual |
Set option to delete aid:xxx attrs on import
Implemented in XDocBkFacade.
| pure virtual |
Sets the persistent options (IXDocBkOptions) on the session workspace (kWorkspaceBoss).
Implemented in XDocBkFacade.
| pure virtual |
Set option to tag created table
Implemented in XDocBkFacade.
| pure virtual |
Change service-specific preference to use SAX handler to create images
Implemented in XDocBkFacade.
| pure virtual |
Change service-specific preference to use post-import iterator to place images
Implemented in XDocBkFacade.
| pure virtual |
Change service-specific preference to use our XML transformer on stream.
| newState | specifies turn on (kTrue) or off (kFalse) |
Implemented in XDocBkFacade.
| pure virtual |
Method that just exercises methods on this facade
Implemented in XDocBkFacade.