LCOV - code coverage report
Current view: top level - sw/source/ui/inc - colex.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 14 0.0 %
Date: 2012-08-25 Functions: 0 10 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 8 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                 :            : #ifndef _COLEX_HXX
      29                 :            : #define _COLEX_HXX
      30                 :            : 
      31                 :            : #include <svx/pagectrl.hxx>
      32                 :            : #include <editeng/paperinf.hxx>
      33                 :            : #include "swdllapi.h"
      34                 :            : #include <fmtclds.hxx>
      35                 :            : #include "frmatr.hxx"
      36                 :            : 
      37                 :            : class SwColMgr;
      38                 :            : class SfxItemSet;
      39                 :            : 
      40         [ #  # ]:          0 : class SW_DLLPUBLIC SwPageExample : public SvxPageWindow
      41                 :            : {
      42                 :            : public:
      43                 :          0 :     SwPageExample(Window* pPar, const ResId& rResId ) :
      44                 :          0 :                                 SvxPageWindow(pPar, rResId )
      45                 :          0 :                                 {SetSize(SvxPaperInfo::GetPaperSize(PAPER_A4));/*DIN A4*/}
      46                 :            : 
      47                 :            :     void UpdateExample( const SfxItemSet& rSet );
      48                 :            : };
      49                 :            : 
      50                 :            : class SwTextGridItem;
      51                 :            : 
      52                 :            : class SW_DLLPUBLIC SwPageGridExample : public SwPageExample
      53                 :            : {
      54                 :            :     SwTextGridItem*     pGridItem;
      55                 :            :     sal_Bool            m_bVertical;
      56                 :            : protected:
      57                 :            :     virtual void DrawPage( const Point& rPoint,
      58                 :            :                            const sal_Bool bSecond,
      59                 :            :                            const sal_Bool bEnabled );
      60                 :            : public:
      61                 :          0 :     SwPageGridExample(Window* pPar, const ResId& rResId ) :
      62                 :            :                                 SwPageExample(pPar, rResId ),
      63                 :            :                                 pGridItem(0),
      64                 :          0 :                                 m_bVertical(sal_False){}
      65                 :            :     ~SwPageGridExample();
      66                 :            :     void UpdateExample( const SfxItemSet& rSet );
      67                 :            : };
      68                 :            : 
      69         [ #  # ]:          0 : class SW_DLLPUBLIC SwColExample : public SwPageExample
      70                 :            : {
      71                 :            :     SwColMgr*   pColMgr;
      72                 :            : 
      73                 :            :     using SwPageExample::UpdateExample;
      74                 :            : 
      75                 :            : protected:
      76                 :            :     virtual void DrawPage( const Point& rPoint,
      77                 :            :                            const sal_Bool bSecond,
      78                 :            :                            const sal_Bool bEnabled );
      79                 :            : 
      80                 :            : public:
      81                 :          0 :         SwColExample(Window* pPar, const ResId& rResId ) :
      82                 :            :                                 SwPageExample(pPar, rResId ),
      83                 :          0 :                                 pColMgr(0){}
      84                 :            : 
      85                 :          0 :     void UpdateExample( const SfxItemSet& rSet, SwColMgr* pMgr  )
      86                 :          0 :         {   pColMgr = pMgr;
      87                 :          0 :             SwPageExample::UpdateExample(rSet);
      88                 :          0 :         }
      89                 :            : };
      90                 :            : 
      91 [ #  # ][ #  # ]:          0 : class SW_DLLPUBLIC SwColumnOnlyExample : public Window
      92                 :            : {
      93                 :            : private:
      94                 :            :     Size        m_aWinSize;
      95                 :            : 
      96                 :            :     Size        m_aFrmSize;
      97                 :            :     SwFmtCol    m_aCols;
      98                 :            : 
      99                 :            : protected:
     100                 :            :     virtual void Paint( const Rectangle& rRect );
     101                 :            : 
     102                 :            : public:
     103                 :            :     SwColumnOnlyExample( Window* , const ResId& );
     104                 :            : 
     105                 :            :     void        SetColumns(const SwFmtCol& rCol);
     106                 :            : 
     107                 :            : };
     108                 :            : 
     109                 :            : #endif // _COLEX_HXX
     110                 :            : 
     111                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10