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 (OUString aFPath, OUString aFName)
 
virtual ~PaletteGPL () override
 
virtual const OUString & GetName () override
 
virtual const OUString & GetPath () override
 
virtual void LoadColorSet (SvxColorValueSet &rColorSet) override
 
virtual bool IsValid () override
 
virtual PaletteClone () const override
 
- Public Member Functions inherited from Palette
 Palette ()=default
 
virtual ~Palette ()
 
virtual const OUString & GetName ()=0
 
virtual const OUString & GetPath ()=0
 
virtual void LoadColorSet (SvxColorValueSet &rColorSet)=0
 
virtual bool IsValid ()=0
 
virtual PaletteClone () const =0
 

Private Member Functions

bool ReadPaletteHeader (SvFileStream &rFileStream)
 
void LoadPaletteHeader ()
 
void LoadPalette ()
 
 PaletteGPL (const PaletteGPL &)=default
 

Private Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from Palette
 Palette (const Palette &)=default
 

Detailed Description

Definition at line 56 of file palettes.hxx.

Constructor & Destructor Documentation

◆ PaletteGPL() [1/2]

PaletteGPL::PaletteGPL ( const PaletteGPL )
privatedefault

Referenced by Clone().

◆ PaletteGPL() [2/2]

PaletteGPL::PaletteGPL ( OUString  aFPath,
OUString  aFName 
)

Definition at line 183 of file Palette.cxx.

References LoadPaletteHeader().

◆ ~PaletteGPL()

PaletteGPL::~PaletteGPL ( )
overridevirtual

Definition at line 192 of file Palette.cxx.

Member Function Documentation

◆ Clone()

Palette * PaletteGPL::Clone ( ) const
overridevirtual

Implements Palette.

Definition at line 294 of file Palette.cxx.

References PaletteGPL().

◆ GetName()

const OUString & PaletteGPL::GetName ( )
overridevirtual

Implements Palette.

Definition at line 196 of file Palette.cxx.

References maGPLPaletteName.

◆ GetPath()

const OUString & PaletteGPL::GetPath ( )
overridevirtual

Implements Palette.

Definition at line 201 of file Palette.cxx.

References maFPath.

◆ IsValid()

bool PaletteGPL::IsValid ( )
overridevirtual

Implements Palette.

Definition at line 219 of file Palette.cxx.

References mbValidPalette.

◆ LoadColorSet()

void PaletteGPL::LoadColorSet ( SvxColorValueSet rColorSet)
overridevirtual

Implements Palette.

Definition at line 206 of file Palette.cxx.

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

◆ LoadPalette()

void PaletteGPL::LoadPalette ( )
private

◆ LoadPaletteHeader()

void PaletteGPL::LoadPaletteHeader ( )
private

Definition at line 246 of file Palette.cxx.

References maFPath, mbValidPalette, and ReadPaletteHeader().

Referenced by PaletteGPL().

◆ ReadPaletteHeader()

bool PaletteGPL::ReadPaletteHeader ( SvFileStream rFileStream)
private

Definition at line 224 of file Palette.cxx.

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

Referenced by LoadPalette(), and LoadPaletteHeader().

Member Data Documentation

◆ maColors

ColorList PaletteGPL::maColors
private

Definition at line 63 of file palettes.hxx.

Referenced by LoadColorSet(), and LoadPalette().

◆ maFName

OUString PaletteGPL::maFName
private

Definition at line 60 of file palettes.hxx.

Referenced by ReadPaletteHeader().

◆ maFPath

OUString PaletteGPL::maFPath
private

Definition at line 61 of file palettes.hxx.

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

◆ maGPLPaletteName

OUString PaletteGPL::maGPLPaletteName
private

Definition at line 62 of file palettes.hxx.

Referenced by GetName(), and ReadPaletteHeader().

◆ mbLoadedPalette

bool PaletteGPL::mbLoadedPalette
private

Definition at line 58 of file palettes.hxx.

Referenced by LoadPalette().

◆ mbValidPalette

bool PaletteGPL::mbValidPalette
private

Definition at line 59 of file palettes.hxx.

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


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