LibreOffice Module sc (master)  1
Classes | Public Member Functions | Private Types | Private Attributes | List of all members
ScRowStyles Class Reference

#include <XMLStylesExportHelper.hxx>

Inheritance diagram for ScRowStyles:
[legend]
Collaboration diagram for ScRowStyles:
[legend]

Classes

struct  Cache
 

Public Member Functions

 ScRowStyles ()
 
virtual ~ScRowStyles () override
 
virtual void AddNewTable (const sal_Int32 nTable, const sal_Int32 nFields) override
 
sal_Int32 GetStyleNameIndex (const sal_Int32 nTable, const sal_Int32 nField)
 
void AddFieldStyleName (const sal_Int32 nTable, const sal_Int32 nField, const sal_Int32 nStringIndex)
 
void AddFieldStyleName (const sal_Int32 nTable, const sal_Int32 nStartField, const sal_Int32 nStringIndex, const sal_Int32 nEndField)
 
- Public Member Functions inherited from ScColumnRowStylesBase
 ScColumnRowStylesBase ()
 
virtual ~ScColumnRowStylesBase ()
 
sal_Int32 AddStyleName (const OUString &rString)
 
sal_Int32 GetIndexOfStyleName (const OUString &rString, const OUString &rPrefix)
 
OUString & GetStyleNameByIndex (const sal_Int32 nIndex)
 

Private Types

typedef ::mdds::flat_segment_tree< sal_Int32, sal_Int32 > StylesType
 

Private Attributes

std::vector< std::unique_ptr< StylesType > > aTables
 
Cache maCache
 

Detailed Description

Definition at line 229 of file XMLStylesExportHelper.hxx.

Member Typedef Documentation

typedef ::mdds::flat_segment_tree<sal_Int32, sal_Int32> ScRowStyles::StylesType
private

Definition at line 231 of file XMLStylesExportHelper.hxx.

Constructor & Destructor Documentation

ScRowStyles::ScRowStyles ( )

Definition at line 1027 of file XMLStylesExportHelper.cxx.

ScRowStyles::~ScRowStyles ( )
overridevirtual

Definition at line 1032 of file XMLStylesExportHelper.cxx.

Member Function Documentation

void ScRowStyles::AddFieldStyleName ( const sal_Int32  nTable,
const sal_Int32  nField,
const sal_Int32  nStringIndex 
)

Definition at line 1074 of file XMLStylesExportHelper.cxx.

References aTables, and o3tl::make_unsigned().

void ScRowStyles::AddFieldStyleName ( const sal_Int32  nTable,
const sal_Int32  nStartField,
const sal_Int32  nStringIndex,
const sal_Int32  nEndField 
)

Definition at line 1082 of file XMLStylesExportHelper.cxx.

References aTables, and o3tl::make_unsigned().

void ScRowStyles::AddNewTable ( const sal_Int32  nTable,
const sal_Int32  nFields 
)
overridevirtual

Implements ScColumnRowStylesBase.

Definition at line 1036 of file XMLStylesExportHelper.cxx.

References aTables, and i.

sal_Int32 ScRowStyles::GetStyleNameIndex ( const sal_Int32  nTable,
const sal_Int32  nField 
)

Member Data Documentation

std::vector<std::unique_ptr<StylesType> > ScRowStyles::aTables
private

Definition at line 232 of file XMLStylesExportHelper.hxx.

Referenced by AddFieldStyleName(), AddNewTable(), and GetStyleNameIndex().

Cache ScRowStyles::maCache
private

Definition at line 243 of file XMLStylesExportHelper.hxx.

Referenced by GetStyleNameIndex().


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