LibreOffice Module oox (master) 1
|
Tool that is useful for construction of a nested Sequence/PropertyValue hierarchy. More...
#include <grabbagstack.hxx>
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< GrabBagStackElement > | mStack |
GrabBagStackElement | mCurrentElement |
Tool that is useful for construction of a nested Sequence/PropertyValue hierarchy.
Definition at line 35 of file grabbagstack.hxx.
oox::GrabBagStack::GrabBagStack | ( | const OUString & | aElementName | ) |
Definition at line 21 of file grabbagstack.cxx.
References oox::GrabBagStackElement::maElementName, and mCurrentElement.
oox::GrabBagStack::~GrabBagStack | ( | ) |
Definition at line 26 of file grabbagstack.cxx.
void oox::GrabBagStack::addInt32 | ( | const OUString & | aElementName, |
sal_Int32 | aIntValue | ||
) |
Definition at line 70 of file grabbagstack.cxx.
References Any, and appendElement().
void oox::GrabBagStack::addString | ( | const OUString & | aElementName, |
const OUString & | aStringValue | ||
) |
Definition at line 75 of file grabbagstack.cxx.
References Any, and 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().
|
inline |
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(), oox::GrabBagStackElement::maElementName, oox::GrabBagStackElement::maPropertyList, mCurrentElement, mStack, and pop().
bool oox::GrabBagStack::isStackEmpty | ( | ) | const |
Definition at line 29 of file grabbagstack.cxx.
References mStack.
void oox::GrabBagStack::pop | ( | ) |
Definition at line 61 of file grabbagstack.cxx.
References aName, Any, appendElement(), comphelper::containerToSequence(), oox::GrabBagStackElement::maElementName, oox::GrabBagStackElement::maPropertyList, mCurrentElement, and mStack.
Referenced by getRootProperty().
void oox::GrabBagStack::push | ( | const OUString & | aKey | ) |
Definition at line 54 of file grabbagstack.cxx.
References oox::GrabBagStackElement::maElementName, oox::GrabBagStackElement::maPropertyList, mCurrentElement, and mStack.
|
private |
Definition at line 39 of file grabbagstack.hxx.
Referenced by appendElement(), getRootProperty(), GrabBagStack(), pop(), and push().
|
private |
Definition at line 38 of file grabbagstack.hxx.
Referenced by getRootProperty(), isStackEmpty(), pop(), and push().