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

#include <diagramlayoutatoms.hxx>

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

Public Types

typedef std::map< sal_Int32, OUString > VarMap
 

Public Member Functions

 LayoutNode (Diagram &rDgm)
 
DiagramgetDiagram ()
 
virtual void accept (LayoutAtomVisitor &) override
 visitor acceptance More...
 
VarMapvariables ()
 
void setMoveWith (const OUString &sName)
 
void setStyleLabel (const OUString &sLabel)
 
void setChildOrder (sal_Int32 nOrder)
 
sal_Int32 getChildOrder () const
 
void setExistingShape (const ShapePtr &pShape)
 
const ShapePtrgetExistingShape () const
 
const std::vector< ShapePtr > & getNodeShapes () const
 
void addNodeShape (const ShapePtr &pShape)
 
bool setupShape (const ShapePtr &rShape, const svx::diagram::Point *pPresNode, sal_Int32 nCurrIdx) const
 
const LayoutNodegetParentLayoutNode () const
 
- Public Member Functions inherited from oox::drawingml::LayoutAtom
 LayoutAtom (LayoutNode &rLayoutNode)
 
virtual ~LayoutAtom ()
 
LayoutNodegetLayoutNode ()
 
virtual void accept (LayoutAtomVisitor &)=0
 visitor acceptance More...
 
void setName (const OUString &sName)
 
const OUString & getName () const
 
const std::vector< LayoutAtomPtr > & getChildren () const
 
LayoutAtomPtr getParent () const
 
void dump (int level=0)
 

Private Attributes

DiagrammrDgm
 
VarMap mVariables
 
OUString msMoveWith
 
OUString msStyleLabel
 
ShapePtr mpExistingShape
 
std::vector< ShapePtrmpNodeShapes
 
sal_Int32 mnChildOrder
 

Additional Inherited Members

- Static Public Member Functions inherited from oox::drawingml::LayoutAtom
static void connect (const LayoutAtomPtr &pParent, const LayoutAtomPtr &pChild)
 
- Protected Attributes inherited from oox::drawingml::LayoutAtom
LayoutNodemrLayoutNode
 
std::vector< LayoutAtomPtrmpChildNodes
 
std::weak_ptr< LayoutAtommpParent
 
OUString msName
 

Detailed Description

Definition at line 304 of file diagramlayoutatoms.hxx.

Member Typedef Documentation

◆ VarMap

typedef std::map<sal_Int32, OUString> oox::drawingml::LayoutNode::VarMap

Definition at line 308 of file diagramlayoutatoms.hxx.

Constructor & Destructor Documentation

◆ LayoutNode()

oox::drawingml::LayoutNode::LayoutNode ( Diagram rDgm)
inline

Definition at line 310 of file diagramlayoutatoms.hxx.

Member Function Documentation

◆ accept()

void oox::drawingml::LayoutNode::accept ( LayoutAtomVisitor )
overridevirtual

visitor acceptance

Implements oox::drawingml::LayoutAtom.

Definition at line 1864 of file diagramlayoutatoms.cxx.

References oox::drawingml::LayoutAtomVisitor::visit().

◆ addNodeShape()

void oox::drawingml::LayoutNode::addNodeShape ( const ShapePtr pShape)
inline

Definition at line 333 of file diagramlayoutatoms.hxx.

References mpNodeShapes.

Referenced by oox::drawingml::ShapeCreationVisitor::visit().

◆ getChildOrder()

sal_Int32 oox::drawingml::LayoutNode::getChildOrder ( ) const
inline

Definition at line 326 of file diagramlayoutatoms.hxx.

References mnChildOrder.

Referenced by oox::drawingml::AlgAtom::layoutShape().

◆ getDiagram()

Diagram & oox::drawingml::LayoutNode::getDiagram ( )
inline

◆ getExistingShape()

const ShapePtr & oox::drawingml::LayoutNode::getExistingShape ( ) const
inline

Definition at line 329 of file diagramlayoutatoms.hxx.

References mpExistingShape.

Referenced by oox::drawingml::ShapeCreationVisitor::visit().

◆ getNodeShapes()

const std::vector< ShapePtr > & oox::drawingml::LayoutNode::getNodeShapes ( ) const
inline

Definition at line 331 of file diagramlayoutatoms.hxx.

References mpNodeShapes.

◆ getParentLayoutNode()

const LayoutNode * oox::drawingml::LayoutNode::getParentLayoutNode ( ) const

Definition at line 2028 of file diagramlayoutatoms.cxx.

References oox::drawingml::LayoutAtom::getParent().

◆ setChildOrder()

void oox::drawingml::LayoutNode::setChildOrder ( sal_Int32  nOrder)
inline

Definition at line 324 of file diagramlayoutatoms.hxx.

References mnChildOrder.

Referenced by oox::drawingml::LayoutNodeContext::onCreateContext().

◆ setExistingShape()

void oox::drawingml::LayoutNode::setExistingShape ( const ShapePtr pShape)
inline

Definition at line 327 of file diagramlayoutatoms.hxx.

References mpExistingShape.

◆ setMoveWith()

void oox::drawingml::LayoutNode::setMoveWith ( const OUString &  sName)
inline

Definition at line 320 of file diagramlayoutatoms.hxx.

References msMoveWith, and sName.

◆ setStyleLabel()

void oox::drawingml::LayoutNode::setStyleLabel ( const OUString &  sLabel)
inline

Definition at line 322 of file diagramlayoutatoms.hxx.

References msStyleLabel.

◆ setupShape()

bool oox::drawingml::LayoutNode::setupShape ( const ShapePtr rShape,
const svx::diagram::Point pPresNode,
sal_Int32  nCurrIdx 
) const

◆ variables()

VarMap & oox::drawingml::LayoutNode::variables ( )
inline

Definition at line 318 of file diagramlayoutatoms.hxx.

References mVariables.

Member Data Documentation

◆ mnChildOrder

sal_Int32 oox::drawingml::LayoutNode::mnChildOrder
private

Definition at line 349 of file diagramlayoutatoms.hxx.

Referenced by getChildOrder(), and setChildOrder().

◆ mpExistingShape

ShapePtr oox::drawingml::LayoutNode::mpExistingShape
private

Definition at line 347 of file diagramlayoutatoms.hxx.

Referenced by getExistingShape(), and setExistingShape().

◆ mpNodeShapes

std::vector<ShapePtr> oox::drawingml::LayoutNode::mpNodeShapes
private

Definition at line 348 of file diagramlayoutatoms.hxx.

Referenced by addNodeShape(), and getNodeShapes().

◆ mrDgm

Diagram& oox::drawingml::LayoutNode::mrDgm
private

Definition at line 343 of file diagramlayoutatoms.hxx.

Referenced by getDiagram(), and setupShape().

◆ msMoveWith

OUString oox::drawingml::LayoutNode::msMoveWith
private

Definition at line 345 of file diagramlayoutatoms.hxx.

Referenced by setMoveWith().

◆ msStyleLabel

OUString oox::drawingml::LayoutNode::msStyleLabel
private

Definition at line 346 of file diagramlayoutatoms.hxx.

Referenced by setStyleLabel(), and setupShape().

◆ mVariables

VarMap oox::drawingml::LayoutNode::mVariables
private

Definition at line 344 of file diagramlayoutatoms.hxx.

Referenced by variables().


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