20#ifndef INCLUDED_OOX_DRAWINGML_DIAGRAM_DIAGRAMHELPER_HXX
21#define INCLUDED_OOX_DRAWINGML_DIAGRAM_DIAGRAMHELPER_HXX
23#include <rtl/ustring.hxx>
29namespace svx {
namespace diagram {
30 class DiagramDataState;
61 std::shared_ptr< Diagram > xDiagramPtr,
62 std::shared_ptr<::oox::drawingml::Theme> xTheme,
63 css::awt::Size aImportSize);
70 virtual OUString
getString()
const override;
75 virtual std::vector<std::pair<OUString, OUString>>
getChildren(
const OUString& rParentId)
const override;
78 virtual OUString
addNode(
const OUString& rText)
override;
79 virtual bool removeNode(
const OUString& rNodeId)
override;
83 virtual void applyDiagramDataState(
const std::shared_ptr< svx::diagram::DiagramDataState >& rState)
override;
virtual bool removeNode(const OUString &rNodeId) override
void doAnchor(SdrObjGroup &rTarget, ::oox::drawingml::Shape &rRootShape)
std::shared_ptr<::oox::drawingml::Theme > mpThemePtr
const std::shared_ptr< Diagram > mpDiagramPtr
virtual ~AdvancedDiagramHelper()
css::awt::Size maImportSize
bool hasDiagramData() const
virtual std::shared_ptr< svx::diagram::DiagramDataState > extractDiagramDataState() const override
const std::shared_ptr< ::oox::drawingml::Theme > & getOrCreateThemePtr(rtl::Reference< oox::shape::ShapeFilterBase > &rxFilter) const
AdvancedDiagramHelper(std::shared_ptr< Diagram > xDiagramPtr, std::shared_ptr<::oox::drawingml::Theme > xTheme, css::awt::Size aImportSize)
virtual OUString addNode(const OUString &rText) override
virtual void reLayout(SdrObjGroup &rTarget) override
virtual void applyDiagramDataState(const std::shared_ptr< svx::diagram::DiagramDataState > &rState) override
virtual OUString getString() const override
virtual std::vector< std::pair< OUString, OUString > > getChildren(const OUString &rParentId) const override