LibreOffice Module svx (master)
1
|
#include <xtable.hxx>
Public Member Functions | |
XGradientList (const OUString &rPath, const OUString &rReferer) | |
virtual | ~XGradientList () override |
void | Replace (std::unique_ptr< XGradientEntry > pEntry, tools::Long nIndex) |
XGradientEntry * | GetGradient (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 |
![]() | |
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 |
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) |
![]() | |
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 (tools::Long nIndex) override |
![]() | |
XPropertyList (XPropertyListType t, const OUString &rPath, const OUString &rReferer) | |
bool | isValidIdx (tools::Long nIndex) const |
![]() | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Private Member Functions | |
BitmapEx | CreateBitmap (tools::Long nIndex, const Size &rSize) const |
Definition at line 321 of file xtable.hxx.
XGradientList::XGradientList | ( | const OUString & | rPath, |
const OUString & | rReferer | ||
) |
Definition at line 41 of file xtabgrdt.cxx.
|
overridevirtual |
Definition at line 46 of file xtabgrdt.cxx.
|
overridevirtual |
Implements XPropertyList.
Definition at line 67 of file xtabgrdt.cxx.
References aStr, COL_BLACK, COL_BLUE(), COL_GREEN(), COL_MAGENTA(), COL_RED(), COL_WHITE, COL_YELLOW, XPropertyList::Insert(), and SvxResId().
|
private |
Definition at line 87 of file xtabgrdt.cxx.
References drawinglayer::attribute::Axial, XPropertyList::Count(), drawinglayer::processor2d::createPixelProcessor2DFromOutputDevice(), basegfx::utils::createPolygonFromRect(), drawinglayer::attribute::Elliptical, F_PI1800, XGradientEntry::GetGradient(), GetGradient(), StyleSettings::GetHighContrastMode(), Application::GetSettings(), AllSettings::GetStyleSettings(), Size::Height(), interpolate(), drawinglayer::attribute::Linear, Point, drawinglayer::attribute::Radial, drawinglayer::attribute::Rect, drawinglayer::attribute::Square, and Size::Width().
Referenced by CreateBitmapForUI(), and GetBitmapForPreview().
|
overrideprotectedvirtual |
Implements XPropertyList.
Definition at line 208 of file xtabgrdt.cxx.
References CreateBitmap(), StyleSettings::GetListBoxPreviewDefaultPixelSize(), Application::GetSettings(), and AllSettings::GetStyleSettings().
|
overridevirtual |
Implements XPropertyList.
Definition at line 60 of file xtabgrdt.cxx.
References SvxUnoXGradientTable_createInstance().
BitmapEx XGradientList::GetBitmapForPreview | ( | tools::Long | nIndex, |
const Size & | rSize | ||
) |
Definition at line 215 of file xtabgrdt.cxx.
References CreateBitmap().
XGradientEntry * XGradientList::GetGradient | ( | tools::Long | nIndex | ) | const |
Definition at line 55 of file xtabgrdt.cxx.
References XPropertyList::Get().
Referenced by CreateBitmap().
void XGradientList::Replace | ( | std::unique_ptr< XGradientEntry > | pEntry, |
tools::Long | nIndex | ||
) |
Definition at line 50 of file xtabgrdt.cxx.
References XPropertyList::Replace().