LCOV - code coverage report
Current view: top level - xmloff/source/style - PageMasterPropHdl.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 6 0.0 %
Date: 2014-04-14 Functions: 0 6 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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_SOURCE_STYLE_PAGEMASTERPROPHDL_HXX
      21             : #define INCLUDED_XMLOFF_SOURCE_STYLE_PAGEMASTERPROPHDL_HXX
      22             : 
      23             : #include <xmloff/xmlprhdl.hxx>
      24             : #include <rtl/ustring.hxx>
      25             : #include <xmloff/xmltoken.hxx>
      26             : 
      27             : // property handler for style:page-usage (style::PageStyleLayout)
      28             : 
      29           0 : class XMLPMPropHdl_PageStyleLayout : public XMLPropertyHandler
      30             : {
      31             : public:
      32             :     virtual                 ~XMLPMPropHdl_PageStyleLayout();
      33             :     virtual bool            equals(
      34             :                                 const ::com::sun::star::uno::Any& rAny1,
      35             :                                 const ::com::sun::star::uno::Any& rAny2
      36             :                                 ) const SAL_OVERRIDE;
      37             :     virtual bool            importXML(
      38             :                                 const OUString& rStrImpValue,
      39             :                                 ::com::sun::star::uno::Any& rValue,
      40             :                                 const SvXMLUnitConverter& rUnitConverter
      41             :                                 ) const SAL_OVERRIDE;
      42             :     virtual bool            exportXML(
      43             :                                 OUString& rStrExpValue,
      44             :                                 const ::com::sun::star::uno::Any& rValue,
      45             :                                 const SvXMLUnitConverter& rUnitConverter
      46             :                                 ) const SAL_OVERRIDE;
      47             : };
      48             : 
      49             : // property handler for style:num-format (style::NumberingType)
      50             : 
      51           0 : class XMLPMPropHdl_NumFormat : public XMLPropertyHandler
      52             : {
      53             : public:
      54             :     virtual                 ~XMLPMPropHdl_NumFormat();
      55             :     virtual bool            importXML(
      56             :                                 const OUString& rStrImpValue,
      57             :                                 ::com::sun::star::uno::Any& rValue,
      58             :                                 const SvXMLUnitConverter& rUnitConverter
      59             :                                 ) const SAL_OVERRIDE;
      60             :     virtual bool            exportXML(
      61             :                                 OUString& rStrExpValue,
      62             :                                 const ::com::sun::star::uno::Any& rValue,
      63             :                                 const SvXMLUnitConverter& rUnitConverter
      64             :                                 ) const SAL_OVERRIDE;
      65             : };
      66             : 
      67             : // property handler for style:num-letter-sync (style::NumberingType)
      68             : 
      69           0 : class XMLPMPropHdl_NumLetterSync : public XMLPropertyHandler
      70             : {
      71             : public:
      72             :     virtual                 ~XMLPMPropHdl_NumLetterSync();
      73             :     virtual bool            importXML(
      74             :                                 const OUString& rStrImpValue,
      75             :                                 ::com::sun::star::uno::Any& rValue,
      76             :                                 const SvXMLUnitConverter& rUnitConverter
      77             :                                 ) const SAL_OVERRIDE;
      78             :     virtual bool            exportXML(
      79             :                                 OUString& rStrExpValue,
      80             :                                 const ::com::sun::star::uno::Any& rValue,
      81             :                                 const SvXMLUnitConverter& rUnitConverter
      82             :                                 ) const SAL_OVERRIDE;
      83             : };
      84             : 
      85             : // property handler for style:paper-tray-number
      86             : 
      87           0 : class XMLPMPropHdl_PaperTrayNumber : public XMLPropertyHandler
      88             : {
      89             : public:
      90             :     virtual                 ~XMLPMPropHdl_PaperTrayNumber();
      91             :     virtual bool            importXML(
      92             :                                 const OUString& rStrImpValue,
      93             :                                 ::com::sun::star::uno::Any& rValue,
      94             :                                 const SvXMLUnitConverter& rUnitConverter
      95             :                                 ) const SAL_OVERRIDE;
      96             :     virtual bool            exportXML(
      97             :                                 OUString& rStrExpValue,
      98             :                                 const ::com::sun::star::uno::Any& rValue,
      99             :                                 const SvXMLUnitConverter& rUnitConverter
     100             :                                 ) const SAL_OVERRIDE;
     101             : };
     102             : 
     103             : // property handler for style:print
     104             : 
     105             : class XMLPMPropHdl_Print : public XMLPropertyHandler
     106             : {
     107             : protected:
     108             :     OUString         sAttrValue;
     109             : 
     110             : public:
     111             :                             XMLPMPropHdl_Print( enum ::xmloff::token::XMLTokenEnum eValue );
     112             :     virtual                 ~XMLPMPropHdl_Print();
     113             : 
     114             :     virtual bool            importXML(
     115             :                                 const OUString& rStrImpValue,
     116             :                                 ::com::sun::star::uno::Any& rValue,
     117             :                                 const SvXMLUnitConverter& rUnitConverter
     118             :                                 ) const SAL_OVERRIDE;
     119             :     virtual bool            exportXML(
     120             :                                 OUString& rStrExpValue,
     121             :                                 const ::com::sun::star::uno::Any& rValue,
     122             :                                 const SvXMLUnitConverter& rUnitConverter
     123             :                                 ) const SAL_OVERRIDE;
     124             : };
     125             : 
     126             : // property handler for style:table-centering
     127             : 
     128           0 : class XMLPMPropHdl_CenterHorizontal : public XMLPropertyHandler
     129             : {
     130             : public:
     131             :     virtual                 ~XMLPMPropHdl_CenterHorizontal();
     132             :     virtual bool            importXML(
     133             :                                 const OUString& rStrImpValue,
     134             :                                 ::com::sun::star::uno::Any& rValue,
     135             :                                 const SvXMLUnitConverter& rUnitConverter
     136             :                                 ) const SAL_OVERRIDE;
     137             :     virtual bool            exportXML(
     138             :                                 OUString& rStrExpValue,
     139             :                                 const ::com::sun::star::uno::Any& rValue,
     140             :                                 const SvXMLUnitConverter& rUnitConverter
     141             :                                 ) const SAL_OVERRIDE;
     142             : };
     143             : 
     144           0 : class XMLPMPropHdl_CenterVertical : public XMLPropertyHandler
     145             : {
     146             : public:
     147             :     virtual                 ~XMLPMPropHdl_CenterVertical();
     148             :     virtual bool            importXML(
     149             :                                 const OUString& rStrImpValue,
     150             :                                 ::com::sun::star::uno::Any& rValue,
     151             :                                 const SvXMLUnitConverter& rUnitConverter
     152             :                                 ) const SAL_OVERRIDE;
     153             :     virtual bool            exportXML(
     154             :                                 OUString& rStrExpValue,
     155             :                                 const ::com::sun::star::uno::Any& rValue,
     156             :                                 const SvXMLUnitConverter& rUnitConverter
     157             :                                 ) const SAL_OVERRIDE;
     158             : };
     159             : 
     160             : #endif
     161             : 
     162             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10