LCOV - code coverage report
Current view: top level - solver/unxlngi6.pro/inc/vcl - cvtsvm.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 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                 :            : /*************************************************************************
       3                 :            :  *
       4                 :            :  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       5                 :            :  *
       6                 :            :  * Copyright 2000, 2010 Oracle and/or its affiliates.
       7                 :            :  *
       8                 :            :  * OpenOffice.org - a multi-platform office productivity suite
       9                 :            :  *
      10                 :            :  * This file is part of OpenOffice.org.
      11                 :            :  *
      12                 :            :  * OpenOffice.org is free software: you can redistribute it and/or modify
      13                 :            :  * it under the terms of the GNU Lesser General Public License version 3
      14                 :            :  * only, as published by the Free Software Foundation.
      15                 :            :  *
      16                 :            :  * OpenOffice.org is distributed in the hope that it will be useful,
      17                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      18                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      19                 :            :  * GNU Lesser General Public License version 3 for more details
      20                 :            :  * (a copy is included in the LICENSE file that accompanied this code).
      21                 :            :  *
      22                 :            :  * You should have received a copy of the GNU Lesser General Public License
      23                 :            :  * version 3 along with OpenOffice.org.  If not, see
      24                 :            :  * <http://www.openoffice.org/license.html>
      25                 :            :  * for a copy of the LGPLv3 License.
      26                 :            :  *
      27                 :            :  ************************************************************************/
      28                 :            : 
      29                 :            : #ifndef _SV_CVTMTF_HXX
      30                 :            : #define _SV_CVTMTF_HXX
      31                 :            : 
      32                 :            : #include <stack>
      33                 :            : #include <vcl/dllapi.h>
      34                 :            : #include <vcl/metaact.hxx>
      35                 :            : #include <vcl/gdimtf.hxx>
      36                 :            : 
      37                 :            : // -----------
      38                 :            : // - Defines -
      39                 :            : // -----------
      40                 :            : 
      41                 :            : #define CONVERT_TO_SVM1                 0x00000001UL
      42                 :            : #define CONVERT_FROM_SVM1               0x00000002UL
      43                 :            : 
      44                 :            : #define GDI_PIXEL_ACTION                1
      45                 :            : #define GDI_POINT_ACTION                2
      46                 :            : #define GDI_LINE_ACTION                 3
      47                 :            : #define GDI_RECT_ACTION                 4
      48                 :            : #define GDI_ELLIPSE_ACTION              5
      49                 :            : #define GDI_ARC_ACTION                  6
      50                 :            : #define GDI_PIE_ACTION                  7
      51                 :            : #define GDI_INVERTRECT_ACTION           8
      52                 :            : #define GDI_HIGHLIGHTRECT_ACTION        9
      53                 :            : #define GDI_POLYLINE_ACTION             10
      54                 :            : #define GDI_POLYGON_ACTION              11
      55                 :            : #define GDI_POLYPOLYGON_ACTION          12
      56                 :            : #define GDI_TEXT_ACTION                 13
      57                 :            : #define GDI_TEXTARRAY_ACTION            14
      58                 :            : #define GDI_STRETCHTEXT_ACTION          15
      59                 :            : #define GDI_ICON_ACTION                 16
      60                 :            : #define GDI_BITMAP_ACTION               17
      61                 :            : #define GDI_BITMAPSCALE_ACTION          18
      62                 :            : #define GDI_PEN_ACTION                  19
      63                 :            : #define GDI_FONT_ACTION                 20
      64                 :            : #define GDI_BACKBRUSH_ACTION            21
      65                 :            : #define GDI_FILLBRUSH_ACTION            22
      66                 :            : #define GDI_MAPMODE_ACTION              23
      67                 :            : #define GDI_CLIPREGION_ACTION           24
      68                 :            : #define GDI_RASTEROP_ACTION             25
      69                 :            : #define GDI_PUSH_ACTION                 26
      70                 :            : #define GDI_POP_ACTION                  27
      71                 :            : #define GDI_MOVECLIPREGION_ACTION       28
      72                 :            : #define GDI_ISECTCLIPREGION_ACTION      29
      73                 :            : #define GDI_MTF_ACTION                  30
      74                 :            : #define GDI_BITMAPSCALEPART_ACTION      32
      75                 :            : #define GDI_GRADIENT_ACTION             33
      76                 :            : 
      77                 :            : #define GDI_TRANSPARENT_COMMENT         1024
      78                 :            : #define GDI_HATCH_COMMENT               1025
      79                 :            : #define GDI_REFPOINT_COMMENT            1026
      80                 :            : #define GDI_TEXTLINECOLOR_COMMENT       1027
      81                 :            : #define GDI_TEXTLINE_COMMENT            1028
      82                 :            : #define GDI_FLOATTRANSPARENT_COMMENT    1029
      83                 :            : #define GDI_GRADIENTEX_COMMENT          1030
      84                 :            : #define GDI_COMMENT_COMMENT             1031
      85                 :            : #define GDI_UNICODE_COMMENT             1032
      86                 :            : 
      87                 :            : #define GDI_LINEJOIN_ACTION             1033
      88                 :            : #define GDI_EXTENDEDPOLYGON_ACTION      1034
      89                 :            : #define GDI_LINEDASHDOT_ACTION          1035
      90                 :            : 
      91                 :            : // ----------------
      92                 :            : // - SVMConverter -
      93                 :            : // ----------------
      94                 :            : 
      95                 :            : class VCL_PLUGIN_PUBLIC SVMConverter
      96                 :            : {
      97                 :            : private:
      98                 :            :     SAL_DLLPRIVATE void             ImplConvertFromSVM1( SvStream& rIStm, GDIMetaFile& rMtf );
      99                 :            :     SAL_DLLPRIVATE void             ImplConvertToSVM1( SvStream& rOStm, GDIMetaFile& rMtf );
     100                 :            :     SAL_DLLPRIVATE sal_uLong            ImplWriteActions( SvStream& rOStm, GDIMetaFile& rMtf,
     101                 :            :                                           VirtualDevice& rSaveVDev, sal_Bool& rRop_0_1,
     102                 :            :                                           Color& rLineCol, ::std::stack<Color*>& rLineColStack,
     103                 :            :                                           rtl_TextEncoding& rActualCharSet );
     104                 :            : 
     105                 :            : public:
     106                 :            :                         SVMConverter( SvStream& rIStm, GDIMetaFile& rMtf, sal_uLong nConvertMode  );
     107                 :          0 :                         ~SVMConverter() {}
     108                 :            : 
     109                 :            : private:
     110                 :            :                         // Not implemented
     111                 :            :                         SVMConverter( const SVMConverter& );
     112                 :            :     SVMConverter&       operator=( const SVMConverter& );
     113                 :            : };
     114                 :            : 
     115                 :            : #endif // _SV_CVTMTF_HXX
     116                 :            : 
     117                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10