LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScCondFormatDlgItem Class Reference

#include <condformatdlgitem.hxx>

Inheritance diagram for ScCondFormatDlgItem:
[legend]
Collaboration diagram for ScCondFormatDlgItem:
[legend]

Public Member Functions

 ScCondFormatDlgItem (std::shared_ptr< ScConditionalFormatList > pCondFormats, sal_Int32 nItem, bool bManaged)
 
virtual ~ScCondFormatDlgItem () override
 
 ScCondFormatDlgItem (ScCondFormatDlgItem const &)=default
 
 ScCondFormatDlgItem (ScCondFormatDlgItem &&)=default
 
ScCondFormatDlgItemoperator= (ScCondFormatDlgItem const &)=delete
 
ScCondFormatDlgItemoperator= (ScCondFormatDlgItem &&)=delete
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual ScCondFormatDlgItemClone (SfxItemPool *pPool=nullptr) const override
 
bool IsManaged () const
 
condformat::dialog::ScCondFormatDialogType GetDialogType () const
 
sal_Int32 GetIndex () const
 
void SetDialogType (condformat::dialog::ScCondFormatDialogType eType)
 
ScConditionalFormatListGetConditionalFormatList ()
 
- Public Member Functions inherited from SfxPoolItem
void AddRef (sal_uInt32 n=1) const
 
virtual ~SfxPoolItem ()
 
void SetWhich (sal_uInt16 nId)
 
sal_uInt16 Which () const
 
T & StaticWhichCast (TypedWhichId< T > nId)
 
const T & StaticWhichCast (TypedWhichId< T > nId) const
 
T * DynamicWhichCast (TypedWhichId< T > nId)
 
const T * DynamicWhichCast (TypedWhichId< T > nId) const
 
virtual bool operator== (const SfxPoolItem &) const=0
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool HasLookup () const
 
virtual lookup_iterator Lookup (lookup_iterator, lookup_iterator end) const
 
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
 
virtual void ScaleMetrics (tools::Long lMult, tools::Long lDiv)
 
virtual bool HasMetrics () const
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId)
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const=0
 
std::unique_ptr< SfxPoolItemCloneSetWhich (sal_uInt16 nNewWhich) const
 
std::unique_ptr< T > CloneSetWhich (TypedWhichId< T > nId) const
 
sal_uInt32 GetRefCount () const
 
SfxItemKind GetKind () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
virtual boost::property_tree::ptree dumpAsJSON () const
 
virtual bool IsVoidItem () const
 

Private Attributes

std::shared_ptr< ScConditionalFormatListmpCondFormats
 
sal_Int32 mnItem
 
condformat::dialog::ScCondFormatDialogType meDialogType
 
bool mbManaged
 

Additional Inherited Members

- Public Types inherited from SfxPoolItem
typedef std::vector< SfxPoolItem * >::const_iterator lookup_iterator
 
- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Detailed Description

Definition at line 31 of file condformatdlgitem.hxx.

Constructor & Destructor Documentation

◆ ScCondFormatDlgItem() [1/3]

ScCondFormatDlgItem::ScCondFormatDlgItem ( std::shared_ptr< ScConditionalFormatList pCondFormats,
sal_Int32  nItem,
bool  bManaged 
)

Definition at line 16 of file condformatdlgitem.cxx.

Referenced by Clone().

◆ ~ScCondFormatDlgItem()

ScCondFormatDlgItem::~ScCondFormatDlgItem ( )
overridevirtual

Definition at line 26 of file condformatdlgitem.cxx.

◆ ScCondFormatDlgItem() [2/3]

ScCondFormatDlgItem::ScCondFormatDlgItem ( ScCondFormatDlgItem const &  )
default

◆ ScCondFormatDlgItem() [3/3]

ScCondFormatDlgItem::ScCondFormatDlgItem ( ScCondFormatDlgItem &&  )
default

Member Function Documentation

◆ Clone()

ScCondFormatDlgItem * ScCondFormatDlgItem::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 36 of file condformatdlgitem.cxx.

References ScCondFormatDlgItem().

◆ GetConditionalFormatList()

ScConditionalFormatList * ScCondFormatDlgItem::GetConditionalFormatList ( )

Definition at line 56 of file condformatdlgitem.cxx.

References mpCondFormats.

◆ GetDialogType()

condformat::dialog::ScCondFormatDialogType ScCondFormatDlgItem::GetDialogType ( ) const

Definition at line 46 of file condformatdlgitem.cxx.

References meDialogType.

◆ GetIndex()

sal_Int32 ScCondFormatDlgItem::GetIndex ( ) const

Definition at line 51 of file condformatdlgitem.cxx.

References mnItem.

Referenced by ScCellShell::ExecuteEdit().

◆ IsManaged()

bool ScCondFormatDlgItem::IsManaged ( ) const

Definition at line 41 of file condformatdlgitem.cxx.

References mbManaged.

◆ operator=() [1/2]

ScCondFormatDlgItem & ScCondFormatDlgItem::operator= ( ScCondFormatDlgItem &&  )
delete

◆ operator=() [2/2]

ScCondFormatDlgItem & ScCondFormatDlgItem::operator= ( ScCondFormatDlgItem const &  )
delete

◆ operator==()

bool ScCondFormatDlgItem::operator== ( const SfxPoolItem rItem) const
overridevirtual

Implements SfxPoolItem.

Definition at line 30 of file condformatdlgitem.cxx.

◆ SetDialogType()

void ScCondFormatDlgItem::SetDialogType ( condformat::dialog::ScCondFormatDialogType  eType)

Definition at line 61 of file condformatdlgitem.cxx.

References eType, and meDialogType.

Referenced by ScCellShell::ExecuteEdit().

Member Data Documentation

◆ mbManaged

bool ScCondFormatDlgItem::mbManaged
private

Definition at line 59 of file condformatdlgitem.hxx.

Referenced by IsManaged().

◆ meDialogType

condformat::dialog::ScCondFormatDialogType ScCondFormatDlgItem::meDialogType
private

Definition at line 58 of file condformatdlgitem.hxx.

Referenced by GetDialogType(), and SetDialogType().

◆ mnItem

sal_Int32 ScCondFormatDlgItem::mnItem
private

Definition at line 57 of file condformatdlgitem.hxx.

Referenced by GetIndex().

◆ mpCondFormats

std::shared_ptr<ScConditionalFormatList> ScCondFormatDlgItem::mpCondFormats
private

Definition at line 56 of file condformatdlgitem.hxx.

Referenced by GetConditionalFormatList().


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