LibreOffice
LibreOffice 7.2 SDK API Reference
DateTime.idl
Go to the documentation of this file.
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 __com_sun_star_text_textfield_DateTime_idl__
21 #define __com_sun_star_text_textfield_DateTime_idl_
22 
25 
26 
27 module com { module sun { module star { module text { module textfield {
28 
32 published service DateTime
33 {
35 
41  [optional, property] boolean IsFixed;
42 
47  [property] boolean IsDate;
48 
52 
56  [optional, property] long NumberFormat;
57 
73  [optional, property] short DateTimeFormat;
76  [optional, property] long Adjust;
80  [optional, property] boolean IsFixedLanguage;
81 };
82 
83 
84 }; }; }; }; };
85 
86 #endif
87 
88 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const short TextField
denotes a control which allows the user to enter property values consisting of a single line of text
Definition: PropertyControlType.idl:63
Definition: Ambiguous.idl:22
specifies service of a date or time text field.
Definition: DateTime.idl:33
short DateTimeFormat
this is the display format for this field.
Definition: DateTime.idl:73
long Adjust
contains an offset to the date or time value in minutes.
Definition: DateTime.idl:76
com::sun::star::util::DateTime DateTimeValue
the is the content of this field.
Definition: DateTime.idl:51
long NumberFormat
this is the number format for this field
Definition: DateTime.idl:56
boolean IsFixed
If this flag is set to FALSE the date or time is always displayed as the current date or time.
Definition: DateTime.idl:34
boolean IsFixedLanguage
determines whether changes in language attributes at the position the text field is located also chan...
Definition: DateTime.idl:80
boolean IsDate
If this flag is set to TRUE this field represents a date with an optional time.
Definition: DateTime.idl:47
represents a combined date+time value.
Definition: DateTime.idl:29