2010-10-12 15:53:47 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-07-17 12:30:48 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2000-09-18 15:18:56 +00:00
|
|
|
|
2006-09-17 09:05:43 +00:00
|
|
|
|
2017-10-09 17:04:39 +03:00
|
|
|
#include <runtime.hxx>
|
|
|
|
#include <stdobj.hxx>
|
|
|
|
#include <rtlproto.hxx>
|
|
|
|
#include <errobject.hxx>
|
2013-11-11 21:25:36 -06:00
|
|
|
#include <basegfx/numeric/ftools.hxx>
|
2000-09-18 15:18:56 +00:00
|
|
|
|
|
|
|
|
2011-08-27 21:37:14 +02:00
|
|
|
// Properties and methods lay the return value down at Get (bWrite = sal_False)
|
|
|
|
// at the element 0 of the Argv; at Put (bWrite = sal_True) the value from
|
|
|
|
// element 0 is stored.
|
2000-09-18 15:18:56 +00:00
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_Erl(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get( 0 )->PutLong( StarBASIC::GetErl() );
|
|
|
|
}
|
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_Err(StarBASIC *, SbxArray & rPar, bool bWrite)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
2010-05-07 10:54:26 +01:00
|
|
|
if( SbiRuntime::isVBAEnabled() )
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
2016-10-05 22:00:51 +02:00
|
|
|
rPar.Get( 0 )->PutObject( SbxErrObject::getErrObject().get() );
|
2000-09-18 15:18:56 +00:00
|
|
|
}
|
|
|
|
else
|
2010-05-07 10:54:26 +01:00
|
|
|
{
|
|
|
|
if( bWrite )
|
|
|
|
{
|
2011-01-10 14:40:57 +01:00
|
|
|
sal_Int32 nVal = rPar.Get( 0 )->GetLong();
|
2017-08-16 16:27:55 +02:00
|
|
|
if( nVal <= 65535 )
|
2018-01-12 20:29:14 +01:00
|
|
|
StarBASIC::Error( StarBASIC::GetSfxFromVBError( static_cast<sal_uInt16>(nVal) ) );
|
2010-05-07 10:54:26 +01:00
|
|
|
}
|
|
|
|
else
|
|
|
|
rPar.Get( 0 )->PutLong( StarBASIC::GetVBErrorCode( StarBASIC::GetErrBasic() ) );
|
|
|
|
}
|
2000-09-18 15:18:56 +00:00
|
|
|
}
|
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_False(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
2014-03-26 11:18:51 +02:00
|
|
|
rPar.Get(0)->PutBool( false );
|
2000-09-18 15:18:56 +00:00
|
|
|
}
|
2010-07-12 09:09:07 +02:00
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_Empty(StarBASIC *, SbxArray &, bool) {}
|
2000-09-18 15:18:56 +00:00
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_Nothing(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
2011-11-24 23:56:22 -08:00
|
|
|
// return an empty object
|
2015-11-10 10:10:36 +01:00
|
|
|
rPar.Get( 0 )->PutObject( nullptr );
|
2000-09-18 15:18:56 +00:00
|
|
|
}
|
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_Null(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
2011-08-27 21:37:14 +02:00
|
|
|
// returns an empty object-variable
|
2000-09-18 15:18:56 +00:00
|
|
|
rPar.Get( 0 )->PutNull();
|
|
|
|
}
|
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_PI(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get( 0 )->PutDouble( F_PI );
|
|
|
|
}
|
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_True(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
2014-03-26 11:18:51 +02:00
|
|
|
rPar.Get( 0 )->PutBool( true );
|
2000-09-18 15:18:56 +00:00
|
|
|
}
|
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_ATTR_NORMAL(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(0);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_ATTR_READONLY(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(1);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_ATTR_HIDDEN(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(2);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_ATTR_SYSTEM(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(4);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_ATTR_VOLUME(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(8);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_ATTR_DIRECTORY(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(16);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_ATTR_ARCHIVE(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(32);
|
|
|
|
}
|
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_V_EMPTY(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(0);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_V_NULL(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(1);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_V_INTEGER(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(2);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_V_LONG(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(3);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_V_SINGLE(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(4);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_V_DOUBLE(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(5);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_V_CURRENCY(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(6);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_V_DATE(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(7);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_V_STRING(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(8);
|
|
|
|
}
|
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_MB_OK(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(0);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_MB_OKCANCEL(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(1);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_MB_ABORTRETRYIGNORE(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(2);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_MB_YESNOCANCEL(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(3);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_MB_YESNO(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(4);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_MB_RETRYCANCEL(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(5);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_MB_ICONSTOP(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(16);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_MB_ICONQUESTION(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(32);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_MB_ICONEXCLAMATION(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(48);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_MB_ICONINFORMATION(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(64);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_MB_DEFBUTTON1(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(0);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_MB_DEFBUTTON2(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(256);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_MB_DEFBUTTON3(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(512);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_MB_APPLMODAL(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(0);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_MB_SYSTEMMODAL(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(4096);
|
|
|
|
}
|
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_IDOK(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(1);
|
|
|
|
}
|
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_IDCANCEL(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(2);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_IDABORT(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(3);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_IDRETRY(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(4);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_IDYES(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(6);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_IDNO(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(7);
|
|
|
|
}
|
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_CF_TEXT(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(1);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_CF_BITMAP(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(2);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_CF_METAFILEPICT(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(3);
|
|
|
|
}
|
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_AUTHORFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(7);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_CHAPTERFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(4);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_CONDTXTFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(27);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_DATEFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(0);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_DBFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(19);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_DBNAMEFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(3);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_DBNEXTSETFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(24);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_DBNUMSETFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(25);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_DBSETNUMBERFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(26);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_DDEFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(14);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_DOCINFOFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(18);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_DOCSTATFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(6);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_EXTUSERFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(30);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_FILENAMEFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(2);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_FIXDATEFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(31);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_FIXTIMEFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(32);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_FORMELFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(10);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_GETFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(9);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_GETREFFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(13);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_HIDDENPARAFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(17);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_HIDDENTXTFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(11);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_INPUTFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(16);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_MACROFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(15);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_NEXTPAGEFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(28);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_PAGENUMBERFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(5);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_POSTITFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(21);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_PREVPAGEFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(29);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_SEQFLD(StarBASIC * , SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(23);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_SETFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(8);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_SETINPFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(33);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_SETREFFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(12);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_TEMPLNAMEFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(22);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_TIMEFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(1);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_USERFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(20);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_USRINPFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(34);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_SETREFPAGEFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(35);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_GETREFPAGEFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(36);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_INTERNETFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(37);
|
|
|
|
}
|
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_SET_ON(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(1);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_SET_OFF(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(0);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TOGGLE(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(2);
|
|
|
|
}
|
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_FRAMEANCHORPAGE(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(1);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_FRAMEANCHORPARA(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(14);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_FRAMEANCHORCHAR(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(15);
|
|
|
|
}
|
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_CLEAR_ALLTABS(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(2);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_CLEAR_TAB(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(1);
|
|
|
|
}
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_SET_TAB(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(0);
|
|
|
|
}
|
|
|
|
|
2017-07-03 21:10:28 +02:00
|
|
|
void SbRtl_TYP_JUMPEDITFLD(StarBASIC *, SbxArray & rPar, bool)
|
2000-09-18 15:18:56 +00:00
|
|
|
{
|
|
|
|
rPar.Get(0)->PutInteger(38);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-10-12 15:53:47 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|