xref: /AOO41X/main/offapi/com/sun/star/text/UserDataPart.idl (revision d1766043198e81d0bcfc626e12893e7b4d7e31ca)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_text_UserDataPart_idl__
24#define __com_sun_star_text_UserDataPart_idl__
25
26
27//=============================================================================
28
29 module com {  module sun {  module star {  module text {
30
31//=============================================================================
32
33// DocMerge from idl: constants com::sun::star::text::UserDataPart
34/** These constants define which part of the user data is displayed in a
35        user data text field (service "sun.one.text.TextField.ExtendedUser")
36 */
37published constants UserDataPart
38{
39    //-------------------------------------------------------------------------
40
41    // DocMerge from idl: value com::sun::star::text::UserDataPart::COMPANY
42    /** The field shows the company name.
43     */
44    const short COMPANY = 0;
45
46    //-------------------------------------------------------------------------
47
48    // DocMerge from idl: value com::sun::star::text::UserDataPart::FIRSTNAME
49    /** The field shows the first name.
50     */
51    const short FIRSTNAME = 1;
52
53    //-------------------------------------------------------------------------
54
55    // DocMerge from idl: value com::sun::star::text::UserDataPart::NAME
56    /** The field shows the name.
57     */
58    const short NAME = 2;
59
60    //-------------------------------------------------------------------------
61
62    // DocMerge from idl: value com::sun::star::text::UserDataPart::SHORTCUT
63    /** The field shows the initials.
64     */
65    const short SHORTCUT = 3;
66
67    //-------------------------------------------------------------------------
68
69    // DocMerge from idl: value com::sun::star::text::UserDataPart::STREET
70    /** The field shows the street.
71     */
72    const short STREET = 4;
73
74    //-------------------------------------------------------------------------
75
76    // DocMerge from idl: value com::sun::star::text::UserDataPart::COUNTRY
77    /** The field shows the country.
78     */
79    const short COUNTRY = 5;
80
81    //-------------------------------------------------------------------------
82
83    // DocMerge from idl: value com::sun::star::text::UserDataPart::ZIP
84    /** The field shows the zip code.
85     */
86    const short ZIP = 6;
87
88    //-------------------------------------------------------------------------
89
90    // DocMerge from idl: value com::sun::star::text::UserDataPart::CITY
91    /** The field shows the city.
92     */
93    const short CITY = 7;
94
95    //-------------------------------------------------------------------------
96
97    // DocMerge from idl: value com::sun::star::text::UserDataPart::TITLE
98    /** The field shows the title.
99     */
100    const short TITLE = 8;
101
102    //-------------------------------------------------------------------------
103
104    // DocMerge from idl: value com::sun::star::text::UserDataPart::POSITION
105    /** The field shows the position.
106     */
107    const short POSITION = 9;
108
109    //-------------------------------------------------------------------------
110
111    // DocMerge from idl: value com::sun::star::text::UserDataPart::PHONE_PRIVATE
112    /** The field shows the no of the private phone.
113     */
114    const short PHONE_PRIVATE = 10;
115
116    //-------------------------------------------------------------------------
117
118    // DocMerge from idl: value com::sun::star::text::UserDataPart::PHONE_COMPANY
119    /** The field shows the number of the business phone.
120     */
121    const short PHONE_COMPANY = 11;
122
123    //-------------------------------------------------------------------------
124
125    // DocMerge from idl: value com::sun::star::text::UserDataPart::FAX
126    /** The field shows the fax no.
127     */
128    const short FAX = 12;
129
130    //-------------------------------------------------------------------------
131
132    // DocMerge from idl: value com::sun::star::text::UserDataPart::EMAIL
133    /** The field shows the e-Mail.
134     */
135    const short EMAIL = 13;
136
137    //-------------------------------------------------------------------------
138
139    // DocMerge from idl: value com::sun::star::text::UserDataPart::STATE
140    /** The field shows the state.
141     */
142    const short STATE = 14;
143
144};
145
146//=============================================================================
147
148}; }; }; };
149
150#endif
151