tdf#154285 Check upper bound of arguments in SbRtl_Minute function
[LibreOffice.git] / offapi / com / sun / star / xsd / Decimal.idl
blob8a16d6ba9c42e2258bf5a5172568c14f5d60ba15
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 module com { module sun { module star { module xsd {
22 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#decimal">XSD compliant decimal type</a>
24 service Decimal
26 /** provides access to common data type functionality
28 interface XDataType;
30 /** totalDigits is the maximum number of digits in values of decimal data
31 types.
33 <p>The value of totalDigits must be a positive integer.</p>
35 <p>See <a href="http://www.w3.org/TR/xmlschema-2/#rf-totalDigits">http://www.w3.org/TR/xmlschema-2/#rf-totalDigits</a></p>
37 [property, maybevoid] long TotalDigits;
39 /** fractionDigits is the maximum number of digits in the fractional part of values of
40 decimal data
42 <p>The value of fractionDigits must be a non negative integer.</p>
44 <p>See <a href="http://www.w3.org/TR/xmlschema-2/#rf-fractionDigits">http://www.w3.org/TR/xmlschema-2/#rf-fractionDigits</a></p>
46 [property, maybevoid] long FractionDigits;
48 /** specifies the inclusive upper bound for the value
49 @see http://www.w3.org/TR/xmlschema-2/#rf-maxInclusive
51 [property, maybevoid] double MaxInclusiveDouble;
53 /** specifies the exclusive upper bound for the value
54 @see http://www.w3.org/TR/xmlschema-2/#rf-maxExclusive
56 [property, maybevoid] double MaxExclusiveDouble;
58 /** specifies the inclusive lower bound for the value
59 @see http://www.w3.org/TR/xmlschema-2/#rf-minInclusive
61 [property, maybevoid] double MinInclusiveDouble;
63 /** specifies the exclusive lower bound for the value
64 @see http://www.w3.org/TR/xmlschema-2/#rf-minExclusive
66 [property, maybevoid] double MinExclusiveDouble;
70 }; }; }; };
72 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */