xref: /AOO41X/main/offapi/com/sun/star/text/TimeDisplayFormat.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_TimeDisplayFormat_idl__
24#define __com_sun_star_text_TimeDisplayFormat_idl__
25
26
27//=============================================================================
28
29 module com {  module sun {  module star {  module text {
30
31//=============================================================================
32
33/** This constants define how a time field is formated before it is displayed.
34    The formate may also depend on the system or document locale.
35
36    @deprecated
37 */
38published constants TimeDisplayFormat
39{
40    //-------------------------------------------------------------------------
41
42    /** the system standard
43     */
44    const short STANDARD = 0;
45
46    //-------------------------------------------------------------------------
47
48    /** 13:49
49     */
50    const short HHMM = 1;
51
52    //-------------------------------------------------------------------------
53
54    /** 13:49:20
55     */
56    const short HHMMSS = 2;
57
58    //-------------------------------------------------------------------------
59
60    /** 13:49:20.30
61     */
62    const short HHMMSS00 = 3;
63
64    //-------------------------------------------------------------------------
65
66    /** 01:49
67     */
68    const short HHMMAMPM = 4;
69
70    //-------------------------------------------------------------------------
71
72    /** 01:49:20
73     */
74    const short HHMMSSAMPM = 5;
75
76    //-------------------------------------------------------------------------
77
78    /** 01:49:20.30
79     */
80    const short HHMMSS00AMPM = 6;
81};
82
83//=============================================================================
84
85}; }; }; };
86
87#endif
88