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 484 of file stylesbuffer.hxx.

Member Typedef Documentation

Definition at line 486 of file stylesbuffer.hxx.

Constructor & Destructor Documentation

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

Gradient colors.

Definition at line 1633 of file stylesbuffer.cxx.

Member Function Documentation

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

Reads BIFF12 gradient settings from a FILL or DXF record.

Definition at line 1643 of file stylesbuffer.cxx.

References mfAngle, mfBottom, mfLeft, mfRight, mfTop, mnType, nType, oox::BinaryInputStream::readDouble(), oox::BinaryInputStream::readInt32(), STATIC_ARRAY_SELECT, and XML_TOKEN_INVALID.

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

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

Definition at line 1656 of file stylesbuffer.cxx.

References oox::BinaryStreamBase::isEof(), maColors, oox::BinaryInputStream::readDouble(), and oox::SequenceInputStream::skip().

Member Data Documentation

ColorMap oox::xls::GradientFillModel::maColors

Bottom convergence for type path.

Definition at line 494 of file stylesbuffer.hxx.

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

double oox::xls::GradientFillModel::mfAngle

Gradient type, linear or path.

Definition at line 489 of file stylesbuffer.hxx.

Referenced by readGradient().

double oox::xls::GradientFillModel::mfBottom

Top convergence for type path.

Definition at line 493 of file stylesbuffer.hxx.

Referenced by readGradient().

double oox::xls::GradientFillModel::mfLeft

Rotation angle for type linear.

Definition at line 490 of file stylesbuffer.hxx.

Referenced by readGradient().

double oox::xls::GradientFillModel::mfRight

Left convergence for type path.

Definition at line 491 of file stylesbuffer.hxx.

Referenced by readGradient().

double oox::xls::GradientFillModel::mfTop

Right convergence for type path.

Definition at line 492 of file stylesbuffer.hxx.

Referenced by readGradient().

sal_Int32 oox::xls::GradientFillModel::mnType

Definition at line 488 of file stylesbuffer.hxx.

Referenced by readGradient().


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