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:

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

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

Definition at line 21 of file grabbagstack.cxx.

oox::GrabBagStack::~GrabBagStack ( )

Definition at line 26 of file grabbagstack.cxx.

Member Function Documentation

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

Definition at line 70 of file grabbagstack.cxx.

References makeAny().

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

Definition at line 75 of file grabbagstack.cxx.

References makeAny().

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

Definition at line 46 of file grabbagstack.cxx.

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

Definition at line 45 of file grabbagstack.hxx.

References oox::GrabBagStackElement::maElementName.

PropertyValue oox::GrabBagStack::getRootProperty ( )

Definition at line 34 of file grabbagstack.cxx.

References comphelper::containerToSequence().

bool oox::GrabBagStack::isStackEmpty ( ) const

Definition at line 29 of file grabbagstack.cxx.

void oox::GrabBagStack::pop ( )

Definition at line 61 of file grabbagstack.cxx.

References aName, comphelper::containerToSequence(), and makeAny().

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

Definition at line 54 of file grabbagstack.cxx.

Member Data Documentation

GrabBagStackElement oox::GrabBagStack::mCurrentElement

Definition at line 39 of file grabbagstack.hxx.

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

Definition at line 38 of file grabbagstack.hxx.

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