bump product version to 4.1.6.2
[LibreOffice.git] / sw / source / ui / inc / labimg.hxx
blobe4c63d52ba8dd0fa9b7ad3f9910f4a1394e70739
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef _LABIMG_HXX
21 #define _LABIMG_HXX
23 #include <svl/poolitem.hxx>
24 #include <unotools/configitem.hxx>
25 #include "swdllapi.h"
27 // class SwLabItem ----------------------------------------------------------
28 class SwLabCfgItem;
30 class SW_DLLPUBLIC SwLabItem : public SfxPoolItem
33 public:
35 SwLabItem();
36 SwLabItem(const SwLabItem& rItem);
38 SwLabItem& operator =(const SwLabItem& rItem);
40 virtual int operator ==(const SfxPoolItem& rItem) const;
42 virtual SfxPoolItem* Clone(SfxItemPool* = 0) const;
44 OUString aLstMake; // remember last selection
45 OUString aLstType;
46 OUString sDBName; // used database
48 OUString aWriting; // label
49 OUString aMake; // label mark
50 OUString aType; // label type
51 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
69 //parts of the business card
70 OUString aPrivFirstName;
71 OUString aPrivName;
72 OUString aPrivShortCut;
73 OUString aPrivFirstName2;
74 OUString aPrivName2;
75 OUString aPrivShortCut2;
76 OUString aPrivStreet;
77 OUString aPrivZip;
78 OUString aPrivCity;
79 OUString aPrivCountry;
80 OUString aPrivState;
81 OUString aPrivTitle;
82 OUString aPrivProfession;
83 OUString aPrivPhone;
84 OUString aPrivMobile;
85 OUString aPrivFax;
86 OUString aPrivWWW;
87 OUString aPrivMail;
88 OUString aCompCompany;
89 OUString aCompCompanyExt;
90 OUString aCompSlogan;
91 OUString aCompStreet;
92 OUString aCompZip;
93 OUString aCompCity;
94 OUString aCompCountry;
95 OUString aCompState;
96 OUString aCompPosition;
97 OUString aCompPhone;
98 OUString aCompMobile;
99 OUString aCompFax;
100 OUString aCompWWW;
101 OUString aCompMail;
103 OUString sGlossaryGroup;
104 OUString sGlossaryBlockName;
107 // class SwLabCfgItem -------------------------------------------------------
108 class SwLabCfgItem : public utl::ConfigItem
110 SwLabItem aItem;
111 sal_Bool bIsLabel;
113 com::sun::star::uno::Sequence<OUString> GetPropertyNames();
114 public:
115 SwLabCfgItem(sal_Bool bLabel);
117 SwLabItem& GetItem() {return aItem;}
119 virtual void Commit();
120 virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames );
123 #endif
125 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */