xref: /AOO41X/main/sw/source/ui/vba/vbapalette.hxx (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir #ifndef VBAPALETTE_HXX
2*cdf0e10cSrcweir #define VBAPALETTE_HXX
3*cdf0e10cSrcweir #include <vbahelper/vbahelper.hxx>
4*cdf0e10cSrcweir 
5*cdf0e10cSrcweir class VbaPalette
6*cdf0e10cSrcweir {
7*cdf0e10cSrcweir         css::uno::Reference< css::container::XIndexAccess > mxPalette;
8*cdf0e10cSrcweir public:
9*cdf0e10cSrcweir         VbaPalette();
10*cdf0e10cSrcweir         // if no palette available e.g. because the document doesn't have a
11*cdf0e10cSrcweir         // palette defined then a default palette will be returned.
12*cdf0e10cSrcweir         css::uno::Reference< css::container::XIndexAccess > getPalette() const;
13*cdf0e10cSrcweir };
14*cdf0e10cSrcweir 
15*cdf0e10cSrcweir #endif
16