1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: UserDataPart.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_text_UserDataPart_idl__
31 #define __com_sun_star_text_UserDataPart_idl__
34 //=============================================================================
36 module com
{ module sun
{ module star
{ module text
{
38 //=============================================================================
40 // DocMerge from idl: constants com::sun::star::text::UserDataPart
41 /** These constants define which part of the user data is displayed in a
42 user data text field (service "sun.one.text.TextField.ExtendedUser")
44 published constants UserDataPart
46 //-------------------------------------------------------------------------
48 // DocMerge from idl: value com::sun::star::text::UserDataPart::COMPANY
49 /** The field shows the company name.
51 const short COMPANY
= 0;
53 //-------------------------------------------------------------------------
55 // DocMerge from idl: value com::sun::star::text::UserDataPart::FIRSTNAME
56 /** The field shows the first name.
58 const short FIRSTNAME
= 1;
60 //-------------------------------------------------------------------------
62 // DocMerge from idl: value com::sun::star::text::UserDataPart::NAME
63 /** The field shows the name.
67 //-------------------------------------------------------------------------
69 // DocMerge from idl: value com::sun::star::text::UserDataPart::SHORTCUT
70 /** The field shows the initials.
72 const short SHORTCUT
= 3;
74 //-------------------------------------------------------------------------
76 // DocMerge from idl: value com::sun::star::text::UserDataPart::STREET
77 /** The field shows the street.
79 const short STREET
= 4;
81 //-------------------------------------------------------------------------
83 // DocMerge from idl: value com::sun::star::text::UserDataPart::COUNTRY
84 /** The field shows the country.
86 const short COUNTRY
= 5;
88 //-------------------------------------------------------------------------
90 // DocMerge from idl: value com::sun::star::text::UserDataPart::ZIP
91 /** The field shows the zip code.
95 //-------------------------------------------------------------------------
97 // DocMerge from idl: value com::sun::star::text::UserDataPart::CITY
98 /** The field shows the city.
100 const short CITY
= 7;
102 //-------------------------------------------------------------------------
104 // DocMerge from idl: value com::sun::star::text::UserDataPart::TITLE
105 /** The field shows the title.
107 const short TITLE
= 8;
109 //-------------------------------------------------------------------------
111 // DocMerge from idl: value com::sun::star::text::UserDataPart::POSITION
112 /** The field shows the position.
114 const short POSITION
= 9;
116 //-------------------------------------------------------------------------
118 // DocMerge from idl: value com::sun::star::text::UserDataPart::PHONE_PRIVATE
119 /** The field shows the no of the private phone.
121 const short PHONE_PRIVATE
= 10;
123 //-------------------------------------------------------------------------
125 // DocMerge from idl: value com::sun::star::text::UserDataPart::PHONE_COMPANY
126 /** The field shows the number of the business phone.
128 const short PHONE_COMPANY
= 11;
130 //-------------------------------------------------------------------------
132 // DocMerge from idl: value com::sun::star::text::UserDataPart::FAX
133 /** The field shows the fax no.
135 const short FAX
= 12;
137 //-------------------------------------------------------------------------
139 // DocMerge from idl: value com::sun::star::text::UserDataPart::EMAIL
140 /** The field shows the e-Mail.
142 const short EMAIL
= 13;
144 //-------------------------------------------------------------------------
146 // DocMerge from idl: value com::sun::star::text::UserDataPart::STATE
147 /** The field shows the state.
149 const short STATE
= 14;
153 //=============================================================================