|
LibreOffice Module svx (master) 1
|
#include <xtable.hxx>
Public Member Functions | |
| XPatternList (const OUString &rPath, const OUString &rReferer) | |
| XBitmapEntry * | GetBitmap (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 | |
| 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 | |
| BitmapEx | CreateBitmap (tools::Long nIndex, const Size &rSize) const |
| virtual BitmapEx | CreateBitmapForUI (tools::Long nIndex) override |
Definition at line 354 of file xtable.hxx.
|
inline |
Definition at line 361 of file xtable.hxx.
References Pattern.
|
overridevirtual |
Implements XPropertyList.
Definition at line 43 of file xtabptrn.cxx.
References aStr, COL_BLACK(), COL_LIGHTBLUE(), COL_LIGHTRED(), COL_WHITE(), vcl::bitmap::createHistorical8x8FromArray(), XPropertyList::Insert(), and SvxResId().
|
private |
Definition at line 81 of file xtabptrn.cxx.
References COL_WHITE(), XPropertyList::Count(), GetBitmap(), Graphic::GetBitmapEx(), StyleSettings::GetFieldColor(), GraphicObject::GetGraphic(), XBitmapEntry::GetGraphicObject(), StyleSettings::GetPreviewUsesCheckeredBackground(), Application::GetSettings(), BitmapEx::GetSizePixel(), AllSettings::GetStyleSettings(), Size::Height(), BitmapEx::IsAlpha(), nIndex, BitmapEx::Scale(), Size::Width(), x, and y.
Referenced by CreateBitmapForUI(), and GetBitmapForPreview().
|
overrideprivatevirtual |
Implements XPropertyList.
Definition at line 137 of file xtabptrn.cxx.
References CreateBitmap(), StyleSettings::GetListBoxPreviewDefaultPixelSize(), Application::GetSettings(), AllSettings::GetStyleSettings(), and nIndex.
|
overridevirtual |
Implements XPropertyList.
Definition at line 38 of file xtabptrn.cxx.
References SvxUnoXBitmapTable_createInstance().
| XBitmapEntry * XPatternList::GetBitmap | ( | tools::Long | nIndex | ) | const |
Definition at line 33 of file xtabptrn.cxx.
References XPropertyList::Get(), and nIndex.
Referenced by CreateBitmap().
| BitmapEx XPatternList::GetBitmapForPreview | ( | tools::Long | nIndex, |
| const Size & | rSize | ||
| ) |
Definition at line 144 of file xtabptrn.cxx.
References CreateBitmap(), and nIndex.