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

Contains attributes of a cell style, e.g. More...

#include <stylesbuffer.hxx>

Public Member Functions

 CellStyleModel ()
 True = style not visible in GUI. More...
 
bool isBuiltin () const
 Returns true, if this style is a builtin style. More...
 
bool isDefaultStyle () const
 Returns true, if this style represents the default document cell style. More...
 

Public Attributes

OUString maName
 
sal_Int32 mnXfId
 Cell style name. More...
 
sal_Int32 mnBuiltinId
 Formatting for this cell style. More...
 
sal_Int32 mnLevel
 Identifier for builtin styles. More...
 
bool mbBuiltin
 Level for builtin column/row styles. More...
 
bool mbCustom
 True = builtin style. More...
 
bool mbHidden
 True = customized builtin style. More...
 

Detailed Description

Contains attributes of a cell style, e.g.

from the cellStyle element.

Definition at line 696 of file stylesbuffer.hxx.

Constructor & Destructor Documentation

◆ CellStyleModel()

oox::xls::CellStyleModel::CellStyleModel ( )
explicit

True = style not visible in GUI.

Definition at line 2492 of file stylesbuffer.cxx.

References mnLevel.

Member Function Documentation

◆ isBuiltin()

bool oox::xls::CellStyleModel::isBuiltin ( ) const

Returns true, if this style is a builtin style.

Definition at line 2502 of file stylesbuffer.cxx.

References mbBuiltin, and mnBuiltinId.

Referenced by oox::xls::CellStyle::finalizeImport(), and oox::xls::CellStyleBuffer::insertCellStyle().

◆ isDefaultStyle()

bool oox::xls::CellStyleModel::isDefaultStyle ( ) const

Returns true, if this style represents the default document cell style.

Definition at line 2507 of file stylesbuffer.cxx.

References mbBuiltin, and mnBuiltinId.

Referenced by oox::xls::CellStyle::createCellStyle(), oox::xls::CellStyleBuffer::finalizeImport(), and oox::xls::CellStyleBuffer::insertCellStyle().

Member Data Documentation

◆ maName

OUString oox::xls::CellStyleModel::maName

Definition at line 698 of file stylesbuffer.hxx.

Referenced by oox::xls::CellStyle::importCellStyle().

◆ mbBuiltin

bool oox::xls::CellStyleModel::mbBuiltin

Level for builtin column/row styles.

Definition at line 702 of file stylesbuffer.hxx.

Referenced by oox::xls::CellStyle::importCellStyle(), isBuiltin(), and isDefaultStyle().

◆ mbCustom

bool oox::xls::CellStyleModel::mbCustom

True = builtin style.

Definition at line 703 of file stylesbuffer.hxx.

Referenced by oox::xls::CellStyle::finalizeImport(), and oox::xls::CellStyle::importCellStyle().

◆ mbHidden

bool oox::xls::CellStyleModel::mbHidden

True = customized builtin style.

Definition at line 704 of file stylesbuffer.hxx.

Referenced by oox::xls::CellStyle::importCellStyle().

◆ mnBuiltinId

sal_Int32 oox::xls::CellStyleModel::mnBuiltinId

Formatting for this cell style.

Definition at line 700 of file stylesbuffer.hxx.

Referenced by oox::xls::CellStyle::importCellStyle(), isBuiltin(), and isDefaultStyle().

◆ mnLevel

sal_Int32 oox::xls::CellStyleModel::mnLevel

Identifier for builtin styles.

Definition at line 701 of file stylesbuffer.hxx.

Referenced by oox::xls::CellStyle::importCellStyle().

◆ mnXfId

sal_Int32 oox::xls::CellStyleModel::mnXfId

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