23#include <rtl/ustring.hxx>
96 const OUString* pStyleName,
const sal_Int16 nCellType,
103 void InsertCol(
const sal_Int32 nCol,
const sal_Int32 nTab);
116 std::optional<OUString>
118 std::optional<OUString>
120 std::optional<OUString>
122 std::optional<OUString>
130 ScMyStylesMap::iterator
GetIterator(
const OUString & rStyleName);
137 void AddColumnStyle(
const OUString& rStyleName,
const sal_Int32 nColumn,
const sal_Int32 nRepeat);
143 void InsertCol(
const sal_Int32 nCol,
const sal_Int32 nTab);
std::map< OUString, ScMyStyleRanges > ScMyStylesMap
map from style name to ScMyStyleRanges
std::set< ScMyCurrencyStyle, LessCurrencyStyle > ScMyCurrencyStylesSet
std::set< ScMyStyleNumberFormat, LessStyleNumberFormat > ScMyStyleNumberFormatSet
void AddRange(const ScRange &rRange, const sal_Int16 nType)
static void SetStylesToRanges(const ScRangeList &rList, const OUString *pStyleName, const sal_Int16 nCellType, const OUString *pCurrency, ScXMLImport &rImport)
std::shared_ptr< ScRangeList > mpLogicalList
std::shared_ptr< ScRangeList > mpTextList
std::shared_ptr< ScRangeList > mpDateTimeList
std::unique_ptr< ScMyCurrencyStylesSet > pCurrencyList
void AddCurrencyRange(const ScRange &rRange, const std::optional< OUString > &pCurrency)
std::shared_ptr< ScRangeList > mpPercentList
std::shared_ptr< ScRangeList > mpUndefinedList
std::shared_ptr< ScRangeList > mpTimeList
std::shared_ptr< ScRangeList > mpNumberList
void InsertCol(const sal_Int32 nCol, const sal_Int32 nTab)
ScMyStylesMap::iterator aRowDefaultStyle
void AddDefaultRange(const ScRange &rRange)
void AddSingleRange(const ScRange &rRange)
std::optional< OUString > pStyleName
std::optional< OUString > pCurrency
void AddColumnStyle(const OUString &rStyleName, const sal_Int32 nColumn, const sal_Int32 nRepeat)
void InsertCol(const sal_Int32 nCol, const sal_Int32 nTab)
void SetRowStyle(const OUString &rStyleName)
void SetAttributes(std::optional< OUString > pStyleName, std::optional< OUString > pCurrency, const sal_Int16 nCellType)
ScMyStylesMap aCellStyles
std::optional< OUString > pPrevCurrency
std::optional< OUString > pPrevStyleName
ScMyStylesMap::iterator GetIterator(const OUString &rStyleName)
ScMyStylesImportHelper(ScXMLImport &rImport)
~ScMyStylesImportHelper()
std::vector< ScMyStylesMap::iterator > aColDefaultStyles
void AddCell(const ScAddress &rAddress)
std::shared_ptr< T > make_shared(Args &&... args)
bool operator()(const ScMyCurrencyStyle &rValue1, const ScMyCurrencyStyle &rValue2) const
std::shared_ptr< ScRangeList > mpRanges