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

#include <XMLStylesExportHelper.hxx>

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

Public Member Functions

 ScColumnStyles ()
 
virtual ~ScColumnStyles () override
 
virtual void AddNewTable (const sal_Int32 nTable, const sal_Int32 nFields) override
 
sal_Int32 GetStyleNameIndex (const sal_Int32 nTable, const sal_Int32 nField, bool &bIsVisible)
 
void AddFieldStyleName (const sal_Int32 nTable, const sal_Int32 nField, const sal_Int32 nStringIndex, const bool bIsVisible)
 
- Public Member Functions inherited from ScColumnRowStylesBase
 ScColumnRowStylesBase ()
 
virtual ~ScColumnRowStylesBase ()
 
virtual void AddNewTable (const sal_Int32 nTable, const sal_Int32 nFields)=0
 
sal_Int32 AddStyleName (const OUString &rString)
 
sal_Int32 GetIndexOfStyleName (std::u16string_view rString, std::u16string_view rPrefix)
 
OUString & GetStyleNameByIndex (const sal_Int32 nIndex)
 

Private Types

typedef std::vector< ScColumnStyleScMyColumnStyleVec
 
typedef std::vector< ScMyColumnStyleVecScMyColumnVectorVec
 

Private Attributes

ScMyColumnVectorVec aTables
 

Detailed Description

Definition at line 212 of file XMLStylesExportHelper.hxx.

Member Typedef Documentation

◆ ScMyColumnStyleVec

typedef std::vector<ScColumnStyle> ScColumnStyles::ScMyColumnStyleVec
private

Definition at line 214 of file XMLStylesExportHelper.hxx.

◆ ScMyColumnVectorVec

Definition at line 215 of file XMLStylesExportHelper.hxx.

Constructor & Destructor Documentation

◆ ScColumnStyles()

ScColumnStyles::ScColumnStyles ( )

Definition at line 947 of file XMLStylesExportHelper.cxx.

◆ ~ScColumnStyles()

ScColumnStyles::~ScColumnStyles ( )
overridevirtual

Definition at line 951 of file XMLStylesExportHelper.cxx.

Member Function Documentation

◆ AddFieldStyleName()

void ScColumnStyles::AddFieldStyleName ( const sal_Int32  nTable,
const sal_Int32  nField,
const sal_Int32  nStringIndex,
const bool  bIsVisible 
)

◆ AddNewTable()

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

Implements ScColumnRowStylesBase.

Definition at line 955 of file XMLStylesExportHelper.cxx.

References aTables, and i.

◆ GetStyleNameIndex()

sal_Int32 ScColumnStyles::GetStyleNameIndex ( const sal_Int32  nTable,
const sal_Int32  nField,
bool &  bIsVisible 
)

Definition at line 966 of file XMLStylesExportHelper.cxx.

References aTables, o3tl::make_unsigned(), and size.

Member Data Documentation

◆ aTables

ScMyColumnVectorVec ScColumnStyles::aTables
private

Definition at line 216 of file XMLStylesExportHelper.hxx.

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


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