19#ifndef INCLUDED_SVX_XTABLE_HXX
20#define INCLUDED_SVX_XTABLE_HXX
23#include <rtl/ustring.hxx>
33#include <com/sun/star/embed/XStorage.hpp>
35#include <com/sun/star/container/XNameContainer.hpp>
67 return aB2DPolyPolygon;
127 return maGraphicObject;
161 std::vector< std::unique_ptr<XPropertyEntry> >
maList;
178 void Insert(std::unique_ptr<XPropertyEntry> pEntry,
tools::Long nIndex = std::numeric_limits<tools::Long>::max());
183 tools::Long GetIndex(std::u16string_view rName)
const;
187 void SetName(
const OUString& rString);
192 void SetDirty(
bool bDirty) { mbListDirty = bDirty; }
199 virtual css::uno::Reference< css::container::XNameContainer >
202 bool LoadFrom(
const css::uno::Reference<
203 css::embed::XStorage > &xStorage,
204 const OUString &rURL,
const OUString &rReferer);
206 bool SaveTo (
const css::uno::Reference<
207 css::embed::XStorage > &xStorage,
208 const OUString &rURL,
214 const OUString& rPath,
215 const OUString& rReferer);
218 std::u16string_view rUrl);
248 virtual css::uno::Reference< css::container::XNameContainer >
createInstance()
override;
249 virtual bool Create()
override;
260 XLineEndList(
const OUString& rPath,
const OUString& rReferer);
265 virtual css::uno::Reference< css::container::XNameContainer >
createInstance()
override;
266 virtual bool Create()
override;
276 static double ImpGetDefaultLineThickness();
280 XDashList(
const OUString& rPath,
const OUString& rReferer);
286 virtual css::uno::Reference< css::container::XNameContainer >
createInstance()
override;
287 virtual bool Create()
override;
292 BitmapEx const & GetBitmapForUISolidLine()
const;
294 static BitmapEx CreateBitmapForXDash(
const XDash* pDash,
double fLineThickness);
298 OUString
const & GetStringForUiSolidLine()
const;
299 OUString
const & GetStringForUiNoLine()
const;
308 XHatchList(
const OUString& rPath,
const OUString& rReferer);
315 virtual css::uno::Reference< css::container::XNameContainer >
createInstance()
override;
316 virtual bool Create()
override;
326 XGradientList(
const OUString& rPath,
const OUString& rReferer);
333 virtual css::uno::Reference< css::container::XNameContainer >
createInstance()
override;
334 virtual bool Create()
override;
350 virtual css::uno::Reference< css::container::XNameContainer >
createInstance()
override;
351 virtual bool Create()
override;
367 virtual css::uno::Reference< css::container::XNameContainer >
createInstance()
override;
368 virtual bool Create()
override;
HRESULT createInstance(REFIID iid, Ifc **ppIfc)
GraphicObject maGraphicObject
const GraphicObject & GetGraphicObject() const
XBitmapList(const OUString &rPath, const OUString &rReferer)
const Color & GetColor() const
XColorList(const OUString &rPath, const OUString &rReferer)
const XDash & GetDash() const
OUString maStringSolidLine
BitmapEx maBitmapSolidLine
basegfx::BGradient aGradient
const basegfx::BGradient & GetGradient() const
const XHatch & GetHatch() const
const basegfx::B2DPolyPolygon & GetLineEnd() const
basegfx::B2DPolyPolygon aB2DPolyPolygon
XPatternList(const OUString &rPath, const OUString &rReferer)
void SetName(const OUString &rPropEntryName)
const BitmapEx & GetUiBitmap() const
static XBitmapListRef AsBitmapList(rtl::Reference< XPropertyList > const &plist)
virtual css::uno::Reference< css::container::XNameContainer > createInstance()=0
static XLineEndListRef AsLineEndList(rtl::Reference< XPropertyList > const &plist)
void SetPath(const OUString &rString)
std::vector< std::unique_ptr< XPropertyEntry > > maList
static XDashListRef AsDashList(rtl::Reference< XPropertyList > const &plist)
static XColorListRef AsColorList(rtl::Reference< XPropertyList > const &plist)
virtual BitmapEx CreateBitmapForUI(tools::Long nIndex)=0
static XGradientListRef AsGradientList(rtl::Reference< XPropertyList > const &plist)
static XHatchListRef AsHatchList(rtl::Reference< XPropertyList > const &plist)
static XPatternListRef AsPatternList(rtl::Reference< XPropertyList > const &plist)
const OUString & GetPath() const
const OUString & GetName() const
OUString GetDefaultExt() const
void SetDirty(bool bDirty)
bool IsEmbedInDocument() const
XPropertyListType Type() const
XPropertyList & operator=(const XPropertyList &)=delete
XPropertyList(const XPropertyList &)=delete
STDMETHOD() Get(VARIANT *val)=0
virtual void Insert(SotClipboardFormatId nFormat, const OUString &rFormatName) override
#define SVXCORE_DLLPUBLIC
rtl::Reference< class XPatternList > XPatternListRef
rtl::Reference< class XLineEndList > XLineEndListRef
rtl::Reference< class XHatchList > XHatchListRef
rtl::Reference< class XPropertyList > XPropertyListRef
rtl::Reference< class XBitmapList > XBitmapListRef
rtl::Reference< class XGradientList > XGradientListRef
rtl::Reference< class XColorList > XColorListRef
rtl::Reference< class XDashList > XDashListRef