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 #ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLIMPRT_HXX
21 #define INCLUDED_SC_SOURCE_FILTER_XML_XMLIMPRT_HXX
22 
23 #include <xmloff/xmlimp.hxx>
24 #include <xmloff/xmlprmap.hxx>
25 #include "xmlsubti.hxx"
26 #include <formula/grammar.hxx>
27 #include <dociter.hxx>
28 
29 #include <com/sun/star/sheet/ValidationAlertStyle.hpp>
30 #include <com/sun/star/sheet/ValidationType.hpp>
31 #include <com/sun/star/sheet/ConditionOperator.hpp>
32 
33 #include <memory>
34 #include <map>
35 #include <vector>
36 #include <list>
37 
38 namespace com::sun::star::beans { class XPropertySet; }
39 namespace com::sun::star::sheet { class XSheetCellRangeContainer; }
40 namespace com::sun::star::table { struct CellRangeAddress; }
41 namespace com::sun::star::util { class XNumberFormatTypes; }
42 namespace com::sun::star::util { class XNumberFormats; }
43 namespace sax_fastparser { class FastAttributeList; }
44 
45 class ScCompiler;
46 class ErrCode;
50 class ScDocumentImport;
52 class SdrPage;
53 
54 namespace sc {
55 struct ImportPostProcessData;
56 struct PivotTableSources;
57 class ScDrawObjData;
58 }
59 
60 
61 class SvXMLTokenMap;
64 class SolarMutexGuard;
65 
67 {
68  OUString sName;
69  OUString sContent;
70  OUString sContentNmsp;
71  OUString sBaseCellAddress;
72  OUString sRangeType;
75 };
76 
77 typedef ::std::list<std::unique_ptr<ScMyNamedExpression>> ScMyNamedExpressions;
78 
80 {
81  OUString sLabelRangeStr;
82  OUString sDataRangeStr;
84 };
85 
86 typedef std::list< std::unique_ptr<const ScMyLabelRange> > ScMyLabelRanges;
87 
89 {
90  OUString sName;
91  OUString sInputTitle;
92  OUString sInputMessage;
93  OUString sErrorTitle;
94  OUString sErrorMessage;
95  OUString sFormula1;
96  OUString sFormula2;
97  OUString sFormulaNmsp1;
98  OUString sFormulaNmsp2;
99  OUString sBaseCellAddress; // string is used directly
100  css::sheet::ValidationAlertStyle aAlertStyle;
101  css::sheet::ValidationType aValidationType;
102  css::sheet::ConditionOperator aOperator;
105  sal_Int16 nShowList;
109 };
110 
111 typedef std::vector<ScMyImportValidation> ScMyImportValidations;
114 
116 {
117  ScXMLImport(const ScXMLImport&) = delete;
118  const ScXMLImport& operator=(const ScXMLImport&) = delete;
119 
120  typedef ::std::map<SCTAB, std::unique_ptr<ScMyNamedExpressions>> SheetNamedExpMap;
121 
123  std::unique_ptr<ScDocumentImport> mpDocImport;
124  std::unique_ptr<ScCompiler> mpComp; // For error-checking of cached string cell values.
125  std::unique_ptr<ScEditEngineDefaulter> mpEditEngine;
126  std::unique_ptr<sc::PivotTableSources> mpPivotSources;
127 
128  mutable std::unique_ptr<ScXMLEditAttributeMap> mpEditAttrMap;
129  std::unique_ptr<ScXMLChangeTrackingImportHelper> pChangeTrackingImportHelper;
130  std::unique_ptr<ScMyStylesImportHelper> pStylesImportHelper;
131 
137 
139 
141 
142  std::vector<ScDocRowHeightUpdater::TabRanges> maRecalcRowRanges;
143 
144  std::unique_ptr<ScMyNamedExpressions> m_pMyNamedExpressions;
145  SheetNamedExpMap m_SheetNamedExpressions;
146 
147  std::unique_ptr<ScMyLabelRanges> pMyLabelRanges;
148  std::unique_ptr<ScMyImportValidations> pValidations;
149  std::unique_ptr<ScMyImpDetectiveOpArray> pDetectiveOpArray;
150  std::unique_ptr<SolarMutexGuard> pSolarMutexGuard;
151 
152  std::unique_ptr<XMLNumberFormatAttributesExportHelper> pNumberFormatAttributesExportHelper;
153  std::unique_ptr<ScMyStyleNumberFormats> pStyleNumberFormats;
154  css::uno::Reference <css::util::XNumberFormats> xNumberFormats;
155  css::uno::Reference <css::util::XNumberFormatTypes> xNumberFormatTypes;
156 
157  css::uno::Reference <css::sheet::XSheetCellRangeContainer> xSheetCellRanges;
158 
159  OUString sPrevStyleName;
160  OUString sPrevCurrency;
161  sal_uInt32 nSolarMutexLocked;
162  sal_Int32 nProgressCount;
163  sal_Int16 nPrevCellType;
164  bool bLoadDoc; // Load doc or styles only
170 
171 protected:
172 
173  // This method is called after the namespace map has been updated, but
174  // before a context for the current element has been pushed.
175  virtual SvXMLImportContext *CreateFastContext( sal_Int32 nElement,
176  const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList >& xAttrList ) override;
177 
178  virtual XMLShapeImportHelper* CreateShapeImport() override;
179 
180 public:
181  ScXMLImport(
182  const css::uno::Reference< css::uno::XComponentContext >& rContext,
183  OUString const & implementationName, SvXMLImportFlags nImportFlag,
184  const css::uno::Sequence< OUString > & sSupportedServiceNames = {});
185 
186  virtual ~ScXMLImport() throw() override;
187 
188  // XInitialization
189  virtual void SAL_CALL initialize( const css::uno::Sequence<css::uno::Any>& aArguments ) override;
190 
191  // namespace office
192  // NB: in contrast to other CreateFooContexts, this particular one handles
193  // the root element (i.e. office:document-meta)
194  SvXMLImportContext *CreateMetaContext( sal_Int32 nElement );
197  SvXMLImportContext *CreateStylesContext( bool bAutoStyles );
198 
200  const rtl::Reference<sax_fastparser::FastAttributeList>& rAttrList );
201 
202  virtual void SetStatistics( const css::uno::Sequence< css::beans::NamedValue> & i_rStats) override;
203 
205 
206  ScDocument* GetDocument() { return pDoc; }
207  const ScDocument* GetDocument() const { return pDoc; }
208 
209  ScMyTables& GetTables() { return aTables; }
210 
211  std::vector<ScDocRowHeightUpdater::TabRanges>& GetRecalcRowRanges() { return maRecalcRowRanges; }
212 
213  bool IsStylesOnlyMode() const { return !bLoadDoc; }
214 
215  static sal_Int16 GetCellType(const char* rStrValue, const sal_Int32 nStrLength);
216 
221 
224 
226 
227  void AddNamedExpression(ScMyNamedExpression* pMyNamedExpression)
228  {
229  if (!m_pMyNamedExpressions)
230  m_pMyNamedExpressions.reset(new ScMyNamedExpressions);
231  m_pMyNamedExpressions->push_back(std::unique_ptr<ScMyNamedExpression>(pMyNamedExpression));
232  }
233 
234  void AddNamedExpression(SCTAB nTab, ScMyNamedExpression* pNamedExp);
235 
236  void AddLabelRange(std::unique_ptr<const ScMyLabelRange> pMyLabelRange) {
237  if (!pMyLabelRanges)
238  pMyLabelRanges.reset(new ScMyLabelRanges);
239  pMyLabelRanges->push_back(std::move(pMyLabelRange)); }
240 
241  void AddValidation(const ScMyImportValidation& rValidation) {
242  if (!pValidations)
243  pValidations.reset(new ScMyImportValidations);
244  pValidations->push_back(rValidation); }
245  bool GetValidation(const OUString& sName, ScMyImportValidation& aValidation);
246 
248 
250  void InsertStyles();
251 
252  void SetChangeTrackingViewSettings(const css::uno::Sequence<css::beans::PropertyValue>& rChangeProps);
253  virtual void SetViewSettings(const css::uno::Sequence<css::beans::PropertyValue>& aViewProps) override;
254  virtual void SetConfigurationSettings(const css::uno::Sequence<css::beans::PropertyValue>& aConfigProps) override;
255 
256  ScMyStylesImportHelper* GetStylesImportHelper() { return pStylesImportHelper.get(); }
257  sal_Int32 SetCurrencySymbol(const sal_Int32 nKey, const OUString& rCurrency);
258  bool IsCurrencySymbol(const sal_Int32 nNumberFormat, const OUString& sCurrencySymbol, std::u16string_view sBankSymbol);
259  void SetType(const css::uno::Reference <css::beans::XPropertySet>& rProperties,
260  sal_Int32& rNumberFormat,
261  const sal_Int16 nCellType,
262  const OUString& rCurrency);
263 
264  void ProgressBarIncrement();
265 
266  void SetNewCondFormatData() { mbHasNewCondFormatData = true; }
268 
269 private:
270  void SetStyleToRanges();
271 
272  void ExamineDefaultStyle();
273 public:
274  void SetStyleToRanges(const ScRangeList& rRanges, const OUString* pStyleName,
275  const sal_Int16 nCellType, const OUString* pCurrency);
279 
281 
282  // XImporter
283  virtual void SAL_CALL setTargetDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) override;
284 
285  virtual void SAL_CALL startDocument() override;
286  virtual void SAL_CALL endDocument() override;
287 
288  virtual void DisposingModel() override;
289 
295  {
296  public:
297  explicit MutexGuard(ScXMLImport& rImport);
298  ~MutexGuard();
299  private:
301  };
302  void LockSolarMutex();
303  void UnlockSolarMutex();
304 
305  sal_Int32 GetByteOffset() const;
306 
308 
309  static sal_Int32 GetRangeType(const OUString& sRangeType);
310  void SetNamedRanges();
311  void SetSheetNamedRanges();
312  void SetLabelRanges();
314 
346  OUString& rFormula,
347  OUString& rFormulaNmsp,
349  const OUString& rAttrValue,
350  bool bRestrictToExternalNmsp = false ) const;
351 
352  FormulaError GetFormulaErrorConstant( const OUString& rStr ) const;
353 
356  virtual void NotifyContainsEmbeddedFont() override;
357 };
358 
359 #endif
360 
361 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void SetStringRefSyntaxIfMissing()
Definition: xmlimprt.cxx:1341
css::uno::Reference< css::sheet::XSheetCellRangeContainer > xSheetCellRanges
Definition: xmlimprt.hxx:157
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:98
OUString sDataRangeStr
Definition: xmlimprt.hxx:82
SvXMLImportContext * CreateScriptContext()
Definition: xmlimprt.cxx:473
css::uno::Reference< css::util::XNumberFormatTypes > xNumberFormatTypes
Definition: xmlimprt.hxx:155
bool mbHasNewCondFormatData
Definition: xmlimprt.hxx:169
ScMyTables aTables
Lift cycle managed elsewhere, no need to delete.
Definition: xmlimprt.hxx:140
Provide mapping from ODF text formatting styles to EditEngine's, for rich-text cell content import...
std::vector< ScDocRowHeightUpdater::TabRanges > & GetRecalcRowRanges()
Definition: xmlimprt.hxx:211
sal_Int32 nProgressCount
Definition: xmlimprt.hxx:162
OUString sRangeType
Definition: xmlimprt.hxx:72
OUString sFormulaNmsp1
Definition: xmlimprt.hxx:97
ScDocument * pDoc
Definition: xmlimprt.hxx:122
Store pivot table data that need to be post-processed at the end of the import.
Definition: pivotsource.hxx:26
ScDocument * GetDocument()
Definition: xmlimprt.hxx:206
ScMyTables & GetTables()
Definition: xmlimprt.hxx:209
std::list< std::unique_ptr< const ScMyLabelRange > > ScMyLabelRanges
Definition: xmlimprt.hxx:86
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:142
SvXMLImportContext * CreateFontDeclsContext()
Definition: xmlimprt.cxx:429
std::vector< ScMyImportValidation > ScMyImportValidations
Definition: xmlimprt.hxx:111
const ScXMLEditAttributeMap & GetEditAttributeMap() const
Definition: xmlimprt.cxx:1660
OUString sPrevCurrency
Definition: xmlimprt.hxx:160
ScMyStylesImportHelper * GetStylesImportHelper()
Definition: xmlimprt.hxx:256
bool mbLockSolarMutex
Definition: xmlimprt.hxx:167
Accessor class to ScDocument.
OUString sBaseCellAddress
Definition: xmlimprt.hxx:71
std::unique_ptr< ScMyImportValidations > pValidations
Definition: xmlimprt.hxx:148
OUString sPrevStyleName
Definition: xmlimprt.hxx:159
css::sheet::ConditionOperator aOperator
Definition: xmlimprt.hxx:102
SvXMLImportContext * CreateMetaContext(sal_Int32 nElement)
Definition: xmlimprt.cxx:456
rtl::Reference< XMLPropertySetMapper > xRowStylesPropertySetMapper
Definition: xmlimprt.hxx:135
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:123
sc::ImportPostProcessData * mpPostProcessData
Definition: xmlimprt.hxx:138
std::unique_ptr< sc::PivotTableSources > mpPivotSources
Definition: xmlimprt.hxx:126
sal_Int32 SetCurrencySymbol(const sal_Int32 nKey, const OUString &rCurrency)
Definition: xmlimprt.cxx:810
bool bSelfImportingXMLSet
Definition: xmlimprt.hxx:166
const ScDocument * GetDocument() const
Definition: xmlimprt.hxx:207
FormulaError GetFormulaErrorConstant(const OUString &rStr) const
Definition: xmlimprt.cxx:1638
ScXMLImport(const ScXMLImport &)=delete
virtual void SAL_CALL endDocument() override
Definition: xmlimprt.cxx:1357
SvXMLImportContext * CreateStylesContext(bool bAutoStyles)
Definition: xmlimprt.cxx:438
bool bNullDateSetted
Definition: xmlimprt.hxx:165
OUString sInputTitle
Definition: xmlimprt.hxx:91
void InsertStyles()
Definition: xmlimprt.cxx:607
SheetNamedExpMap m_SheetNamedExpressions
Definition: xmlimprt.hxx:145
OUString sContentNmsp
Definition: xmlimprt.hxx:70
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:220
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:219
bool bColumnOrientation
Definition: xmlimprt.hxx:83
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:128
class SAL_NO_VTABLE XPropertySet
virtual void SAL_CALL startDocument() override
Definition: xmlimprt.cxx:1152
std::unique_ptr< ScMyStyleNumberFormats > pStyleNumberFormats
Definition: xmlimprt.hxx:153
void SetStyleToRanges()
Definition: xmlimprt.cxx:991
std::unique_ptr< ScCompiler > mpComp
Definition: xmlimprt.hxx:124
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:217
std::unique_ptr< ScMyLabelRanges > pMyLabelRanges
Definition: xmlimprt.hxx:147
css::sheet::ValidationType aValidationType
Definition: xmlimprt.hxx:101
const rtl::Reference< XMLPropertySetMapper > & GetColumnStylesPropertySetMapper() const
Definition: xmlimprt.hxx:218
sal_uInt32 nSolarMutexLocked
Definition: xmlimprt.hxx:161
Use this class to manage solar mutex locking instead of calling LockSolarMutex() and UnlockSolarMutex...
Definition: xmlimprt.hxx:294
std::unique_ptr< ScMyNamedExpressions > m_pMyNamedExpressions
Definition: xmlimprt.hxx:144
static sal_Int16 GetCellType(const char *rStrValue, const sal_Int32 nStrLength)
Definition: xmlimprt.cxx:518
ScXMLImport & mrImport
Definition: xmlimprt.hxx:300
::std::map< SCTAB, std::unique_ptr< ScMyNamedExpressions > > SheetNamedExpMap
Definition: xmlimprt.hxx:120
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:81
::std::list< std::unique_ptr< ScMyNamedExpression > > ScMyNamedExpressions
Definition: xmlimprt.hxx:77
FormulaError
XMLNumberFormatAttributesExportHelper * GetNumberFormatAttributesExportHelper()
Definition: xmlimprt.cxx:1111
void AddValidation(const ScMyImportValidation &rValidation)
Definition: xmlimprt.hxx:241
std::unique_ptr< ScEditEngineDefaulter > mpEditEngine
Definition: xmlimprt.hxx:125
static sal_Int32 GetRangeType(const OUString &sRangeType)
Definition: xmlimprt.cxx:1199
std::unique_ptr< XMLNumberFormatAttributesExportHelper > pNumberFormatAttributesExportHelper
Definition: xmlimprt.hxx:152
OUString sBaseCellAddress
Definition: xmlimprt.hxx:99
ScEditEngineDefaulter * GetEditEngine()
Definition: xmlimprt.cxx:1646
css::uno::Reference< css::util::XNumberFormats > xNumberFormats
Definition: xmlimprt.hxx:154
SvXMLImportContext * CreateBodyContext(const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
Definition: xmlimprt.cxx:451
formula::FormulaGrammar::Grammar eGrammar2
Definition: xmlimprt.hxx:104
sal_Int16 nPrevCellType
Definition: xmlimprt.hxx:163
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:94
bool IsStylesOnlyMode() const
Definition: xmlimprt.hxx:213
bool HasNewCondFormatData() const
Definition: xmlimprt.hxx:267
std::unique_ptr< SolarMutexGuard > pSolarMutexGuard
Definition: xmlimprt.hxx:150
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:134
std::unique_ptr< ScMyStylesImportHelper > pStylesImportHelper
Definition: xmlimprt.hxx:130
rtl::Reference< XMLPropertySetMapper > xTableStylesPropertySetMapper
Definition: xmlimprt.hxx:136
void UnlockSolarMutex()
Definition: xmlimprt.cxx:1536
css::sheet::ValidationAlertStyle aAlertStyle
Definition: xmlimprt.hxx:100
ScXMLChangeTrackingImportHelper * GetChangeTrackingImportHelper()
Definition: xmlimprt.cxx:600
std::unique_ptr< ScMyImpDetectiveOpArray > pDetectiveOpArray
Definition: xmlimprt.hxx:149
void AddLabelRange(std::unique_ptr< const ScMyLabelRange > pMyLabelRange)
Definition: xmlimprt.hxx:236
virtual void DisposingModel() override
Definition: xmlimprt.cxx:1501
QPRO_FUNC_TYPE nType
Definition: qproform.cxx:400
bool bLoadDoc
Definition: xmlimprt.hxx:164
formula::FormulaGrammar::Grammar eGrammar
Definition: xmlimprt.hxx:73
ScMyImpDetectiveOpArray * GetDetectiveOpArray()
Definition: xmlimprt.cxx:1673
OUString sInputMessage
Definition: xmlimprt.hxx:92
formula::FormulaGrammar::Grammar eGrammar1
Definition: xmlimprt.hxx:103
void SetChangeTrackingViewSettings(const css::uno::Sequence< css::beans::PropertyValue > &rChangeProps)
Definition: xmlimprt.cxx:629
bool mbImportStyles
Definition: xmlimprt.hxx:168
virtual ~ScXMLImport() override
Definition: xmlimprt.cxx:392
rtl::Reference< XMLPropertyHandlerFactory > xScPropHdlFactory
Definition: xmlimprt.hxx:132
void AddNamedExpression(ScMyNamedExpression *pMyNamedExpression)
Definition: xmlimprt.hxx:227
rtl::Reference< XMLPropertySetMapper > xCellStylesPropertySetMapper
Definition: xmlimprt.hxx:133
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
void SetType(const css::uno::Reference< css::beans::XPropertySet > &rProperties, sal_Int32 &rNumberFormat, const sal_Int16 nCellType, const OUString &rCurrency)
Definition: xmlimprt.cxx:913
MutexGuard(ScXMLImport &rImport)
Definition: xmlimprt.cxx:1507
virtual XMLShapeImportHelper * CreateShapeImport() override
Definition: xmlimprt.cxx:559
sc::ImportPostProcessData * GetPostProcessData()
Definition: xmlimprt.hxx:223
virtual void NotifyContainsEmbeddedFont() override
Definition: xmlimprt.cxx:1667
ScDocumentImport & GetDoc()
Definition: xmlimprt.cxx:513
sal_Int16 SCTAB
Definition: types.hxx:23
void SetStylesToRangesFinished()
Definition: xmlimprt.cxx:1125
OUString sErrorTitle
Definition: xmlimprt.hxx:93
void SetRangeOverflowType(ErrCode nType)
Definition: xmlimprt.cxx:1559
void SetSheetNamedRanges()
Definition: xmlimprt.cxx:1324
void SetNewCondFormatData()
Definition: xmlimprt.hxx:266
std::unique_ptr< ScXMLChangeTrackingImportHelper > pChangeTrackingImportHelper
Definition: xmlimprt.hxx:129