LibreOffice Module sc (master)  1
Public Member Functions | List of all members
oox::xls::Color Class Reference

#include <stylesbuffer.hxx>

Inheritance diagram for oox::xls::Color:
Collaboration diagram for oox::xls::Color:

Public Member Functions

void setAuto ()
 Sets the color to automatic. More...
void setRgb (::Color nRgbValue, double fTint=0.0)
 Sets the color to the passed RGB value. More...
void setTheme (sal_Int32 nThemeIdx, double fTint=0.0)
 Sets the color to the passed theme index. More...
void setIndexed (sal_Int32 nPaletteIdx, double fTint=0.0)
 Sets the color to the passed palette index. More...
void importColor (const AttributeList &rAttribs)
 Imports the color from the passed attribute list. More...
void importColor (SequenceInputStream &rStrm)
 Imports a 64-bit color from the passed binary stream. More...
void importColorId (SequenceInputStream &rStrm)
 Imports a 32-bit palette color identifier from the passed BIFF12 stream. More...
bool isAuto () const
 Returns true, if the color is set to automatic. More...
- Public Member Functions inherited from oox::drawingml::Color
 Color ()
void setUnused ()
void setSrgbClr (sal_Int32 nRgb)
void setSrgbClr (::Color nRgb)
void setScrgbClr (sal_Int32 nR, sal_Int32 nG, sal_Int32 nB)
void setHslClr (sal_Int32 nHue, sal_Int32 nSat, sal_Int32 nLum)
void setPrstClr (sal_Int32 nToken)
void setHighlight (sal_Int32 nToken)
void setSchemeClr (sal_Int32 nToken)
void setSchemeName (const OUString &sSchemeName)
void setSysClr (sal_Int32 nToken, sal_Int32 nLastRgb)
void setPaletteClr (sal_Int32 nPaletteIdx)
void addTransformation (sal_Int32 nElement, sal_Int32 nValue=-1)
void addChartTintTransformation (double fTint)
void addExcelTintTransformation (double fTint)
void clearTransformations ()
void clearTransparence ()
void assignIfUsed (const Color &rColor)
bool isUsed () const
bool isPlaceHolder () const
::Color getColor (const GraphicHelper &rGraphicHelper,::Color nPhClr=API_RGB_TRANSPARENT) const
bool hasTransparency () const
sal_Int16 getTransparency () const
const OUString & getSchemeName () const
const css::uno::Sequence< css::beans::PropertyValue > & getTransformations () const
bool equals (const Color &rOther, const GraphicHelper &rGraphicHelper,::Color nPhClr) const

Additional Inherited Members

- Static Public Member Functions inherited from oox::drawingml::Color
::Color getDmlPresetColor (sal_Int32 nToken,::Color nDefaultRgb)
::Color getVmlPresetColor (sal_Int32 nToken,::Color nDefaultRgb)
::Color getHighlightColor (sal_Int32 nToken,::Color nDefaultRgb)
static OUString getColorTransformationName (sal_Int32 nElement)
static sal_Int32 getColorTransformationToken (const OUString &sName)

Detailed Description

Definition at line 87 of file stylesbuffer.hxx.

Member Function Documentation

void Color::importColor ( const AttributeList rAttribs)
void Color::importColor ( SequenceInputStream rStrm)
void Color::importColorId ( SequenceInputStream rStrm)

Imports a 32-bit palette color identifier from the passed BIFF12 stream.

Definition at line 332 of file stylesbuffer.cxx.

References oox::BinaryInputStream::readInt32(), and setIndexed().

Referenced by oox::xls::SheetViewSettings::importSheetView().

bool oox::xls::Color::isAuto ( ) const

Returns true, if the color is set to automatic.

Definition at line 108 of file stylesbuffer.hxx.

References oox::drawingml::Color::isPlaceHolder().

Referenced by oox::xls::WorksheetSettings::finalizeImport().

void Color::setAuto ( )

Sets the color to automatic.

Definition at line 244 of file stylesbuffer.cxx.

References oox::drawingml::Color::clearTransformations(), and oox::drawingml::Color::setSchemeClr().

Referenced by oox::xls::Fill::finalizeImport(), and importColor().

void Color::setIndexed ( sal_Int32  nPaletteIdx,
double  fTint = 0.0 
void Color::setRgb ( ::Color  nRgbValue,
double  fTint = 0.0 
void Color::setTheme ( sal_Int32  nThemeIdx,
double  fTint = 0.0 

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