summaryrefslogtreecommitdiff
path: root/udkapi
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-03-17 12:39:22 +0000
committerOliver Bolte <obo@openoffice.org>2004-03-17 12:39:22 +0000
commitb3731c66499eddaeb770e9310f6763daf6ed210c (patch)
tree724c1f89718140a1b4fdc3413b1c71040e21a5c5 /udkapi
parent4acb20b5fe23d06b8f79b2f82de4ed5ba17153a7 (diff)
INTEGRATION: CWS jl5vba (1.1.4); FILE ADDED
2004/01/16 14:11:35 jl 1.1.4.1: #112439# join cws ab02vba
Diffstat (limited to 'udkapi')
-rw-r--r--udkapi/com/sun/star/bridge/oleautomation/Currency.idl95
1 files changed, 95 insertions, 0 deletions
diff --git a/udkapi/com/sun/star/bridge/oleautomation/Currency.idl b/udkapi/com/sun/star/bridge/oleautomation/Currency.idl
new file mode 100644
index 000000000000..db701d71a85e
--- /dev/null
+++ b/udkapi/com/sun/star/bridge/oleautomation/Currency.idl
@@ -0,0 +1,95 @@
+/*************************************************************************
+ *
+ * $RCSfile: Currency.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: obo $ $Date: 2004-03-17 13:39:22 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s):
+ *
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_bridge_oleautomation_Currency_idl__
+#define __com_sun_star_bridge_oleautomation_Currency_idl__
+
+
+module com { module sun { module star { module bridge { module oleautomation {
+
+/** is the UNO representation of the Automation type <code>CY</code>, also know
+ as <code>CURRENCY</code>.
+ <p>
+ A <code>CY</code> could actually be represented as <atom>hyper</atom> in UNO
+ and therefore a typedef from <atom>hyper</atom> to a currency type would do.
+ But a typedef cannot be expressed in all language bindings. In the case
+ where no typedefs are supported the actual type is used. That is, a
+ typedef'd currency type would be represented as <code>long</code> in Java.
+ The information that the <code>long</code> is a currency type is lost.
+ </p>
+ <p>
+ When calling Automation objects from UNO the distinction between
+ <atom>hyper</atom> and a currency type is important. Therefore
+ <type>Currency</type> is declared as struct.
+ </p>
+
+ @since #112439#
+ */
+struct Currency
+{
+ /** corresponds to the Automation type <code>CY</code>.
+ */
+ hyper Value;
+};
+
+}; }; }; }; };
+
+
+#endif