LibreOffice Module sc (master) 1
|
#include <xmlbodyi.hxx>
Public Member Functions | |
ScXMLBodyContext (ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList) | |
virtual | ~ScXMLBodyContext () override |
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL | createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override |
virtual void SAL_CALL | endFastElement (sal_Int32 nElement) override |
virtual void SAL_CALL | characters (const OUString &aChars) override |
Public Member Functions inherited from ScXMLImportContext | |
ScXMLImportContext (SvXMLImport &rImport) | |
Public Member Functions inherited from SvXMLImportContext | |
SvXMLImportContext (SvXMLImport &rImport) | |
virtual | ~SvXMLImportContext () |
virtual void SAL_CALL | startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | endFastElement (sal_Int32 Element) override |
virtual void SAL_CALL | endUnknownElement (const OUString &Namespace, const OUString &Name) override |
virtual css::uno::Reference< XFastContextHandler > SAL_CALL | createFastChildContext (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL | createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | characters (const OUString &aChars) override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) final override |
virtual void SAL_CALL | acquire () noexcept final override |
virtual void SAL_CALL | release () noexcept final override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () final override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () final override |
Private Attributes | |
OUString | sPassword |
ScPasswordHash | meHash1 |
ScPasswordHash | meHash2 |
bool | bProtected |
bool | bHadCalculationSettings |
ScXMLChangeTrackingImportHelper * | pChangeTrackingImportHelper |
Additional Inherited Members | |
Protected Member Functions inherited from ScXMLImportContext | |
ScXMLImport & | GetScImport () |
const ScXMLImport & | GetScImport () const |
Protected Member Functions inherited from SvXMLImportContext | |
SvXMLImport & | GetImport () |
const SvXMLImport & | GetImport () const |
Definition at line 30 of file xmlbodyi.hxx.
ScXMLBodyContext::ScXMLBodyContext | ( | ScXMLImport & | rImport, |
const rtl::Reference< sax_fastparser::FastAttributeList > & | rAttrList | ||
) |
Definition at line 59 of file xmlbodyi.cxx.
References bProtected, ScXMLImport::GetDocument(), ScPassHashHelper::getHashTypeFromURI(), ScXMLImportContext::GetScImport(), formula::FormulaGrammar::GRAM_ODFF, formula::FormulaGrammar::GRAM_PODF, IsTokenInNamespace(), IsXMLToken(), meHash1, meHash2, nToken, SAL_INFO, ScDocument::SetStorageGrammar(), sPassword, TOKEN_MASK, XML_ELEMENT, XML_NAMESPACE_TABLE, XML_PROTECTION_KEY, XML_PROTECTION_KEY_DIGEST_ALGORITHM, XML_PROTECTION_KEY_DIGEST_ALGORITHM_2, XML_STRUCTURE_PROTECTED, and XML_TRUE.
|
overridevirtual |
Definition at line 116 of file xmlbodyi.cxx.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 196 of file xmlbodyi.cxx.
References ScSheetSaveData::EndStreamPos(), ScXMLImport::GetByteOffset(), ScXMLImportContext::GetScImport(), and ScSheetSaveData::HasStartPos().
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 121 of file xmlbodyi.cxx.
References bHadCalculationSettings, sax_fastparser::castToFastAttributeList(), ScSheetSaveData::EndStreamPos(), ScXMLImport::GetByteOffset(), ScXMLImport::GetChangeTrackingImportHelper(), ScXMLImportContext::GetScImport(), ScSheetSaveData::HasStartPos(), MAXTAB, pChangeTrackingImportHelper, SCWARN_IMPORT_SHEET_OVERFLOW, ScXMLImport::SetRangeOverflowType(), TABLE, XML_CALCULATION_SETTINGS, XML_CONSOLIDATION, XML_CONTENT_VALIDATIONS, XML_DATA_MAPPINGS, XML_DATA_PILOT_TABLES, XML_DATA_STREAM_SOURCE, XML_DATABASE_RANGE, XML_DATABASE_RANGES, XML_DDE_LINKS, XML_ELEMENT, XML_LABEL_RANGES, XML_NAMED_EXPRESSIONS, XML_TABLE, and XML_TRACKED_CHANGES.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 208 of file xmlbodyi.cxx.
References ScDocument::AddDetectiveOperation(), ScMyImpDetectiveOp::aPosition, bHadCalculationSettings, bProtected, ScXMLChangeTrackingImportHelper::CreateChangeTrack(), comphelper::Base64::decode(), ScSheetSaveData::EndStreamPos(), ScMyImpDetectiveOp::eOpType, ScXMLImport::GetByteOffset(), ScXMLImport::GetDetectiveOpArray(), ScXMLImport::GetDocument(), ScMyImpDetectiveOpArray::GetFirstOp(), SvXMLImportContext::GetImport(), ScXMLImportContext::GetScImport(), ScSheetSaveData::HasStartPos(), meHash1, meHash2, pChangeTrackingImportHelper, ScDocument::SetDocProtection(), ScDocProtection::setPasswordHash(), ScDocProtection::setProtected(), ScMyImpDetectiveOpArray::Sort(), sPassword, and ScSheetSaveData::StoreLoadedNamespaces().
|
private |
Definition at line 36 of file xmlbodyi.hxx.
Referenced by createFastChildContext(), and endFastElement().
|
private |
Definition at line 35 of file xmlbodyi.hxx.
Referenced by endFastElement(), and ScXMLBodyContext().
|
private |
Definition at line 33 of file xmlbodyi.hxx.
Referenced by endFastElement(), and ScXMLBodyContext().
|
private |
Definition at line 34 of file xmlbodyi.hxx.
Referenced by endFastElement(), and ScXMLBodyContext().
|
private |
Definition at line 38 of file xmlbodyi.hxx.
Referenced by createFastChildContext(), and endFastElement().
|
private |
Definition at line 32 of file xmlbodyi.hxx.
Referenced by endFastElement(), and ScXMLBodyContext().