LibreOffice Module sw (master) 1
|
Represents one list item in a content control dropdown list. More...
#include <formatcontentcontrol.hxx>
Public Member Functions | |
void | dumpAsXml (xmlTextWriterPtr pWriter) const |
const OUString & | ToString () const |
bool | operator== (const SwContentControlListItem &rOther) const |
Static Public Member Functions | |
static void | ItemsToAny (const std::vector< SwContentControlListItem > &rItems, css::uno::Any &rVal) |
static std::vector< SwContentControlListItem > | ItemsFromAny (const css::uno::Any &rVal) |
Public Attributes | |
OUString | m_aDisplayText |
This may be empty, ToString() falls back to m_aValue. More... | |
OUString | m_aValue |
This must not be empty. More... | |
Represents one list item in a content control dropdown list.
Definition at line 89 of file formatcontentcontrol.hxx.
void SwContentControlListItem::dumpAsXml | ( | xmlTextWriterPtr | pWriter | ) | const |
Definition at line 619 of file attrcontentcontrol.cxx.
References m_aDisplayText, and m_aValue.
|
static |
Definition at line 666 of file attrcontentcontrol.cxx.
References aMap, m_aDisplayText, and m_aValue.
Referenced by SwXContentControl::setPropertyValue().
|
static |
Definition at line 646 of file attrcontentcontrol.cxx.
References i, m_aDisplayText, m_aValue, and comphelper::makePropertyValue().
Referenced by SwXContentControl::getPropertyValue().
bool SwContentControlListItem::operator== | ( | const SwContentControlListItem & | rOther | ) | const |
Definition at line 641 of file attrcontentcontrol.cxx.
References m_aDisplayText, and m_aValue.
const OUString & SwContentControlListItem::ToString | ( | ) | const |
Definition at line 631 of file attrcontentcontrol.cxx.
References m_aDisplayText, and m_aValue.
Referenced by SwVbaContentControlListEntry::getText().
OUString SwContentControlListItem::m_aDisplayText |
This may be empty, ToString() falls back to m_aValue.
Definition at line 93 of file formatcontentcontrol.hxx.
Referenced by SwContentControl::AddListItem(), dumpAsXml(), IMPL_LINK_NOARG(), ItemsFromAny(), ItemsToAny(), operator==(), SwContentControlListItemDlg::SwContentControlListItemDlg(), and ToString().
OUString SwContentControlListItem::m_aValue |
This must not be empty.
Definition at line 95 of file formatcontentcontrol.hxx.
Referenced by SwContentControl::AddListItem(), dumpAsXml(), SwVbaContentControlListEntry::getValue(), IMPL_LINK_NOARG(), SwWrtShell::InsertContentControl(), ItemsFromAny(), ItemsToAny(), operator==(), SwContentControlListItemDlg::SwContentControlListItemDlg(), and ToString().