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

Contains an (encoded) XF index for a range of rows in a single column. More...

#include <xistyle.hxx>

Collaboration diagram for XclImpXFRange:
[legend]

Public Member Functions

 XclImpXFRange (SCROW nScRow, const XclImpXFIndex &rXFIndex)
 Extended XF index. More...
 
 XclImpXFRange (SCROW nFirstScRow, SCROW nLastScRow, const XclImpXFIndex &rXFIndex)
 
bool Contains (SCROW nScRow) const
 Returns true, if nScRow is contained in own row range. More...
 
bool Expand (SCROW nScRow, const XclImpXFIndex &rXFIndex)
 Returns true, if the range has been expanded. More...
 
bool Expand (const XclImpXFRange &rNextRange)
 Returns true, if the range has been expanded. More...
 

Public Attributes

SCROW mnScRow1
 
SCROW mnScRow2
 The first row of an equal-formatted range. More...
 
XclImpXFIndex maXFIndex
 The last row of an equal-formatted range. More...
 

Detailed Description

Contains an (encoded) XF index for a range of rows in a single column.

Definition at line 526 of file xistyle.hxx.

Constructor & Destructor Documentation

◆ XclImpXFRange() [1/2]

XclImpXFRange::XclImpXFRange ( SCROW  nScRow,
const XclImpXFIndex rXFIndex 
)
inlineexplicit

Extended XF index.

Definition at line 545 of file xistyle.hxx.

◆ XclImpXFRange() [2/2]

XclImpXFRange::XclImpXFRange ( SCROW  nFirstScRow,
SCROW  nLastScRow,
const XclImpXFIndex rXFIndex 
)
inlineexplicit

Definition at line 552 of file xistyle.hxx.

Member Function Documentation

◆ Contains()

bool XclImpXFRange::Contains ( SCROW  nScRow) const
inline

Returns true, if nScRow is contained in own row range.

Definition at line 559 of file xistyle.hxx.

References mnScRow1, and mnScRow2.

Referenced by XclImpXFRangeColumn::SetXF().

◆ Expand() [1/2]

bool XclImpXFRange::Expand ( const XclImpXFRange rNextRange)

Returns true, if the range has been expanded.

Definition at line 1708 of file xistyle.cxx.

References maXFIndex, mnScRow1, and mnScRow2.

◆ Expand() [2/2]

bool XclImpXFRange::Expand ( SCROW  nScRow,
const XclImpXFIndex rXFIndex 
)

Returns true, if the range has been expanded.

Definition at line 1689 of file xistyle.cxx.

References maXFIndex, mnScRow1, and mnScRow2.

Referenced by XclImpXFRangeColumn::SetXF(), and XclImpXFRangeColumn::TryConcatPrev().

Member Data Documentation

◆ maXFIndex

XclImpXFIndex XclImpXFRange::maXFIndex

The last row of an equal-formatted range.

Definition at line 531 of file xistyle.hxx.

Referenced by Expand(), XclImpXFRangeBuffer::Finalize(), and XclImpXFRangeColumn::SetXF().

◆ mnScRow1

SCROW XclImpXFRange::mnScRow1

◆ mnScRow2

SCROW XclImpXFRange::mnScRow2

The first row of an equal-formatted range.

Definition at line 530 of file xistyle.hxx.

Referenced by Contains(), Expand(), XclImpXFRangeBuffer::Finalize(), XclImpXFRangeColumn::Find(), and XclImpXFRangeColumn::SetXF().


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