LibreOffice Module svx (master)  1
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
XColorList Class Reference

#include <xtable.hxx>

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

Public Member Functions

 XColorList (const OUString &rPath, const OUString &rReferer)
 
void Replace (long nIndex, std::unique_ptr< XColorEntry > pEntry)
 
XColorEntryGetColor (long nIndex) const
 
long GetIndexOfColor (const Color &rColor) const
 
virtual css::uno::Reference< css::container::XNameContainer > createInstance () override
 
virtual bool Create () override
 
- Public Member Functions inherited from XPropertyList
 XPropertyList (const XPropertyList &)=delete
 
XPropertyListoperator= (const XPropertyList &)=delete
 
virtual ~XPropertyList () override
 
XPropertyListType Type () const
 
long Count () const
 
void Insert (std::unique_ptr< XPropertyEntry > pEntry, long nIndex=std::numeric_limits< long >::max())
 
void Replace (std::unique_ptr< XPropertyEntry > pEntry, long nIndex)
 
void Remove (long nIndex)
 
XPropertyEntryGet (long nIndex) const
 
long GetIndex (const OUString &rName) const
 
BitmapEx GetUiBitmap (long nIndex) const
 
const OUString & GetName () const
 
void SetName (const OUString &rString)
 
const OUString & GetPath () const
 
void SetPath (const OUString &rString)
 
void SetDirty (bool bDirty)
 
bool IsEmbedInDocument () const
 
OUString GetDefaultExt () const
 
bool Load ()
 
bool LoadFrom (const css::uno::Reference< css::embed::XStorage > &xStorage, const OUString &rURL, const OUString &rReferer)
 
bool Save ()
 
bool SaveTo (const css::uno::Reference< css::embed::XStorage > &xStorage, const OUString &rURL, OUString *pOptName)
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Static Public Member Functions

static XColorListRef CreateStdColorList ()
 
static XColorListRef GetStdColorList ()
 
- Static Public Member Functions inherited from XPropertyList
static OUString GetDefaultExt (XPropertyListType t)
 
static XPropertyListRef CreatePropertyList (XPropertyListType t, const OUString &rPath, const OUString &rReferer)
 
static XPropertyListRef CreatePropertyListFromURL (XPropertyListType t, const OUString &rUrl)
 
static XDashListRef AsDashList (rtl::Reference< XPropertyList > const &plist)
 
static XHatchListRef AsHatchList (rtl::Reference< XPropertyList > const &plist)
 
static XColorListRef AsColorList (rtl::Reference< XPropertyList > const &plist)
 
static XBitmapListRef AsBitmapList (rtl::Reference< XPropertyList > const &plist)
 
static XPatternListRef AsPatternList (rtl::Reference< XPropertyList > const &plist)
 
static XLineEndListRef AsLineEndList (rtl::Reference< XPropertyList > const &plist)
 
static XGradientListRef AsGradientList (rtl::Reference< XPropertyList > const &plist)
 

Protected Member Functions

virtual BitmapEx CreateBitmapForUI (long nIndex) override
 
- Protected Member Functions inherited from XPropertyList
 XPropertyList (XPropertyListType t, const OUString &rPath, const OUString &rReferer)
 
bool isValidIdx (long nIndex) const
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 

Additional Inherited Members

- Protected Attributes inherited from XPropertyList
XPropertyListType const meType
 
OUString maName
 
OUString maPath
 
OUString const maReferer
 
std::vector< std::unique_ptr< XPropertyEntry > > maList
 
bool mbListDirty
 
bool mbEmbedInDocument
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 237 of file xtable.hxx.

Constructor & Destructor Documentation

XColorList::XColorList ( const OUString &  rPath,
const OUString &  rReferer 
)
inline

Definition at line 243 of file xtable.hxx.

Member Function Documentation

bool XColorList::Create ( )
overridevirtual

Implements XPropertyList.

Definition at line 63 of file xtabcolr.cxx.

References Count, Insert, and SvxResId().

BitmapEx XColorList::CreateBitmapForUI ( long  nIndex)
overrideprotectedvirtual

Implements XPropertyList.

Definition at line 157 of file xtabcolr.cxx.

uno::Reference< container::XNameContainer > XColorList::createInstance ( )
overridevirtual

Implements XPropertyList.

Definition at line 56 of file xtabcolr.cxx.

References SvxUnoXColorTable_createInstance().

XColorListRef XColorList::CreateStdColorList ( )
static
XColorEntry * XColorList::GetColor ( long  nIndex) const
long XColorList::GetIndexOfColor ( const Color rColor) const

Definition at line 162 of file xtabcolr.cxx.

References i.

XColorListRef XColorList::GetStdColorList ( )
static

Definition at line 41 of file xtabcolr.cxx.

void XColorList::Replace ( long  nIndex,
std::unique_ptr< XColorEntry pEntry 
)

Definition at line 47 of file xtabcolr.cxx.

References XPropertyList::Replace().


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