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

Tool that is useful for construction of a nested Sequence/PropertyValue hierarchy. More...

#include <grabbagstack.hxx>

Collaboration diagram for oox::GrabBagStack:
[legend]

Public Member Functions

 GrabBagStack (const OUString &aElementName)
 
 ~GrabBagStack ()
 
const OUString & getCurrentName () const
 
css::beans::PropertyValue getRootProperty ()
 
void appendElement (const OUString &aName, const css::uno::Any &aAny)
 
void push (const OUString &aKey)
 
void pop ()
 
void addInt32 (const OUString &aElementName, sal_Int32 aIntValue)
 
void addString (const OUString &aElementName, const OUString &aStringValue)
 
bool isStackEmpty () const
 

Private Attributes

std::stack< GrabBagStackElementmStack
 
GrabBagStackElement mCurrentElement
 

Detailed Description

Tool that is useful for construction of a nested Sequence/PropertyValue hierarchy.

Definition at line 35 of file grabbagstack.hxx.

Constructor & Destructor Documentation

◆ GrabBagStack()

oox::GrabBagStack::GrabBagStack ( const OUString &  aElementName)

Definition at line 21 of file grabbagstack.cxx.

References oox::GrabBagStackElement::maElementName, and mCurrentElement.

◆ ~GrabBagStack()

oox::GrabBagStack::~GrabBagStack ( )

Definition at line 26 of file grabbagstack.cxx.

Member Function Documentation

◆ addInt32()

void oox::GrabBagStack::addInt32 ( const OUString &  aElementName,
sal_Int32  aIntValue 
)

Definition at line 70 of file grabbagstack.cxx.

References Any, and appendElement().

◆ addString()

void oox::GrabBagStack::addString ( const OUString &  aElementName,
const OUString &  aStringValue 
)

Definition at line 75 of file grabbagstack.cxx.

References Any, and appendElement().

◆ appendElement()

void oox::GrabBagStack::appendElement ( const OUString &  aName,
const css::uno::Any &  aAny 
)

Definition at line 46 of file grabbagstack.cxx.

References aName, oox::GrabBagStackElement::maPropertyList, and mCurrentElement.

Referenced by addInt32(), addString(), and pop().

◆ getCurrentName()

const OUString & oox::GrabBagStack::getCurrentName ( ) const
inline

Definition at line 45 of file grabbagstack.hxx.

References oox::GrabBagStackElement::maElementName.

◆ getRootProperty()

PropertyValue oox::GrabBagStack::getRootProperty ( )

◆ isStackEmpty()

bool oox::GrabBagStack::isStackEmpty ( ) const

Definition at line 29 of file grabbagstack.cxx.

References mStack.

◆ pop()

void oox::GrabBagStack::pop ( )

◆ push()

void oox::GrabBagStack::push ( const OUString &  aKey)

Member Data Documentation

◆ mCurrentElement

GrabBagStackElement oox::GrabBagStack::mCurrentElement
private

Definition at line 39 of file grabbagstack.hxx.

Referenced by appendElement(), getRootProperty(), GrabBagStack(), pop(), and push().

◆ mStack

std::stack<GrabBagStackElement> oox::GrabBagStack::mStack
private

Definition at line 38 of file grabbagstack.hxx.

Referenced by getRootProperty(), isStackEmpty(), pop(), and push().


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