Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: script ::
constants group FailReason
Description These values specify the reason why a type conversion failed.

Constants
OUT_OF_RANGE | The given value does not fit in the range of the destination type.
IS_NOT_NUMBER | The given value cannot be converted to a number.
IS_NOT_ENUM | The given value cannot be converted to an enumeration.
IS_NOT_BOOL | The given value cannot be converted to a boolean.
NO_SUCH_INTERFACE | The given value is not an interface or cannot queried to the right interface.
SOURCE_IS_NO_DERIVED_TYPE | The given value cannot be converted to right structure or exception type.
TYPE_NOT_SUPPORTED | The type class of the given value is not supported.
INVALID | The given value cannot be converted and none of the other reasons match.
NO_DEFAULT_AVAILABLE | [ DEPRECATED ] This value is deprecated. Do not use.
UNKNOWN | [ DEPRECATED ] This value is deprecated. Do not use.

Constants' Details
OUT_OF_RANGE
const long OUT_OF_RANGE = 1; Description The given value does not fit in the range of the destination type.
IS_NOT_NUMBER
const long IS_NOT_NUMBER = 2; Description The given value cannot be converted to a number.
IS_NOT_ENUM
const long IS_NOT_ENUM = 3; Description The given value cannot be converted to an enumeration.
IS_NOT_BOOL
const long IS_NOT_BOOL = 4; Description The given value cannot be converted to a boolean.
NO_SUCH_INTERFACE
const long NO_SUCH_INTERFACE = 5; Description The given value is not an interface or cannot queried to the right interface.
SOURCE_IS_NO_DERIVED_TYPE
const long SOURCE_IS_NO_DERIVED_TYPE = 6; Description The given value cannot be converted to right structure or exception type.
TYPE_NOT_SUPPORTED
const long TYPE_NOT_SUPPORTED = 7; Description The type class of the given value is not supported.
INVALID
const long INVALID = 8; Description The given value cannot be converted and none of the other reasons match.
NO_DEFAULT_AVAILABLE
const long NO_DEFAULT_AVAILABLE = 9; Usage Restrictions deprecated Description This value is deprecated. Do not use.
UNKNOWN
const long UNKNOWN = 10; Usage Restrictions deprecated Description This value is deprecated. Do not use.

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.