20#ifndef INCLUDED_OOX_VML_VMLSHAPECONTEXT_HXX
21#define INCLUDED_OOX_VML_VMLSHAPECONTEXT_HXX
26#include <rtl/ustring.hxx>
29namespace oox {
class AttributeList; }
51 ::oox::core::ContextHandler2Helper
const & rParent,
66 ::oox::core::ContextHandler2Helper
const & rParent,
72 virtual void onCharacters(
const OUString& rChars )
override;
86 ::oox::core::ContextHandler2Helper
const & rParent,
92 explicit ShapeContextBase( ::oox::core::ContextHandler2Helper
const & rParent );
100 ::oox::core::ContextHandler2Helper
const & rParent,
101 std::shared_ptr<ShapeType>
const& pShapeType,
109 void setStyle( std::u16string_view rStyle );
123 explicit ShapeContext(::oox::core::ContextHandler2Helper
const& rParent,
124 const std::shared_ptr<ShapeBase>& pShape,
const AttributeList& rAttribs);
131 void setPoints( std::u16string_view rPoints );
133 void setFrom(
const OUString& rPoints );
135 void setTo(
const OUString& rPoints );
155 const std::shared_ptr<GroupShape>& pShape,
171 const std::shared_ptr<RectangleShape>& pShape);
181 ::oox::core::ContextHandler2Helper
const & rParent,
Provides access to attribute values of an element.
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
virtual void onCharacters(const OUString &rChars) override
ClientDataContext(::oox::core::ContextHandler2Helper const &rParent, ClientData &rClientData, const AttributeList &rAttribs)
virtual void onEndElement() override
ClientData & mrClientData
ControlShapeContext(::oox::core::ContextHandler2Helper const &rParent, ShapeContainer &rShapes, const AttributeList &rAttribs)
Represents the collection of VML shapes for a complete draw page.
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
GroupShapeContext(::oox::core::ContextHandler2Helper const &rParent, const std::shared_ptr< GroupShape > &pShape, const AttributeList &rAttribs)
ShapeContainer & mrShapes
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
RectangleShapeContext(::oox::core::ContextHandler2Helper const &rParent, const AttributeList &rAttribs, const std::shared_ptr< RectangleShape > &pShape)
A shape object that is part of a drawing.
Container that holds a list of shapes and shape templates.
ShapeContextBase(::oox::core::ContextHandler2Helper const &rParent)
::oox::core::ContextHandlerRef createShapeContext(::oox::core::ContextHandler2Helper const &rParent, ShapeContainer &rShapes, sal_Int32 nElement, const AttributeList &rAttribs)
void setVmlPath(const OUString &rPath)
Processes the 'path' attribute.
ShapeContext(::oox::core::ContextHandler2Helper const &rParent, const std::shared_ptr< ShapeBase > &pShape, const AttributeList &rAttribs)
void setTo(const OUString &rPoints)
Processes the 'to' attribute.
void setControl1(const OUString &rPoints)
Processes the 'control1' attribute.
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
void setHyperlink(const OUString &rHyperlink)
Processes the 'href' attribute.
ShapeModel & mrShapeModel
void setControl2(const OUString &rPoints)
Processes the 'control2' attribute.
void setPoints(std::u16string_view rPoints)
Processes the 'points' attribute.
void setFrom(const OUString &rPoints)
Processes the 'from' attribute.
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
ShapeLayoutContext(::oox::core::ContextHandler2Helper const &rParent, Drawing &rDrawing)
void setStyle(std::u16string_view rStyle)
Processes the 'style' attribute.
ShapeTypeModel & mrTypeModel
ShapeTypeContext(::oox::core::ContextHandler2Helper const &rParent, std::shared_ptr< ShapeType > const &pShapeType, const AttributeList &rAttribs)
std::optional< OUString > decodeFragmentPath(const AttributeList &rAttribs, sal_Int32 nToken) const
Resolve a relation identifier to a fragment path.
std::shared_ptr< ShapeType > m_pShapeType
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
::rtl::Reference< ContextHandler > ContextHandlerRef
::cppu::WeakComponentImplHelper< css::report::XShape, css::lang::XServiceInfo > ShapeBase
Excel specific shape client data (such as cell anchor).
The shape model structure contains all properties shared by all types of shapes.