20 #ifndef INCLUDED_OOX_VML_VMLSHAPECONTEXT_HXX
21 #define INCLUDED_OOX_VML_VMLSHAPECONTEXT_HXX
26 #include <rtl/ustring.hxx>
29 namespace oox {
class AttributeList; }
35 struct ShapeTypeModel;
72 virtual void onCharacters(
const OUString& rChars )
override;
101 std::shared_ptr<ShapeType>
const& pShapeType,
109 void setStyle( std::u16string_view rStyle );
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);
OptValue< OUString > decodeFragmentPath(const AttributeList &rAttribs, sal_Int32 nToken) const
Resolve a relation identifier to a fragment path.
The shape model structure contains all properties shared by all types of shapes.
ShapeTypeModel & mrTypeModel
A shape object that is part of a drawing.
ShapeContextBase(::oox::core::ContextHandler2Helper const &rParent)
void setStyle(std::u16string_view rStyle)
Processes the 'style' attribute.
virtual void onCharacters(const OUString &rChars) override
Will be called before a new child element starts, or if the current element is about to be left...
Excel specific shape client data (such as cell anchor).
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
virtual void onEndElement() override
Will be called when the current element is about to be left.
ShapeTypeContext(::oox::core::ContextHandler2Helper const &rParent, std::shared_ptr< ShapeType > const &pShapeType, const AttributeList &rAttribs)
ShapeLayoutContext(::oox::core::ContextHandler2Helper const &rParent, Drawing &rDrawing)
::oox::core::ContextHandlerRef createShapeContext(::oox::core::ContextHandler2Helper const &rParent, ShapeContainer &rShapes, sal_Int32 nElement, const AttributeList &rAttribs)
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
::cppu::WeakComponentImplHelper< css::report::XShape, css::lang::XServiceInfo > ShapeBase
ControlShapeContext(::oox::core::ContextHandler2Helper const &rParent, ShapeContainer &rShapes, const AttributeList &rAttribs)
std::shared_ptr< ShapeType > m_pShapeType
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
ShapeContainer & mrShapes
RectangleShapeContext(::oox::core::ContextHandler2Helper const &rParent, const AttributeList &rAttribs, const std::shared_ptr< RectangleShape > &pShape)
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
Container that holds a list of shapes and shape templates.
ShapeContext(::oox::core::ContextHandler2Helper const &rParent, const std::shared_ptr< ShapeBase > &pShape, const AttributeList &rAttribs)
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
void setPoints(std::u16string_view rPoints)
Processes the 'points' attribute.
ClientDataContext(::oox::core::ContextHandler2Helper const &rParent, ClientData &rClientData, const AttributeList &rAttribs)
void setHyperlink(const OUString &rHyperlink)
Processes the 'href' attribute.
Provides access to attribute values of an element.
ShapeModel & mrShapeModel
ClientData & mrClientData
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElement, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
void setControl2(const OUString &rPoints)
Processes the 'control2' attribute.
::rtl::Reference< ContextHandler > ContextHandlerRef
void setTo(const OUString &rPoints)
Processes the 'to' attribute.
void setFrom(const OUString &rPoints)
Processes the 'from' attribute.
Represents the collection of VML shapes for a complete draw page.
void setControl1(const OUString &rPoints)
Processes the 'control1' attribute.
Helper class that provides a context stack.
void setVmlPath(const OUString &rPath)
Processes the 'path' attribute.
GroupShapeContext(::oox::core::ContextHandler2Helper const &rParent, const std::shared_ptr< GroupShape > &pShape, const AttributeList &rAttribs)