20#include <com/sun/star/xml/sax/FastToken.hpp>
21#include <com/sun/star/beans/XMultiPropertySet.hpp>
27#include <oox/token/namespaces.hxx>
28#include <oox/token/tokens.hxx>
47 ConnectorShapePropertiesContext(
48 ::oox::core::ContextHandler2Helper
const& rParent,
ShapePtr& pShapePtr,
49 std::vector<ConnectorShapeProperties>& rConnectorShapePropertiesList);
52 const AttributeList& rAttribs)
override;
56ConnectorShapePropertiesContext::ConnectorShapePropertiesContext(
57 ContextHandler2Helper
const& rParent,
ShapePtr& pShapePtr,
58 std::vector<ConnectorShapeProperties>& rConnectorShapePropertiesList)
67ConnectorShapePropertiesContext::onCreateContext(sal_Int32 aElementToken,
68 const AttributeList& rAttribs)
70 switch (getBaseToken(aElementToken))
86 ConnectorShapeProperties aConnectorShapeProps;
87 aConnectorShapeProps.mbStartShape =
true;
88 aConnectorShapeProps.maDestShapeId = rAttribs.getStringDefaulted(XML_id);
89 aConnectorShapeProps.mnDestGlueId = rAttribs.getInteger(XML_idx, 0);
95 ConnectorShapeProperties aConnectorShapeProps;
96 aConnectorShapeProps.mbStartShape =
false;
97 aConnectorShapeProps.maDestShapeId = rAttribs.getStringDefaulted(XML_id);
98 aConnectorShapeProps.mnDestGlueId = rAttribs.getInteger(XML_idx, 0);
109ConnectorShapeContext::ConnectorShapeContext(
110 ContextHandler2Helper
const& rParent,
const ShapePtr& pMasterShapePtr,
112 std::vector<ConnectorShapeProperties>& rConnectorShapePropertiesList)
113 :
ShapeContext(rParent, pMasterShapePtr, pGroupShapePtr)
124 switch (getBaseToken(aElementToken))
Provides access to attribute values of an element.
virtual ~ConnectorShapeContext() override
virtual ::oox::core::ContextHandlerRef onCreateContext(::sal_Int32 Element, const ::oox::AttributeList &rAttribs) override
std::vector< ConnectorShapeProperties > & mrConnectorShapePropertiesList
ShapePtr mpConnectorShapePtr
virtual ::oox::core::ContextHandlerRef onCreateContext(::sal_Int32 Element, const ::oox::AttributeList &rAttribs) override
std::vector< ConnectorShapeProperties > & mrConnectorShapePropertiesList
ShapePtr mpConnectorShapePtr
::rtl::Reference< ContextHandler > ContextHandlerRef
std::shared_ptr< Shape > ShapePtr