LibreOffice Module oox (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
oox::drawingml::AdvancedDiagramHelper Class Referencefinal

#include <diagramhelper.hxx>

Inheritance diagram for oox::drawingml::AdvancedDiagramHelper:
[legend]
Collaboration diagram for oox::drawingml::AdvancedDiagramHelper:
[legend]

Public Member Functions

 AdvancedDiagramHelper (std::shared_ptr< Diagram > xDiagramPtr, std::shared_ptr<::oox::drawingml::Theme > xTheme, css::awt::Size aImportSize)
 
virtual ~AdvancedDiagramHelper ()
 
virtual void reLayout (SdrObjGroup &rTarget) override
 
virtual OUString getString () const override
 
virtual std::vector< std::pair< OUString, OUString > > getChildren (const OUString &rParentId) const override
 
virtual OUString addNode (const OUString &rText) override
 
virtual bool removeNode (const OUString &rNodeId) override
 
virtual std::shared_ptr< svx::diagram::DiagramDataStateextractDiagramDataState () const override
 
virtual void applyDiagramDataState (const std::shared_ptr< svx::diagram::DiagramDataState > &rState) override
 
void doAnchor (SdrObjGroup &rTarget, ::oox::drawingml::Shape &rRootShape)
 
const std::shared_ptr< ::oox::drawingml::Theme > & getOrCreateThemePtr (rtl::Reference< oox::shape::ShapeFilterBase > &rxFilter) const
 
- Public Member Functions inherited from svx::diagram::IDiagramHelper
 IDiagramHelper ()
 
virtual ~IDiagramHelper ()
 
virtual void reLayout (SdrObjGroup &rTarget)=0
 
virtual OUString getString () const=0
 
virtual std::vector< std::pair< OUString, OUString > > getChildren (const OUString &rParentId) const=0
 
virtual OUString addNode (const OUString &rText)=0
 
virtual bool removeNode (const OUString &rNodeId)=0
 
virtual std::shared_ptr< svx::diagram::DiagramDataStateextractDiagramDataState () const=0
 
virtual void applyDiagramDataState (const std::shared_ptr< svx::diagram::DiagramDataState > &rState)=0
 
bool UseDiagramThemeData () const
 
bool UseDiagramModelData () const
 
bool ForceThemePtrRecreation () const
 

Private Member Functions

bool hasDiagramData () const
 

Private Attributes

const std::shared_ptr< DiagrammpDiagramPtr
 
std::shared_ptr<::oox::drawingml::ThemempThemePtr
 
css::awt::Size maImportSize
 

Additional Inherited Members

- Static Public Member Functions inherited from svx::diagram::IDiagramHelper
static void AddAdditionalVisualization (const SdrObjGroup &rTarget, SdrHdlList &rHdlList)
 
- Protected Member Functions inherited from svx::diagram::IDiagramHelper
void anchorToSdrObjGroup (SdrObjGroup &rTarget)
 

Detailed Description

Definition at line 50 of file diagramhelper.hxx.

Constructor & Destructor Documentation

◆ AdvancedDiagramHelper()

oox::drawingml::AdvancedDiagramHelper::AdvancedDiagramHelper ( std::shared_ptr< Diagram xDiagramPtr,
std::shared_ptr<::oox::drawingml::Theme xTheme,
css::awt::Size  aImportSize 
)

Definition at line 42 of file diagramhelper.cxx.

◆ ~AdvancedDiagramHelper()

oox::drawingml::AdvancedDiagramHelper::~AdvancedDiagramHelper ( )
virtual

Definition at line 53 of file diagramhelper.cxx.

Member Function Documentation

◆ addNode()

OUString oox::drawingml::AdvancedDiagramHelper::addNode ( const OUString &  rText)
overridevirtual

Implements svx::diagram::IDiagramHelper.

Definition at line 162 of file diagramhelper.cxx.

References hasDiagramData(), and mpDiagramPtr.

◆ applyDiagramDataState()

void oox::drawingml::AdvancedDiagramHelper::applyDiagramDataState ( const std::shared_ptr< svx::diagram::DiagramDataState > &  rState)
overridevirtual

Implements svx::diagram::IDiagramHelper.

Definition at line 212 of file diagramhelper.cxx.

References mpDiagramPtr.

◆ doAnchor()

void oox::drawingml::AdvancedDiagramHelper::doAnchor ( SdrObjGroup rTarget,
::oox::drawingml::Shape rRootShape 
)

◆ extractDiagramDataState()

svx::diagram::DiagramDataStatePtr oox::drawingml::AdvancedDiagramHelper::extractDiagramDataState ( ) const
overridevirtual

Implements svx::diagram::IDiagramHelper.

Definition at line 202 of file diagramhelper.cxx.

References mpDiagramPtr.

◆ getChildren()

std::vector< std::pair< OUString, OUString > > oox::drawingml::AdvancedDiagramHelper::getChildren ( const OUString &  rParentId) const
overridevirtual

Implements svx::diagram::IDiagramHelper.

Definition at line 152 of file diagramhelper.cxx.

References hasDiagramData(), and mpDiagramPtr.

◆ getOrCreateThemePtr()

const std::shared_ptr<::oox::drawingml::Theme > & oox::drawingml::AdvancedDiagramHelper::getOrCreateThemePtr ( rtl::Reference< oox::shape::ShapeFilterBase > &  rxFilter) const

◆ getString()

OUString oox::drawingml::AdvancedDiagramHelper::getString ( ) const
overridevirtual

Implements svx::diagram::IDiagramHelper.

Definition at line 142 of file diagramhelper.cxx.

References hasDiagramData(), and mpDiagramPtr.

◆ hasDiagramData()

bool oox::drawingml::AdvancedDiagramHelper::hasDiagramData ( ) const
private

Definition at line 37 of file diagramhelper.cxx.

References mpDiagramPtr.

Referenced by addNode(), getChildren(), getOrCreateThemePtr(), getString(), and removeNode().

◆ reLayout()

void oox::drawingml::AdvancedDiagramHelper::reLayout ( SdrObjGroup rTarget)
overridevirtual

◆ removeNode()

bool oox::drawingml::AdvancedDiagramHelper::removeNode ( const OUString &  rNodeId)
overridevirtual

Implements svx::diagram::IDiagramHelper.

Definition at line 182 of file diagramhelper.cxx.

References hasDiagramData(), and mpDiagramPtr.

Member Data Documentation

◆ maImportSize

css::awt::Size oox::drawingml::AdvancedDiagramHelper::maImportSize
private

Definition at line 55 of file diagramhelper.hxx.

Referenced by reLayout().

◆ mpDiagramPtr

const std::shared_ptr< Diagram > oox::drawingml::AdvancedDiagramHelper::mpDiagramPtr
private

◆ mpThemePtr

std::shared_ptr<::oox::drawingml::Theme> oox::drawingml::AdvancedDiagramHelper::mpThemePtr
private

Definition at line 53 of file diagramhelper.hxx.

Referenced by getOrCreateThemePtr().


The documentation for this class was generated from the following files: