LibreOffice
LibreOffice 5.3 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
NumberFormat.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 #ifndef __com_sun_star_util_NumberFormat_idl__
20 #define __com_sun_star_util_NumberFormat_idl__
21 
22 
23 
24  module com { module sun { module star { module util {
25 
26 
29 published constants NumberFormat
30 {
31 
34  const short ALL = 0;
35 
36 
39  const short DEFINED = 1;
40 
41 
44  const short DATE = 2;
45 
46 
49  const short TIME = 4;
50 
51 
54  const short CURRENCY = 8;
55 
56 
59  const short NUMBER = 16;
60 
61 
64  const short SCIENTIFIC = 32;
65 
66 
69  const short FRACTION = 64;
70 
71 
74  const short PERCENT = 128;
75 
76 
79  const short TEXT = 256;
80 
81 
84  const short DATETIME = 6;
85 
86 
89  const short LOGICAL = 1024;
90 
91 
94  const short UNDEFINED = 2048;
95 
96 
100  const short EMPTY = 4096;
101 
102 };
103 
104 
105 }; }; }; };
106 
107 #endif
108 
109 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const long PERCENT
The caption contains the value of the data point in percent of all data points of one category...
Definition: ChartDataCaption.idl:51
const long LOGICAL
specifies a boolean function.
Definition: FunctionCategory.idl:55
const short TEXT
Text role.
Definition: AccessibleRole.idl:507
const long DATETIME
selects constant numeric values that have a date or time number format.
Definition: CellFlags.idl:44
const short CURRENCY
Currency format, for example, "#,##0.00 [$EUR]".
Definition: KNumberFormatUsage.idl:47
const short NUMBER
The animation value represents a number.
Definition: AnimationValueType.idl:36
const long ALL
This value is used to query for all methods, see XIntrospectionAccess::getMethod() and XIntrospection...
Definition: MethodConcept.idl:42
const short TIME
Time format, for example, "HH:MM:SS".
Definition: KNumberFormatUsage.idl:35
const short UNDEFINED
is used as a return value if no format exists.
Definition: NumberFormat.idl:94
const short SCIENTIFIC
selects scientific number formats.
Definition: NumberFormat.idl:64
const short FRACTION
selects number formats for fractions.
Definition: NumberFormat.idl:69
const byte EMPTY
Item is empty.
Definition: GalleryItemType.idl:31
const long DATE
the axis shows dates if the given data and chart type and the dimension allows
Definition: ChartAxisType.idl:44
const short DEFINED
selects only user-defined number formats.
Definition: NumberFormat.idl:39