Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / include / oox / ppt / dgmimport.hxx
blob2fca42918d1abbe073bd0c0ad849ed0d68d863fd
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef INCLUDED_OOX_PPT_DGMIMPORT_HXX
21 #define INCLUDED_OOX_PPT_DGMIMPORT_HXX
23 #include <exception>
25 #include <com/sun/star/uno/Reference.hxx>
26 #include <com/sun/star/uno/RuntimeException.hpp>
27 #include <oox/core/filterbase.hxx>
28 #include <oox/core/xmlfilterbase.hxx>
29 #include <oox/drawingml/theme.hxx>
30 #include <rtl/ustring.hxx>
31 #include <sal/types.h>
33 namespace com { namespace sun { namespace star {
34 namespace uno { class XComponentContext; }
35 } } }
37 namespace oox {
38 namespace drawingml { namespace chart { class ChartConverter; } }
39 namespace ole { class VbaProject; }
40 namespace vml { class Drawing; }
43 namespace oox { namespace ppt {
46 class QuickDiagrammingImport : public oox::core::XmlFilterBase
48 public:
50 QuickDiagrammingImport( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
52 // from FilterBase
53 virtual bool importDocument() override;
54 virtual bool exportDocument() throw() override;
56 virtual const ::oox::drawingml::Theme* getCurrentTheme() const override;
57 virtual const oox::drawingml::table::TableStyleListPtr getTableStyles() override;
59 virtual oox::vml::Drawing* getVmlDrawing() override;
60 virtual oox::drawingml::chart::ChartConverter* getChartConverter() override;
62 private:
63 virtual OUString SAL_CALL getImplementationName() override;
64 virtual ::oox::ole::VbaProject* implCreateVbaProject() const override;
67 } }
69 #endif // INCLUDED_OOX_PPT_DGMIMPORT_HXX
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */