LibreOffice Module sc (master) 1
SparklineGroupsImportContext.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
10#pragma once
11
12#include <memory>
13#include "importcontext.hxx"
14#include "xmlimprt.hxx"
15#include <address.hxx>
16#include <rangelst.hxx>
17
18namespace sax_fastparser
19{
20class FastAttributeList;
21}
22
23namespace sc
24{
25class SparklineGroup;
26
29{
32};
33
36{
37private:
38 std::shared_ptr<sc::SparklineGroup> m_pCurrentSparklineGroup;
39 std::vector<SparklineImportData> m_aCurrentSparklineDataList;
40
41 void
42 fillSparklineGroupID(css::uno::Reference<css::xml::sax::XFastAttributeList> const& xAttrList);
44 css::uno::Reference<css::xml::sax::XFastAttributeList> const& xAttrList);
46 SparklineImportData& rImportData,
47 css::uno::Reference<css::xml::sax::XFastAttributeList> const& xAttrList);
48
49 void insertSparklines();
50
51public:
53
54 css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
55 sal_Int32 nElement,
56 css::uno::Reference<css::xml::sax::XFastAttributeList> const& xAttrList) override;
57
58 void SAL_CALL endFastElement(sal_Int32 nElement) override;
59};
60
61} // end sc
62
63/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This class exists only to provide GetScImport() to its derived classes.
Handle the import of sparkline groups and sparklines.
std::vector< SparklineImportData > m_aCurrentSparklineDataList
css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, css::uno::Reference< css::xml::sax::XFastAttributeList > const &xAttrList) override
void fillSparklineAttributes(SparklineImportData &rImportData, css::uno::Reference< css::xml::sax::XFastAttributeList > const &xAttrList)
void SAL_CALL endFastElement(sal_Int32 nElement) override
std::shared_ptr< sc::SparklineGroup > m_pCurrentSparklineGroup
void fillSparklineGroupAttributes(css::uno::Reference< css::xml::sax::XFastAttributeList > const &xAttrList)
void fillSparklineGroupID(css::uno::Reference< css::xml::sax::XFastAttributeList > const &xAttrList)
CAUTION! The following defines must be in the same namespace as the respective type.
Definition: broadcast.cxx:15
Transitional import data of a sparkline.