|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.star.lib.uno.helper.WeakBase
org.geotools.openoffice.Formulas
org.geotools.openoffice.Nature
Exports methods from the org.geotools.nature package as
OpenOffice add-ins.
| Field Summary |
| Fields inherited from class org.geotools.openoffice.Formulas |
methods |
| Fields inherited from class com.sun.star.lib.uno.helper.WeakBase |
_mapImplementationIds, _mapTypes |
| Fields inherited from interface com.sun.star.sheet.XAddIn |
UNOTYPEINFO |
| Fields inherited from interface com.sun.star.lang.XServiceName |
UNOTYPEINFO |
| Fields inherited from interface com.sun.star.lang.XServiceInfo |
UNOTYPEINFO |
| Fields inherited from interface com.sun.star.uno.XWeak |
UNOTYPEINFO |
| Fields inherited from interface com.sun.star.lang.XTypeProvider |
UNOTYPEINFO |
| Constructor Summary | |
Nature()
Constructs a default implementation of interface. |
|
| Method Summary | |
static com.sun.star.lang.XSingleServiceFactory |
__getServiceFactory(java.lang.String implementation,
com.sun.star.lang.XMultiServiceFactory factories,
com.sun.star.registry.XRegistryKey registry)
Returns a factory for creating the service. |
static boolean |
__writeRegistryServiceInfo(com.sun.star.registry.XRegistryKey registry)
Writes the service information into the given registry key. |
double |
getAzimuth(com.sun.star.beans.XPropertySet xOptions,
double latitude,
double longitude,
double time)
Returns the Sun's azimuth in degrees. |
double |
getElevation(com.sun.star.beans.XPropertySet xOptions,
double latitude,
double longitude,
double time)
Returns the Sun's elevation angle in degrees. |
double |
getNoonTime(com.sun.star.beans.XPropertySet xOptions,
double latitude,
double longitude,
double time)
Returns the noon time (in GMT) when the Sun reach its highest point. |
double |
getSeaWaterDensity(com.sun.star.beans.XPropertySet xOptions,
double salinity,
double temperature,
double pressure)
Computes sea water density as a function of salinity, temperature and pressure. |
double |
getSeaWaterMeltingPoint(com.sun.star.beans.XPropertySet xOptions,
double salinity,
double pressure)
Computes the fusion temperature (melting point) as a function of salinity and pressure. |
double |
getSeaWaterSaturationO2(com.sun.star.beans.XPropertySet xOptions,
double salinity,
double temperature)
Computes the saturation in disolved oxygen (?mol/kg) as a function of salinity and temperature. |
double |
getSeaWaterSoundVelocity(com.sun.star.beans.XPropertySet xOptions,
double salinity,
double temperature,
double pressure)
Computes the sound velocity in sea water as a function of salinity, temperature and pressure. |
java.lang.String |
getServiceName()
The service name that can be used to create such an object by a factory. |
java.lang.String[] |
getSupportedServiceNames()
Provides the supported service names of the implementation, including also indirect service names. |
double |
getSynodicMonthLength(com.sun.star.beans.XPropertySet xOptions,
double time)
Returns the synodic month length in days. |
double |
getTropicalYearLength(com.sun.star.beans.XPropertySet xOptions,
double time)
Returns the tropical year length in days. |
boolean |
supportsService(java.lang.String name)
Tests whether the specified service is supported, i.e. implemented by the implementation. |
| Methods inherited from class org.geotools.openoffice.Formulas |
getArgumentDescription, getDisplayArgumentName, getDisplayCategoryName, getDisplayFunctionName, getEpoch, getFunctionDescription, getImplementationName, getJavaLocale, getLocale, getLocalizedMessage, getLogger, getProgrammaticCategoryName, getProgrammaticFuntionName, reportException, setLocale, setTimeZone, toDate, toDouble |
| Methods inherited from class com.sun.star.lib.uno.helper.WeakBase |
finalize, getImplementationId, getTypes, queryAdapter |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Nature()
| Method Detail |
public static com.sun.star.lang.XSingleServiceFactory __getServiceFactory(java.lang.String implementation,
com.sun.star.lang.XMultiServiceFactory factories,
com.sun.star.registry.XRegistryKey registry)
implementation - The name of the implementation for which a service is desired.factories - The service manager to be used if needed.registry - The registry key
public static boolean __writeRegistryServiceInfo(com.sun.star.registry.XRegistryKey registry)
registry - The registry key.
public java.lang.String getServiceName()
getServiceName in interface com.sun.star.lang.XServiceNamegetServiceName in class Formulaspublic java.lang.String[] getSupportedServiceNames()
getSupportedServiceNames in interface com.sun.star.lang.XServiceInfopublic boolean supportsService(java.lang.String name)
supportsService in interface com.sun.star.lang.XServiceInfoname - Name of service to be tested.
public double getNoonTime(com.sun.star.beans.XPropertySet xOptions,
double latitude,
double longitude,
double time)
getNoonTime in interface XNaturexOptions - Provided by OpenOffice.latitude - The latitude of observation point, in degrees.longitude - The longitude of observation point, in degrees.time - The observation date.
public double getElevation(com.sun.star.beans.XPropertySet xOptions,
double latitude,
double longitude,
double time)
getElevation in interface XNaturexOptions - Provided by OpenOffice.latitude - The latitude of observation point, in degrees.longitude - The longitude of observation point, in degrees.time - The observation date and time, in GMT.
public double getAzimuth(com.sun.star.beans.XPropertySet xOptions,
double latitude,
double longitude,
double time)
getAzimuth in interface XNaturexOptions - Provided by OpenOffice.latitude - The latitude of observation point, in degrees.longitude - The longitude of observation point, in degrees.time - The observation date and time, in GMT.
public double getTropicalYearLength(com.sun.star.beans.XPropertySet xOptions,
double time)
getTropicalYearLength in interface XNaturexOptions - Provided by OpenOffice.time - A date that contains the year.
public double getSynodicMonthLength(com.sun.star.beans.XPropertySet xOptions,
double time)
getSynodicMonthLength in interface XNaturexOptions - Provided by OpenOffice.time - A date that contains the month.
public double getSeaWaterDensity(com.sun.star.beans.XPropertySet xOptions,
double salinity,
double temperature,
double pressure)
getSeaWaterDensity in interface XNaturesalinity - Salinity PSS-78 (0 to 42).temperature - Temperature ITS-68 (-2 to 40?C).pressure - Pressure in decibars (0 to 105 dbar),
not including atmospheric pressure.
public double getSeaWaterMeltingPoint(com.sun.star.beans.XPropertySet xOptions,
double salinity,
double pressure)
getSeaWaterMeltingPoint in interface XNaturesalinity - Salinity PSS-78.pressure - Pressure in decibars, not including atmospheric pressure.
public double getSeaWaterSoundVelocity(com.sun.star.beans.XPropertySet xOptions,
double salinity,
double temperature,
double pressure)
getSeaWaterSoundVelocity in interface XNaturesalinity - Salinity PSS-78.temperature - Temperature ITS-68.pressure - Pressure in decibars, not including atmospheric pressure.
public double getSeaWaterSaturationO2(com.sun.star.beans.XPropertySet xOptions,
double salinity,
double temperature)
getSeaWaterSaturationO2 in interface XNaturesalinity - Salinity PSS-78.temperature - Temperature ITS-68.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||