LibreOffice Module svx (master) 1
|
#include <xtable.hxx>
Public Member Functions | |
XDashList (const OUString &rPath, const OUString &rReferer) | |
virtual | ~XDashList () override |
void | Replace (std::unique_ptr< XDashEntry > pEntry, tools::Long nIndex) |
XDashEntry * | GetDash (tools::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 | |
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 |
Static Private Member Functions | |
static double | ImpGetDefaultLineThickness () |
Private Attributes | |
BitmapEx | maBitmapSolidLine |
OUString | maStringSolidLine |
OUString | maStringNoLine |
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 269 of file xtable.hxx.
XDashList::XDashList | ( | const OUString & | rPath, |
const OUString & | rReferer | ||
) |
Definition at line 42 of file xtabdash.cxx.
References Dash.
|
overridevirtual |
Definition at line 47 of file xtabdash.cxx.
|
overridevirtual |
Implements XPropertyList.
Definition at line 66 of file xtabdash.cxx.
References aStr, XPropertyList::Insert(), and SvxResId().
|
overrideprivatevirtual |
Implements XPropertyList.
Definition at line 185 of file xtabdash.cxx.
References CreateBitmapForXDash(), XDashEntry::GetDash(), GetDash(), ImpGetDefaultLineThickness(), and nIndex.
Definition at line 82 of file xtabdash.cxx.
References a, basegfx::B2DPolygon::append(), COL_WHITE(), XDash::CreateDotDashArray(), drawinglayer::processor2d::createPixelProcessor2DFromOutputDevice(), Color::getBColor(), XDash::GetDashes(), XDash::GetDots(), StyleSettings::GetFieldColor(), StyleSettings::GetFieldTextColor(), StyleSettings::GetHighContrastMode(), basegfx::B2DVector::getLength(), StyleSettings::GetListBoxPreviewDefaultPixelSize(), StyleSettings::GetPreviewUsesCheckeredBackground(), Application::GetSettings(), AllSettings::GetStyleSettings(), Size::Height(), OutputDevice::LogicToLogic(), BitmapEx::Scale(), and Size::Width().
Referenced by CreateBitmapForUI(), GetBitmapForUISolidLine(), and svx::sidebar::LinePropertyPanelBase::Initialize().
|
overridevirtual |
Implements XPropertyList.
Definition at line 61 of file xtabdash.cxx.
References SvxUnoXDashTable_createInstance().
BitmapEx const & XDashList::GetBitmapForUISolidLine | ( | ) | const |
Definition at line 192 of file xtabdash.cxx.
References CreateBitmapForXDash(), ImpGetDefaultLineThickness(), BitmapEx::IsEmpty(), and maBitmapSolidLine.
XDashEntry * XDashList::GetDash | ( | tools::Long | nIndex | ) | const |
Definition at line 56 of file xtabdash.cxx.
References XPropertyList::Get(), and nIndex.
Referenced by CreateBitmapForUI().
OUString const & XDashList::GetStringForUiNoLine | ( | ) | const |
Definition at line 212 of file xtabdash.cxx.
References comphelper::LibreOfficeKit::isActive(), maStringNoLine, and SvxResId().
OUString const & XDashList::GetStringForUiSolidLine | ( | ) | const |
Definition at line 202 of file xtabdash.cxx.
References maStringSolidLine, and SvxResId().
|
staticprivate |
Definition at line 77 of file xtabdash.cxx.
References StyleSettings::GetListBoxPreviewDefaultLineWidth().
Referenced by CreateBitmapForUI(), and GetBitmapForUISolidLine().
void XDashList::Replace | ( | std::unique_ptr< XDashEntry > | pEntry, |
tools::Long | nIndex | ||
) |
Definition at line 51 of file xtabdash.cxx.
References nIndex, and XPropertyList::Replace().
|
private |
Definition at line 272 of file xtable.hxx.
Referenced by GetBitmapForUISolidLine().
|
private |
Definition at line 274 of file xtable.hxx.
Referenced by GetStringForUiNoLine().
|
private |
Definition at line 273 of file xtable.hxx.
Referenced by GetStringForUiSolidLine().