LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
PaletteGPL Class Reference

#include <palettes.hxx>

Inheritance diagram for PaletteGPL:
[legend]
Collaboration diagram for PaletteGPL:
[legend]

Public Member Functions

 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 void LoadColorSet (ColorValueSet &rColorSet) override
 
virtual bool IsValid () override
 
- Public Member Functions inherited from Palette
virtual ~Palette ()
 

Private Member Functions

bool ReadPaletteHeader (SvFileStream &rFileStream)
 
void LoadPaletteHeader ()
 
void LoadPalette ()
 

Private Attributes

bool mbLoadedPalette
 
bool mbValidPalette
 
OUString const maFName
 
OUString const maFPath
 
OUString maGPLPaletteName
 
ColorList maColors
 

Detailed Description

Definition at line 54 of file palettes.hxx.

Constructor & Destructor Documentation

PaletteGPL::PaletteGPL ( const OUString &  rFPath,
const OUString &  rFName 
)

Definition at line 188 of file Palette.cxx.

References LoadPaletteHeader().

PaletteGPL::~PaletteGPL ( )
overridevirtual

Definition at line 197 of file Palette.cxx.

Member Function Documentation

const OUString & PaletteGPL::GetName ( )
overridevirtual

Implements Palette.

Definition at line 201 of file Palette.cxx.

References maGPLPaletteName.

const OUString & PaletteGPL::GetPath ( )
overridevirtual

Implements Palette.

Definition at line 206 of file Palette.cxx.

References maFPath.

bool PaletteGPL::IsValid ( )
overridevirtual

Implements Palette.

Definition at line 237 of file Palette.cxx.

References mbValidPalette.

void PaletteGPL::LoadColorSet ( SvxColorValueSet rColorSet)
overridevirtual

Implements Palette.

Definition at line 211 of file Palette.cxx.

References ValueSet::Clear(), ValueSet::InsertItem(), LoadPalette(), and maColors.

void PaletteGPL::LoadColorSet ( ColorValueSet rColorSet)
overridevirtual

Implements Palette.

Definition at line 224 of file Palette.cxx.

References SvtValueSet::Clear(), SvtValueSet::InsertItem(), LoadPalette(), and maColors.

void PaletteGPL::LoadPalette ( )
private
void PaletteGPL::LoadPaletteHeader ( )
private

Definition at line 264 of file Palette.cxx.

References maFPath, mbValidPalette, and ReadPaletteHeader().

Referenced by PaletteGPL().

bool PaletteGPL::ReadPaletteHeader ( SvFileStream rFileStream)
private

Definition at line 242 of file Palette.cxx.

References maFName, maGPLPaletteName, and SvStream::ReadLine().

Referenced by LoadPalette(), and LoadPaletteHeader().

Member Data Documentation

ColorList PaletteGPL::maColors
private

Definition at line 61 of file palettes.hxx.

Referenced by LoadColorSet(), and LoadPalette().

OUString const PaletteGPL::maFName
private

Definition at line 58 of file palettes.hxx.

Referenced by ReadPaletteHeader().

OUString const PaletteGPL::maFPath
private

Definition at line 59 of file palettes.hxx.

Referenced by GetPath(), LoadPalette(), and LoadPaletteHeader().

OUString PaletteGPL::maGPLPaletteName
private

Definition at line 60 of file palettes.hxx.

Referenced by GetName(), and ReadPaletteHeader().

bool PaletteGPL::mbLoadedPalette
private

Definition at line 56 of file palettes.hxx.

Referenced by LoadPalette().

bool PaletteGPL::mbValidPalette
private

Definition at line 57 of file palettes.hxx.

Referenced by IsValid(), LoadPalette(), and LoadPaletteHeader().


The documentation for this class was generated from the following files: