InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
XCatHndParsingContext Class Reference
Inheritance diagram for XCatHndParsingContext:
CPMUnknown< IXCatHndParsingContext >IXCatHndParsingContextIPMUnknown

Public Member Functions

 XCatHndParsingContext (IPMUnknown *boss)
 
virtual ~XCatHndParsingContext ()
 
virtual void SetCurrentXmlBase (const WideString &base)
 
virtual WideString GetCurrentXmlBase () const
 
- Public Member Functions inherited from CPMUnknown< IXCatHndParsingContext >
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
 

Additional Inherited Members

- Public Types inherited from IXCatHndParsingContext
enum  { kDefaultIID = IID_IXCATHNDPARSINGCONTEXT }
 
- Protected Member Functions inherited from CPMUnknown< IXCatHndParsingContext >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CPMUnknown< IXCatHndParsingContext >
HelperInterface fHelperInterface
 

Detailed Description

Stores state we read or need when parsing. The intent was that we could have a catalog with groups with different xml:base attributes and we could read those and somehow support different XML vocabularies, as the xml:base would point at where the assets were (DTD etc) needed to support a particular vocabulary. But at present this plug-in just supports one active xml:base, so this implementation is not fully utilised..

Constructor & Destructor Documentation

XCatHndParsingContext::XCatHndParsingContext (IPMUnknownboss)

Constructor

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

Destructor

Member Function Documentation

virtual WideString XCatHndParsingContext::GetCurrentXmlBase () const
inlinevirtual

Acquire current xml:base

Returns
WideString with xml:base

Implements IXCatHndParsingContext.

virtual void XCatHndParsingContext::SetCurrentXmlBase (const WideStringbase)
inlinevirtual

Set up the current xml:base

Parameters
basespecifying the new xml:base

Implements IXCatHndParsingContext.