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 525 of file xistyle.hxx.

Constructor & Destructor Documentation

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

Extended XF index.

Definition at line 544 of file xistyle.hxx.

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

Definition at line 551 of file xistyle.hxx.

Member Function Documentation

bool XclImpXFRange::Contains ( SCROW  nScRow) const
inline

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

Definition at line 558 of file xistyle.hxx.

References mnScRow1, and mnScRow2.

Referenced by XclImpXFRangeColumn::SetXF().

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

Returns true, if the range has been expanded.

Definition at line 1687 of file xistyle.cxx.

References maXFIndex, mnScRow1, and mnScRow2.

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

bool XclImpXFRange::Expand ( const XclImpXFRange rNextRange)

Returns true, if the range has been expanded.

Definition at line 1706 of file xistyle.cxx.

References maXFIndex, mnScRow1, and mnScRow2.

Member Data Documentation

XclImpXFIndex XclImpXFRange::maXFIndex

The last row of an equal-formatted range.

Definition at line 530 of file xistyle.hxx.

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

SCROW XclImpXFRange::mnScRow1
SCROW XclImpXFRange::mnScRow2

The first row of an equal-formatted range.

Definition at line 529 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: