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 86 of file worksheethelper.hxx.

Constructor & Destructor Documentation

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

True = row has extra space below text.

Definition at line 121 of file worksheethelper.cxx.

References mnLevel.

Member Function Documentation

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

Inserts the passed column span into the row model.

Definition at line 136 of file worksheethelper.cxx.

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

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

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 142 of file worksheethelper.cxx.

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

Member Data Documentation

ValueRangeSet oox::xls::RowModel::maColSpans

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

Definition at line 89 of file worksheethelper.hxx.

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

bool oox::xls::RowModel::mbCollapsed
bool oox::xls::RowModel::mbCustomFormat
bool oox::xls::RowModel::mbCustomHeight
bool oox::xls::RowModel::mbHidden
bool oox::xls::RowModel::mbShowPhonetic

True = cells in row have explicit formatting.

Definition at line 95 of file worksheethelper.hxx.

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

bool oox::xls::RowModel::mbThickBottom

True = row has extra space above text.

Definition at line 99 of file worksheethelper.hxx.

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

bool oox::xls::RowModel::mbThickTop

True = row outline is collapsed.

Definition at line 98 of file worksheethelper.hxx.

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

double oox::xls::RowModel::mfHeight
sal_Int32 oox::xls::RowModel::mnLevel
sal_Int32 oox::xls::RowModel::mnRow
sal_Int32 oox::xls::RowModel::mnXfId

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