LibreOffice Module sc (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
ScRowFormatRanges Class Reference

#include <XMLStylesExportHelper.hxx>

Public Member Functions

 ScRowFormatRanges ()
 
 ScRowFormatRanges (const ScRowFormatRanges *pRanges)
 
 ~ScRowFormatRanges ()
 
void SetColDefaults (const ScMyDefaultStyleList *pDefaults)
 
void Clear ()
 
void AddRange (const ScMyRowFormatRange &rFormatRange)
 
bool GetNext (ScMyRowFormatRange &rFormatRange)
 
sal_Int32 GetMaxRows () const
 
sal_Int32 GetSize () const
 
void Sort ()
 

Private Types

typedef std::list< ScMyRowFormatRangeScMyRowFormatRangesList
 

Private Member Functions

void AddRange (const sal_Int32 nPrevStartCol, const sal_Int32 nRepeat, const sal_Int32 nPrevIndex, const bool bPrevAutoStyle, const ScMyRowFormatRange &rFormatRange)
 

Private Attributes

ScMyRowFormatRangesList aRowFormatRanges
 
const ScMyDefaultStyleListpColDefaults
 
sal_uInt32 nSize
 

Detailed Description

Definition at line 121 of file XMLStylesExportHelper.hxx.

Member Typedef Documentation

◆ ScMyRowFormatRangesList

Definition at line 123 of file XMLStylesExportHelper.hxx.

Constructor & Destructor Documentation

◆ ScRowFormatRanges() [1/2]

ScRowFormatRanges::ScRowFormatRanges ( )

Definition at line 484 of file XMLStylesExportHelper.cxx.

◆ ScRowFormatRanges() [2/2]

ScRowFormatRanges::ScRowFormatRanges ( const ScRowFormatRanges pRanges)
explicit

Definition at line 490 of file XMLStylesExportHelper.cxx.

◆ ~ScRowFormatRanges()

ScRowFormatRanges::~ScRowFormatRanges ( )

Definition at line 497 of file XMLStylesExportHelper.cxx.

Member Function Documentation

◆ AddRange() [1/2]

void ScRowFormatRanges::AddRange ( const sal_Int32  nPrevStartCol,
const sal_Int32  nRepeat,
const sal_Int32  nPrevIndex,
const bool  bPrevAutoStyle,
const ScMyRowFormatRange rFormatRange 
)
private

◆ AddRange() [2/2]

void ScRowFormatRanges::AddRange ( const ScMyRowFormatRange rFormatRange)

◆ Clear()

void ScRowFormatRanges::Clear ( )

Definition at line 501 of file XMLStylesExportHelper.cxx.

References aRowFormatRanges, and nSize.

◆ GetMaxRows()

sal_Int32 ScRowFormatRanges::GetMaxRows ( ) const

Definition at line 612 of file XMLStylesExportHelper.cxx.

References a, and aRowFormatRanges.

◆ GetNext()

bool ScRowFormatRanges::GetNext ( ScMyRowFormatRange rFormatRange)

Definition at line 599 of file XMLStylesExportHelper.cxx.

References aRowFormatRanges, and nSize.

◆ GetSize()

sal_Int32 ScRowFormatRanges::GetSize ( ) const
inline

Definition at line 141 of file XMLStylesExportHelper.hxx.

References nSize.

◆ SetColDefaults()

void ScRowFormatRanges::SetColDefaults ( const ScMyDefaultStyleList pDefaults)
inline

Definition at line 136 of file XMLStylesExportHelper.hxx.

References pColDefaults.

◆ Sort()

void ScRowFormatRanges::Sort ( )

Definition at line 628 of file XMLStylesExportHelper.cxx.

References aRowFormatRanges.

Referenced by ScFormatRangeStyles::GetFormatRanges().

Member Data Documentation

◆ aRowFormatRanges

ScMyRowFormatRangesList ScRowFormatRanges::aRowFormatRanges
private

Definition at line 124 of file XMLStylesExportHelper.hxx.

Referenced by AddRange(), Clear(), GetMaxRows(), GetNext(), and Sort().

◆ nSize

sal_uInt32 ScRowFormatRanges::nSize
private

Definition at line 126 of file XMLStylesExportHelper.hxx.

Referenced by AddRange(), Clear(), GetNext(), and GetSize().

◆ pColDefaults

const ScMyDefaultStyleList* ScRowFormatRanges::pColDefaults
private

Definition at line 125 of file XMLStylesExportHelper.hxx.

Referenced by AddRange(), and SetColDefaults().


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