LibreOffice Module basic (master) 1
Functions
sbxscan.cxx File Reference
#include <sal/config.h>
#include <string_view>
#include <config_features.h>
#include <comphelper/errcode.hxx>
#include <unotools/resmgr.hxx>
#include "sbxconv.hxx"
#include <rtlproto.hxx>
#include <unotools/syslocale.hxx>
#include <unotools/charclass.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <math.h>
#include <sbxbase.hxx>
#include <sbintern.hxx>
#include <sbxform.hxx>
#include <date.hxx>
#include <runtime.hxx>
#include <strings.hrc>
#include <rtl/character.hxx>
#include <rtl/math.hxx>
#include <svl/numformat.hxx>
#include <svl/zforlist.hxx>
#include <o3tl/string_view.hxx>
Include dependency graph for sbxscan.cxx:

Go to the source code of this file.

Functions

void ImpGetIntntlSep (sal_Unicode &rcDecimalSep, sal_Unicode &rcThousandSep, sal_Unicode &rcDecimalSepAlt)
 
static bool ImpStrChr (std::u16string_view str, sal_Unicode c)
 
ErrCode ImpScan (const OUString &rWSrc, double &nVal, SbxDataType &rType, sal_uInt16 *pLen, bool bOnlyIntntl)
 
void ImpCvtNum (double nNum, short nPrec, OUString &rRes, bool bCoreString)
 
bool ImpConvStringExt (OUString &rSrc, SbxDataType eTargetType)
 
static sal_uInt16 printfmtstr (const OUString &rStr, OUString &rRes, const OUString &rFmt)
 
std::locale BasResLocale ()
 
OUString BasResId (TranslateId aId)
 

Function Documentation

◆ BasResId()

OUString BasResId ( TranslateId  aId)

Definition at line 432 of file sbxscan.cxx.

References BasResLocale(), and Translate::get().

Referenced by BasicDLL::BasicBreak(), SbxValue::Format(), and StarBASIC::MakeErrorText().

◆ BasResLocale()

std::locale BasResLocale ( )

Definition at line 427 of file sbxscan.cxx.

References Translate::Create().

Referenced by BasResId().

◆ ImpConvStringExt()

bool ImpConvStringExt ( OUString &  rSrc,
SbxDataType  eTargetType 
)

Definition at line 301 of file sbxscan.cxx.

References ImpGetIntntlSep(), nPos, SbxCURRENCY, SbxDOUBLE, SbxFALSE, SbxSINGLE, and SbxTRUE.

Referenced by SbxValue::PutStringExt().

◆ ImpCvtNum()

void ImpCvtNum ( double  nNum,
short  nPrec,
OUString &  rRes,
bool  bCoreString 
)

◆ ImpGetIntntlSep()

void ImpGetIntntlSep ( sal_Unicode rcDecimalSep,
sal_Unicode rcThousandSep,
sal_Unicode rcDecimalSepAlt 
)

◆ ImpScan()

ErrCode ImpScan ( const OUString &  rWSrc,
double &  nVal,
SbxDataType rType,
sal_uInt16 *  pLen,
bool  bOnlyIntntl 
)

◆ ImpStrChr()

static bool ImpStrChr ( std::u16string_view  str,
sal_Unicode  c 
)
static

Definition at line 64 of file sbxscan.cxx.

Referenced by ImpScan().

◆ printfmtstr()

static sal_uInt16 printfmtstr ( const OUString &  rStr,
OUString &  rRes,
const OUString &  rFmt 
)
static

Definition at line 361 of file sbxscan.cxx.

References u.

Referenced by SbxValue::Format().