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

Stores settings and formatting data about a range of sheet columns. More...

#include <worksheethelper.hxx>

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

Public Member Functions

 ColumnModel ()
 True = column outline is collapsed. More...
 
bool isMergeable (const ColumnModel &rModel) const
 Returns true, if this entry can be merged with the passed column range (column settings are equal). More...
 

Public Attributes

ValueRange maRange
 
double mfWidth
 1-based (!) range of the described columns. More...
 
sal_Int32 mnXfId
 Column width in number of characters. More...
 
sal_Int32 mnLevel
 Column default formatting. More...
 
bool mbShowPhonetic:1
 Column outline level. More...
 
bool mbHidden:1
 True = cells in column show phonetic settings. More...
 
bool mbCollapsed:1
 True = column is hidden. More...
 

Detailed Description

Stores settings and formatting data about a range of sheet columns.

Definition at line 68 of file worksheethelper.hxx.

Constructor & Destructor Documentation

◆ ColumnModel()

oox::xls::ColumnModel::ColumnModel ( )
explicit

True = column outline is collapsed.

Definition at line 114 of file worksheethelper.cxx.

References maRange, and mnLevel.

Member Function Documentation

◆ isMergeable()

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

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

Definition at line 125 of file worksheethelper.cxx.

References maRange, mbCollapsed, mbHidden, mfWidth, oox::ValueRange::mnFirst, oox::ValueRange::mnLast, and mnLevel.

Member Data Documentation

◆ maRange

ValueRange oox::xls::ColumnModel::maRange

◆ mbCollapsed

bool oox::xls::ColumnModel::mbCollapsed

◆ mbHidden

bool oox::xls::ColumnModel::mbHidden

◆ mbShowPhonetic

bool oox::xls::ColumnModel::mbShowPhonetic

Column outline level.

Definition at line 74 of file worksheethelper.hxx.

Referenced by oox::xls::WorksheetFragment::importCol().

◆ mfWidth

double oox::xls::ColumnModel::mfWidth

◆ mnLevel

sal_Int32 oox::xls::ColumnModel::mnLevel

◆ mnXfId

sal_Int32 oox::xls::ColumnModel::mnXfId

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