LCOV - code coverage report
Current view: top level - libreoffice/sw/source/ui/inc - labimg.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 3 0.0 %
Date: 2012-12-27 Functions: 0 5 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             : 
      20             : #ifndef _LABIMG_HXX
      21             : #define _LABIMG_HXX
      22             : 
      23             : #include <svl/poolitem.hxx>
      24             : #include <unotools/configitem.hxx>
      25             : #include "swdllapi.h"
      26             : 
      27             : // class SwLabItem ----------------------------------------------------------
      28             : class SwLabCfgItem;
      29             : 
      30           0 : class SW_DLLPUBLIC SwLabItem : public SfxPoolItem
      31             : {
      32             : 
      33             : public:
      34             : 
      35             :     SwLabItem();
      36             :     SwLabItem(const SwLabItem& rItem);
      37             : 
      38             :     SwLabItem& operator =(const SwLabItem& rItem);
      39             : 
      40             :     virtual int operator ==(const SfxPoolItem& rItem) const;
      41             : 
      42             :     virtual SfxPoolItem*     Clone(SfxItemPool* = 0) const;
      43             : 
      44             :     rtl::OUString   aLstMake; // remember last selection
      45             :     rtl::OUString   aLstType;
      46             :     rtl::OUString   sDBName;  // used database
      47             : 
      48             :     rtl::OUString   aWriting; // label
      49             :     rtl::OUString   aMake;   // label mark
      50             :     rtl::OUString   aType;   // label type
      51             :     rtl::OUString   aBin;    // printer shaft
      52             :     sal_Int32       lHDist;  // horizontal distance (user)
      53             :     sal_Int32       lVDist;  // vertical distance (user)
      54             :     sal_Int32       lWidth;  // width (user)
      55             :     sal_Int32       lHeight;  // height (user)
      56             :     sal_Int32       lLeft;   // left border (user)
      57             :     sal_Int32       lUpper;  // upper border (user)
      58             :     sal_Int32       nCols;   // number of columns (user)
      59             :     sal_Int32       nRows;   // number of rows (user)
      60             :     sal_Int32       nCol;    // column for single print
      61             :     sal_Int32       nRow;    // row for single print
      62             :     sal_Int32       lPHeight; // paper height
      63             :     sal_Int32       lPWidth;  // paper width
      64             :     sal_Bool        bAddr;// address as label?
      65             :     sal_Bool        bCont;// continuous paper?
      66             :     sal_Bool        bPage;// whole page or single labels?
      67             :     sal_Bool        bSynchron;// synchronise all labels
      68             : 
      69             :     //parts of the business card
      70             :     rtl::OUString   aPrivFirstName;
      71             :     rtl::OUString   aPrivName;
      72             :     rtl::OUString   aPrivShortCut;
      73             :     rtl::OUString   aPrivFirstName2;
      74             :     rtl::OUString   aPrivName2;
      75             :     rtl::OUString   aPrivShortCut2;
      76             :     rtl::OUString   aPrivStreet;
      77             :     rtl::OUString   aPrivZip;
      78             :     rtl::OUString   aPrivCity;
      79             :     rtl::OUString   aPrivCountry;
      80             :     rtl::OUString   aPrivState;
      81             :     rtl::OUString   aPrivTitle;
      82             :     rtl::OUString   aPrivProfession;
      83             :     rtl::OUString   aPrivPhone;
      84             :     rtl::OUString   aPrivMobile;
      85             :     rtl::OUString   aPrivFax;
      86             :     rtl::OUString   aPrivWWW;
      87             :     rtl::OUString   aPrivMail;
      88             :     rtl::OUString   aCompCompany;
      89             :     rtl::OUString   aCompCompanyExt;
      90             :     rtl::OUString   aCompSlogan;
      91             :     rtl::OUString   aCompStreet;
      92             :     rtl::OUString   aCompZip;
      93             :     rtl::OUString   aCompCity;
      94             :     rtl::OUString   aCompCountry;
      95             :     rtl::OUString   aCompState;
      96             :     rtl::OUString   aCompPosition;
      97             :     rtl::OUString   aCompPhone;
      98             :     rtl::OUString   aCompMobile;
      99             :     rtl::OUString   aCompFax;
     100             :     rtl::OUString   aCompWWW;
     101             :     rtl::OUString   aCompMail;
     102             : 
     103             :     rtl::OUString   sGlossaryGroup;
     104             :     rtl::OUString   sGlossaryBlockName;
     105             : };
     106             : 
     107             : // class SwLabCfgItem -------------------------------------------------------
     108           0 : class SwLabCfgItem : public utl::ConfigItem
     109             : {
     110             :     SwLabItem   aItem;
     111             :     sal_Bool    bIsLabel;
     112             : 
     113             :     com::sun::star::uno::Sequence<rtl::OUString> GetPropertyNames();
     114             : public:
     115             :     SwLabCfgItem(sal_Bool bLabel);
     116             : 
     117           0 :     SwLabItem&              GetItem() {return aItem;}
     118             : 
     119             :     virtual void Commit();
     120             :     virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames );
     121             : };
     122             : 
     123             : #endif
     124             : 
     125             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10