LibreOffice Module basic (master) 1
Classes | Namespaces | Enumerations | Variables
sbxdef.hxx File Reference
#include <o3tl/typed_flags_set.hxx>
#include <sal/types.h>
Include dependency graph for sbxdef.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< SbxFlagBits >
 

Namespaces

namespace  o3tl
 

Enumerations

enum class  SbxClassType {
  DontCare = 1 ,
  Array ,
  Value ,
  Variable ,
  Method ,
  Property ,
  Object
}
 
enum  SbxDataType {
  SbxEMPTY = 0 ,
  SbxNULL = 1 ,
  SbxINTEGER = 2 ,
  SbxLONG = 3 ,
  SbxSINGLE = 4 ,
  SbxDOUBLE = 5 ,
  SbxCURRENCY = 6 ,
  SbxDATE = 7 ,
  SbxSTRING = 8 ,
  SbxOBJECT = 9 ,
  SbxERROR = 10 ,
  SbxBOOL = 11 ,
  SbxVARIANT = 12 ,
  SbxDATAOBJECT = 13 ,
  SbxCHAR = 16 ,
  SbxBYTE = 17 ,
  SbxUSHORT = 18 ,
  SbxULONG = 19 ,
  SbxINT = 22 ,
  SbxUINT = 23 ,
  SbxVOID = 24 ,
  SbxHRESULT = 25 ,
  SbxPOINTER = 26 ,
  SbxDIMARRAY = 27 ,
  SbxCARRAY = 28 ,
  SbxUSERDEF = 29 ,
  SbxLPSTR = 30 ,
  SbxLPWSTR = 31 ,
  SbxCoreSTRING = 32 ,
  SbxWSTRING = 33 ,
  SbxWCHAR = 34 ,
  SbxSALINT64 = 35 ,
  SbxSALUINT64 = 36 ,
  SbxDECIMAL = 37 ,
  SbxVECTOR = 0x1000 ,
  SbxARRAY = 0x2000 ,
  SbxBYREF = 0x4000 ,
  SbxMISSING = 0x8000
}
 
enum  SbxOperator {
  SbxEXP ,
  SbxMUL ,
  SbxDIV ,
  SbxMOD ,
  SbxPLUS ,
  SbxMINUS ,
  SbxNEG ,
  SbxIDIV ,
  SbxAND ,
  SbxOR ,
  SbxXOR ,
  SbxEQV ,
  SbxIMP ,
  SbxNOT ,
  SbxCAT ,
  SbxEQ ,
  SbxNE ,
  SbxLT ,
  SbxGT ,
  SbxLE ,
  SbxGE
}
 
enum class  SbxNameType {
  NONE ,
  CaseInsensitive ,
  ShortTypes
}
 
enum class  SbxFlagBits {
  NONE = 0x0000 ,
  Read = 0x0001 ,
  Write = 0x0002 ,
  ReadWrite = 0x0003 ,
  DontStore = 0x0004 ,
  Modified = 0x0008 ,
  Fixed = 0x0010 ,
  Const = 0x0020 ,
  Optional = 0x0040 ,
  Hidden = 0x0080 ,
  Invisible = 0x0100 ,
  ExtSearch = 0x0200 ,
  ExtFound = 0x0400 ,
  GlobalSearch = 0x0800 ,
  Reserved = 0x1000 ,
  Private = 0x1000 ,
  NoBroadcast = 0x2000 ,
  Reference = 0x4000 ,
  NoModify = 0x8000 ,
  WithEvents = 0x0080 ,
  DimAsNew = 0x0800 ,
  VarToDim = 0x2000
}
 
enum  SbxBOOL {
  SbxFALSE = 0 ,
  SbxTRUE = -1
}
 

Variables

const sal_uInt32 SBX_TYPE_WITH_EVENTS_FLAG = 0x10000
 
const sal_uInt32 SBX_TYPE_DIM_AS_NEW_FLAG = 0x20000
 
const sal_uInt32 SBX_FIXED_LEN_STRING_FLAG = 0x10000
 
const sal_uInt32 SBX_TYPE_VAR_TO_DIM_FLAG = 0x40000
 
constexpr auto SBXCR_SBX = 0x20584253
 
constexpr auto SBXID_VALUE = 0x4E4E
 
constexpr auto SBXID_VARIABLE = 0x4156
 
constexpr auto SBXID_ARRAY = 0x5241
 
constexpr auto SBXID_DIMARRAY = 0x4944
 
constexpr auto SBXID_OBJECT = 0x424F
 
constexpr auto SBXID_COLLECTION = 0x4F43
 
constexpr auto SBXID_FIXCOLLECTION = 0x4346
 
constexpr auto SBXID_METHOD = 0x454D
 
constexpr auto SBXID_PROPERTY = 0x5250
 
constexpr auto SbxMAXCHAR = u'\xFFFF'
 
constexpr auto SbxMINCHAR = 0
 
constexpr auto SbxMAXBYTE = 255
 
constexpr auto SbxMAXINT = 32767
 
constexpr auto SbxMININT = -32768
 
constexpr sal_uInt16 SbxMAXUINT = 65535
 
constexpr auto SbxMAXLNG = 2147483647
 
constexpr sal_Int32 SbxMINLNG = -2147483647-1
 
constexpr sal_uInt32 SbxMAXULNG = 0xffffffff
 
constexpr auto CURRENCY_FACTOR = 10000
 
constexpr auto CURRENCY_FACTOR_SQUARE = 100000000
 
constexpr auto SbxMAXCURR = 922337203685477.5807
 
constexpr auto SbxMINCURR = -922337203685477.5808
 
constexpr auto SbxMAXSNG = 3.402823e+38
 
constexpr auto SbxMINSNG = -3.402823e+38
 
constexpr auto SbxMAXSNG2 = 1.175494351e-38
 
constexpr auto SbxMINSNG2 = -1.175494351e-38
 
constexpr auto SBX_MAXINDEX = 0x3FF0
 
constexpr auto SBX_MAXINDEX32 = SbxMAXLNG
 

Enumeration Type Documentation

◆ SbxBOOL

enum SbxBOOL
Enumerator
SbxFALSE 
SbxTRUE 

Definition at line 215 of file sbxdef.hxx.

◆ SbxClassType

enum class SbxClassType
strong
Enumerator
DontCare 
Array 
Value 
Variable 
Method 
Property 
Object 

Definition at line 27 of file sbxdef.hxx.

◆ SbxDataType

Enumerator
SbxEMPTY 
SbxNULL 
SbxINTEGER 
SbxLONG 
SbxSINGLE 
SbxDOUBLE 
SbxCURRENCY 
SbxDATE 
SbxSTRING 
SbxOBJECT 
SbxERROR 
SbxBOOL 
SbxVARIANT 
SbxDATAOBJECT 
SbxCHAR 
SbxBYTE 
SbxUSHORT 
SbxULONG 
SbxINT 
SbxUINT 
SbxVOID 
SbxHRESULT 
SbxPOINTER 
SbxDIMARRAY 
SbxCARRAY 
SbxUSERDEF 
SbxLPSTR 
SbxLPWSTR 
SbxCoreSTRING 
SbxWSTRING 
SbxWCHAR 
SbxSALINT64 
SbxSALUINT64 
SbxDECIMAL 
SbxVECTOR 
SbxARRAY 
SbxBYREF 
SbxMISSING 

Definition at line 37 of file sbxdef.hxx.

◆ SbxFlagBits

enum class SbxFlagBits
strong
Enumerator
NONE 
Read 
Write 
ReadWrite 
DontStore 
Modified 
Fixed 
Const 
Optional 
Hidden 
Invisible 
ExtSearch 
ExtFound 
GlobalSearch 
Reserved 
Private 
NoBroadcast 
Reference 
NoModify 
WithEvents 
DimAsNew 
VarToDim 

Definition at line 131 of file sbxdef.hxx.

◆ SbxNameType

enum class SbxNameType
strong
Enumerator
NONE 
CaseInsensitive 
ShortTypes 

Definition at line 123 of file sbxdef.hxx.

◆ SbxOperator

Enumerator
SbxEXP 
SbxMUL 
SbxDIV 
SbxMOD 
SbxPLUS 
SbxMINUS 
SbxNEG 
SbxIDIV 
SbxAND 
SbxOR 
SbxXOR 
SbxEQV 
SbxIMP 
SbxNOT 
SbxCAT 
SbxEQ 
SbxNE 
SbxLT 
SbxGT 
SbxLE 
SbxGE 

Definition at line 92 of file sbxdef.hxx.

Variable Documentation

◆ CURRENCY_FACTOR

constexpr auto CURRENCY_FACTOR = 10000
constexpr

◆ CURRENCY_FACTOR_SQUARE

constexpr auto CURRENCY_FACTOR_SQUARE = 100000000
constexpr

Definition at line 198 of file sbxdef.hxx.

Referenced by SbxValue::Compute().

◆ SBX_FIXED_LEN_STRING_FLAG

const sal_uInt32 SBX_FIXED_LEN_STRING_FLAG = 0x10000

Definition at line 89 of file sbxdef.hxx.

Referenced by SbiParser::DefVar(), and SbiRuntime::implHandleSbxFlags().

◆ SBX_MAXINDEX

constexpr auto SBX_MAXINDEX = 0x3FF0
constexpr

Definition at line 211 of file sbxdef.hxx.

◆ SBX_MAXINDEX32

constexpr auto SBX_MAXINDEX32 = SbxMAXLNG
constexpr

Definition at line 212 of file sbxdef.hxx.

Referenced by SbxArray::GetRef().

◆ SBX_TYPE_DIM_AS_NEW_FLAG

const sal_uInt32 SBX_TYPE_DIM_AS_NEW_FLAG = 0x20000

Definition at line 88 of file sbxdef.hxx.

Referenced by SbiParser::DefVar(), and SbiRuntime::implHandleSbxFlags().

◆ SBX_TYPE_VAR_TO_DIM_FLAG

const sal_uInt32 SBX_TYPE_VAR_TO_DIM_FLAG = 0x40000

Definition at line 90 of file sbxdef.hxx.

Referenced by SbiParser::DefVar(), and SbiRuntime::implHandleSbxFlags().

◆ SBX_TYPE_WITH_EVENTS_FLAG

const sal_uInt32 SBX_TYPE_WITH_EVENTS_FLAG = 0x10000

Definition at line 87 of file sbxdef.hxx.

Referenced by SbiParser::DefVar(), and SbiRuntime::implHandleSbxFlags().

◆ SBXCR_SBX

constexpr auto SBXCR_SBX = 0x20584253
constexpr

◆ SBXID_ARRAY

constexpr auto SBXID_ARRAY = 0x5241
constexpr

Definition at line 171 of file sbxdef.hxx.

Referenced by SbxBase::Create().

◆ SBXID_COLLECTION

constexpr auto SBXID_COLLECTION = 0x4F43
constexpr

Definition at line 174 of file sbxdef.hxx.

Referenced by SbxBase::Create().

◆ SBXID_DIMARRAY

constexpr auto SBXID_DIMARRAY = 0x4944
constexpr

Definition at line 172 of file sbxdef.hxx.

Referenced by SbxBase::Create().

◆ SBXID_FIXCOLLECTION

constexpr auto SBXID_FIXCOLLECTION = 0x4346
constexpr

Definition at line 175 of file sbxdef.hxx.

Referenced by SbxBase::Create().

◆ SBXID_METHOD

constexpr auto SBXID_METHOD = 0x454D
constexpr

Definition at line 176 of file sbxdef.hxx.

Referenced by SbxBase::Create().

◆ SBXID_OBJECT

constexpr auto SBXID_OBJECT = 0x424F
constexpr

Definition at line 173 of file sbxdef.hxx.

Referenced by SbxBase::Create().

◆ SBXID_PROPERTY

constexpr auto SBXID_PROPERTY = 0x5250
constexpr

Definition at line 177 of file sbxdef.hxx.

Referenced by SbxBase::Create().

◆ SBXID_VALUE

constexpr auto SBXID_VALUE = 0x4E4E
constexpr

Definition at line 169 of file sbxdef.hxx.

Referenced by SbxBase::Create().

◆ SBXID_VARIABLE

constexpr auto SBXID_VARIABLE = 0x4156
constexpr

Definition at line 170 of file sbxdef.hxx.

Referenced by SbxBase::Create().

◆ SbxMAXBYTE

constexpr auto SbxMAXBYTE = 255
constexpr

◆ SbxMAXCHAR

constexpr auto SbxMAXCHAR = u'\xFFFF'
constexpr

◆ SbxMAXCURR

constexpr auto SbxMAXCURR = 922337203685477.5807
constexpr

Definition at line 202 of file sbxdef.hxx.

Referenced by SbxValue::Compute(), ImpPutDate(), ImpPutDouble(), and ImpPutSingle().

◆ SbxMAXINT

constexpr auto SbxMAXINT = 32767
constexpr

◆ SbxMAXLNG

constexpr auto SbxMAXLNG = 2147483647
constexpr

◆ SbxMAXSNG

constexpr auto SbxMAXSNG = 3.402823e+38
constexpr

Definition at line 205 of file sbxdef.hxx.

Referenced by ImpGetSingle(), ImpPutDate(), and ImpPutDouble().

◆ SbxMAXSNG2

constexpr auto SbxMAXSNG2 = 1.175494351e-38
constexpr

Definition at line 207 of file sbxdef.hxx.

Referenced by ImpGetSingle(), and ImpPutDouble().

◆ SbxMAXUINT

constexpr sal_uInt16 SbxMAXUINT = 65535
constexpr

◆ SbxMAXULNG

constexpr sal_uInt32 SbxMAXULNG = 0xffffffff
constexpr

Definition at line 192 of file sbxdef.hxx.

Referenced by ImpDoubleToULong(), ImpPutCurrency(), ImpPutInt64(), and ImpPutUInt64().

◆ SbxMINCHAR

constexpr auto SbxMINCHAR = 0
constexpr

◆ SbxMINCURR

constexpr auto SbxMINCURR = -922337203685477.5808
constexpr

Definition at line 203 of file sbxdef.hxx.

Referenced by SbxValue::Compute(), ImpPutDate(), ImpPutDouble(), and ImpPutSingle().

◆ SbxMININT

constexpr auto SbxMININT = -32768
constexpr

◆ SbxMINLNG

constexpr sal_Int32 SbxMINLNG = -2147483647-1
constexpr

◆ SbxMINSNG

constexpr auto SbxMINSNG = -3.402823e+38
constexpr

Definition at line 206 of file sbxdef.hxx.

Referenced by ImpGetSingle(), ImpPutDate(), and ImpPutDouble().

◆ SbxMINSNG2

constexpr auto SbxMINSNG2 = -1.175494351e-38
constexpr

Definition at line 208 of file sbxdef.hxx.

Referenced by ImpGetSingle(), and ImpPutDouble().