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
 
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 89 of file formatcontentcontrol.hxx.

Member Function Documentation

◆ dumpAsXml()

void SwContentControlListItem::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Definition at line 619 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 666 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 641 of file attrcontentcontrol.cxx.

References m_aDisplayText, and m_aValue.

◆ ToString()

const OUString & SwContentControlListItem::ToString ( ) const

Definition at line 631 of file attrcontentcontrol.cxx.

References m_aDisplayText, and m_aValue.

Referenced by SwVbaContentControlListEntry::getText().

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: