LibreOffice Module sc (master) 1
Public Types | Public Member Functions | Public Attributes | List of all members
oox::xls::GradientFillModel Struct Reference

Contains XML gradient fill attributes from the gradientFill element. More...

#include <stylesbuffer.hxx>

Public Types

typedef ::std::map< double, ColorColorMap
 

Public Member Functions

 GradientFillModel ()
 Gradient colors. More...
 
void readGradient (SequenceInputStream &rStrm)
 Reads BIFF12 gradient settings from a FILL or DXF record. More...
 
void readGradientStop (SequenceInputStream &rStrm, bool bDxf)
 Reads BIFF12 gradient stop settings from a FILL or DXF record. More...
 

Public Attributes

sal_Int32 mnType
 
double mfAngle
 Gradient type, linear or path. More...
 
double mfLeft
 Rotation angle for type linear. More...
 
double mfRight
 Left convergence for type path. More...
 
double mfTop
 Right convergence for type path. More...
 
double mfBottom
 Top convergence for type path. More...
 
ColorMap maColors
 Bottom convergence for type path. More...
 

Detailed Description

Contains XML gradient fill attributes from the gradientFill element.

Definition at line 491 of file stylesbuffer.hxx.

Member Typedef Documentation

◆ ColorMap

Definition at line 493 of file stylesbuffer.hxx.

Constructor & Destructor Documentation

◆ GradientFillModel()

oox::xls::GradientFillModel::GradientFillModel ( )
explicit

Gradient colors.

Definition at line 1650 of file stylesbuffer.cxx.

Member Function Documentation

◆ readGradient()

void oox::xls::GradientFillModel::readGradient ( SequenceInputStream rStrm)

Reads BIFF12 gradient settings from a FILL or DXF record.

Definition at line 1660 of file stylesbuffer.cxx.

References mfAngle, mfBottom, mfLeft, mfRight, mfTop, mnType, nType, rStrm, STATIC_ARRAY_SELECT, and XML_TOKEN_INVALID.

◆ readGradientStop()

void oox::xls::GradientFillModel::readGradientStop ( SequenceInputStream rStrm,
bool  bDxf 
)

Reads BIFF12 gradient stop settings from a FILL or DXF record.

Definition at line 1673 of file stylesbuffer.cxx.

References maColors, and rStrm.

Member Data Documentation

◆ maColors

ColorMap oox::xls::GradientFillModel::maColors

Bottom convergence for type path.

Definition at line 501 of file stylesbuffer.hxx.

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

◆ mfAngle

double oox::xls::GradientFillModel::mfAngle

Gradient type, linear or path.

Definition at line 496 of file stylesbuffer.hxx.

Referenced by readGradient().

◆ mfBottom

double oox::xls::GradientFillModel::mfBottom

Top convergence for type path.

Definition at line 500 of file stylesbuffer.hxx.

Referenced by readGradient().

◆ mfLeft

double oox::xls::GradientFillModel::mfLeft

Rotation angle for type linear.

Definition at line 497 of file stylesbuffer.hxx.

Referenced by readGradient().

◆ mfRight

double oox::xls::GradientFillModel::mfRight

Left convergence for type path.

Definition at line 498 of file stylesbuffer.hxx.

Referenced by readGradient().

◆ mfTop

double oox::xls::GradientFillModel::mfTop

Right convergence for type path.

Definition at line 499 of file stylesbuffer.hxx.

Referenced by readGradient().

◆ mnType

sal_Int32 oox::xls::GradientFillModel::mnType

Definition at line 495 of file stylesbuffer.hxx.

Referenced by readGradient().


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