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 
53 namespace sc {
54 struct ImportPostProcessData;
55 struct PivotTableSources;
56 }
57 
58 
60 {
79 };
80 
82 {
87 };
88 
90 {
93 };
94 
96 {
101 // XML_TOK_TABLE_ROW_ATTR_USE_OPTIMAL_HEIGHT
102 };
103 
105 {
111 };
112 
114 {
131 };
132 
134 {
141 };
142 
143 class SvXMLTokenMap;
146 class SolarMutexGuard;
147 
149 {
150  OUString sName;
151  OUString sContent;
152  OUString sContentNmsp;
154  OUString sRangeType;
157 };
158 
159 typedef ::std::list<std::unique_ptr<ScMyNamedExpression>> ScMyNamedExpressions;
160 
162 {
163  OUString sLabelRangeStr;
164  OUString sDataRangeStr;
166 };
167 
168 typedef std::list< std::unique_ptr<const ScMyLabelRange> > ScMyLabelRanges;
169 
171 {
172  OUString sName;
173  OUString sImputTitle;
174  OUString sImputMessage;
175  OUString sErrorTitle;
176  OUString sErrorMessage;
177  OUString sFormula1;
178  OUString sFormula2;
179  OUString sFormulaNmsp1;
180  OUString sFormulaNmsp2;
181  OUString sBaseCellAddress; // string is used directly
182  css::sheet::ValidationAlertStyle aAlertStyle;
183  css::sheet::ValidationType aValidationType;
184  css::sheet::ConditionOperator aOperator;
187  sal_Int16 nShowList;
191 };
192 
193 typedef std::vector<ScMyImportValidation> ScMyImportValidations;
196 
198 {
199  ScXMLImport(const ScXMLImport&) = delete;
200  const ScXMLImport& operator=(const ScXMLImport&) = delete;
201 
202  typedef ::std::map<SCTAB, std::unique_ptr<ScMyNamedExpressions>> SheetNamedExpMap;
203 
205  std::unique_ptr<ScDocumentImport> mpDocImport;
206  std::unique_ptr<ScCompiler> mpComp; // For error-checking of cached string cell values.
207  std::unique_ptr<ScEditEngineDefaulter> mpEditEngine;
208  std::unique_ptr<sc::PivotTableSources> mpPivotSources;
209 
210  mutable std::unique_ptr<ScXMLEditAttributeMap> mpEditAttrMap;
211  std::unique_ptr<ScXMLChangeTrackingImportHelper> pChangeTrackingImportHelper;
212  std::unique_ptr<ScMyStylesImportHelper> pStylesImportHelper;
213 
219 
220  std::unique_ptr<SvXMLTokenMap> pTableElemTokenMap;
221  std::unique_ptr<SvXMLTokenMap> pTableRowsElemTokenMap;
222  std::unique_ptr<SvXMLTokenMap> pTableRowElemTokenMap;
223  std::unique_ptr<SvXMLTokenMap> pTableRowAttrTokenMap;
224  std::unique_ptr<SvXMLTokenMap> pTableRowCellElemTokenMap;
225  std::unique_ptr<SvXMLTokenMap> pTableRowCellAttrTokenMap;
226  std::unique_ptr<SvXMLTokenMap> pTableAnnotationAttrTokenMap;
227 
229 
231 
232  std::vector<ScDocRowHeightUpdater::TabRanges> maRecalcRowRanges;
233 
234  std::unique_ptr<ScMyNamedExpressions> m_pMyNamedExpressions;
235  SheetNamedExpMap m_SheetNamedExpressions;
236 
237  std::unique_ptr<ScMyLabelRanges> pMyLabelRanges;
238  std::unique_ptr<ScMyImportValidations> pValidations;
239  std::unique_ptr<ScMyImpDetectiveOpArray> pDetectiveOpArray;
240  std::unique_ptr<SolarMutexGuard> pSolarMutexGuard;
241 
242  std::unique_ptr<XMLNumberFormatAttributesExportHelper> pNumberFormatAttributesExportHelper;
243  std::unique_ptr<ScMyStyleNumberFormats> pStyleNumberFormats;
244  css::uno::Reference <css::util::XNumberFormats> xNumberFormats;
245  css::uno::Reference <css::util::XNumberFormatTypes> xNumberFormatTypes;
246 
247  css::uno::Reference <css::sheet::XSheetCellRangeContainer> xSheetCellRanges;
248 
249  OUString sPrevStyleName;
250  OUString sPrevCurrency;
251  sal_uInt32 nSolarMutexLocked;
252  sal_Int32 nProgressCount;
253  sal_Int16 nPrevCellType;
254  bool bLoadDoc; // Load doc or styles only
260 
261 protected:
262 
263  // This method is called after the namespace map has been updated, but
264  // before a context for the current element has been pushed.
265  virtual SvXMLImportContext *CreateFastContext( sal_Int32 nElement,
266  const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList >& xAttrList ) override;
267 
268  virtual XMLShapeImportHelper* CreateShapeImport() override;
269 
270 public:
271  ScXMLImport(
272  const css::uno::Reference< css::uno::XComponentContext >& rContext,
273  OUString const & implementationName, SvXMLImportFlags nImportFlag,
274  const css::uno::Sequence< OUString > & sSupportedServiceNames = {});
275 
276  virtual ~ScXMLImport() throw() override;
277 
278  // XInitialization
279  virtual void SAL_CALL initialize( const css::uno::Sequence<css::uno::Any>& aArguments ) override;
280 
281  // namespace office
282  // NB: in contrast to other CreateFooContexts, this particular one handles
283  // the root element (i.e. office:document-meta)
284  SvXMLImportContext *CreateMetaContext( sal_Int32 nElement );
287  SvXMLImportContext *CreateStylesContext( bool bAutoStyles );
288 
290  const rtl::Reference<sax_fastparser::FastAttributeList>& rAttrList );
291 
292  virtual void SetStatistics( const css::uno::Sequence< css::beans::NamedValue> & i_rStats) override;
293 
295 
296  ScDocument* GetDocument() { return pDoc; }
297  const ScDocument* GetDocument() const { return pDoc; }
298 
299  ScMyTables& GetTables() { return aTables; }
300 
301  std::vector<ScDocRowHeightUpdater::TabRanges>& GetRecalcRowRanges() { return maRecalcRowRanges; }
302 
303  bool IsStylesOnlyMode() const { return !bLoadDoc; }
304 
305  static sal_Int16 GetCellType(const char* rStrValue, const sal_Int32 nStrLength);
306 
311 
319 
322 
324 
325  void AddNamedExpression(ScMyNamedExpression* pMyNamedExpression)
326  {
327  if (!m_pMyNamedExpressions)
328  m_pMyNamedExpressions.reset(new ScMyNamedExpressions);
329  m_pMyNamedExpressions->push_back(std::unique_ptr<ScMyNamedExpression>(pMyNamedExpression));
330  }
331 
332  void AddNamedExpression(SCTAB nTab, ScMyNamedExpression* pNamedExp);
333 
334  void AddLabelRange(std::unique_ptr<const ScMyLabelRange> pMyLabelRange) {
335  if (!pMyLabelRanges)
336  pMyLabelRanges.reset(new ScMyLabelRanges);
337  pMyLabelRanges->push_back(std::move(pMyLabelRange)); }
338 
339  void AddValidation(const ScMyImportValidation& rValidation) {
340  if (!pValidations)
341  pValidations.reset(new ScMyImportValidations);
342  pValidations->push_back(rValidation); }
343  bool GetValidation(const OUString& sName, ScMyImportValidation& aValidation);
344 
346 
348  void InsertStyles();
349 
350  void SetChangeTrackingViewSettings(const css::uno::Sequence<css::beans::PropertyValue>& rChangeProps);
351  virtual void SetViewSettings(const css::uno::Sequence<css::beans::PropertyValue>& aViewProps) override;
352  virtual void SetConfigurationSettings(const css::uno::Sequence<css::beans::PropertyValue>& aConfigProps) override;
353 
354  ScMyStylesImportHelper* GetStylesImportHelper() { return pStylesImportHelper.get(); }
355  sal_Int32 SetCurrencySymbol(const sal_Int32 nKey, const OUString& rCurrency);
356  bool IsCurrencySymbol(const sal_Int32 nNumberFormat, const OUString& sCurrencySymbol, const OUString& sBankSymbol);
357  void SetType(const css::uno::Reference <css::beans::XPropertySet>& rProperties,
358  sal_Int32& rNumberFormat,
359  const sal_Int16 nCellType,
360  const OUString& rCurrency);
361 
362  void ProgressBarIncrement();
363 
364  void SetNewCondFormatData() { mbHasNewCondFormatData = true; }
366 
367 private:
368  void SetStyleToRanges();
369 
370  void ExamineDefaultStyle();
371 public:
372  void SetStyleToRanges(const ScRangeList& rRanges, const OUString* pStyleName,
373  const sal_Int16 nCellType, const OUString* pCurrency);
377 
379 
380  // XImporter
381  virtual void SAL_CALL setTargetDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) override;
382 
383  virtual void SAL_CALL startDocument() override;
384  virtual void SAL_CALL endDocument() override;
385 
386  virtual void DisposingModel() override;
387 
393  {
394  public:
395  explicit MutexGuard(ScXMLImport& rImport);
396  ~MutexGuard();
397  private:
399  };
400  void LockSolarMutex();
401  void UnlockSolarMutex();
402 
403  sal_Int32 GetByteOffset() const;
404 
406 
407  static sal_Int32 GetRangeType(const OUString& sRangeType);
408  void SetNamedRanges();
409  void SetSheetNamedRanges();
410  void SetLabelRanges();
412 
444  OUString& rFormula,
445  OUString& rFormulaNmsp,
447  const OUString& rAttrValue,
448  bool bRestrictToExternalNmsp = false ) const;
449 
450  FormulaError GetFormulaErrorConstant( const OUString& rStr ) const;
451 
454  virtual void NotifyEmbeddedFontRead() override;
455 };
456 
457 #endif
458 
459 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const SvXMLTokenMap & GetTableAnnotationAttrTokenMap()
Definition: xmlimprt.cxx:486
void SetStringRefSyntaxIfMissing()
Definition: xmlimprt.cxx:1552
css::uno::Reference< css::sheet::XSheetCellRangeContainer > xSheetCellRanges
Definition: xmlimprt.hxx:247
virtual SvXMLImportContext * CreateFastContext(sal_Int32 nElement, const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList > &xAttrList) override
Definition: xmlimprt.cxx:521
OUString sFormulaNmsp2
Definition: xmlimprt.hxx:180
ScXMLTableRowAttrTokens
Definition: xmlimprt.hxx:95
OUString sDataRangeStr
Definition: xmlimprt.hxx:164
ScXMLAnnotationAttrTokens
Definition: xmlimprt.hxx:133
SvXMLImportContext * CreateScriptContext()
Definition: xmlimprt.cxx:682
css::uno::Reference< css::util::XNumberFormatTypes > xNumberFormatTypes
Definition: xmlimprt.hxx:245
bool mbHasNewCondFormatData
Definition: xmlimprt.hxx:259
ScMyTables aTables
Lift cycle managed elsewhere, no need to delete.
Definition: xmlimprt.hxx:230
Provide mapping from ODF text formatting styles to EditEngine's, for rich-text cell content import...
std::vector< ScDocRowHeightUpdater::TabRanges > & GetRecalcRowRanges()
Definition: xmlimprt.hxx:301
sal_Int32 nProgressCount
Definition: xmlimprt.hxx:252
OUString sFormulaNmsp1
Definition: xmlimprt.hxx:179
ScDocument * pDoc
Definition: xmlimprt.hxx:204
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:296
ScMyTables & GetTables()
Definition: xmlimprt.hxx:299
ScXMLTableRowsTokens
Definition: xmlimprt.hxx:81
std::list< std::unique_ptr< const ScMyLabelRange > > ScMyLabelRanges
Definition: xmlimprt.hxx:168
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:232
SvXMLImportContext * CreateFontDeclsContext()
Definition: xmlimprt.cxx:638
std::unique_ptr< SvXMLTokenMap > pTableAnnotationAttrTokenMap
Definition: xmlimprt.hxx:226
const SvXMLTokenMap & GetTableRowCellElemTokenMap()
Definition: xmlimprt.cxx:466
std::unique_ptr< SvXMLTokenMap > pTableRowsElemTokenMap
Definition: xmlimprt.hxx:221
std::vector< ScMyImportValidation > ScMyImportValidations
Definition: xmlimprt.hxx:193
const ScXMLEditAttributeMap & GetEditAttributeMap() const
Definition: xmlimprt.cxx:1841
OUString sPrevCurrency
Definition: xmlimprt.hxx:250
ScMyStylesImportHelper * GetStylesImportHelper()
Definition: xmlimprt.hxx:354
bool mbLockSolarMutex
Definition: xmlimprt.hxx:257
Accessor class to ScDocument.
OUString sBaseCellAddress
Definition: xmlimprt.hxx:153
std::unique_ptr< ScMyImportValidations > pValidations
Definition: xmlimprt.hxx:238
OUString sPrevStyleName
Definition: xmlimprt.hxx:249
css::sheet::ConditionOperator aOperator
Definition: xmlimprt.hxx:184
SvXMLImportContext * CreateMetaContext(sal_Int32 nElement)
Definition: xmlimprt.cxx:665
rtl::Reference< XMLPropertySetMapper > xRowStylesPropertySetMapper
Definition: xmlimprt.hxx:217
bool SetNullDateOnUnitConverter()
Definition: xmlimprt.cxx:1312
const ScXMLImport & operator=(const ScXMLImport &)=delete
SvXMLImportFlags
void LockSolarMutex()
Definition: xmlimprt.cxx:1699
std::unique_ptr< ScDocumentImport > mpDocImport
Definition: xmlimprt.hxx:205
sc::ImportPostProcessData * mpPostProcessData
Definition: xmlimprt.hxx:228
std::unique_ptr< sc::PivotTableSources > mpPivotSources
Definition: xmlimprt.hxx:208
bool IsCurrencySymbol(const sal_Int32 nNumberFormat, const OUString &sCurrencySymbol, const OUString &sBankSymbol)
Definition: xmlimprt.cxx:1070
sal_Int32 SetCurrencySymbol(const sal_Int32 nKey, const OUString &rCurrency)
Definition: xmlimprt.cxx:1019
bool bSelfImportingXMLSet
Definition: xmlimprt.hxx:256
const ScDocument * GetDocument() const
Definition: xmlimprt.hxx:297
FormulaError GetFormulaErrorConstant(const OUString &rStr) const
Definition: xmlimprt.cxx:1819
ScXMLImport(const ScXMLImport &)=delete
virtual void SAL_CALL endDocument() override
Definition: xmlimprt.cxx:1568
SvXMLImportContext * CreateStylesContext(bool bAutoStyles)
Definition: xmlimprt.cxx:647
bool bNullDateSetted
Definition: xmlimprt.hxx:255
void InsertStyles()
Definition: xmlimprt.cxx:816
SheetNamedExpMap m_SheetNamedExpressions
Definition: xmlimprt.hxx:235
OUString sContentNmsp
Definition: xmlimprt.hxx:152
std::unique_ptr< SvXMLTokenMap > pTableRowAttrTokenMap
Definition: xmlimprt.hxx:223
bool GetValidation(const OUString &sName, ScMyImportValidation &aValidation)
Definition: xmlimprt.cxx:773
std::unique_ptr< SvXMLTokenMap > pTableRowCellAttrTokenMap
Definition: xmlimprt.hxx:225
void ExamineDefaultStyle()
Definition: xmlimprt.cxx:825
const rtl::Reference< XMLPropertySetMapper > & GetTableStylesPropertySetMapper() const
Definition: xmlimprt.hxx:310
const SvXMLTokenMap & GetTableRowElemTokenMap()
Definition: xmlimprt.cxx:429
virtual void SetStatistics(const css::uno::Sequence< css::beans::NamedValue > &i_rStats) override
Definition: xmlimprt.cxx:694
const rtl::Reference< XMLPropertySetMapper > & GetRowStylesPropertySetMapper() const
Definition: xmlimprt.hxx:309
bool bColumnOrientation
Definition: xmlimprt.hxx:165
ScXMLTableRowCellTokens
Definition: xmlimprt.hxx:104
void SetPostProcessData(sc::ImportPostProcessData *p)
Definition: xmlimprt.cxx:508
virtual void SetConfigurationSettings(const css::uno::Sequence< css::beans::PropertyValue > &aConfigProps) override
Definition: xmlimprt.cxx:961
std::unique_ptr< ScXMLEditAttributeMap > mpEditAttrMap
Definition: xmlimprt.hxx:210
class SAL_NO_VTABLE XPropertySet
std::unique_ptr< SvXMLTokenMap > pTableRowElemTokenMap
Definition: xmlimprt.hxx:222
virtual void SAL_CALL startDocument() override
Definition: xmlimprt.cxx:1361
std::unique_ptr< ScMyStyleNumberFormats > pStyleNumberFormats
Definition: xmlimprt.hxx:243
void SetStyleToRanges()
Definition: xmlimprt.cxx:1200
std::unique_ptr< ScCompiler > mpComp
Definition: xmlimprt.hxx:206
const rtl::Reference< XMLPropertySetMapper > & GetCellStylesPropertySetMapper() const
Definition: xmlimprt.hxx:307
std::unique_ptr< ScMyLabelRanges > pMyLabelRanges
Definition: xmlimprt.hxx:237
css::sheet::ValidationType aValidationType
Definition: xmlimprt.hxx:183
const rtl::Reference< XMLPropertySetMapper > & GetColumnStylesPropertySetMapper() const
Definition: xmlimprt.hxx:308
sal_uInt32 nSolarMutexLocked
Definition: xmlimprt.hxx:251
Use this class to manage solar mutex locking instead of calling LockSolarMutex() and UnlockSolarMutex...
Definition: xmlimprt.hxx:392
std::unique_ptr< ScMyNamedExpressions > m_pMyNamedExpressions
Definition: xmlimprt.hxx:234
std::unique_ptr< SvXMLTokenMap > pTableElemTokenMap
Definition: xmlimprt.hxx:220
static sal_Int16 GetCellType(const char *rStrValue, const sal_Int32 nStrLength)
Definition: xmlimprt.cxx:727
const SvXMLTokenMap & GetTableRowsElemTokenMap()
Definition: xmlimprt.cxx:410
ScXMLImport & mrImport
Definition: xmlimprt.hxx:398
const SvXMLTokenMap & GetTableElemTokenMap()
Definition: xmlimprt.cxx:376
OUString sImputMessage
Definition: xmlimprt.hxx:174
::std::map< SCTAB, std::unique_ptr< ScMyNamedExpressions > > SheetNamedExpMap
Definition: xmlimprt.hxx:202
ScXMLTableTokens
Definition: xmlimprt.hxx:59
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:1760
OUString sLabelRangeStr
Definition: xmlimprt.hxx:163
::std::list< std::unique_ptr< ScMyNamedExpression > > ScMyNamedExpressions
Definition: xmlimprt.hxx:159
FormulaError
XMLNumberFormatAttributesExportHelper * GetNumberFormatAttributesExportHelper()
Definition: xmlimprt.cxx:1320
void AddValidation(const ScMyImportValidation &rValidation)
Definition: xmlimprt.hxx:339
std::unique_ptr< ScEditEngineDefaulter > mpEditEngine
Definition: xmlimprt.hxx:207
static sal_Int32 GetRangeType(const OUString &sRangeType)
Definition: xmlimprt.cxx:1408
std::unique_ptr< XMLNumberFormatAttributesExportHelper > pNumberFormatAttributesExportHelper
Definition: xmlimprt.hxx:242
OUString sBaseCellAddress
Definition: xmlimprt.hxx:181
ScEditEngineDefaulter * GetEditEngine()
Definition: xmlimprt.cxx:1827
css::uno::Reference< css::util::XNumberFormats > xNumberFormats
Definition: xmlimprt.hxx:244
SvXMLImportContext * CreateBodyContext(const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
Definition: xmlimprt.cxx:660
formula::FormulaGrammar::Grammar eGrammar2
Definition: xmlimprt.hxx:186
sal_Int16 nPrevCellType
Definition: xmlimprt.hxx:253
virtual void SetViewSettings(const css::uno::Sequence< css::beans::PropertyValue > &aViewProps) override
Definition: xmlimprt.cxx:918
void SetNamedRanges()
Definition: xmlimprt.cxx:1522
void SetLabelRanges()
Definition: xmlimprt.cxx:1434
OUString sErrorMessage
Definition: xmlimprt.hxx:176
bool IsStylesOnlyMode() const
Definition: xmlimprt.hxx:303
bool HasNewCondFormatData() const
Definition: xmlimprt.hxx:365
std::unique_ptr< SolarMutexGuard > pSolarMutexGuard
Definition: xmlimprt.hxx:240
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &aArguments) override
Definition: xmlimprt.cxx:619
std::unique_ptr< SvXMLTokenMap > pTableRowCellElemTokenMap
Definition: xmlimprt.hxx:224
ScMyStyleNumberFormats * GetStyleNumberFormats()
Definition: xmlimprt.cxx:1327
const SvXMLTokenMap & GetTableRowCellAttrTokenMap()
Definition: xmlimprt.cxx:173
rtl::Reference< XMLPropertySetMapper > xColumnStylesPropertySetMapper
Definition: xmlimprt.hxx:216
std::unique_ptr< ScMyStylesImportHelper > pStylesImportHelper
Definition: xmlimprt.hxx:212
rtl::Reference< XMLPropertySetMapper > xTableStylesPropertySetMapper
Definition: xmlimprt.hxx:218
void UnlockSolarMutex()
Definition: xmlimprt.cxx:1717
css::sheet::ValidationAlertStyle aAlertStyle
Definition: xmlimprt.hxx:182
ScXMLChangeTrackingImportHelper * GetChangeTrackingImportHelper()
Definition: xmlimprt.cxx:809
std::unique_ptr< ScMyImpDetectiveOpArray > pDetectiveOpArray
Definition: xmlimprt.hxx:239
void AddLabelRange(std::unique_ptr< const ScMyLabelRange > pMyLabelRange)
Definition: xmlimprt.hxx:334
virtual void DisposingModel() override
Definition: xmlimprt.cxx:1682
QPRO_FUNC_TYPE nType
Definition: qproform.cxx:401
bool bLoadDoc
Definition: xmlimprt.hxx:254
formula::FormulaGrammar::Grammar eGrammar
Definition: xmlimprt.hxx:155
const SvXMLTokenMap & GetTableRowAttrTokenMap()
Definition: xmlimprt.cxx:446
ScMyImpDetectiveOpArray * GetDetectiveOpArray()
Definition: xmlimprt.cxx:1854
ScXMLTableRowCellAttrTokens
Definition: xmlimprt.hxx:113
formula::FormulaGrammar::Grammar eGrammar1
Definition: xmlimprt.hxx:185
ScXMLTableRowTokens
Definition: xmlimprt.hxx:89
void SetChangeTrackingViewSettings(const css::uno::Sequence< css::beans::PropertyValue > &rChangeProps)
Definition: xmlimprt.cxx:838
bool mbImportStyles
Definition: xmlimprt.hxx:258
virtual ~ScXMLImport() override
Definition: xmlimprt.cxx:592
rtl::Reference< XMLPropertyHandlerFactory > xScPropHdlFactory
Definition: xmlimprt.hxx:214
void AddNamedExpression(ScMyNamedExpression *pMyNamedExpression)
Definition: xmlimprt.hxx:325
rtl::Reference< XMLPropertySetMapper > xCellStylesPropertySetMapper
Definition: xmlimprt.hxx:215
sal_Int32 GetByteOffset() const
Definition: xmlimprt.cxx:1730
void ProgressBarIncrement()
Definition: xmlimprt.cxx:1750
sc::PivotTableSources & GetPivotTableSources()
Definition: xmlimprt.cxx:513
virtual void SAL_CALL setTargetDocument(const css::uno::Reference< css::lang::XComponent > &xDoc) override
Definition: xmlimprt.cxx:1341
void SetType(const css::uno::Reference< css::beans::XPropertySet > &rProperties, sal_Int32 &rNumberFormat, const sal_Int16 nCellType, const OUString &rCurrency)
Definition: xmlimprt.cxx:1122
MutexGuard(ScXMLImport &rImport)
Definition: xmlimprt.cxx:1688
virtual XMLShapeImportHelper * CreateShapeImport() override
Definition: xmlimprt.cxx:768
sc::ImportPostProcessData * GetPostProcessData()
Definition: xmlimprt.hxx:321
ScDocumentImport & GetDoc()
Definition: xmlimprt.cxx:722
sal_Int16 SCTAB
Definition: types.hxx:23
void SetStylesToRangesFinished()
Definition: xmlimprt.cxx:1334
void SetRangeOverflowType(ErrCode nType)
Definition: xmlimprt.cxx:1740
void SetSheetNamedRanges()
Definition: xmlimprt.cxx:1535
void SetNewCondFormatData()
Definition: xmlimprt.hxx:364
virtual void NotifyEmbeddedFontRead() override
Definition: xmlimprt.cxx:1848
std::unique_ptr< ScXMLChangeTrackingImportHelper > pChangeTrackingImportHelper
Definition: xmlimprt.hxx:211