10#ifndef IWORKSTYLECONTEXT_H_INCLUDED
11#define IWORKSTYLECONTEXT_H_INCLUDED
15#include <boost/optional.hpp>
30 void attribute(
int name,
const char *value)
override;
Represents a (hierarchical) property map.
Definition IWORKPropertyMap.h:25
Definition IWORKStyleContext.h:25
IWORKPropertyMap m_ownProps
Definition IWORKStyleContext.h:49
IWORKStyleContext operator=(IWORKStyleContext &)
IWORKPropertyMap & m_props
Definition IWORKStyleContext.h:50
IWORKStylePtr_t getStyle()
returns the created style
Definition IWORKStyleContext.h:36
void endOfElement() override
Definition IWORKStyleContext.cpp:88
IWORKXMLContextPtr_t element(int name) override
Definition IWORKStyleContext.cpp:75
const std::string m_defaultParent
Definition IWORKStyleContext.h:48
boost::optional< std::string > m_ident
Definition IWORKStyleContext.h:53
IWORKStyleContext(IWORKStyleContext &)
boost::optional< std::string > m_parentIdent
Definition IWORKStyleContext.h:54
IWORKStyleMap_t *const m_styleMap
Definition IWORKStyleContext.h:47
IWORKStylePtr_t m_style
the final style
Definition IWORKStyleContext.h:52
void attribute(int name, const char *value) override
Definition IWORKStyleContext.cpp:48
Definition IWORKXMLContextBase.h:28
Definition IWORKXMLParserState.h:32
Definition IWORKBezierElement.cpp:21
std::unordered_map< ID_t, IWORKStylePtr_t > IWORKStyleMap_t
Definition IWORKStyle_fwd.h:24
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition IWORKXMLContext.h:20
std::shared_ptr< IWORKStyle > IWORKStylePtr_t
Definition IWORKStyle_fwd.h:23