|
LibreOffice Module basic (master) 1
|
#include <rtl/math.hxx>#include <vcl/svapp.hxx>#include <vcl/settings.hxx>#include <svl/numformat.hxx>#include <svl/zforlist.hxx>#include <tools/color.hxx>#include <i18nlangtag/lang.h>#include <basic/sberrors.hxx>#include "sbxconv.hxx"#include <runtime.hxx>#include <sbintern.hxx>#include <math.h>#include <memory>#include <config_features.h>Go to the source code of this file.
Functions | |
| double | ImpGetDate (const SbxValues *p) |
| void | ImpPutDate (SbxValues *p, double n) |
| double ImpGetDate | ( | const SbxValues * | p | ) |
Definition at line 36 of file sbxdate.cxx.
References aStr, ERRCODE_BASIC_CONVERSION, ERRCODE_BASIC_NO_OBJECT, SbxValue::GetDate(), LocaleDataWrapper::getDateOrder(), AllSettings::GetLanguageTag(), LanguageTag::getLanguageType(), SvtSysLocale::GetLocaleData(), SbiInstance::GetNumberFormatter(), GetSbData(), Application::GetSettings(), ImpCurrencyToDouble(), ImpSalUInt64ToDouble(), LANGUAGE_ENGLISH_US, nIndex, nType, p, SbiGlobals::pInst, SbiInstance::PrepareNumberFormatter(), SbxBYREF, SbxBYTE, SbxCHAR, SbxCURRENCY, SbxDATE, SbxDECIMAL, SbxDOUBLE, SbxEMPTY, SbxERROR, SbxINTEGER, SbxLONG, SbxLPSTR, SbxNULL, SbxOBJECT, SbxSALINT64, SbxSALUINT64, SbxSINGLE, SbxSTRING, SbxULONG, SbxUSHORT, and SbxBase::SetError().
Referenced by SbxValue::Get(), and ImpPutString().
| void ImpPutDate | ( | SbxValues * | p, |
| double | n | ||
| ) |
Definition at line 214 of file sbxdate.cxx.
References aStr, ERRCODE_BASIC_CONVERSION, ERRCODE_BASIC_MATH_OVERFLOW, ERRCODE_BASIC_NO_OBJECT, SbxValues::eType, LocaleDataWrapper::getDateOrder(), AllSettings::GetLanguageTag(), LanguageTag::getLanguageType(), SvtSysLocale::GetLocaleData(), SbiInstance::GetNumberFormatter(), GetSbData(), Application::GetSettings(), ImpCreateDecimal(), ImpDoubleToByte(), ImpDoubleToChar(), ImpDoubleToCurrency(), ImpDoubleToInteger(), ImpDoubleToLong(), ImpDoubleToSalInt64(), ImpDoubleToSalUInt64(), ImpDoubleToULong(), ImpDoubleToUShort(), LANGUAGE_ENGLISH_US, n, nIndex, nType, p, SbxValues::pByte, SbxValues::pChar, SbiGlobals::pInst, SbxValues::pInteger, SbxValues::pLong, SbxValues::pnInt64, SbiInstance::PrepareNumberFormatter(), SbxValues::pSingle, SbxValues::puInt64, SbxValues::pULong, SbxValues::pUShort, SbxValue::PutDate(), SbxBYREF, SbxBYTE, SbxCHAR, SbxCURRENCY, SbxDATE, SbxDECIMAL, SbxDOUBLE, SbxERROR, SbxINTEGER, SbxLONG, SbxLPSTR, SbxMAXCURR, SbxMAXSNG, SbxMINCURR, SbxMINSNG, SbxOBJECT, SbxSALINT64, SbxSALUINT64, SbxSINGLE, SbxSTRING, SbxULONG, SbxUSHORT, SbxDecimal::setDouble(), SbxBase::SetError(), and start.
Referenced by ImpGetString(), and SbxValue::Put().