bump product version to 4.1.6.2
[LibreOffice.git] / xmloff / inc / SchXMLExport.hxx
bloba585eecb46f9771874d7daee8bec5a337628bb80
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 .
19 #ifndef SCH_XMLEXPORT_HXX_
20 #define SCH_XMLEXPORT_HXX_
22 #include <xmloff/SchXMLExportHelper.hxx>
23 #include "SchXMLAutoStylePoolP.hxx"
24 #include <xmloff/xmlexp.hxx>
25 #include <xmloff/uniref.hxx>
26 #include <xmloff/xmlprmap.hxx>
27 #include <xmloff/prhdlfac.hxx>
29 namespace com { namespace sun { namespace star {
30 namespace task {
31 class XStatusIndicator;
33 }}}
35 // ------------------------------------------
36 // export class for a complete chart document
37 // ------------------------------------------
39 class SchXMLExport : public SvXMLExport
41 private:
42 com::sun::star::uno::Reference< com::sun::star::task::XStatusIndicator > mxStatusIndicator;
43 SchXMLAutoStylePoolP maAutoStylePool;
45 SchXMLExportHelper maExportHelper;
47 protected:
48 virtual sal_uInt32 exportDoc( enum ::xmloff::token::XMLTokenEnum eClass = ::xmloff::token::XML_TOKEN_INVALID );
50 virtual void _ExportStyles( sal_Bool bUsed );
51 virtual void _ExportAutoStyles();
52 virtual void _ExportMasterStyles();
53 virtual void _ExportContent();
55 public:
56 // #110680#
57 SchXMLExport(
58 const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext,
59 sal_uInt16 nExportFlags = EXPORT_ALL );
60 virtual ~SchXMLExport();
62 UniReference< XMLPropertySetMapper > GetPropertySetMapper() const;
64 // XServiceInfo ( : SvXMLExport )
65 virtual OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException );
68 #endif // SCH_XMLEXPORT_HXX_
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */