23 #include <rtl/ustring.hxx>
39 sStyleName(rStyleName), nNumberFormat(-1) {}
41 sStyleName(rStyleName), nNumberFormat(nFormat) {}
95 const OUString* pStyleName,
const sal_Int16 nCellType,
102 void InsertCol(
const sal_Int32 nCol,
const sal_Int32 nTab);
115 std::optional<OUString>
117 std::optional<OUString>
119 std::optional<OUString>
121 std::optional<OUString>
129 ScMyStylesMap::iterator
GetIterator(
const OUString & rStyleName);
136 void AddColumnStyle(
const OUString& rStyleName,
const sal_Int32 nColumn,
const sal_Int32 nRepeat);
139 std::optional<OUString>
pCurrency,
const sal_Int16 nCellType);
142 void InsertCol(
const sal_Int32 nCol,
const sal_Int32 nTab);
void InsertCol(const sal_Int32 nCol, const sal_Int32 nTab)
void AddCell(const ScAddress &rAddress)
void AddRange(const ScRange &rRange, const sal_Int16 nType)
std::optional< OUString > pPrevCurrency
void AddCurrencyRange(const ScRange &rRange, const std::optional< OUString > &pCurrency)
std::optional< OUString > pPrevStyleName
static void SetStylesToRanges(const ScRangeList &rList, const OUString *pStyleName, const sal_Int16 nCellType, const OUString *pCurrency, ScXMLImport &rImport)
std::shared_ptr< ScRangeList > mpRanges
std::shared_ptr< T > make_shared(Args &&...args)
std::unique_ptr< ScMyCurrencyStylesSet > pCurrencyList
void SetRowStyle(const OUString &rStyleName)
void InsertCol(const sal_Int32 nCol, const sal_Int32 nTab)
void SetAttributes(std::optional< OUString > pStyleName, std::optional< OUString > pCurrency, const sal_Int16 nCellType)
~ScMyStylesImportHelper()
ScMyStylesImportHelper(ScXMLImport &rImport)
std::shared_ptr< ScRangeList > mpNumberList
std::map< OUString, std::unique_ptr< ScMyStyleRanges > > ScMyStylesMap
map from style name to ScMyStyleRanges
void AddSingleRange(const ScRange &rRange)
std::shared_ptr< ScRangeList > mpTimeList
std::shared_ptr< ScRangeList > mpUndefinedList
bool operator()(const ScMyCurrencyStyle &rValue1, const ScMyCurrencyStyle &rValue2) const
std::set< ScMyStyleNumberFormat, LessStyleNumberFormat > ScMyStyleNumberFormatSet
void AddColumnStyle(const OUString &rStyleName, const sal_Int32 nColumn, const sal_Int32 nRepeat)
std::shared_ptr< ScRangeList > mpDateTimeList
ScMyStylesMap::iterator aRowDefaultStyle
std::vector< ScMyStylesMap::iterator > aColDefaultStyles
std::shared_ptr< ScRangeList > mpPercentList
std::set< ScMyCurrencyStyle, LessCurrencyStyle > ScMyCurrencyStylesSet
std::shared_ptr< ScRangeList > mpLogicalList
std::shared_ptr< ScRangeList > mpTextList
std::optional< OUString > pCurrency
std::optional< OUString > pStyleName
ScMyStylesMap::iterator GetIterator(const OUString &rStyleName)
void AddDefaultRange(const ScRange &rRange)
ScMyStylesMap aCellStyles