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

#include <diagramlayoutatoms.hxx>

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

Public Member Functions

 ConditionAtom (LayoutNode &rLayoutNode, bool isElse, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttributes)
 
virtual void accept (LayoutAtomVisitor &) override
 visitor acceptance More...
 
bool getDecision (const svx::diagram::Point *pPresPoint) 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 Member Functions

sal_Int32 getNodeCount (const svx::diagram::Point *pPresPoint) const
 

Static Private Member Functions

static bool compareResult (sal_Int32 nOperator, sal_Int32 nFirst, sal_Int32 nSecond)
 

Private Attributes

bool mIsElse
 
IteratorAttr maIter
 
ConditionAttr maCond
 

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 274 of file diagramlayoutatoms.hxx.

Constructor & Destructor Documentation

◆ ConditionAtom()

oox::drawingml::ConditionAtom::ConditionAtom ( LayoutNode rLayoutNode,
bool  isElse,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttributes 
)
explicit

Member Function Documentation

◆ accept()

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

visitor acceptance

Implements oox::drawingml::LayoutAtom.

Definition at line 950 of file diagramlayoutatoms.cxx.

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

◆ compareResult()

bool oox::drawingml::ConditionAtom::compareResult ( sal_Int32  nOperator,
sal_Int32  nFirst,
sal_Int32  nSecond 
)
staticprivate

Definition at line 815 of file diagramlayoutatoms.cxx.

References SAL_WARN.

Referenced by getDecision().

◆ getDecision()

bool oox::drawingml::ConditionAtom::getDecision ( const svx::diagram::Point pPresPoint) const

◆ getNodeCount()

sal_Int32 oox::drawingml::ConditionAtom::getNodeCount ( const svx::diagram::Point pPresPoint) const
private

Member Data Documentation

◆ maCond

ConditionAttr oox::drawingml::ConditionAtom::maCond
private

Definition at line 288 of file diagramlayoutatoms.hxx.

Referenced by ConditionAtom(), and getDecision().

◆ maIter

IteratorAttr oox::drawingml::ConditionAtom::maIter
private

Definition at line 287 of file diagramlayoutatoms.hxx.

Referenced by ConditionAtom(), and getNodeCount().

◆ mIsElse

bool oox::drawingml::ConditionAtom::mIsElse
private

Definition at line 286 of file diagramlayoutatoms.hxx.

Referenced by getDecision().


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