LCOV - code coverage report
Current view: top level - sw/source/ui/envelp - labimp.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 8 0.0 %
Date: 2012-08-25 Functions: 0 4 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 2 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 _LABIMP_HXX
      29                 :            : #define _LABIMP_HXX
      30                 :            : 
      31                 :            : 
      32                 :            : #include <sfx2/tabdlg.hxx>
      33                 :            : #include <vcl/lstbox.hxx>
      34                 :            : #include <vcl/fixed.hxx>
      35                 :            : #include <svtools/svmedit.hxx>
      36                 :            : #include <vcl/field.hxx>
      37                 :            : #include <svtools/stdctrl.hxx>
      38                 :            : #include <com/sun/star/frame/XController.hpp>
      39                 :            : #include <com/sun/star/text/XTextCursor.hpp>
      40                 :            : #include <com/sun/star/text/XWordCursor.hpp>
      41                 :            : #include <com/sun/star/text/XParagraphCursor.hpp>
      42                 :            : #include <com/sun/star/text/XPageCursor.hpp>
      43                 :            : #include <com/sun/star/text/XSentenceCursor.hpp>
      44                 :            : #include <com/sun/star/awt/XFileDialog.hpp>
      45                 :            : #include <com/sun/star/awt/XTextComponent.hpp>
      46                 :            : #include <com/sun/star/awt/XListBox.hpp>
      47                 :            : #include <com/sun/star/awt/XProgressMonitor.hpp>
      48                 :            : #include <com/sun/star/awt/TextAlign.hpp>
      49                 :            : #include <com/sun/star/awt/XScrollBar.hpp>
      50                 :            : #include <com/sun/star/awt/XVclContainerPeer.hpp>
      51                 :            : #include <com/sun/star/awt/XTabControllerModel.hpp>
      52                 :            : #include <com/sun/star/awt/XMessageBox.hpp>
      53                 :            : #include <com/sun/star/awt/XTextEditField.hpp>
      54                 :            : #include <com/sun/star/awt/Style.hpp>
      55                 :            : #include <com/sun/star/awt/XTimeField.hpp>
      56                 :            : #include <com/sun/star/awt/XVclWindowPeer.hpp>
      57                 :            : #include <com/sun/star/awt/XControlModel.hpp>
      58                 :            : #include <com/sun/star/awt/XSpinField.hpp>
      59                 :            : #include <com/sun/star/awt/XUnoControlContainer.hpp>
      60                 :            : #include <com/sun/star/awt/XTextLayoutConstrains.hpp>
      61                 :            : #include <com/sun/star/awt/XNumericField.hpp>
      62                 :            : #include <com/sun/star/awt/XButton.hpp>
      63                 :            : #include <com/sun/star/awt/XTextArea.hpp>
      64                 :            : #include <com/sun/star/awt/XImageButton.hpp>
      65                 :            : #include <com/sun/star/awt/XFixedText.hpp>
      66                 :            : #include <com/sun/star/awt/XControlContainer.hpp>
      67                 :            : #include <com/sun/star/awt/XDialog.hpp>
      68                 :            : #include <com/sun/star/awt/ScrollBarOrientation.hpp>
      69                 :            : #include <com/sun/star/awt/XRadioButton.hpp>
      70                 :            : #include <com/sun/star/awt/XCurrencyField.hpp>
      71                 :            : #include <com/sun/star/awt/XPatternField.hpp>
      72                 :            : #include <com/sun/star/awt/VclWindowPeerAttribute.hpp>
      73                 :            : #include <com/sun/star/awt/XTabController.hpp>
      74                 :            : #include <com/sun/star/awt/XVclContainer.hpp>
      75                 :            : #include <com/sun/star/awt/XDateField.hpp>
      76                 :            : #include <com/sun/star/awt/XComboBox.hpp>
      77                 :            : #include <com/sun/star/awt/XControl.hpp>
      78                 :            : #include <com/sun/star/awt/XCheckBox.hpp>
      79                 :            : #include <com/sun/star/awt/MessageBoxCommand.hpp>
      80                 :            : #include <com/sun/star/awt/XLayoutConstrains.hpp>
      81                 :            : #include <com/sun/star/awt/XProgressBar.hpp>
      82                 :            : #include <com/sun/star/container/XNameAccess.hpp>
      83                 :            : #include <svtools/svtreebx.hxx>
      84                 :            : #include <label.hxx>
      85                 :            : #include <labimg.hxx>
      86                 :            : #include <vector>
      87                 :            : 
      88                 :            : #define GETFLDVAL(rField)         (rField).Denormalize((rField).GetValue(FUNIT_TWIP))
      89                 :            : #define SETFLDVAL(rField, lValue) (rField).SetValue((rField).Normalize(lValue), FUNIT_TWIP)
      90                 :            : 
      91                 :          0 : class SwLabRec
      92                 :            : {
      93                 :            : public:
      94         [ #  # ]:          0 :     SwLabRec() {}
      95                 :            : 
      96                 :            :     void SetFromItem( const SwLabItem& rItem );
      97                 :            :     void FillItem( SwLabItem& rItem ) const;
      98                 :            : 
      99                 :            :     String          aMake;
     100                 :            :     String          aType;
     101                 :            :     long            lHDist;
     102                 :            :     long            lVDist;
     103                 :            :     long            lWidth;
     104                 :            :     long            lHeight;
     105                 :            :     long            lLeft;
     106                 :            :     long            lUpper;
     107                 :            :     long            lPWidth;
     108                 :            :     long            lPHeight;
     109                 :            :     sal_Int32       nCols;
     110                 :            :     sal_Int32       nRows;
     111                 :            :     sal_Bool        bCont;
     112                 :            : };
     113                 :            : 
     114                 :            : 
     115                 :          0 : class SwLabRecs : public std::vector<SwLabRec*> {
     116                 :            : public:
     117                 :          0 :     ~SwLabRecs()
     118                 :          0 :     {
     119                 :          0 :         for(const_iterator it = begin(); it != end(); ++it)
     120                 :          0 :             delete *it;
     121                 :          0 :     }
     122                 :            : };
     123                 :            : 
     124                 :            : #endif
     125                 :            : 
     126                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10