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

#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 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 maFName
 
OUString maFPath
 
OUString maGPLPaletteName
 
ColorList maColors
 

Detailed Description

Definition at line 53 of file palettes.hxx.

Constructor & Destructor Documentation

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

Definition at line 177 of file Palette.cxx.

References LoadPaletteHeader().

PaletteGPL::~PaletteGPL ( )
overridevirtual

Definition at line 186 of file Palette.cxx.

Member Function Documentation

const OUString & PaletteGPL::GetName ( )
overridevirtual

Implements Palette.

Definition at line 190 of file Palette.cxx.

References maGPLPaletteName.

const OUString & PaletteGPL::GetPath ( )
overridevirtual

Implements Palette.

Definition at line 195 of file Palette.cxx.

References maFPath.

bool PaletteGPL::IsValid ( )
overridevirtual

Implements Palette.

Definition at line 213 of file Palette.cxx.

References mbValidPalette.

void PaletteGPL::LoadColorSet ( SvxColorValueSet rColorSet)
overridevirtual

Implements Palette.

Definition at line 200 of file Palette.cxx.

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

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

Definition at line 240 of file Palette.cxx.

References maFPath, mbValidPalette, and ReadPaletteHeader().

Referenced by PaletteGPL().

bool PaletteGPL::ReadPaletteHeader ( SvFileStream rFileStream)
private

Definition at line 218 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 60 of file palettes.hxx.

Referenced by LoadColorSet(), and LoadPalette().

OUString PaletteGPL::maFName
private

Definition at line 57 of file palettes.hxx.

Referenced by ReadPaletteHeader().

OUString PaletteGPL::maFPath
private

Definition at line 58 of file palettes.hxx.

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

OUString PaletteGPL::maGPLPaletteName
private

Definition at line 59 of file palettes.hxx.

Referenced by GetName(), and ReadPaletteHeader().

bool PaletteGPL::mbLoadedPalette
private

Definition at line 55 of file palettes.hxx.

Referenced by LoadPalette().

bool PaletteGPL::mbValidPalette
private

Definition at line 56 of file palettes.hxx.

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


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