Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / xsd / Decimal.idl
bloba493ded4d635e0f409e68921f45895da393f36ec
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 #ifndef __com_sun_star_xsd_Decimal_idl__
30 #define __com_sun_star_xsd_Decimal_idl__
32 #include <com/sun/star/xsd/XDataType.idl>
34 //=============================================================================
35 module com { module sun { module star { module xsd {
37 //-----------------------------------------------------------------------------
38 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#decimal">XSD compliant decimal type</a>
40 service Decimal
42 /** provides access to common data type functionality
44 interface XDataType;
46 /** totalDigits is the maximum number of digits in values of decimal data
47 types.
49 <p>The value of totalDigits must be a positive integer.</p>
51 <p>See <a href="http://www.w3.org/TR/xmlschema-2/#rf-totalDigits">http://www.w3.org/TR/xmlschema-2/#rf-totalDigits</a></p>
53 [property, maybevoid] long TotalDigits;
55 /** fractionDigits is the maximum number of digits in the fractional part of values of
56 decimal data
58 <p>The value of fractionDigits must be a non negative integer.</p>
60 <p>See <a href="http://www.w3.org/TR/xmlschema-2/#rf-fractionDigits">http://www.w3.org/TR/xmlschema-2/#rf-fractionDigits</a></p>
62 [property, maybevoid] long FractionDigits;
64 /** specifies the inclusive upper bound for the value
65 @see http://www.w3.org/TR/xmlschema-2/#rf-maxInclusive
67 [property, maybevoid] double MaxInclusiveDouble;
69 /** specifies the exclusive upper bound for the value
70 @see http://www.w3.org/TR/xmlschema-2/#rf-maxExclusive
72 [property, maybevoid] double MaxExclusiveDouble;
74 /** specifies the inclusive lower bound for the value
75 @see http://www.w3.org/TR/xmlschema-2/#rf-minInclusive
77 [property, maybevoid] double MinInclusiveDouble;
79 /** specifies the exclusive lower bound for the value
80 @see http://www.w3.org/TR/xmlschema-2/#rf-minExclusive
82 [property, maybevoid] double MinExclusiveDouble;
85 //=============================================================================
87 }; }; }; };
89 #endif
91 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */