LibreOffice
LibreOffice 4.2 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
XNumberFormats.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_XNumberFormats_idl__
20 #define __com_sun_star_util_XNumberFormats_idl__
21 
23 
25 
27 
29 
30 
31 
32  module com { module sun { module star { module util {
33 
34 
38 {
39 
43  com::sun::star::beans::XPropertySet getByKey( [in] long nKey );
44 
45 
60  sequence<long> queryKeys( [in] short nType,
61  [in] com::sun::star::lang::Locale nLocale,
62  [in] boolean bCreate );
63 
64 
67  long queryKey( [in] string aFormat,
68  [in] com::sun::star::lang::Locale nLocale,
69  [in] boolean bScan );
70 
71 
74  long addNew( [in] string aFormat,
75  [in] com::sun::star::lang::Locale nLocale )
77 
78 
83  long addNewConverted( [in] string aFormat,
84  [in] com::sun::star::lang::Locale nLocale,
85  [in] com::sun::star::lang::Locale nNewLocale )
87 
88 
91  void removeByKey( [in] long nKey );
92 
93 
97  string generateFormat( [in] long nBaseKey,
98  [in] com::sun::star::lang::Locale nLocale,
99  [in] boolean bThousands,
100  [in] boolean bRed,
101  [in] short nDecimals,
102  [in] short nLeading );
103 
104 };
105 
106 
107 }; }; }; };
108 
109 #endif
110 
111 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
provides access to multiple NumberFormats.
Definition: XNumberFormats.idl:37
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:52
is thrown when a NumberFormat string is syntactically incorrect.
Definition: MalformedNumberFormatException.idl:32
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:63
base interface of all UNO interfaces
Definition: XInterface.idl:47