LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
SwContentControlListItem Class Reference

Represents one list item in a content control dropdown list. More...

#include <formatcontentcontrol.hxx>

Public Member Functions

void dumpAsXml (xmlTextWriterPtr pWriter) 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< SwContentControlListItemItemsFromAny (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...
 

Detailed Description

Represents one list item in a content control dropdown list.

Definition at line 82 of file formatcontentcontrol.hxx.

Member Function Documentation

◆ dumpAsXml()

void SwContentControlListItem::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Definition at line 351 of file attrcontentcontrol.cxx.

References m_aDisplayText, and m_aValue.

◆ ItemsFromAny()

std::vector< SwContentControlListItem > SwContentControlListItem::ItemsFromAny ( const css::uno::Any &  rVal)
static

Definition at line 398 of file attrcontentcontrol.cxx.

References aMap, m_aDisplayText, and m_aValue.

Referenced by SwXContentControl::setPropertyValue().

◆ ItemsToAny()

void SwContentControlListItem::ItemsToAny ( const std::vector< SwContentControlListItem > &  rItems,
css::uno::Any &  rVal 
)
static

◆ operator==()

bool SwContentControlListItem::operator== ( const SwContentControlListItem rOther) const

Definition at line 373 of file attrcontentcontrol.cxx.

References m_aDisplayText, and m_aValue.

◆ ToString()

OUString SwContentControlListItem::ToString ( ) const

Definition at line 363 of file attrcontentcontrol.cxx.

References m_aDisplayText, and m_aValue.

Member Data Documentation

◆ m_aDisplayText

OUString SwContentControlListItem::m_aDisplayText

◆ m_aValue

OUString SwContentControlListItem::m_aValue

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