Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / xmloff / source / chart / SchXMLPropertyMappingContext.hxx
blob2a0ba1c614134e5406969060028412e71014641b
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #ifndef INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLPROPERTYMAPPINGCONTEXT_HXX
11 #define INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLPROPERTYMAPPINGCONTEXT_HXX
13 #include "transporttypes.hxx"
14 #include "SchXMLChartContext.hxx"
15 #include <xmloff/xmlictxt.hxx>
16 #include <xmloff/SchXMLImportHelper.hxx>
18 namespace com { namespace sun { namespace star {
19 namespace chart2 {
20 class XChartDocument;
21 class XDataSeries;
23 }}}
25 class SchXMLPropertyMappingContext : public SvXMLImportContext
27 public:
29 SchXMLPropertyMappingContext( SchXMLImportHelper& rImpHelper,
30 SvXMLImport& rImport, const OUString& rLocalName,
31 tSchXMLLSequencesPerIndex& rLSequencesPerIndex,
32 css::uno::Reference<
33 css::chart2::XDataSeries > xSeries );
35 virtual ~SchXMLPropertyMappingContext();
37 virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override;
38 private:
40 SchXMLImportHelper& mrImportHelper;
41 css::uno::Reference< css::chart2::XDataSeries > mxDataSeries;
43 tSchXMLLSequencesPerIndex& mrLSequencesPerIndex;
47 #endif
49 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */