LibreOffice Module xmloff (master) 1
PageMasterExportPropMapper.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#pragma once
21
22#include <xmloff/xmlexppr.hxx>
26
28{
32 bool m_bGutterAtTop = false;
33
34 virtual void ContextFilter(
35 bool bEnableFoFontFamily,
36 ::std::vector< XMLPropertyState >& rProperties,
37 const css::uno::Reference< css::beans::XPropertySet >& rPropSet
38 ) const override;
39
40public:
43 SvXMLExport& rExport
44 );
45 virtual ~XMLPageMasterExportPropMapper() override;
46
47 virtual void handleElementItem(
48 SvXMLExport& rExport,
49 const XMLPropertyState& rProperty,
50 SvXmlExportFlags nFlags,
51 const ::std::vector< XMLPropertyState >* pProperties,
52 sal_uInt32 nIdx
53 ) const override;
54 virtual void handleSpecialItem(
56 const XMLPropertyState& rProperty,
57 const SvXMLUnitConverter& rUnitConverter,
58 const SvXMLNamespaceMap& rNamespaceMap,
59 const ::std::vector< XMLPropertyState >* pProperties,
60 sal_uInt32 nIdx
61 ) const override;
62
63 void SetGutterAtTop(bool bGutterAtTop) { m_bGutterAtTop = bGutterAtTop; }
64};
65
66/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
the SvXMLTypeConverter converts values of various types from their internal representation to the tex...
Definition: xmluconv.hxx:83
export footnote separator element in page styles
virtual void ContextFilter(bool bEnableFoFontFamily, ::std::vector< XMLPropertyState > &rProperties, const css::uno::Reference< css::beans::XPropertySet > &rPropSet) const override
Application-specific filter.
virtual void handleElementItem(SvXMLExport &rExport, const XMLPropertyState &rProperty, SvXmlExportFlags nFlags, const ::std::vector< XMLPropertyState > *pProperties, sal_uInt32 nIdx) const override
this method is called for every item that has the MID_FLAG_ELEMENT_EXPORT flag set
virtual void handleSpecialItem(comphelper::AttributeList &rAttrList, const XMLPropertyState &rProperty, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap, const ::std::vector< XMLPropertyState > *pProperties, sal_uInt32 nIdx) const override
this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_EXPORT flag set
XMLFootnoteSeparatorExport aFootnoteSeparatorExport
XMLPageMasterExportPropMapper(const rtl::Reference< XMLPropertySetMapper > &rMapper, SvXMLExport &rExport)
XMLBackgroundImageExport aBackgroundImageExport
Smart struct to transport an Any with an index to the appropriate property-name.
Definition: maptype.hxx:140
SvXmlExportFlags
Definition: xmlexppr.hxx:39