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 dgm::Point *pPresNode, sal_Int32 nCurrIdx) const
 
const LayoutNodegetParentLayoutNode () const
 
- Public Member Functions inherited from oox::drawingml::LayoutAtom
 LayoutAtom (LayoutNode &rLayoutNode)
 
virtual ~LayoutAtom ()
 
LayoutNodegetLayoutNode ()
 
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 303 of file diagramlayoutatoms.hxx.

Member Typedef Documentation

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

Definition at line 307 of file diagramlayoutatoms.hxx.

Constructor & Destructor Documentation

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

Definition at line 309 of file diagramlayoutatoms.hxx.

Member Function Documentation

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().

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

Definition at line 332 of file diagramlayoutatoms.hxx.

References mpNodeShapes.

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

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

Definition at line 325 of file diagramlayoutatoms.hxx.

References mnChildOrder.

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

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

Definition at line 328 of file diagramlayoutatoms.hxx.

References mpExistingShape.

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

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

Definition at line 330 of file diagramlayoutatoms.hxx.

References mpNodeShapes.

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

Definition at line 2026 of file diagramlayoutatoms.cxx.

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

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

Definition at line 323 of file diagramlayoutatoms.hxx.

References mnChildOrder.

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

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

Definition at line 326 of file diagramlayoutatoms.hxx.

References mpExistingShape.

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

Definition at line 319 of file diagramlayoutatoms.hxx.

References msMoveWith, and sName.

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

Definition at line 321 of file diagramlayoutatoms.hxx.

References msStyleLabel.

bool oox::drawingml::LayoutNode::setupShape ( const ShapePtr rShape,
const dgm::Point pPresNode,
sal_Int32  nCurrIdx 
) const
VarMap& oox::drawingml::LayoutNode::variables ( )
inline

Definition at line 317 of file diagramlayoutatoms.hxx.

References mVariables.

Member Data Documentation

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

Definition at line 348 of file diagramlayoutatoms.hxx.

Referenced by getChildOrder(), and setChildOrder().

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

Definition at line 346 of file diagramlayoutatoms.hxx.

Referenced by getExistingShape(), and setExistingShape().

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

Definition at line 347 of file diagramlayoutatoms.hxx.

Referenced by addNodeShape(), and getNodeShapes().

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

Definition at line 342 of file diagramlayoutatoms.hxx.

Referenced by getDiagram(), and setupShape().

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

Definition at line 344 of file diagramlayoutatoms.hxx.

Referenced by setMoveWith().

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

Definition at line 345 of file diagramlayoutatoms.hxx.

Referenced by setStyleLabel(), and setupShape().

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

Definition at line 343 of file diagramlayoutatoms.hxx.

Referenced by variables().


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