libetonyek::IWORKXMLContextElement Class Reference

#include <IWORKXMLContextBase.h>

Inheritance diagram for libetonyek::IWORKXMLContextElement:
libetonyek::IWORKXMLContextMinimal libetonyek::IWORKXMLContext libetonyek::IWORKXMLContextBase< IWORKXMLContextElement, IWORKXMLParserState > libetonyek::IWORKContainerContext< Type, NestedParser, Collector, Id, RefId > libetonyek::IWORKContainerContext< Type, NestedParser, Collector, Id, 0 > libetonyek::IWORKValueContext< double, IWORKNumberElement< double >, IWORKToken::NS_URI_SF|IWORKToken::number > libetonyek::IWORKValueContext< IWORKColor, IWORKColorElement, IWORKToken::NS_URI_SF|IWORKToken::color > libetonyek::IWORKBinaryElement libetonyek::IWORKCalcEngineContext libetonyek::IWORKCellCommentDrawableInfoElement libetonyek::IWORKChartInfoElement libetonyek::IWORKContainerContext< Type, NestedParser, Collector, Id, RefId > libetonyek::IWORKExternalTextWrapElement libetonyek::IWORKFillElement libetonyek::IWORKFilteredImageElement libetonyek::IWORKGeometryElement libetonyek::IWORKGroupElement libetonyek::IWORKHeaderFooterContext libetonyek::IWORKImageContext libetonyek::IWORKImageElement libetonyek::IWORKLayoutElement libetonyek::IWORKLineElement libetonyek::IWORKLineEndElement libetonyek::IWORKListLabelGeometriesProperty libetonyek::IWORKListLabelIndentsProperty libetonyek::IWORKListLabelTypeinfoElement libetonyek::IWORKListLabelTypesProperty libetonyek::IWORKListTextIndentsProperty libetonyek::IWORKMediaElement libetonyek::IWORKMetadataElement libetonyek::IWORKPathElement libetonyek::IWORKPropertyContextBase libetonyek::IWORKPropertyMapElement libetonyek::IWORKShapeContext libetonyek::IWORKSpanElement libetonyek::IWORKStrokeContext libetonyek::IWORKStyleContainer< TokenId, RefTokenId, TokenId2, RefTokenId2 > libetonyek::IWORKStyleContext libetonyek::IWORKStylesContext libetonyek::IWORKStylesheetBase libetonyek::IWORKTableInfoElement libetonyek::IWORKTabsElement libetonyek::IWORKTabularInfoElement libetonyek::IWORKTabularModelElement libetonyek::IWORKTextBodyElement libetonyek::IWORKTextElement libetonyek::IWORKTextStorageElement libetonyek::IWORKValueContext< Type, NestedParser, Id, Id2 > libetonyek::IWORKWrapElement

Protected Member Functions

 IWORKXMLContextElement (IWORKXMLParserState &)
 
void attribute (int name, const char *value) override
 Process an attribute.
 
void text (const char *value) override
 Process textual content of an element.
 
const boost::optional< ID_t > & getId () const
 
void setId (const char *value)
 
- Protected Member Functions inherited from libetonyek::IWORKXMLContextMinimal
 IWORKXMLContextMinimal ()
 
void startOfElement () override
 Signalize the start of an element.
 
void endOfElement () override
 Signalize the end of an element.
 

Private Attributes

boost::optional< ID_tm_id
 

Additional Inherited Members

- Public Member Functions inherited from libetonyek::IWORKXMLContext
virtual ~IWORKXMLContext ()=0
 
virtual IWORKXMLContextPtr_t element (int name)=0
 Create a context for parsing a child element.
 
virtual void CDATA (const char *value)
 Process CDATA content of an element.
 

Constructor & Destructor Documentation

◆ IWORKXMLContextElement()

libetonyek::IWORKXMLContextElement::IWORKXMLContextElement ( IWORKXMLParserState & )
explicitprotected

Member Function Documentation

◆ attribute()

void libetonyek::IWORKXMLContextElement::attribute ( int name,
const char * value )
overrideprotectedvirtual

Process an attribute.

Attributes are fed to the current element's context one by one.

Implements libetonyek::IWORKXMLContext.

Reimplemented in libetonyek::PAG1ShapeContext.

◆ getId()

◆ setId()

void libetonyek::IWORKXMLContextElement::setId ( const char * value)
protected

◆ text()

void libetonyek::IWORKXMLContextElement::text ( const char * value)
overrideprotectedvirtual

Process textual content of an element.

This function can be called more than once if the element has mixed content.

Implements libetonyek::IWORKXMLContext.

Member Data Documentation

◆ m_id

boost::optional<ID_t> libetonyek::IWORKXMLContextElement::m_id
private

The documentation for this class was generated from the following files:

Generated for libetonyek by doxygen 1.13.2