LibreOffice Module sc (master) 1
|
#include <XMLStylesExportHelper.hxx>
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 () |
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 ::mdds::flat_segment_tree< sal_Int32, sal_Int32 > | StylesType |
Private Attributes | |
std::vector< std::unique_ptr< StylesType > > | aTables |
Cache | maCache |
Definition at line 228 of file XMLStylesExportHelper.hxx.
|
private |
Definition at line 230 of file XMLStylesExportHelper.hxx.
ScRowStyles::ScRowStyles | ( | ) |
Definition at line 1003 of file XMLStylesExportHelper.cxx.
|
overridevirtual |
Definition at line 1007 of file XMLStylesExportHelper.cxx.
void ScRowStyles::AddFieldStyleName | ( | const sal_Int32 | nTable, |
const sal_Int32 | nField, | ||
const sal_Int32 | nStringIndex | ||
) |
Definition at line 1049 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 1057 of file XMLStylesExportHelper.cxx.
References aTables, and o3tl::make_unsigned().
|
overridevirtual |
Implements ScColumnRowStylesBase.
Definition at line 1011 of file XMLStylesExportHelper.cxx.
sal_Int32 ScRowStyles::GetStyleNameIndex | ( | const sal_Int32 | nTable, |
const sal_Int32 | nField | ||
) |
Definition at line 1021 of file XMLStylesExportHelper.cxx.
References aTables, ScRowStyles::Cache::hasCache(), maCache, o3tl::make_unsigned(), ScRowStyles::Cache::mnEnd, ScRowStyles::Cache::mnStart, ScRowStyles::Cache::mnStyle, and ScRowStyles::Cache::mnTable.
|
private |
Definition at line 231 of file XMLStylesExportHelper.hxx.
Referenced by AddFieldStyleName(), AddNewTable(), and GetStyleNameIndex().
|
private |
Definition at line 242 of file XMLStylesExportHelper.hxx.
Referenced by GetStyleNameIndex().