LibreOffice Module svx (master) 1
|
#include <xtable.hxx>
Public Member Functions | |
XColorList (const OUString &rPath, const OUString &rReferer) | |
void | Replace (tools::Long nIndex, std::unique_ptr< XColorEntry > pEntry) |
XColorEntry * | GetColor (tools::Long nIndex) const |
tools::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 | |
XPropertyList & | operator= (const XPropertyList &)=delete |
virtual | ~XPropertyList () override |
XPropertyListType | Type () const |
tools::Long | Count () const |
void | Insert (std::unique_ptr< XPropertyEntry > pEntry, tools::Long nIndex=std::numeric_limits< tools::Long >::max()) |
void | Replace (std::unique_ptr< XPropertyEntry > pEntry, tools::Long nIndex) |
void | Remove (tools::Long nIndex) |
XPropertyEntry * | Get (tools::Long nIndex) const |
tools::Long | GetIndex (std::u16string_view rName) const |
BitmapEx | GetUiBitmap (tools::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 |
virtual css::uno::Reference< css::container::XNameContainer > | createInstance ()=0 |
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) |
virtual bool | Create ()=0 |
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_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Private Member Functions | |
virtual BitmapEx | CreateBitmapForUI (tools::Long nIndex) override |
Additional Inherited Members | |
Protected Member Functions inherited from XPropertyList | |
XPropertyList (XPropertyListType t, OUString aPath, OUString aReferer) | |
bool | isValidIdx (tools::Long nIndex) const |
virtual BitmapEx | CreateBitmapForUI (tools::Long nIndex)=0 |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Protected Attributes inherited from XPropertyList | |
XPropertyListType | meType |
OUString | maName |
OUString | maPath |
OUString | maReferer |
std::vector< std::unique_ptr< XPropertyEntry > > | maList |
bool | mbListDirty |
bool | mbEmbedInDocument |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
Definition at line 237 of file xtable.hxx.
|
inline |
Definition at line 242 of file xtable.hxx.
|
overridevirtual |
Implements XPropertyList.
Definition at line 60 of file xtabcolr.cxx.
References a, ColorTransparency, XPropertyList::Count(), XPropertyList::Insert(), and SvxResId().
|
overrideprivatevirtual |
Implements XPropertyList.
Definition at line 154 of file xtabcolr.cxx.
|
overridevirtual |
Implements XPropertyList.
Definition at line 55 of file xtabcolr.cxx.
References SvxUnoXColorTable_createInstance().
|
static |
Definition at line 31 of file xtabcolr.cxx.
References XPropertyList::AsColorList(), Color, XPropertyList::CreatePropertyList(), and utl::ConfigManager::IsFuzzing().
Referenced by ColorListBox::CalcBestWidthRequest(), GetStdColorList(), and PaletteManager::PaletteManager().
XColorEntry * XColorList::GetColor | ( | tools::Long | nIndex | ) | const |
Definition at line 50 of file xtabcolr.cxx.
References XPropertyList::Get(), and nIndex.
Referenced by SvxColorValueSet::addEntriesForXColorList(), and GetIndexOfColor().
tools::Long XColorList::GetIndexOfColor | ( | const Color & | rColor | ) | const |
Definition at line 159 of file xtabcolr.cxx.
References GetColor(), i, XPropertyList::maList, and n.
|
static |
Definition at line 40 of file xtabcolr.cxx.
References CreateStdColorList().
void XColorList::Replace | ( | tools::Long | nIndex, |
std::unique_ptr< XColorEntry > | pEntry | ||
) |
Definition at line 46 of file xtabcolr.cxx.
References nIndex, and XPropertyList::Replace().