fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sc / source / filter / inc / revisionfragment.hxx
blobf16a9e996f650abacea5e3b49884d8b9e9c8741b
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_SC_OOX_XLS_REVISIONFRAGMENT_HXX
11 #define INCLUDED_SC_OOX_XLS_REVISIONFRAGMENT_HXX
13 #include <excelhandlers.hxx>
15 class ScChangeTrack;
17 namespace oox { namespace xls {
19 class RevisionHeadersFragment : public WorkbookFragmentBase
21 struct Impl;
22 Impl* mpImpl;
24 public:
25 explicit RevisionHeadersFragment(
26 const WorkbookHelper& rHelper, const OUString& rFragmentPath );
28 virtual ~RevisionHeadersFragment();
30 protected:
31 virtual oox::core::ContextHandlerRef onCreateContext(
32 sal_Int32 nElement, const AttributeList& rAttribs ) SAL_OVERRIDE;
34 virtual void onStartElement( const AttributeList& rAttribs ) SAL_OVERRIDE;
35 virtual void onCharacters( const OUString& rChars ) SAL_OVERRIDE;
36 virtual void onEndElement() SAL_OVERRIDE;
38 virtual void finalizeImport() SAL_OVERRIDE;
40 private:
41 void importHeader( const AttributeList& rAttribs );
44 class RevisionLogFragment : public WorkbookFragmentBase
46 struct Impl;
47 Impl* mpImpl;
49 public:
50 explicit RevisionLogFragment(
51 const WorkbookHelper& rHelper, const OUString& rFragmentPath, ScChangeTrack& rChangeTrack );
53 virtual ~RevisionLogFragment();
55 protected:
56 virtual oox::core::ContextHandlerRef onCreateContext(
57 sal_Int32 nElement, const AttributeList& rAttribs ) SAL_OVERRIDE;
59 virtual void onStartElement( const AttributeList& rAttribs ) SAL_OVERRIDE;
60 virtual void onCharacters( const OUString& rChars ) SAL_OVERRIDE;
61 virtual void onEndElement() SAL_OVERRIDE;
63 virtual void finalizeImport() SAL_OVERRIDE;
65 private:
66 void importCommon( const AttributeList& rAttribs );
67 void importRcc( const AttributeList& rAttribs );
68 void importRrc( const AttributeList& rAttribs );
70 void pushRevision();
75 #endif
77 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */