#include <IWORKXMLContextBase.h>
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) |
![]() | |
IWORKXMLContextMinimal () | |
void | startOfElement () override |
Signalize the start of an element. | |
void | endOfElement () override |
Signalize the end of an element. | |
Private Attributes | |
boost::optional< ID_t > | m_id |
Additional Inherited Members | |
![]() | |
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. | |
|
explicitprotected |
|
overrideprotectedvirtual |
Process an attribute.
Attributes are fed to the current element's context one by one.
Implements libetonyek::IWORKXMLContext.
Reimplemented in libetonyek::PAG1ShapeContext.
|
protected |
Referenced by libetonyek::IWORKExternalTextWrapElement::attribute(), libetonyek::IWORKListLabelTypeinfoElement::attribute(), libetonyek::IWORKBinaryElement::endOfElement(), libetonyek::IWORKCellCommentDrawableInfoElement::endOfElement(), libetonyek::IWORKExternalTextWrapElement::endOfElement(), libetonyek::IWORKFillElement::endOfElement(), libetonyek::IWORKFilteredImageElement::endOfElement(), libetonyek::IWORKImageElement::endOfElement(), libetonyek::IWORKListLabelTypeinfoElement::endOfElement(), libetonyek::IWORKMutableArrayElement< IWORKShadow, CoreImageFilterInfoElement, IWORKDirectCollector, IWORKToken::NS_URI_SF|IWORKToken::core_image_filter_info, IWORKToken::NS_URI_SF|IWORKToken::core_image_filter_info_ref >::endOfElement(), libetonyek::IWORKStyleContext::endOfElement(), libetonyek::IWORKStylesheetBase::endOfElement(), libetonyek::IWORKTabsElement::endOfElement(), and libetonyek::IWORKUnfilteredElement::endOfElement().
|
protected |
|
overrideprotectedvirtual |
Process textual content of an element.
This function can be called more than once if the element has mixed content.
Implements libetonyek::IWORKXMLContext.
|
private |
Referenced by attribute(), getId(), IWORKXMLContextElement(), and setId().