20#include <com/sun/star/xml/sax/FastToken.hpp>
21#include <com/sun/star/beans/XMultiPropertySet.hpp>
29#include <oox/token/namespaces.hxx>
30#include <oox/token/tokens.hxx>
45, mpGroupShapePtr(
std::move( pGroupShapePtr ))
59 switch( getBaseToken( aElementToken ) )
95 ShapePtr pShape = std::make_shared<Shape>(
"com.sun.star.drawing.ConnectorShape");
98 pShape->getConnectorShapeProperties());
107 return new ShapeContext( *
this,
mpGroupShapePtr, std::make_shared<Shape>(
"com.sun.star.drawing.CustomShape", getBaseToken(aElementToken) == XML_sp ) );
110 case XML_graphicFrame:
117 SAL_WARN(
"oox",
"ShapeGroupContext::onCreateContext: unhandled element: " << getBaseToken(aElementToken));
Provides access to attribute values of an element.
OUString getStringDefaulted(sal_Int32 nAttrToken) const
Returns the string value of the specified attribute, returns an empty string if attribute not present...
bool hasAttribute(sal_Int32 nAttrToken) const
Returns true, if the specified attribute is present.
std::optional< sal_Int32 > getInteger(sal_Int32 nAttrToken) const
Returns the 32-bit signed integer value of the specified attribute (decimal).
std::optional< bool > getBool(sal_Int32 nAttrToken) const
Returns the boolean value of the specified attribute.
std::optional< sal_Int32 > getToken(sal_Int32 nAttrToken) const
Returns the token identifier of the value of the specified attribute.
virtual ::oox::core::ContextHandlerRef onCreateContext(::sal_Int32 Element, const ::oox::AttributeList &rAttribs) override
virtual ~ShapeGroupContext() override
ShapeGroupContext(::oox::core::FragmentHandler2 const &rParent, ShapePtr const &pMasterShapePtr, ShapePtr pGroupShapePtr)
#define SAL_WARN(area, stream)
std::shared_ptr< Shape > ShapePtr