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

Generated by: LCOV version 1.10