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

Stores settings and formatting data about a sheet row. More...

#include <worksheethelper.hxx>

Collaboration diagram for oox::xls::RowModel:
[legend]

Public Member Functions

 RowModel ()
 True = row has extra space below text. More...
 
void insertColSpan (const ValueRange &rColSpan)
 Inserts the passed column span into the row model. More...
 
bool isMergeable (const RowModel &rModel) const
 Returns true, if this entry can be merged with the passed row range (row settings are equal). More...
 

Public Attributes

sal_Int32 mnRow
 
ValueRangeSet maColSpans
 1-based (!) index of the described row. More...
 
double mfHeight
 0-based (!) column ranges of used cells. More...
 
sal_Int32 mnXfId
 Row height in points. More...
 
sal_Int32 mnLevel
 Row default formatting (see mbIsFormatted). More...
 
bool mbCustomHeight:1
 Row outline level. More...
 
bool mbCustomFormat:1
 True = row has custom height. More...
 
bool mbShowPhonetic:1
 True = cells in row have explicit formatting. More...
 
bool mbHidden:1
 True = cells in row show phonetic settings. More...
 
bool mbCollapsed:1
 True = row is hidden. More...
 
bool mbThickTop:1
 True = row outline is collapsed. More...
 
bool mbThickBottom:1
 True = row has extra space above text. More...
 

Detailed Description

Stores settings and formatting data about a sheet row.

Definition at line 85 of file worksheethelper.hxx.

Constructor & Destructor Documentation

◆ RowModel()

oox::xls::RowModel::RowModel ( )
explicit

True = row has extra space below text.

Definition at line 136 of file worksheethelper.cxx.

References mnLevel.

Member Function Documentation

◆ insertColSpan()

void oox::xls::RowModel::insertColSpan ( const ValueRange rColSpan)

Inserts the passed column span into the row model.

Definition at line 151 of file worksheethelper.cxx.

References oox::ValueRangeSet::insert(), maColSpans, oox::ValueRange::mnFirst, and oox::ValueRange::mnLast.

Referenced by oox::xls::SheetDataContext::importRow().

◆ isMergeable()

bool oox::xls::RowModel::isMergeable ( const RowModel rModel) const

Returns true, if this entry can be merged with the passed row range (row settings are equal).

Definition at line 157 of file worksheethelper.cxx.

References mbCollapsed, mbCustomHeight, mbHidden, mfHeight, and mnLevel.

Member Data Documentation

◆ maColSpans

ValueRangeSet oox::xls::RowModel::maColSpans

1-based (!) index of the described row.

Definition at line 88 of file worksheethelper.hxx.

Referenced by insertColSpan(), and oox::xls::WorksheetGlobals::setRowModel().

◆ mbCollapsed

bool oox::xls::RowModel::mbCollapsed

◆ mbCustomFormat

bool oox::xls::RowModel::mbCustomFormat

◆ mbCustomHeight

bool oox::xls::RowModel::mbCustomHeight

◆ mbHidden

bool oox::xls::RowModel::mbHidden

◆ mbShowPhonetic

bool oox::xls::RowModel::mbShowPhonetic

True = cells in row have explicit formatting.

Definition at line 94 of file worksheethelper.hxx.

Referenced by oox::xls::SheetDataContext::importRow(), and oox::xls::WorksheetGlobals::WorksheetGlobals().

◆ mbThickBottom

bool oox::xls::RowModel::mbThickBottom

True = row has extra space above text.

Definition at line 98 of file worksheethelper.hxx.

Referenced by oox::xls::SheetDataContext::importRow(), and oox::xls::WorksheetGlobals::setDefaultRowSettings().

◆ mbThickTop

bool oox::xls::RowModel::mbThickTop

True = row outline is collapsed.

Definition at line 97 of file worksheethelper.hxx.

Referenced by oox::xls::SheetDataContext::importRow(), and oox::xls::WorksheetGlobals::setDefaultRowSettings().

◆ mfHeight

double oox::xls::RowModel::mfHeight

◆ mnLevel

sal_Int32 oox::xls::RowModel::mnLevel

◆ mnRow

sal_Int32 oox::xls::RowModel::mnRow

◆ mnXfId

sal_Int32 oox::xls::RowModel::mnXfId

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