LibreOffice Module sc (master)  1
xmlimprt.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #pragma once
21 
22 #include <xmloff/xmlimp.hxx>
23 #include <xmloff/xmlprmap.hxx>
24 #include "xmlsubti.hxx"
25 #include <formula/grammar.hxx>
26 #include <dociter.hxx>
27 
28 #include <com/sun/star/sheet/ValidationAlertStyle.hpp>
29 #include <com/sun/star/sheet/ValidationType.hpp>
30 #include <com/sun/star/sheet/ConditionOperator.hpp>
31 
32 #include <memory>
33 #include <map>
34 #include <vector>
35 #include <list>
36 
37 namespace com::sun::star::beans { class XPropertySet; }
38 namespace com::sun::star::sheet { class XSheetCellRangeContainer; }
39 namespace com::sun::star::table { struct CellRangeAddress; }
40 namespace com::sun::star::util { class XNumberFormatTypes; }
41 namespace com::sun::star::util { class XNumberFormats; }
42 namespace sax_fastparser { class FastAttributeList; }
43 
44 class ScCompiler;
45 class ErrCode;
49 class ScDocumentImport;
51 class SdrPage;
52 
53 namespace sc {
54 struct ImportPostProcessData;
55 struct PivotTableSources;
56 class ScDrawObjData;
57 }
58 
59 
60 class SvXMLTokenMap;
63 class SolarMutexGuard;
64 
66 {
67  OUString sName;
68  OUString sContent;
69  OUString sContentNmsp;
70  OUString sBaseCellAddress;
71  OUString sRangeType;
74 };
75 
76 typedef ::std::list<std::unique_ptr<ScMyNamedExpression>> ScMyNamedExpressions;
77 
79 {
80  OUString sLabelRangeStr;
81  OUString sDataRangeStr;
83 };
84 
85 typedef std::list< std::unique_ptr<const ScMyLabelRange> > ScMyLabelRanges;
86 
88 {
89  OUString sName;
90  OUString sInputTitle;
91  OUString sInputMessage;
92  OUString sErrorTitle;
93  OUString sErrorMessage;
94  OUString sFormula1;
95  OUString sFormula2;
96  OUString sFormulaNmsp1;
97  OUString sFormulaNmsp2;
98  OUString sBaseCellAddress; // string is used directly
99  css::sheet::ValidationAlertStyle aAlertStyle;
100  css::sheet::ValidationType aValidationType;
101  css::sheet::ConditionOperator aOperator;
104  sal_Int16 nShowList;
108 };
109 
110 typedef std::vector<ScMyImportValidation> ScMyImportValidations;
113 
115 {
116  ScXMLImport(const ScXMLImport&) = delete;
117  const ScXMLImport& operator=(const ScXMLImport&) = delete;
118 
119  typedef ::std::map<SCTAB, std::unique_ptr<ScMyNamedExpressions>> SheetNamedExpMap;
120 
122  std::unique_ptr<ScDocumentImport> mpDocImport;
123  std::unique_ptr<ScCompiler> mpComp; // For error-checking of cached string cell values.
124  std::unique_ptr<ScEditEngineDefaulter> mpEditEngine;
125  std::unique_ptr<sc::PivotTableSources> mpPivotSources;
126 
127  mutable std::unique_ptr<ScXMLEditAttributeMap> mpEditAttrMap;
128  std::unique_ptr<ScXMLChangeTrackingImportHelper> pChangeTrackingImportHelper;
129  std::unique_ptr<ScMyStylesImportHelper> pStylesImportHelper;
130 
136 
138 
140 
141  std::vector<ScDocRowHeightUpdater::TabRanges> maRecalcRowRanges;
142 
143  std::unique_ptr<ScMyNamedExpressions> m_pMyNamedExpressions;
144  SheetNamedExpMap m_SheetNamedExpressions;
145 
146  std::unique_ptr<ScMyLabelRanges> pMyLabelRanges;
147  std::unique_ptr<ScMyImportValidations> pValidations;
148  std::unique_ptr<ScMyImpDetectiveOpArray> pDetectiveOpArray;
149  std::unique_ptr<SolarMutexGuard> pSolarMutexGuard;
150 
151  std::unique_ptr<XMLNumberFormatAttributesExportHelper> pNumberFormatAttributesExportHelper;
152  std::unique_ptr<ScMyStyleNumberFormats> pStyleNumberFormats;
153  css::uno::Reference <css::util::XNumberFormats> xNumberFormats;
154  css::uno::Reference <css::util::XNumberFormatTypes> xNumberFormatTypes;
155 
156  css::uno::Reference <css::sheet::XSheetCellRangeContainer> xSheetCellRanges;
157 
158  OUString sPrevStyleName;
159  OUString sPrevCurrency;
160  sal_uInt32 nSolarMutexLocked;
161  sal_Int32 nProgressCount;
162  sal_Int16 nPrevCellType;
163  bool bLoadDoc; // Load doc or styles only
169 
170 protected:
171 
172  // This method is called after the namespace map has been updated, but
173  // before a context for the current element has been pushed.
174  virtual SvXMLImportContext *CreateFastContext( sal_Int32 nElement,
175  const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList >& xAttrList ) override;
176 
177  virtual XMLShapeImportHelper* CreateShapeImport() override;
178 
179 public:
180  ScXMLImport(
181  const css::uno::Reference< css::uno::XComponentContext >& rContext,
182  OUString const & implementationName, SvXMLImportFlags nImportFlag,
183  const css::uno::Sequence< OUString > & sSupportedServiceNames = {});
184 
185  virtual ~ScXMLImport() throw() override;
186 
187  // XInitialization
188  virtual void SAL_CALL initialize( const css::uno::Sequence<css::uno::Any>& aArguments ) override;
189 
190  // namespace office
191  // NB: in contrast to other CreateFooContexts, this particular one handles
192  // the root element (i.e. office:document-meta)
193  SvXMLImportContext *CreateMetaContext( sal_Int32 nElement );
196  SvXMLImportContext *CreateStylesContext( bool bAutoStyles );
197 
199  const rtl::Reference<sax_fastparser::FastAttributeList>& rAttrList );
200 
201  virtual void SetStatistics( const css::uno::Sequence< css::beans::NamedValue> & i_rStats) override;
202 
204 
205  ScDocument* GetDocument() { return pDoc; }
206  const ScDocument* GetDocument() const { return pDoc; }
207 
208  ScMyTables& GetTables() { return aTables; }
209 
210  std::vector<ScDocRowHeightUpdater::TabRanges>& GetRecalcRowRanges() { return maRecalcRowRanges; }
211 
212  bool IsStylesOnlyMode() const { return !bLoadDoc; }
213 
214  static sal_Int16 GetCellType(const char* rStrValue, const sal_Int32 nStrLength);
215 
220 
223 
225 
226  void AddNamedExpression(ScMyNamedExpression* pMyNamedExpression)
227  {
228  if (!m_pMyNamedExpressions)
229  m_pMyNamedExpressions.reset(new ScMyNamedExpressions);
230  m_pMyNamedExpressions->push_back(std::unique_ptr<ScMyNamedExpression>(pMyNamedExpression));
231  }
232 
233  void AddNamedExpression(SCTAB nTab, ScMyNamedExpression* pNamedExp);
234 
235  void AddLabelRange(std::unique_ptr<const ScMyLabelRange> pMyLabelRange) {
236  if (!pMyLabelRanges)
237  pMyLabelRanges.reset(new ScMyLabelRanges);
238  pMyLabelRanges->push_back(std::move(pMyLabelRange)); }
239 
240  void AddValidation(const ScMyImportValidation& rValidation) {
241  if (!pValidations)
242  pValidations.reset(new ScMyImportValidations);
243  pValidations->push_back(rValidation); }
244  bool GetValidation(const OUString& sName, ScMyImportValidation& aValidation);
245 
247 
249  void InsertStyles();
250 
251  void SetChangeTrackingViewSettings(const css::uno::Sequence<css::beans::PropertyValue>& rChangeProps);
252  virtual void SetViewSettings(const css::uno::Sequence<css::beans::PropertyValue>& aViewProps) override;
253  virtual void SetConfigurationSettings(const css::uno::Sequence<css::beans::PropertyValue>& aConfigProps) override;
254 
255  ScMyStylesImportHelper* GetStylesImportHelper() { return pStylesImportHelper.get(); }
256  sal_Int32 SetCurrencySymbol(const sal_Int32 nKey, std::u16string_view rCurrency);
257  bool IsCurrencySymbol(const sal_Int32 nNumberFormat, const OUString& sCurrencySymbol, std::u16string_view sBankSymbol);
258  void SetType(const css::uno::Reference <css::beans::XPropertySet>& rProperties,
259  sal_Int32& rNumberFormat,
260  const sal_Int16 nCellType,
261  std::u16string_view rCurrency);
262 
263  void ProgressBarIncrement();
264 
265  void SetNewCondFormatData() { mbHasNewCondFormatData = true; }
267 
268 private:
269  void SetStyleToRanges();
270 
271  void ExamineDefaultStyle();
272 public:
273  void SetStyleToRanges(const ScRangeList& rRanges, const OUString* pStyleName,
274  const sal_Int16 nCellType, const OUString* pCurrency);
278 
280 
281  // XImporter
282  virtual void SAL_CALL setTargetDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) override;
283 
284  virtual void SAL_CALL startDocument() override;
285  virtual void SAL_CALL endDocument() override;
286 
287  virtual void DisposingModel() override;
288 
294  {
295  public:
296  explicit MutexGuard(ScXMLImport& rImport);
297  ~MutexGuard();
298  private:
300  };
301  void LockSolarMutex();
302  void UnlockSolarMutex();
303 
304  sal_Int32 GetByteOffset() const;
305 
307 
308  static sal_Int32 GetRangeType(const OUString& sRangeType);
309  void SetNamedRanges();
310  void SetSheetNamedRanges();
311  void SetLabelRanges();
313 
345  OUString& rFormula,
346  OUString& rFormulaNmsp,
348  const OUString& rAttrValue,
349  bool bRestrictToExternalNmsp = false ) const;
350 
351  FormulaError GetFormulaErrorConstant( const OUString& rStr ) const;
352 
355  virtual void NotifyContainsEmbeddedFont() override;
356 };
357 
358 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void SetStringRefSyntaxIfMissing()
Definition: xmlimprt.cxx:1341
css::uno::Reference< css::sheet::XSheetCellRangeContainer > xSheetCellRanges
Definition: xmlimprt.hxx:156
virtual SvXMLImportContext * CreateFastContext(sal_Int32 nElement, const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList > &xAttrList) override
Definition: xmlimprt.cxx:321
OUString sFormulaNmsp2
Definition: xmlimprt.hxx:97
OUString sDataRangeStr
Definition: xmlimprt.hxx:81
SvXMLImportContext * CreateScriptContext()
Definition: xmlimprt.cxx:473
css::uno::Reference< css::util::XNumberFormatTypes > xNumberFormatTypes
Definition: xmlimprt.hxx:154
bool mbHasNewCondFormatData
Definition: xmlimprt.hxx:168
ScMyTables aTables
Lift cycle managed elsewhere, no need to delete.
Definition: xmlimprt.hxx:139
Provide mapping from ODF text formatting styles to EditEngine's, for rich-text cell content import...
std::vector< ScDocRowHeightUpdater::TabRanges > & GetRecalcRowRanges()
Definition: xmlimprt.hxx:210
sal_Int32 nProgressCount
Definition: xmlimprt.hxx:161
OUString sRangeType
Definition: xmlimprt.hxx:71
OUString sFormulaNmsp1
Definition: xmlimprt.hxx:96
ScDocument * pDoc
Definition: xmlimprt.hxx:121
Store pivot table data that need to be post-processed at the end of the import.
Definition: pivotsource.hxx:25
ScDocument * GetDocument()
Definition: xmlimprt.hxx:205
ScMyTables & GetTables()
Definition: xmlimprt.hxx:208
std::list< std::unique_ptr< const ScMyLabelRange > > ScMyLabelRanges
Definition: xmlimprt.hxx:85
Stores data imported from the file that need to be processed at the end of the import process...
std::vector< ScDocRowHeightUpdater::TabRanges > maRecalcRowRanges
Definition: xmlimprt.hxx:141
SvXMLImportContext * CreateFontDeclsContext()
Definition: xmlimprt.cxx:429
std::vector< ScMyImportValidation > ScMyImportValidations
Definition: xmlimprt.hxx:110
const ScXMLEditAttributeMap & GetEditAttributeMap() const
Definition: xmlimprt.cxx:1660
OUString sPrevCurrency
Definition: xmlimprt.hxx:159
ScMyStylesImportHelper * GetStylesImportHelper()
Definition: xmlimprt.hxx:255
bool mbLockSolarMutex
Definition: xmlimprt.hxx:166
Accessor class to ScDocument.
OUString sBaseCellAddress
Definition: xmlimprt.hxx:70
std::unique_ptr< ScMyImportValidations > pValidations
Definition: xmlimprt.hxx:147
OUString sPrevStyleName
Definition: xmlimprt.hxx:158
css::sheet::ConditionOperator aOperator
Definition: xmlimprt.hxx:101
SvXMLImportContext * CreateMetaContext(sal_Int32 nElement)
Definition: xmlimprt.cxx:456
rtl::Reference< XMLPropertySetMapper > xRowStylesPropertySetMapper
Definition: xmlimprt.hxx:134
bool SetNullDateOnUnitConverter()
Definition: xmlimprt.cxx:1103
const ScXMLImport & operator=(const ScXMLImport &)=delete
SvXMLImportFlags
void LockSolarMutex()
Definition: xmlimprt.cxx:1518
std::unique_ptr< ScDocumentImport > mpDocImport
Definition: xmlimprt.hxx:122
sc::ImportPostProcessData * mpPostProcessData
Definition: xmlimprt.hxx:137
std::unique_ptr< sc::PivotTableSources > mpPivotSources
Definition: xmlimprt.hxx:125
bool bSelfImportingXMLSet
Definition: xmlimprt.hxx:165
const ScDocument * GetDocument() const
Definition: xmlimprt.hxx:206
FormulaError GetFormulaErrorConstant(const OUString &rStr) const
Definition: xmlimprt.cxx:1638
ScXMLImport(const ScXMLImport &)=delete
sal_Int32 SetCurrencySymbol(const sal_Int32 nKey, std::u16string_view rCurrency)
Definition: xmlimprt.cxx:810
virtual void SAL_CALL endDocument() override
Definition: xmlimprt.cxx:1357
SvXMLImportContext * CreateStylesContext(bool bAutoStyles)
Definition: xmlimprt.cxx:438
bool bNullDateSetted
Definition: xmlimprt.hxx:164
OUString sInputTitle
Definition: xmlimprt.hxx:90
void InsertStyles()
Definition: xmlimprt.cxx:607
SheetNamedExpMap m_SheetNamedExpressions
Definition: xmlimprt.hxx:144
OUString sContentNmsp
Definition: xmlimprt.hxx:69
bool GetValidation(const OUString &sName, ScMyImportValidation &aValidation)
Definition: xmlimprt.cxx:564
void ExamineDefaultStyle()
Definition: xmlimprt.cxx:616
const rtl::Reference< XMLPropertySetMapper > & GetTableStylesPropertySetMapper() const
Definition: xmlimprt.hxx:219
virtual void SetStatistics(const css::uno::Sequence< css::beans::NamedValue > &i_rStats) override
Definition: xmlimprt.cxx:485
const rtl::Reference< XMLPropertySetMapper > & GetRowStylesPropertySetMapper() const
Definition: xmlimprt.hxx:218
bool bColumnOrientation
Definition: xmlimprt.hxx:82
void SetPostProcessData(sc::ImportPostProcessData *p)
Definition: xmlimprt.cxx:308
virtual void SetConfigurationSettings(const css::uno::Sequence< css::beans::PropertyValue > &aConfigProps) override
Definition: xmlimprt.cxx:752
std::unique_ptr< ScXMLEditAttributeMap > mpEditAttrMap
Definition: xmlimprt.hxx:127
class SAL_NO_VTABLE XPropertySet
virtual void SAL_CALL startDocument() override
Definition: xmlimprt.cxx:1152
std::unique_ptr< ScMyStyleNumberFormats > pStyleNumberFormats
Definition: xmlimprt.hxx:152
void SetStyleToRanges()
Definition: xmlimprt.cxx:991
std::unique_ptr< ScCompiler > mpComp
Definition: xmlimprt.hxx:123
bool IsCurrencySymbol(const sal_Int32 nNumberFormat, const OUString &sCurrencySymbol, std::u16string_view sBankSymbol)
Definition: xmlimprt.cxx:861
const rtl::Reference< XMLPropertySetMapper > & GetCellStylesPropertySetMapper() const
Definition: xmlimprt.hxx:216
std::unique_ptr< ScMyLabelRanges > pMyLabelRanges
Definition: xmlimprt.hxx:146
css::sheet::ValidationType aValidationType
Definition: xmlimprt.hxx:100
const rtl::Reference< XMLPropertySetMapper > & GetColumnStylesPropertySetMapper() const
Definition: xmlimprt.hxx:217
sal_uInt32 nSolarMutexLocked
Definition: xmlimprt.hxx:160
Use this class to manage solar mutex locking instead of calling LockSolarMutex() and UnlockSolarMutex...
Definition: xmlimprt.hxx:293
std::unique_ptr< ScMyNamedExpressions > m_pMyNamedExpressions
Definition: xmlimprt.hxx:143
static sal_Int16 GetCellType(const char *rStrValue, const sal_Int32 nStrLength)
Definition: xmlimprt.cxx:518
ScXMLImport & mrImport
Definition: xmlimprt.hxx:299
::std::map< SCTAB, std::unique_ptr< ScMyNamedExpressions > > SheetNamedExpMap
Definition: xmlimprt.hxx:119
void ExtractFormulaNamespaceGrammar(OUString &rFormula, OUString &rFormulaNmsp,::formula::FormulaGrammar::Grammar &reGrammar, const OUString &rAttrValue, bool bRestrictToExternalNmsp=false) const
Extracts the formula string, the formula grammar namespace URL, and a grammar enum value from the pas...
Definition: xmlimprt.cxx:1579
OUString sLabelRangeStr
Definition: xmlimprt.hxx:80
::std::list< std::unique_ptr< ScMyNamedExpression > > ScMyNamedExpressions
Definition: xmlimprt.hxx:76
FormulaError
XMLNumberFormatAttributesExportHelper * GetNumberFormatAttributesExportHelper()
Definition: xmlimprt.cxx:1111
void AddValidation(const ScMyImportValidation &rValidation)
Definition: xmlimprt.hxx:240
std::unique_ptr< ScEditEngineDefaulter > mpEditEngine
Definition: xmlimprt.hxx:124
static sal_Int32 GetRangeType(const OUString &sRangeType)
Definition: xmlimprt.cxx:1199
std::unique_ptr< XMLNumberFormatAttributesExportHelper > pNumberFormatAttributesExportHelper
Definition: xmlimprt.hxx:151
OUString sBaseCellAddress
Definition: xmlimprt.hxx:98
ScEditEngineDefaulter * GetEditEngine()
Definition: xmlimprt.cxx:1646
css::uno::Reference< css::util::XNumberFormats > xNumberFormats
Definition: xmlimprt.hxx:153
SvXMLImportContext * CreateBodyContext(const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
Definition: xmlimprt.cxx:451
formula::FormulaGrammar::Grammar eGrammar2
Definition: xmlimprt.hxx:103
sal_Int16 nPrevCellType
Definition: xmlimprt.hxx:162
virtual void SetViewSettings(const css::uno::Sequence< css::beans::PropertyValue > &aViewProps) override
Definition: xmlimprt.cxx:709
void SetNamedRanges()
Definition: xmlimprt.cxx:1311
void SetLabelRanges()
Definition: xmlimprt.cxx:1225
OUString sErrorMessage
Definition: xmlimprt.hxx:93
bool IsStylesOnlyMode() const
Definition: xmlimprt.hxx:212
bool HasNewCondFormatData() const
Definition: xmlimprt.hxx:266
std::unique_ptr< SolarMutexGuard > pSolarMutexGuard
Definition: xmlimprt.hxx:149
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &aArguments) override
Definition: xmlimprt.cxx:410
ScMyStyleNumberFormats * GetStyleNumberFormats()
Definition: xmlimprt.cxx:1118
rtl::Reference< XMLPropertySetMapper > xColumnStylesPropertySetMapper
Definition: xmlimprt.hxx:133
std::unique_ptr< ScMyStylesImportHelper > pStylesImportHelper
Definition: xmlimprt.hxx:129
rtl::Reference< XMLPropertySetMapper > xTableStylesPropertySetMapper
Definition: xmlimprt.hxx:135
void UnlockSolarMutex()
Definition: xmlimprt.cxx:1536
css::sheet::ValidationAlertStyle aAlertStyle
Definition: xmlimprt.hxx:99
ScXMLChangeTrackingImportHelper * GetChangeTrackingImportHelper()
Definition: xmlimprt.cxx:600
std::unique_ptr< ScMyImpDetectiveOpArray > pDetectiveOpArray
Definition: xmlimprt.hxx:148
void AddLabelRange(std::unique_ptr< const ScMyLabelRange > pMyLabelRange)
Definition: xmlimprt.hxx:235
virtual void DisposingModel() override
Definition: xmlimprt.cxx:1501
QPRO_FUNC_TYPE nType
Definition: qproform.cxx:400
bool bLoadDoc
Definition: xmlimprt.hxx:163
void SetType(const css::uno::Reference< css::beans::XPropertySet > &rProperties, sal_Int32 &rNumberFormat, const sal_Int16 nCellType, std::u16string_view rCurrency)
Definition: xmlimprt.cxx:913
formula::FormulaGrammar::Grammar eGrammar
Definition: xmlimprt.hxx:72
ScMyImpDetectiveOpArray * GetDetectiveOpArray()
Definition: xmlimprt.cxx:1673
OUString sInputMessage
Definition: xmlimprt.hxx:91
formula::FormulaGrammar::Grammar eGrammar1
Definition: xmlimprt.hxx:102
void SetChangeTrackingViewSettings(const css::uno::Sequence< css::beans::PropertyValue > &rChangeProps)
Definition: xmlimprt.cxx:629
bool mbImportStyles
Definition: xmlimprt.hxx:167
virtual ~ScXMLImport() override
Definition: xmlimprt.cxx:392
rtl::Reference< XMLPropertyHandlerFactory > xScPropHdlFactory
Definition: xmlimprt.hxx:131
void AddNamedExpression(ScMyNamedExpression *pMyNamedExpression)
Definition: xmlimprt.hxx:226
rtl::Reference< XMLPropertySetMapper > xCellStylesPropertySetMapper
Definition: xmlimprt.hxx:132
sal_Int32 GetByteOffset() const
Definition: xmlimprt.cxx:1549
void ProgressBarIncrement()
Definition: xmlimprt.cxx:1569
sc::PivotTableSources & GetPivotTableSources()
Definition: xmlimprt.cxx:313
virtual void SAL_CALL setTargetDocument(const css::uno::Reference< css::lang::XComponent > &xDoc) override
Definition: xmlimprt.cxx:1132
MutexGuard(ScXMLImport &rImport)
Definition: xmlimprt.cxx:1507
virtual XMLShapeImportHelper * CreateShapeImport() override
Definition: xmlimprt.cxx:559
sc::ImportPostProcessData * GetPostProcessData()
Definition: xmlimprt.hxx:222
virtual void NotifyContainsEmbeddedFont() override
Definition: xmlimprt.cxx:1667
ScDocumentImport & GetDoc()
Definition: xmlimprt.cxx:513
sal_Int16 SCTAB
Definition: types.hxx:22
void SetStylesToRangesFinished()
Definition: xmlimprt.cxx:1125
OUString sErrorTitle
Definition: xmlimprt.hxx:92
void SetRangeOverflowType(ErrCode nType)
Definition: xmlimprt.cxx:1559
void SetSheetNamedRanges()
Definition: xmlimprt.cxx:1324
void SetNewCondFormatData()
Definition: xmlimprt.hxx:265
std::unique_ptr< ScXMLChangeTrackingImportHelper > pChangeTrackingImportHelper
Definition: xmlimprt.hxx:128