LCOV - code coverage report
Current view: top level - writerperfect/source/filter - FilterInternal.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 2 0.0 %
Date: 2012-08-25 Functions: 0 1 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2                 :            : /* FilterInternal: Debugging information
       3                 :            :  *
       4                 :            :  * This Source Code Form is subject to the terms of the Mozilla Public
       5                 :            :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       6                 :            :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       7                 :            :  *
       8                 :            :  * For further information visit http://libwpd.sourceforge.net
       9                 :            :  */
      10                 :            : #ifndef __FILTERINTERNAL_HXX__
      11                 :            : #define __FILTERINTERNAL_HXX__
      12                 :            : 
      13                 :            : #include <string.h> // for strcmp
      14                 :            : 
      15                 :            : #include <libwpd/libwpd.h>
      16                 :            : #include <libwpd/WPXString.h>
      17                 :            : 
      18                 :            : #ifdef HAVE_CONFIG_H
      19                 :            : #include <config.h>
      20                 :            : #endif
      21                 :            : 
      22                 :            : // used by FontStyle.cxx
      23                 :            : #define IMP_DEFAULT_FONT_PITCH "variable"
      24                 :            : 
      25                 :            : #if 0
      26                 :            : const double fDefaultSideMargin = 1.0; // inches
      27                 :            : const double fDefaultPageWidth = 8.5f; // inches (OOo required default: we will handle this later)
      28                 :            : const double fDefaultPageHeight = 11.0; // inches
      29                 :            : #endif
      30                 :            : 
      31                 :            : #ifdef DEBUG
      32                 :            : #include <stdio.h>
      33                 :            : #define WRITER_DEBUG_MSG(M) printf M
      34                 :            : #else
      35                 :            : #define WRITER_DEBUG_MSG(M)
      36                 :            : #endif
      37                 :            : 
      38                 :            : #if defined(SHAREDPTR_TR1)
      39                 :            : #include <tr1/memory>
      40                 :            : using std::tr1::shared_ptr;
      41                 :            : #elif defined(SHAREDPTR_STD)
      42                 :            : #include <memory>
      43                 :            : using std::shared_ptr;
      44                 :            : #else
      45                 :            : #include <boost/shared_ptr.hpp>
      46                 :            : using boost::shared_ptr;
      47                 :            : #endif
      48                 :            : 
      49                 :            : 
      50                 :            : class WPXPropertyList;
      51                 :            : WPXString propListToStyleKey(const WPXPropertyList &xPropList);
      52                 :            : 
      53                 :            : struct ltstr
      54                 :            : {
      55                 :          0 :     bool operator()(const WPXString &s1, const WPXString &s2) const
      56                 :            :     {
      57                 :          0 :         return strcmp(s1.cstr(), s2.cstr()) < 0;
      58                 :            :     }
      59                 :            : };
      60                 :            : 
      61                 :            : #endif
      62                 :            : 
      63                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10