InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CXMLGenerator Class Reference
Inheritance diagram for CXMLGenerator:
CPMUnknown< IXMLGenerator >IXMLGeneratorIPMUnknownCPanelBasedXMLGeneratorBasePanelXMLGeneratorDCLSizPanelXMLGenerator

Public Member Functions

 CXMLGenerator (IPMUnknown *boss)
 
virtual void GenerateBeginTag (IXMLOutStream *s)
 
virtual void CollectAttributes (IXMLOutStream *s, IXMLOutStream::AttributeList *attrs)
 
virtual void GenerateContent (IXMLOutStream *s, int32 beforeChildIndex=0)
 
virtual void GenerateEndTag (IXMLOutStream *s)
 
- Public Member Functions inherited from CPMUnknown< IXMLGenerator >
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 IXMLGenerator
enum  { kDefaultIID = IID_IXMLGENERATOR }
 
- Protected Member Functions inherited from CPMUnknown< IXMLGenerator >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CPMUnknown< IXMLGenerator >
HelperInterface fHelperInterface
 

Member Function Documentation

virtual void CXMLGenerator::CollectAttributes (IXMLOutStreams,
IXMLOutStream::AttributeListattrs 
)
virtual

Collects the attributes that belong to a tag. The stream is necessary so that we can access cached path information for converted assets. Converted assets will have their href values replaced with the updated path information.

Parameters
sstream where content written to
attrs[OUT] parameter containing the attributes belonging to given boss object

Implements IXMLGenerator.

virtual void CXMLGenerator::GenerateBeginTag (IXMLOutStreams)
virtual

Generates the beginning tag and its attributes, and then calls generate content

Parameters
sstream where content written to

Implements IXMLGenerator.

Reimplemented in BasePanelXMLGenerator.

virtual void CXMLGenerator::GenerateContent (IXMLOutStreams,
int32 beforeChildIndex = 0 
)
virtual

Item generates a string of XML code that represents itself.

Parameters
s[OUT] parameter, stream where content written to
beforeChildIndexGenerate the XML content that goes just before the child with index beforeChildIndex

For example:


 <element>before child 0<child0>0</child0>before child1<child1>

Implements IXMLGenerator.

Reimplemented in BasePanelXMLGenerator, and DCLSizPanelXMLGenerator.

virtual void CXMLGenerator::GenerateEndTag (IXMLOutStreams)
virtual

Generates ending tag

Parameters
sstream where content written to

Implements IXMLGenerator.

Reimplemented in BasePanelXMLGenerator.