InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
XDocBkFacade Class Reference
Inheritance diagram for XDocBkFacade:
CPMUnknown< IXDocBkFacade >IXDocBkFacadeIPMUnknown

Public Member Functions

 XDocBkFacade (IPMUnknown *boss)
 
virtual ~XDocBkFacade ()
 
virtual ErrorCode SetOptions (const K2Vector< WideString > &optionsVec)
 
virtual bool16 AreOptionsSet ()
 
virtual ErrorCode ResizeInlines (const UIDRef &documentUIDRef)
 
virtual ErrorCode ImportXMLFile (const IDFile &xmlFile, const UIDRef &destDocumentUIDRef, const PMString &stylesheetPath)
 
virtual ErrorCode ExportXMLFile (const IDFile &sysFile, IDocument *doc, IPMUnknown *targetboss, const PMString &formatName, UIFlags uiFlags)
 
virtual PMString GetTemplatePath ()
 
virtual PMString GetDefaultTemplateFromFolder (const IDFile &importingXMLFile)
 
virtual PMString GetStylesheetPath ()
 
virtual ErrorCode SetUseXMLTransformer (bool16 newState)
 
virtual ErrorCode SetUsePostImportIterator (bool16 newState)
 
virtual ErrorCode SetUseCALSContentHandler (bool16 newState)
 
virtual bool16 IsUsingXMLTransformer ()
 
virtual bool16 IsUsingPostImportIterator ()
 
virtual bool16 IsUsingCALSContentHandler ()
 
virtual ErrorCode SetDeleteNamespacedAttrs (bool16 newState)
 
virtual bool16 IsDeleteNamespacedAttrs ()
 
virtual ErrorCode SetDeleteInboundStrucTableElements (bool16 newState)
 
virtual bool16 IsDeleteInboundStrucTableElements ()
 
virtual bool16 IsTaggingTable ()
 
virtual ErrorCode SetTaggingTable (bool16 newState)
 
virtual bool16 IsSuppliedXSLOverridingPI ()
 
virtual ErrorCode SetSuppliedXSLOverridingPI (bool16 newState)
 
virtual void UnitTestFacade ()
 
virtual PMString AddPathSeparator (const PMString &path)
 
- Public Member Functions inherited from CPMUnknown< IXDocBkFacade >
IPMUnknownQueryInterface (PMIID interfaceID) const
 
void AddRef () const
 
void Release () const
 
void PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
void PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
 CPMUnknown (const CPMUnknown &)=delete
 
CPMUnknownoperator= (const CPMUnknown &)=delete
 
- Public Member Functions inherited from IXDocBkFacade
virtual ErrorCode ExportXMLFile (const IDFile &sysFile, IDocument *doc, IPMUnknown *targetboss, const PMString &formatName, UIFlags uiFlags)=0
 

Protected Member Functions

bool16 GetBooleanServiceXMLImportPreference (const ServiceID &whichServiceID, const ClassID &whichClassID, int32 numPref)
 
ErrorCode SetBooleanServiceXMLImportPreference (const ServiceID &whichServiceID, const ClassID &whichClassID, int32 whichPref, bool16 newValue)
 
IXMLImportPreferencesQueryServiceXMLImportPrefs (const ServiceID &whichServiceID, const ClassID &whichClassID)
 
bool16 GetBooleanXMLImportOptionFromPool (const WideString &key)
 
- Protected Member Functions inherited from CPMUnknown< IXDocBkFacade >
 CPMUnknown (IPMUnknown *boss)
 

Additional Inherited Members

- Public Types inherited from IXDocBkFacade
enum  { kDefaultIID = IID_IXDOCBKFACADE }
 
- Protected Attributes inherited from CPMUnknown< IXDocBkFacade >
HelperInterface fHelperInterface
 

Detailed Description

XDocBkFacade is an implementation of the command facade interface IXDocBkFacade.

Constructor & Destructor Documentation

Binds the C implementation class onto its ImplementationID making the C code callable by the application * XDocBkFacade::XDocBkFacade (IPMUnknownboss)

Constructor.

Parameters
bossIN interface ptr from boss object on which this interface is aggregated.
virtual XDocBkFacade::~XDocBkFacade ()
inlinevirtual

Destructor

Member Function Documentation

PMString XDocBkFacade::AddPathSeparator (const PMStringpath)
virtual
bool16 XDocBkFacade::AreOptionsSet ()
virtual
See Also
IXDocBkFacade::AreOptionsSet
Returns
kTrue if set, kFalse otherwise

Implements IXDocBkFacade.

ErrorCode XDocBkFacade::ExportXMLFile (const IDFilesysFile,
IDocumentdoc,
IPMUnknowntargetboss,
const PMStringformatName,
UIFlags uiFlags 
)
virtual
See Also
IXDocBkFacade::ExportXMLFile
Returns
kSuccess on success, other ErrorCode otherwise
PMString XDocBkFacade::GetDefaultTemplateFromFolder (const IDFileimportingXMLFile)
virtual
See Also
IXDocBkFacade::GetDefaultTemplateFromFolder
Returns
template path

Implements IXDocBkFacade.

PMString XDocBkFacade::GetStylesheetPath ()
virtual
See Also
IXDocBkFacade::GetStylesheetPath
Returns
stylesheet path, empty if not set up

Implements IXDocBkFacade.

PMString XDocBkFacade::GetTemplatePath ()
virtual
See Also
IXDocBkFacade::GetTemplatePath
Returns
template path, empty if not set up

Implements IXDocBkFacade.

ErrorCode XDocBkFacade::ImportXMLFile (const IDFilexmlFile,
const UIDRefdestDocumentUIDRef,
const PMStringstylesheetPath 
)
virtual
See Also
IXDocBkFacade::ImportXMLFile
Returns
kSuccess on success, other ErrorCode otherwise

Implements IXDocBkFacade.

bool16 XDocBkFacade::IsDeleteInboundStrucTableElements ()
virtual

Determine if option to delete aid:xxx attrs is turned on

Returns
kTrue if turned on, kFalse if turned off

Implements IXDocBkFacade.

bool16 XDocBkFacade::IsDeleteNamespacedAttrs ()
virtual
See Also
IXDocBkFacade::IsDeleteNamespacedAttrs
Returns
kTrue if feature enabled, kFalse if not

Implements IXDocBkFacade.

bool16 XDocBkFacade::IsTaggingTable ()
virtual
See Also
IXDocBkFacade::IsTaggingTable
Returns
kTrue if feature enabled, kFalse if not

Implements IXDocBkFacade.

bool16 XDocBkFacade::IsUsingCALSContentHandler ()
virtual
See Also
IXDocBkFacade::IsUsingCALSContentHandler
Returns
kTrue if feature enabled, kFalse if not

Implements IXDocBkFacade.

bool16 XDocBkFacade::IsUsingPostImportIterator ()
virtual
See Also
IXDocBkFacade::IsUsingPostImportIterator
Returns
kTrue if feature enabled, kFalse if not

Implements IXDocBkFacade.

bool16 XDocBkFacade::IsUsingXMLTransformer ()
virtual
See Also
IXDocBkFacade::IsUsingXMLTransformer
Returns
kTrue if feature enabled, kFalse if not

Implements IXDocBkFacade.

ErrorCode XDocBkFacade::ResizeInlines (const UIDRefdocumentUIDRef)
virtual
See Also
IXDocBkFacade::ResizeInlines
Returns
kSuccess on success, other ErrorCode otherwise

Implements IXDocBkFacade.

ErrorCode XDocBkFacade::SetDeleteInboundStrucTableElements (bool16 newState)
virtual
See Also
IXDocBkFacade::SetDeleteInboundStrucTableElements
Returns
kSuccess on success, other ErrorCode otherwise

Implements IXDocBkFacade.

ErrorCode XDocBkFacade::SetDeleteNamespacedAttrs (bool16 newState)
virtual
See Also
IXDocBkFacade::SetDeleteNamespacedAttrs
Returns
kSuccess on success, other ErrorCode otherwise

Implements IXDocBkFacade.

ErrorCode XDocBkFacade::SetOptions (const K2Vector< WideString > & optionsVec)
virtual
See Also
IXDocBkFacade::SetOptions
Returns
kSuccess on success, other ErrorCode otherwise

Implements IXDocBkFacade.

ErrorCode XDocBkFacade::SetTaggingTable (bool16 newState)
virtual
See Also
IXDocBkFacade::SetTaggingTable
Returns
kSuccess on success, other ErrorCode otherwise

Implements IXDocBkFacade.

ErrorCode XDocBkFacade::SetUseCALSContentHandler (bool16 newState)
virtual
See Also
IXDocBkFacade::SetUseCALSContentHandler
Returns
kSuccess on success, other ErrorCode otherwise

Implements IXDocBkFacade.

ErrorCode XDocBkFacade::SetUsePostImportIterator (bool16 newState)
virtual
See Also
IXDocBkFacade::SetUsePostImportIterator
Returns
kSuccess on success, other ErrorCode otherwise

Implements IXDocBkFacade.

ErrorCode XDocBkFacade::SetUseXMLTransformer (bool16 newState)
virtual
See Also
IXDocBkFacade::SetUseXMLTransformer
Returns
kSuccess on success, other ErrorCode otherwise

Implements IXDocBkFacade.

void XDocBkFacade::UnitTestFacade ()
virtual