LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwSearchProperties_Impl Class Reference
Collaboration diagram for SwSearchProperties_Impl:
[legend]

Public Member Functions

 SwSearchProperties_Impl ()
 
void SetProperties (const uno::Sequence< beans::PropertyValue > &aSearchAttribs)
 
uno::Sequence< beans::PropertyValue > GetProperties () const
 
void FillItemSet (SfxItemSet &rSet, bool bIsValueSearch) const
 
bool HasAttributes () const
 

Private Member Functions

 SwSearchProperties_Impl (const SwSearchProperties_Impl &)=delete
 
SwSearchProperties_Imploperator= (const SwSearchProperties_Impl &)=delete
 

Private Attributes

std::unordered_map< OUString, beans::PropertyValue > maValues
 
SfxItemPropertyMap mrMap
 

Detailed Description

Definition at line 42 of file unosrch.cxx.

Constructor & Destructor Documentation

◆ SwSearchProperties_Impl() [1/2]

SwSearchProperties_Impl::SwSearchProperties_Impl ( const SwSearchProperties_Impl )
privatedelete

◆ SwSearchProperties_Impl() [2/2]

SwSearchProperties_Impl::SwSearchProperties_Impl ( )

Definition at line 63 of file unosrch.cxx.

Member Function Documentation

◆ FillItemSet()

void SwSearchProperties_Impl::FillItemSet ( SfxItemSet rSet,
bool  bIsValueSearch 
) const

Definition at line 94 of file unosrch.cxx.

References SfxPoolItem::Clone(), SfxItemPropertyMap::getByName(), SfxItemPool::GetDefaultItem(), SfxItemSet::GetPool(), SfxItemSet::InvalidateItem(), maValues, mrMap, SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::nWID, SfxItemSet::Put(), SfxPoolItem::PutValue(), RES_BACKGROUND(), RES_BOX(), RES_BREAK(), RES_CHRATR_AUTOKERN(), RES_CHRATR_BACKGROUND(), RES_CHRATR_BLINK(), RES_CHRATR_BOX(), RES_CHRATR_CASEMAP(), RES_CHRATR_CJK_FONT(), RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_CJK_POSTURE(), RES_CHRATR_CJK_WEIGHT(), RES_CHRATR_COLOR(), RES_CHRATR_CONTOUR(), RES_CHRATR_CROSSEDOUT(), RES_CHRATR_CTL_FONT(), RES_CHRATR_CTL_FONTSIZE(), RES_CHRATR_CTL_LANGUAGE(), RES_CHRATR_CTL_POSTURE(), RES_CHRATR_CTL_WEIGHT(), RES_CHRATR_ESCAPEMENT(), RES_CHRATR_FONT(), RES_CHRATR_FONTSIZE(), RES_CHRATR_KERNING(), RES_CHRATR_LANGUAGE(), RES_CHRATR_NOHYPHEN(), RES_CHRATR_OVERLINE(), RES_CHRATR_POSTURE(), RES_CHRATR_RELIEF(), RES_CHRATR_ROTATE(), RES_CHRATR_SCALEW(), RES_CHRATR_SHADOW(), RES_CHRATR_SHADOWED(), RES_CHRATR_UNDERLINE(), RES_CHRATR_WEIGHT(), RES_CHRATR_WORDLINEMODE(), RES_KEEP(), RES_LINENUMBER(), RES_LR_SPACE(), RES_MARGIN_FIRSTLINE(), RES_MARGIN_RIGHT(), RES_MARGIN_TEXTLEFT(), RES_PAGEDESC(), RES_PARATR_ADJUST(), RES_PARATR_DROP(), RES_PARATR_LINESPACING(), RES_PARATR_ORPHANS(), RES_PARATR_REGISTER(), RES_PARATR_SPLIT(), RES_PARATR_TABSTOP(), RES_PARATR_VERTALIGN(), RES_PARATR_WIDOWS(), RES_TXTATR_CHARFMT(), RES_TXTATR_INETFMT(), RES_UL_SPACE(), rSet, and SfxPoolItem::Which().

◆ GetProperties()

uno::Sequence< beans::PropertyValue > SwSearchProperties_Impl::GetProperties ( ) const

Definition at line 82 of file unosrch.cxx.

References maValues.

◆ HasAttributes()

bool SwSearchProperties_Impl::HasAttributes ( ) const

Definition at line 351 of file unosrch.cxx.

References maValues.

◆ operator=()

SwSearchProperties_Impl & SwSearchProperties_Impl::operator= ( const SwSearchProperties_Impl )
privatedelete

◆ SetProperties()

void SwSearchProperties_Impl::SetProperties ( const uno::Sequence< beans::PropertyValue > &  aSearchAttribs)
Exceptions
beans::UnknownPropertyException
lang::IllegalArgumentException
uno::RuntimeException

Definition at line 68 of file unosrch.cxx.

References SfxItemPropertyMap::hasPropertyByName(), maValues, mrMap, and sName.

Member Data Documentation

◆ maValues

std::unordered_map<OUString, beans::PropertyValue> SwSearchProperties_Impl::maValues
private

Definition at line 44 of file unosrch.cxx.

Referenced by FillItemSet(), GetProperties(), HasAttributes(), and SetProperties().

◆ mrMap

SfxItemPropertyMap SwSearchProperties_Impl::mrMap
private

Definition at line 45 of file unosrch.cxx.

Referenced by FillItemSet(), and SetProperties().


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