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

#include <xtable.hxx>

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

Public Member Functions

 XDashList (const OUString &rPath, const OUString &rReferer)
 
virtual ~XDashList () override
 
void Replace (std::unique_ptr< XDashEntry > pEntry, long nIndex)
 
XDashEntryGetDash (long nIndex) const
 
virtual css::uno::Reference< css::container::XNameContainer > createInstance () override
 
virtual bool Create () override
 
BitmapEx const & GetBitmapForUISolidLine () const
 
OUString const & GetStringForUiSolidLine () const
 
OUString const & GetStringForUiNoLine () const
 
- 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 > ()
 

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 ()
 

Static Protected Member Functions

static BitmapEx ImpCreateBitmapForXDash (const XDash *pDash)
 

Private Attributes

BitmapEx maBitmapSolidLine
 
OUString maStringSolidLine
 
OUString maStringNoLine
 

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, 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 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 271 of file xtable.hxx.

Constructor & Destructor Documentation

XDashList::XDashList ( const OUString &  rPath,
const OUString &  rReferer 
)

Definition at line 39 of file xtabdash.cxx.

References Dash.

XDashList::~XDashList ( )
overridevirtual

Definition at line 47 of file xtabdash.cxx.

Member Function Documentation

bool XDashList::Create ( )
overridevirtual

Implements XPropertyList.

Definition at line 67 of file xtabdash.cxx.

References aStr, XPropertyList::Insert(), and SvxResId().

BitmapEx XDashList::CreateBitmapForUI ( long  nIndex)
overrideprotectedvirtual

Implements XPropertyList.

Definition at line 181 of file xtabdash.cxx.

References XDashEntry::GetDash(), GetDash(), and ImpCreateBitmapForXDash().

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

Implements XPropertyList.

Definition at line 61 of file xtabdash.cxx.

References SvxUnoXDashTable_createInstance().

BitmapEx const & XDashList::GetBitmapForUISolidLine ( ) const

Definition at line 188 of file xtabdash.cxx.

References ImpCreateBitmapForXDash(), BitmapEx::IsEmpty(), and maBitmapSolidLine.

XDashEntry * XDashList::GetDash ( long  nIndex) const

Definition at line 56 of file xtabdash.cxx.

References XPropertyList::Get().

Referenced by CreateBitmapForUI().

OUString const & XDashList::GetStringForUiNoLine ( ) const

Definition at line 208 of file xtabdash.cxx.

References maStringNoLine, and SvxResId().

OUString const & XDashList::GetStringForUiSolidLine ( ) const

Definition at line 198 of file xtabdash.cxx.

References maStringSolidLine, and SvxResId().

BitmapEx XDashList::ImpCreateBitmapForXDash ( const XDash pDash)
staticprotected
void XDashList::Replace ( std::unique_ptr< XDashEntry pEntry,
long  nIndex 
)

Definition at line 51 of file xtabdash.cxx.

References XPropertyList::Replace().

Member Data Documentation

BitmapEx XDashList::maBitmapSolidLine
private

Definition at line 274 of file xtable.hxx.

Referenced by GetBitmapForUISolidLine().

OUString XDashList::maStringNoLine
private

Definition at line 276 of file xtable.hxx.

Referenced by GetStringForUiNoLine().

OUString XDashList::maStringSolidLine
private

Definition at line 275 of file xtable.hxx.

Referenced by GetStringForUiSolidLine().


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