summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-11-22 20:38:05 +0200
committerTor Lillqvist <tml@collabora.com>2016-11-22 22:43:52 +0200
commite4a0fa273165d63e82dec9319dbc746f3edbafe5 (patch)
tree3c29d9d837da4765b2d5b5f906a49ce3a266c95b /include/svx
parent1daf867d72d60155cff49a7dfe98c36071ed994b (diff)
The Palette subclasses don't need to be public
Change-Id: I40f942c202ab3ba1ca13d1b24d0cd72a4c561868
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/Palette.hxx68
1 files changed, 0 insertions, 68 deletions
diff --git a/include/svx/Palette.hxx b/include/svx/Palette.hxx
index 3ea15f775332..64fde6f20948 100644
--- a/include/svx/Palette.hxx
+++ b/include/svx/Palette.hxx
@@ -24,10 +24,7 @@
#include <rtl/ustring.hxx>
#include <tools/color.hxx>
-class SvFileStream;
-
typedef std::pair<Color, OUString> NamedColor;
-typedef std::vector< NamedColor > ColorList;
class SVX_DLLPUBLIC Palette
{
@@ -41,71 +38,6 @@ public:
virtual bool IsValid() = 0;
};
-// ASE = Adobe Swatch Exchange
-
-class SVX_DLLPUBLIC PaletteASE : public Palette
-{
- bool mbValidPalette;
- OUString maFPath;
- OUString maASEPaletteName;
- ColorList maColors;
-
- void LoadPalette();
-public:
- PaletteASE( const OUString &rFPath, const OUString &rFName );
- virtual ~PaletteASE() override;
-
- virtual const OUString& GetName() override;
- virtual const OUString& GetPath() override;
- virtual void LoadColorSet( SvxColorValueSet& rColorSet ) override;
-
- virtual bool IsValid() override;
-};
-
-// GPL - this is *not* GNU Public License, but is the Gimp PaLette
-
-class SVX_DLLPUBLIC PaletteGPL : public Palette
-{
- bool mbLoadedPalette;
- bool mbValidPalette;
- OUString maFName;
- OUString maFPath;
- OUString maGPLPaletteName;
- ColorList maColors;
-
- bool ReadPaletteHeader(SvFileStream& rFileStream);
- void LoadPaletteHeader();
- void LoadPalette();
-public:
- PaletteGPL( const OUString &rFPath, const OUString &rFName );
- virtual ~PaletteGPL() override;
-
- virtual const OUString& GetName() override;
- virtual const OUString& GetPath() override;
- virtual void LoadColorSet( SvxColorValueSet& rColorSet ) override;
-
- virtual bool IsValid() override;
-};
-
-// SOC - Star Office Color-table
-
-class SVX_DLLPUBLIC PaletteSOC : public Palette
-{
- bool mbLoadedPalette;
- OUString maFPath;
- OUString maSOCPaletteName;
- XColorListRef mpColorList;
-public:
- PaletteSOC( const OUString &rFPath, const OUString &rFName );
- virtual ~PaletteSOC() override;
-
- virtual const OUString& GetName() override;
- virtual const OUString& GetPath() override;
- virtual void LoadColorSet( SvxColorValueSet& rColorSet ) override;
-
- virtual bool IsValid() override;
-};
-
#endif // INCLUDED_SVX_PALETTE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */