LibreOffice Module xmloff (master) 1
xmlnume.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 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20#ifndef INCLUDED_XMLOFF_XMLNUME_HXX
21#define INCLUDED_XMLOFF_XMLNUME_HXX
22
23#include <rtl/ustring.hxx>
24#include <xmloff/dllapi.h>
25
26namespace com::sun::star {
27 namespace style { class XStyle; }
28 namespace container { class XIndexReplace; }
29 namespace beans { struct PropertyValue; }
30}
31
32namespace com::sun::star::uno { template <class E> class Sequence; }
33namespace com::sun::star::uno { template <class interface_type> class Reference; }
34
35class SvXMLExport;
37
39{
41 // Boolean indicating, if properties for position-and-space-mode LABEL_ALIGNMENT
42 // are exported or not. (#i89178#)
43 // These properties have been introduced in ODF 1.2. Thus, its export have
44 // to be suppressed on writing ODF 1.0 respectively ODF 1.1
46
47 SAL_DLLPRIVATE void exportLevelStyle(
48 sal_Int32 nLevel,
49 const css::uno::Sequence< css::beans::PropertyValue>& rProps,
50 bool bOutline );
51
52 SAL_DLLPRIVATE void exportStyle( const css::uno::Reference< css::style::XStyle >& rStyle );
53 SAL_DLLPRIVATE void exportOutline();
54
55 SvXMLExport& GetExport() { return rExport; }
56
57public:
58
60
61 // should be private but sw::StoredChapterNumberingExport needs it
62 void exportLevelStyles(
63 const css::uno::Reference< css::container::XIndexReplace > & xNumRule,
64 bool bOutline=false );
65
66 void exportStyles(bool bUsed, bool bExportChapterNumbering);
67 void exportNumberingRule(
68 const OUString& rName, bool bIsHidden,
69 const css::uno::Reference< css::container::XIndexReplace > & xNumRule );
70};
71
72#endif // INCLUDED_XMLOFF_XMLNUME_HXX
73
74/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SvXMLExport & GetExport()
Definition: xmlnume.hxx:55
SvXMLExport & rExport
Definition: xmlnume.hxx:40
bool mbExportPositionAndSpaceModeLabelAlignment
Definition: xmlnume.hxx:45
#define XMLOFF_DLLPUBLIC
Definition: dllapi.h:29
Reference