LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | List of all members
XBitmapList Class Referencefinal

#include <xtable.hxx>

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

Public Member Functions

 XBitmapList (const OUString &rPath, const OUString &rReferer)
 
XBitmapEntryGetBitmap (tools::Long nIndex) const
 
BitmapEx GetBitmapForPreview (tools::Long nIndex, const Size &rSize)
 
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
 
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)
 
XPropertyEntryGet (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

BitmapEx CreateBitmap (tools::Long nIndex, const Size &rSize) const
 
virtual BitmapEx CreateBitmapForUI (tools::Long nIndex) override
 

Additional Inherited Members

- 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, std::u16string_view 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 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
 

Detailed Description

Definition at line 337 of file xtable.hxx.

Constructor & Destructor Documentation

◆ XBitmapList()

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

Definition at line 344 of file xtable.hxx.

Member Function Documentation

◆ Create()

bool XBitmapList::Create ( )
overridevirtual

Implements XPropertyList.

Definition at line 41 of file xtabbtmp.cxx.

◆ CreateBitmap()

BitmapEx XBitmapList::CreateBitmap ( tools::Long  nIndex,
const Size rSize 
) const
private

◆ CreateBitmapForUI()

BitmapEx XBitmapList::CreateBitmapForUI ( tools::Long  nIndex)
overrideprivatevirtual

◆ createInstance()

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

Implements XPropertyList.

Definition at line 36 of file xtabbtmp.cxx.

References SvxUnoXBitmapTable_createInstance().

◆ GetBitmap()

XBitmapEntry * XBitmapList::GetBitmap ( tools::Long  nIndex) const

Definition at line 31 of file xtabbtmp.cxx.

References XPropertyList::Get(), and nIndex.

Referenced by CreateBitmap().

◆ GetBitmapForPreview()

BitmapEx XBitmapList::GetBitmapForPreview ( tools::Long  nIndex,
const Size rSize 
)

Definition at line 109 of file xtabbtmp.cxx.

References CreateBitmap(), and nIndex.


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