LibreOffice Module oox (master) 1
|
#include <diagramlayoutatoms.hxx>
Public Types | |
typedef std::map< sal_Int32, OUString > | VarMap |
Public Member Functions | |
LayoutNode (Diagram &rDgm) | |
Diagram & | getDiagram () |
virtual void | accept (LayoutAtomVisitor &) override |
visitor acceptance More... | |
VarMap & | variables () |
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 ShapePtr & | getExistingShape () 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 LayoutNode * | getParentLayoutNode () const |
Public Member Functions inherited from oox::drawingml::LayoutAtom | |
LayoutAtom (LayoutNode &rLayoutNode) | |
virtual | ~LayoutAtom () |
LayoutNode & | getLayoutNode () |
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 | |
Diagram & | mrDgm |
VarMap | mVariables |
OUString | msMoveWith |
OUString | msStyleLabel |
ShapePtr | mpExistingShape |
std::vector< ShapePtr > | mpNodeShapes |
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 | |
LayoutNode & | mrLayoutNode |
std::vector< LayoutAtomPtr > | mpChildNodes |
std::weak_ptr< LayoutAtom > | mpParent |
OUString | msName |
Definition at line 304 of file diagramlayoutatoms.hxx.
typedef std::map<sal_Int32, OUString> oox::drawingml::LayoutNode::VarMap |
Definition at line 308 of file diagramlayoutatoms.hxx.
|
inline |
Definition at line 310 of file diagramlayoutatoms.hxx.
|
overridevirtual |
visitor acceptance
Implements oox::drawingml::LayoutAtom.
Definition at line 1864 of file diagramlayoutatoms.cxx.
References oox::drawingml::LayoutAtomVisitor::visit().
|
inline |
Definition at line 333 of file diagramlayoutatoms.hxx.
References mpNodeShapes.
Referenced by oox::drawingml::ShapeCreationVisitor::visit().
|
inline |
Definition at line 326 of file diagramlayoutatoms.hxx.
References mnChildOrder.
Referenced by oox::drawingml::AlgAtom::layoutShape().
|
inline |
Definition at line 316 of file diagramlayoutatoms.hxx.
References mrDgm.
Referenced by oox::drawingml::ConditionAtom::getDecision(), oox::drawingml::ConditionAtom::getNodeCount(), oox::drawingml::ForEachAtom::getRefAtom(), oox::drawingml::AlgAtom::layoutShape(), oox::drawingml::CompositeAlg::layoutShapeChildren(), and oox::drawingml::ShapeLayoutingVisitor::visit().
|
inline |
Definition at line 329 of file diagramlayoutatoms.hxx.
References mpExistingShape.
Referenced by oox::drawingml::ShapeCreationVisitor::visit().
|
inline |
Definition at line 331 of file diagramlayoutatoms.hxx.
References mpNodeShapes.
const LayoutNode * oox::drawingml::LayoutNode::getParentLayoutNode | ( | ) | const |
Definition at line 2028 of file diagramlayoutatoms.cxx.
References oox::drawingml::LayoutAtom::getParent().
|
inline |
Definition at line 324 of file diagramlayoutatoms.hxx.
References mnChildOrder.
Referenced by oox::drawingml::LayoutNodeContext::onCreateContext().
|
inline |
Definition at line 327 of file diagramlayoutatoms.hxx.
References mpExistingShape.
|
inline |
Definition at line 320 of file diagramlayoutatoms.hxx.
References msMoveWith, and sName.
|
inline |
Definition at line 322 of file diagramlayoutatoms.hxx.
References msStyleLabel.
bool oox::drawingml::LayoutNode::setupShape | ( | const ShapePtr & | rShape, |
const svx::diagram::Point * | pPresNode, | ||
sal_Int32 | nCurrIdx | ||
) | const |
Definition at line 1869 of file diagramlayoutatoms.cxx.
References oox::drawingml::TextParagraph::addRun(), oox::drawingml::TextParagraphProperties::apply(), oox::drawingml::DiagramColor::getColorByIndex(), oox::drawingml::Diagram::getColors(), oox::drawingml::Shape::getCustomShapeProperties(), oox::drawingml::Diagram::getData(), oox::drawingml::Shape::getFillProperties(), oox::drawingml::Shape::getLineProperties(), oox::drawingml::Shape::getMasterTextListStyle(), oox::drawingml::TextParagraph::getProperties(), oox::drawingml::Shape::getShapeProperties(), oox::drawingml::Diagram::getStyles(), oox::drawingml::Shape::getTextBody(), oox::drawingml::DiagramColor::maEffectColors, oox::drawingml::DiagramStyle::maEffectStyle, oox::drawingml::DiagramColor::maFillColors, oox::drawingml::DiagramStyle::maFillStyle, oox::drawingml::DiagramColor::maLineColors, oox::drawingml::DiagramStyle::maLineStyle, oox::drawingml::DiagramColor::maTextFillColors, oox::drawingml::DiagramStyle::maTextStyle, svx::diagram::DiagramData::SourceIdAndDepth::mnDepth, mrDgm, svx::diagram::Point::msModelId, oox::drawingml::LayoutAtom::msName, svx::diagram::Point::msPresentationLayoutStyleLabel, svx::diagram::DiagramData::SourceIdAndDepth::msSourceId, msStyleLabel, SAL_INFO, SAL_WARN, and oox::drawingml::TextParagraphProperties::setLevel().
Referenced by oox::drawingml::ShapeCreationVisitor::visit().
|
inline |
Definition at line 318 of file diagramlayoutatoms.hxx.
References mVariables.
|
private |
Definition at line 349 of file diagramlayoutatoms.hxx.
Referenced by getChildOrder(), and setChildOrder().
|
private |
Definition at line 347 of file diagramlayoutatoms.hxx.
Referenced by getExistingShape(), and setExistingShape().
|
private |
Definition at line 348 of file diagramlayoutatoms.hxx.
Referenced by addNodeShape(), and getNodeShapes().
|
private |
Definition at line 343 of file diagramlayoutatoms.hxx.
Referenced by getDiagram(), and setupShape().
|
private |
Definition at line 345 of file diagramlayoutatoms.hxx.
Referenced by setMoveWith().
|
private |
Definition at line 346 of file diagramlayoutatoms.hxx.
Referenced by setStyleLabel(), and setupShape().
|
private |
Definition at line 344 of file diagramlayoutatoms.hxx.
Referenced by variables().