The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15



Tips ‘n’ Tricks


:: com :: sun :: star :: bridge :: oleautomation ::

unpublished struct Currency
Usage Restrictions
not published
is the UNO representation of the Automation type CY, also know as CURRENCY.

A CY could actually be represented as hyper in UNO and therefore a typedef from hyper 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 long in Java. The information that the long is a currency type is lost.

When calling Automation objects from UNO the distinction between hyper and a currency type is important. Therefore Currency is declared as struct.

OOo 1.1.2

Elements' Summary
Value corresponds to the Automation type CY.  
Elements' Details
hyper Value;
corresponds to the Automation type CY.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.