AllLangHelp_sbasic.mk | 3 source/auxiliary/sbasic.tree | 637 ++++++++++++------------- source/text/sbasic/python/main0000.xhp | 39 + source/text/sbasic/python/python_ide.xhp | 32 + source/text/sbasic/python/python_locations.xhp | 29 + source/text/shared/00/00000406.xhp | 3 source/text/shared/01/06130000.xhp | 16 7 files changed, 442 insertions(+), 317 deletions(-)
New commits: commit 949606895b8d46fb97b0bfcda25cfb04f1f61e32 Author: Olivier Hallot <olivier.hal...@libreoffice.org> AuthorDate: Tue Nov 27 22:10:50 2018 -0200 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Wed Nov 28 10:48:08 2018 +0100 tdf#121736 initial Help pages for Python scripts Work in progress, initial addition of help pages for python scripts in LO. Change-Id: Iee95b1340c821fdb08524fdedeca3817b0de1459 Reviewed-on: https://gerrit.libreoffice.org/64137 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/AllLangHelp_sbasic.mk b/AllLangHelp_sbasic.mk index 8515bb65a..4b3323aac 100644 --- a/AllLangHelp_sbasic.mk +++ b/AllLangHelp_sbasic.mk @@ -360,6 +360,9 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,sbasic,\ helpcontent2/source/text/sbasic/shared/main0601 \ helpcontent2/source/text/sbasic/shared/special_vba_func \ helpcontent2/source/text/sbasic/shared/vbasupport \ + helpcontent2/source/text/sbasic/python/main0000 \ + helpcontent2/source/text/sbasic/python/python_ide \ + helpcontent2/source/text/sbasic/python/python_locations \ )) # vim: set noet sw=4 ts=4: diff --git a/source/auxiliary/sbasic.tree b/source/auxiliary/sbasic.tree index fbae74d0d..03818d0e7 100644 --- a/source/auxiliary/sbasic.tree +++ b/source/auxiliary/sbasic.tree @@ -1,320 +1,327 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - * 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 . +* 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 . --> <tree_view version="24-Aug-2004"> - <help_section application="sbasic" id="07" title="Macros and Scripting"> - <node id="0701" title="General Information and User Interface Usage"> -<topic id="sbasic/text/sbasic/shared/main0601.xhp">%PRODUCTNAME Basic Help</topic> -<topic id="sbasic/text/sbasic/shared/01000000.xhp">Programming with %PRODUCTNAME Basic </topic> -<topic id="sbasic/text/sbasic/shared/00000002.xhp">%PRODUCTNAME Basic Glossary</topic> -<topic id="sbasic/text/sbasic/shared/01010210.xhp">Basics</topic> -<topic id="sbasic/text/sbasic/shared/01020000.xhp">Syntax</topic> -<topic id="sbasic/text/sbasic/shared/01050000.xhp">%PRODUCTNAME Basic IDE</topic> -<topic id="sbasic/text/sbasic/shared/01030100.xhp">IDE Overview</topic> -<topic id="sbasic/text/sbasic/shared/01030200.xhp">The Basic Editor</topic> -<topic id="sbasic/text/sbasic/shared/01050100.xhp">Watch Window</topic> -<topic id="sbasic/text/sbasic/shared/main0211.xhp">Macro Toolbar</topic> -<topic id="sbasic/text/sbasic/shared/05060700.xhp">Macro</topic> -<topic id="sbasic/text/sbasic/shared/vbasupport.xhp">Working with VBA Macros</topic> - </node> - <node id="0702" title="Command Reference"> -<topic id="sbasic/text/sbasic/shared/01020300.xhp">Using Procedures and Functions</topic> -<topic id="sbasic/text/sbasic/shared/01020500.xhp">Libraries, Modules and Dialogs</topic> - <node id="070202" title="Functions, Statements, and Operators"> -<topic id="sbasic/text/sbasic/shared/03010000.xhp">Screen I/O Functions</topic> -<topic id="sbasic/text/sbasic/shared/03020000.xhp">File I/O Functions</topic> -<topic id="sbasic/text/sbasic/shared/03030000.xhp">Date and Time Functions</topic> -<topic id="sbasic/text/sbasic/shared/03050000.xhp">Error-Handling Functions</topic> -<topic id="sbasic/text/sbasic/shared/03060000.xhp">Logical Operators</topic> -<topic id="sbasic/text/sbasic/shared/03070000.xhp">Mathematical Operators</topic> -<topic id="sbasic/text/sbasic/shared/03080000.xhp">Numeric Functions</topic> -<topic id="sbasic/text/sbasic/shared/03090000.xhp">Controlling Program Execution</topic> -<topic id="sbasic/text/sbasic/shared/03100000.xhp">Variables</topic> -<topic id="sbasic/text/sbasic/shared/03040000.xhp">Basic Constants</topic> -<topic id="sbasic/text/sbasic/shared/03110000.xhp">Comparison Operators</topic> -<topic id="sbasic/text/sbasic/shared/03120000.xhp">Strings</topic> -<topic id="sbasic/text/sbasic/shared/special_vba_func.xhp">Exclusive VBA functions</topic> -<topic id="sbasic/text/sbasic/shared/03130000.xhp">Other Commands</topic> - </node> - <node id="070201" title="Alphabetic List of Functions, Statements, and Operators"> -<topic id="sbasic/text/sbasic/shared/03080601.xhp">Abs Function</topic> -<topic id="sbasic/text/sbasic/shared/03060100.xhp">AND Operator</topic> -<topic id="sbasic/text/sbasic/shared/03104200.xhp">Array Function</topic> -<topic id="sbasic/text/sbasic/shared/03120101.xhp">Asc Function</topic> -<topic id="sbasic/text/sbasic/shared/03120111.xhp">AscW Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03080101.xhp">Atn Function</topic> -<topic id="sbasic/text/sbasic/shared/03130100.xhp">Beep Statement</topic> -<topic id="sbasic/text/sbasic/shared/03010301.xhp">Blue Function</topic> -<topic id="sbasic/text/sbasic/shared/03100100.xhp">CBool Function</topic> -<topic id="sbasic/text/sbasic/shared/03120105.xhp">CByte Function</topic> -<topic id="sbasic/text/sbasic/shared/03100050.xhp">CCur Function</topic> -<topic id="sbasic/text/sbasic/shared/03030116.xhp">CDateFromUnoDateTime Function</topic> -<topic id="sbasic/text/sbasic/shared/03030115.xhp">CDateToUnoDateTime Function</topic> -<topic id="sbasic/text/sbasic/shared/03030114.xhp">CDateFromUnoTime Function</topic> -<topic id="sbasic/text/sbasic/shared/03030113.xhp">CDateToUnoTime Function</topic> -<topic id="sbasic/text/sbasic/shared/03030112.xhp">CDateFromUnoDate Function</topic> -<topic id="sbasic/text/sbasic/shared/03030111.xhp">CDateToUnoDate Function</topic> -<topic id="sbasic/text/sbasic/shared/03030108.xhp">CDateFromIso Function</topic> -<topic id="sbasic/text/sbasic/shared/03030107.xhp">CDateToIso Function</topic> -<topic id="sbasic/text/sbasic/shared/03100300.xhp">CDate Function</topic> -<topic id="sbasic/text/sbasic/shared/03100400.xhp">CDbl Function</topic> -<topic id="sbasic/text/sbasic/shared/03100060.xhp">CDec Function</topic> -<topic id="sbasic/text/sbasic/shared/03100500.xhp">CInt Function</topic> -<topic id="sbasic/text/sbasic/shared/03100600.xhp">CLng Function</topic> -<topic id="sbasic/text/sbasic/shared/03100900.xhp">CSng Function</topic> -<topic id="sbasic/text/sbasic/shared/03101000.xhp">CStr Function</topic> -<topic id="sbasic/text/sbasic/shared/03090401.xhp">Call Statement</topic> -<topic id="sbasic/text/sbasic/shared/03020401.xhp">ChDir Statement</topic> -<topic id="sbasic/text/sbasic/shared/03020402.xhp">ChDrive Statement</topic> -<topic id="sbasic/text/sbasic/shared/03090402.xhp">Choose Function</topic> -<topic id="sbasic/text/sbasic/shared/03120102.xhp">Chr Function</topic> -<topic id="sbasic/text/sbasic/shared/03120112.xhp">ChrW Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03020101.xhp">Close Statement</topic> -<topic id="sbasic/text/sbasic/shared/03110100.xhp">Comparison Operators</topic> -<topic id="sbasic/text/sbasic/shared/03100700.xhp">Const Statement</topic> -<topic id="sbasic/text/sbasic/shared/03120313.xhp">ConvertFromURL Function</topic> -<topic id="sbasic/text/sbasic/shared/03120312.xhp">ConvertToURL Function</topic> -<topic id="sbasic/text/sbasic/shared/03080102.xhp">Cos Function</topic> -<topic id="sbasic/text/sbasic/shared/03132400.xhp">CreateObject Function</topic> -<topic id="sbasic/text/sbasic/shared/03131800.xhp">CreateUnoDialog Function</topic> -<topic id="sbasic/text/sbasic/shared/03132000.xhp">CreateUnoListener Function</topic> -<topic id="sbasic/text/sbasic/shared/03131600.xhp">CreateUnoService Function</topic> -<topic id="sbasic/text/sbasic/shared/03131500.xhp">CreateUnoStruct Function</topic> -<topic id="sbasic/text/sbasic/shared/03132300.xhp">CreateUnoValue Function</topic> -<topic id="sbasic/text/sbasic/shared/03020403.xhp">CurDir Function</topic> -<topic id="sbasic/text/sbasic/shared/03100070.xhp">CVar Function</topic> -<topic id="sbasic/text/sbasic/shared/03100080.xhp">CVErr Function</topic> -<topic id="sbasic/text/sbasic/shared/03030110.xhp">DateAdd Function</topic> -<topic id="sbasic/text/sbasic/shared/03030120.xhp">DateDiff Function</topic> -<topic id="sbasic/text/sbasic/shared/03030130.xhp">DatePart Function</topic> -<topic id="sbasic/text/sbasic/shared/03030101.xhp">DateSerial Function</topic> -<topic id="sbasic/text/sbasic/shared/03030102.xhp">DateValue Function</topic> -<topic id="sbasic/text/sbasic/shared/03030301.xhp">Date Statement</topic> -<topic id="sbasic/text/sbasic/shared/03030103.xhp">Day Function</topic> -<topic id="sbasic/text/sbasic/shared/03140000.xhp">DDB Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03090403.xhp">Declare Statement</topic> -<topic id="sbasic/text/sbasic/shared/03101100.xhp">DefBool Statement</topic> -<topic id="sbasic/text/sbasic/shared/03101300.xhp">DefDate Statement</topic> -<topic id="sbasic/text/sbasic/shared/03101400.xhp">DefDbl Statement</topic> -<topic id="sbasic/text/sbasic/shared/03101500.xhp">DefInt Statement</topic> -<topic id="sbasic/text/sbasic/shared/03101600.xhp">DefLng Statement</topic> -<topic id="sbasic/text/sbasic/shared/03101700.xhp">DefObj Statement</topic> -<topic id="sbasic/text/sbasic/shared/03102000.xhp">DefVar Statement</topic> -<topic id="sbasic/text/sbasic/shared/03104300.xhp">DimArray Function</topic> -<topic id="sbasic/text/sbasic/shared/03102100.xhp">Dim Statement</topic> -<topic id="sbasic/text/sbasic/shared/03020404.xhp">Dir Function</topic> -<topic id="sbasic/text/sbasic/shared/03090201.xhp">Do...Loop Statement</topic> -<topic id="sbasic/text/sbasic/shared/03110100.xhp">Comparison Operators</topic> -<topic id="sbasic/text/sbasic/shared/03090404.xhp">End Statement</topic> -<topic id="sbasic/text/sbasic/shared/03130800.xhp">Environ Function</topic> -<topic id="sbasic/text/sbasic/shared/03020301.xhp">Eof Function</topic> -<topic id="sbasic/text/sbasic/shared/03104600.xhp">EqualUnoObjects Function</topic> -<topic id="sbasic/text/sbasic/shared/03060200.xhp">Eqv Operator</topic> -<topic id="sbasic/text/sbasic/shared/03050100.xhp">Erl Function</topic> -<topic id="sbasic/text/sbasic/shared/03050200.xhp">Err Function</topic> -<topic id="sbasic/text/sbasic/shared/03050300.xhp">Error Function</topic> -<topic id="sbasic/text/sbasic/shared/03050000.xhp">Error-Handling Functions</topic> -<topic id="sbasic/text/sbasic/shared/03090412.xhp">Exit Statement</topic> -<topic id="sbasic/text/sbasic/shared/03080201.xhp">Exp Function</topic> -<topic id="sbasic/text/sbasic/shared/03020405.xhp">FileAttr Function</topic> -<topic id="sbasic/text/sbasic/shared/03020406.xhp">FileCopy Statement</topic> -<topic id="sbasic/text/sbasic/shared/03020407.xhp">FileDateTime Function</topic> -<topic id="sbasic/text/sbasic/shared/03020415.xhp">FileExists Function</topic> -<topic id="sbasic/text/sbasic/shared/03020408.xhp">FileLen Function</topic> -<topic id="sbasic/text/sbasic/shared/03103800.xhp">FindObject Function</topic> -<topic id="sbasic/text/sbasic/shared/03103900.xhp">FindPropertyObject Function</topic> -<topic id="sbasic/text/sbasic/shared/03080501.xhp">Fix Function</topic> -<topic id="sbasic/text/sbasic/shared/03090202.xhp">For...Next Statement</topic> -<topic id="sbasic/text/sbasic/shared/03120301.xhp">Format Function</topic> -<topic id="sbasic/text/sbasic/shared/03150000.xhp">FormatDateTime Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03170010.xhp">FormatNumber Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03020102.xhp">FreeFile Function</topic> -<topic id="sbasic/text/sbasic/shared/03090405.xhp">FreeLibrary Function</topic> -<topic id="sbasic/text/sbasic/shared/03090406.xhp">Function Statement</topic> -<topic id="sbasic/text/sbasic/shared/03090400.xhp">Further Statements</topic> -<topic id="sbasic/text/sbasic/shared/03140001.xhp">FV Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03080300.xhp">Generating Random Numbers</topic> -<topic id="sbasic/text/sbasic/shared/03020409.xhp">GetAttr Function</topic> -<topic id="sbasic/text/sbasic/shared/03132500.xhp">GetDefaultContext Function</topic> -<topic id="sbasic/text/sbasic/shared/03132100.xhp">GetGUIType Function</topic> -<topic id="sbasic/text/sbasic/shared/03131700.xhp">GetProcessServiceManager Function</topic> -<topic id="sbasic/text/sbasic/shared/GetPathSeparator.xhp">GetPathSeparator Function</topic> -<topic id="sbasic/text/sbasic/shared/03131000.xhp">GetSolarVersion Function</topic> -<topic id="sbasic/text/sbasic/shared/03130700.xhp">GetSystemTicks Function</topic> -<topic id="sbasic/text/sbasic/shared/03020201.xhp">Get Statement</topic> -<topic id="sbasic/text/sbasic/shared/03131900.xhp">GlobalScope</topic> -<topic id="sbasic/text/sbasic/shared/03090301.xhp">GoSub...Return Statement</topic> -<topic id="sbasic/text/sbasic/shared/03090302.xhp">GoTo Statement</topic> -<topic id="sbasic/text/sbasic/shared/03010302.xhp">Green Function</topic> -<topic id="sbasic/text/sbasic/shared/03104400.xhp">HasUnoInterfaces Function</topic> -<topic id="sbasic/text/sbasic/shared/03080801.xhp">Hex Function</topic> -<topic id="sbasic/text/sbasic/shared/03030201.xhp">Hour Function</topic> -<topic id="sbasic/text/sbasic/shared/03090103.xhp">IIf Statement</topic> -<topic id="sbasic/text/sbasic/shared/03090101.xhp">If...Then...Else Statement</topic> -<topic id="sbasic/text/sbasic/shared/03060300.xhp">Imp-Operator</topic> -<topic id="sbasic/text/sbasic/shared/03120401.xhp">InStr Function</topic> -<topic id="sbasic/text/sbasic/shared/03120411.xhp">InStrRev Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03160000.xhp">Input Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03010201.xhp">InputBox Function</topic> -<topic id="sbasic/text/sbasic/shared/03020202.xhp">Input# Statement</topic> -<topic id="sbasic/text/sbasic/shared/03080502.xhp">Int Function</topic> -<topic id="sbasic/text/sbasic/shared/03140002.xhp">IPmt Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03140003.xhp">IRR Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03102200.xhp">IsArray Function</topic> -<topic id="sbasic/text/sbasic/shared/03102300.xhp">IsDate Function</topic> -<topic id="sbasic/text/sbasic/shared/03102400.xhp">IsEmpty Function</topic> -<topic id="sbasic/text/sbasic/shared/03104000.xhp">IsMissing function</topic> -<topic id="sbasic/text/sbasic/shared/03102600.xhp">IsNull Function</topic> -<topic id="sbasic/text/sbasic/shared/03102700.xhp">IsNumeric Function</topic> -<topic id="sbasic/text/sbasic/shared/03102800.xhp">IsObject Function</topic> -<topic id="sbasic/text/sbasic/shared/03104500.xhp">IsUnoStruct Function</topic> -<topic id="sbasic/text/sbasic/shared/03120315.xhp">Join Function</topic> -<topic id="sbasic/text/sbasic/shared/03020410.xhp">Kill Statement</topic> -<topic id="sbasic/text/sbasic/shared/03102900.xhp">LBound Function</topic> -<topic id="sbasic/text/sbasic/shared/03120302.xhp">LCase Function</topic> -<topic id="sbasic/text/sbasic/shared/03120304.xhp">LSet Statement</topic> -<topic id="sbasic/text/sbasic/shared/03120305.xhp">LTrim Function</topic> -<topic id="sbasic/text/sbasic/shared/03120303.xhp">Left Function</topic> -<topic id="sbasic/text/sbasic/shared/03120402.xhp">Len Function</topic> -<topic id="sbasic/text/sbasic/shared/03103100.xhp">Let Statement</topic> -<topic id="sbasic/text/sbasic/shared/03020203.xhp">Line Input # Statement</topic> -<topic id="sbasic/text/sbasic/shared/03020302.xhp">Loc Function</topic> -<topic id="sbasic/text/sbasic/shared/03020303.xhp">Lof Function</topic> -<topic id="sbasic/text/sbasic/shared/03080202.xhp">Log Function</topic> -<topic id="sbasic/text/sbasic/shared/03120306.xhp">Mid Function, Mid Statement</topic> -<topic id="sbasic/text/sbasic/shared/03030202.xhp">Minute Function</topic> -<topic id="sbasic/text/sbasic/shared/03140004.xhp">MIRR Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03020411.xhp">MkDir Statement</topic> -<topic id="sbasic/text/sbasic/shared/03070600.xhp">Mod-Operator</topic> -<topic id="sbasic/text/sbasic/shared/03030104.xhp">Month Function</topic> -<topic id="sbasic/text/sbasic/shared/03150002.xhp">MonthName Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03010102.xhp">MsgBox Function</topic> -<topic id="sbasic/text/sbasic/shared/03010101.xhp">MsgBox Statement</topic> -<topic id="sbasic/text/sbasic/shared/03020412.xhp">Name Statement</topic> -<topic id="sbasic/text/sbasic/shared/03060400.xhp">Not-Operator</topic> -<topic id="sbasic/text/sbasic/shared/03030203.xhp">Now Function</topic> -<topic id="sbasic/text/sbasic/shared/03140005.xhp">NPer Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03140006.xhp">NPV Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03080000.xhp">Numeric Functions</topic> -<topic id="sbasic/text/sbasic/shared/03080802.xhp">Oct Function</topic> -<topic id="sbasic/text/sbasic/shared/03050500.xhp">On Error GoTo ... Resume Statement</topic> -<topic id="sbasic/text/sbasic/shared/03090303.xhp">On...GoSub Statement; On...GoTo Statement</topic> -<topic id="sbasic/text/sbasic/shared/03020103.xhp">Open Statement</topic> -<topic id="sbasic/text/sbasic/shared/03103200.xhp">Option Base Statement</topic> -<topic id="sbasic/text/sbasic/shared/03103300.xhp">Option Explicit Statement</topic> -<topic id="sbasic/text/sbasic/shared/03103350.xhp">Option VBASupport Statement</topic> -<topic id="sbasic/text/sbasic/shared/03104100.xhp">Optional (in Function Statement)</topic> -<topic id="sbasic/text/sbasic/shared/03060500.xhp">Or-Operator</topic> -<topic id="sbasic/text/sbasic/shared/03140007.xhp">Pmt Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03140008.xhp">PPmt Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03140009.xhp">PV Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03010103.xhp">Print Statement</topic> -<topic id="sbasic/text/sbasic/shared/03103400.xhp">Public Statement</topic> -<topic id="sbasic/text/sbasic/shared/03020204.xhp">Put Statement</topic> -<topic id="sbasic/text/sbasic/shared/03010304.xhp">QBColor Function</topic> -<topic id="sbasic/text/sbasic/shared/03140010.xhp">Rate Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03010305.xhp">RGB Function</topic> -<topic id="sbasic/text/sbasic/shared/03120308.xhp">RSet Statement</topic> -<topic id="sbasic/text/sbasic/shared/03120309.xhp">RTrim Function</topic> -<topic id="sbasic/text/sbasic/shared/03080301.xhp">Randomize Statement</topic> -<topic id="sbasic/text/sbasic/shared/03102101.xhp">ReDim Statement</topic> -<topic id="sbasic/text/sbasic/shared/03010303.xhp">Red Function</topic> -<topic id="sbasic/text/sbasic/shared/03090407.xhp">Rem Statement</topic> -<topic id="sbasic/text/sbasic/shared/03020104.xhp">Reset Statement</topic> -<topic id="sbasic/text/sbasic/shared/03120307.xhp">Right Function</topic> -<topic id="sbasic/text/sbasic/shared/03020413.xhp">RmDir Statement</topic> -<topic id="sbasic/text/sbasic/shared/03080302.xhp">Rnd Function</topic> -<topic id="sbasic/text/sbasic/shared/03170000.xhp">Round Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03030204.xhp">Second Function</topic> -<topic id="sbasic/text/sbasic/shared/03020304.xhp">Seek Function</topic> -<topic id="sbasic/text/sbasic/shared/03020305.xhp">Seek Statement</topic> -<topic id="sbasic/text/sbasic/shared/03090102.xhp">Select...Case Statement</topic> -<topic id="sbasic/text/sbasic/shared/03020414.xhp">SetAttr Statement</topic> -<topic id="sbasic/text/sbasic/shared/03103700.xhp">Set Statement</topic> -<topic id="sbasic/text/sbasic/shared/03080701.xhp">Sgn Function</topic> -<topic id="sbasic/text/sbasic/shared/03130500.xhp">Shell Function</topic> -<topic id="sbasic/text/sbasic/shared/03080103.xhp">Sin Function</topic> -<topic id="sbasic/text/sbasic/shared/03140011.xhp">SLN Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03120201.xhp">Space Function</topic> -<topic id="sbasic/text/sbasic/shared/03120314.xhp">Split Function</topic> -<topic id="sbasic/text/sbasic/shared/03080401.xhp">Sqr Function</topic> -<topic id="sbasic/text/sbasic/shared/03080400.xhp">Square Root Calculation</topic> -<topic id="sbasic/text/sbasic/shared/03103500.xhp">Static Statement</topic> -<topic id="sbasic/text/sbasic/shared/03090408.xhp">Stop Statement</topic> -<topic id="sbasic/text/sbasic/shared/03120403.xhp">StrComp Function</topic> -<topic id="sbasic/text/sbasic/shared/03120103.xhp">Str Function</topic> -<topic id="sbasic/text/sbasic/shared/03120412.xhp">StrReverse Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03120202.xhp">String Function</topic> -<topic id="sbasic/text/sbasic/shared/03090409.xhp">Sub Statement</topic> -<topic id="sbasic/text/sbasic/shared/03090410.xhp">Switch Function</topic> -<topic id="sbasic/text/sbasic/shared/03140012.xhp">SYD Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03080104.xhp">Tan Function</topic> -<topic id="sbasic/text/sbasic/shared/03030205.xhp">TimeSerial Function</topic> -<topic id="sbasic/text/sbasic/shared/03030206.xhp">TimeValue Function</topic> -<topic id="sbasic/text/sbasic/shared/03030302.xhp">Time Statement</topic> -<topic id="sbasic/text/sbasic/shared/03030303.xhp">Timer Function</topic> -<topic id="sbasic/text/sbasic/shared/03080100.xhp">Trigonometric Functions</topic> -<topic id="sbasic/text/sbasic/shared/03120311.xhp">Trim Function</topic> -<topic id="sbasic/text/sbasic/shared/03131300.xhp">TwipsPerPixelX Function</topic> -<topic id="sbasic/text/sbasic/shared/03131400.xhp">TwipsPerPixelY Function</topic> -<topic id="sbasic/text/sbasic/shared/03090413.xhp">Type Statement</topic> -<topic id="sbasic/text/sbasic/shared/03103600.xhp">TypeName Function; VarType Function</topic> -<topic id="sbasic/text/sbasic/shared/03103000.xhp">UBound Function</topic> -<topic id="sbasic/text/sbasic/shared/03120310.xhp">UCase Function</topic> -<topic id="sbasic/text/sbasic/shared/03120104.xhp">Val Function</topic> -<topic id="sbasic/text/sbasic/shared/03130600.xhp">Wait Statement</topic> -<topic id="sbasic/text/sbasic/shared/03030105.xhp">WeekDay Function</topic> -<topic id="sbasic/text/sbasic/shared/03150001.xhp">WeekdayName Function [VBA]</topic> -<topic id="sbasic/text/sbasic/shared/03090203.xhp">While...Wend Statement</topic> -<topic id="sbasic/text/sbasic/shared/03090411.xhp">With Statement</topic> -<topic id="sbasic/text/sbasic/shared/03020205.xhp">Write Statement</topic> -<topic id="sbasic/text/sbasic/shared/03060600.xhp">Xor-Operator</topic> -<topic id="sbasic/text/sbasic/shared/03030106.xhp">Year Function</topic> -<topic id="sbasic/text/sbasic/shared/03070100.xhp">"-" Operator</topic> -<topic id="sbasic/text/sbasic/shared/03070200.xhp">"*" Operator</topic> -<topic id="sbasic/text/sbasic/shared/03070300.xhp">"+" Operator</topic> -<topic id="sbasic/text/sbasic/shared/03070400.xhp">"/" Operator</topic> -<topic id="sbasic/text/sbasic/shared/03070500.xhp">"^" Operator</topic> - </node> - <node id="070205" title="Advanced Basic Libraries"> -<topic id="sbasic/text/sbasic/shared/03/lib_tools.xhp">Tools Library</topic> -<topic id="sbasic/text/sbasic/shared/03/lib_depot.xhp">Depot Library</topic> -<topic id="sbasic/text/sbasic/shared/03/lib_euro.xhp">Euro Library</topic> -<topic id="sbasic/text/sbasic/shared/03/lib_formwizard.xhp">FormWizard Library</topic> -<topic id="sbasic/text/sbasic/shared/03/lib_gimmicks.xhp">Gimmicks Library</topic> -<topic id="sbasic/text/sbasic/shared/03/lib_schedule.xhp">Schedule Library</topic> -<topic id="sbasic/text/sbasic/shared/03/lib_script.xhp">ScriptBindingLibrary Library</topic> -<topic id="sbasic/text/sbasic/shared/03/lib_template.xhp">Template Library</topic> - </node> - </node> - <node id="0703" title="Guides"> -<topic id="shared/text/shared/guide/macro_recording.xhp">Recording a Macro</topic> -<topic id="sbasic/text/sbasic/guide/control_properties.xhp">Changing the Properties of Controls in the Dialog Editor</topic> -<topic id="sbasic/text/sbasic/guide/insert_control.xhp">Creating Controls in the Dialog Editor</topic> -<topic id="sbasic/text/sbasic/guide/sample_code.xhp">Programming Examples for Controls in the Dialog Editor</topic> -<topic id="sbasic/text/sbasic/guide/show_dialog.xhp">Opening a Dialog With Program Code</topic> -<topic id="sbasic/text/sbasic/guide/create_dialog.xhp">Creating a Basic Dialog</topic> -<topic id="sbasic/text/sbasic/shared/01030400.xhp">Organizing Libraries and Modules</topic> -<topic id="sbasic/text/sbasic/shared/01020100.xhp">Using Variables</topic> -<topic id="sbasic/text/sbasic/shared/01020200.xhp">Using Objects</topic> -<topic id="sbasic/text/sbasic/shared/01030300.xhp">Debugging a Basic Program</topic> -<topic id="sbasic/text/sbasic/shared/01040000.xhp">Event-Driven Macros</topic> -<topic id="sbasic/text/sbasic/guide/access2base.xhp">Access2Base, the API for Base users</topic> - </node> - </help_section> + <help_section application="sbasic" id="07" title="Macros and Scripting"> + <node id="0701" title="%PRODUCTNAME BASIC"> + <node id="070101" title="General Information and User Interface Usage"> + <topic id="sbasic/text/sbasic/shared/main0601.xhp">%PRODUCTNAME Basic Help</topic> + <topic id="sbasic/text/sbasic/shared/01000000.xhp">Programming with %PRODUCTNAME Basic </topic> + <topic id="sbasic/text/sbasic/shared/00000002.xhp">%PRODUCTNAME Basic Glossary</topic> + <topic id="sbasic/text/sbasic/shared/01010210.xhp">Basics</topic> + <topic id="sbasic/text/sbasic/shared/01020000.xhp">Syntax</topic> + <topic id="sbasic/text/sbasic/shared/01050000.xhp">%PRODUCTNAME Basic IDE</topic> + <topic id="sbasic/text/sbasic/shared/01030100.xhp">IDE Overview</topic> + <topic id="sbasic/text/sbasic/shared/01030200.xhp">The Basic Editor</topic> + <topic id="sbasic/text/sbasic/shared/01050100.xhp">Watch Window</topic> + <topic id="sbasic/text/sbasic/shared/main0211.xhp">Macro Toolbar</topic> + <topic id="sbasic/text/sbasic/shared/05060700.xhp">Macro</topic> + <topic id="sbasic/text/sbasic/shared/vbasupport.xhp">Working with VBA Macros</topic> + </node> + <node id="070102" title="Command Reference"> + <topic id="sbasic/text/sbasic/shared/01020300.xhp">Using Procedures and Functions</topic> + <topic id="sbasic/text/sbasic/shared/01020500.xhp">Libraries, Modules and Dialogs</topic> + <node id="07010202" title="Functions, Statements, and Operators"> + <topic id="sbasic/text/sbasic/shared/03010000.xhp">Screen I/O Functions</topic> + <topic id="sbasic/text/sbasic/shared/03020000.xhp">File I/O Functions</topic> + <topic id="sbasic/text/sbasic/shared/03030000.xhp">Date and Time Functions</topic> + <topic id="sbasic/text/sbasic/shared/03050000.xhp">Error-Handling Functions</topic> + <topic id="sbasic/text/sbasic/shared/03060000.xhp">Logical Operators</topic> + <topic id="sbasic/text/sbasic/shared/03070000.xhp">Mathematical Operators</topic> + <topic id="sbasic/text/sbasic/shared/03080000.xhp">Numeric Functions</topic> + <topic id="sbasic/text/sbasic/shared/03090000.xhp">Controlling Program Execution</topic> + <topic id="sbasic/text/sbasic/shared/03100000.xhp">Variables</topic> + <topic id="sbasic/text/sbasic/shared/03040000.xhp">Basic Constants</topic> + <topic id="sbasic/text/sbasic/shared/03110000.xhp">Comparison Operators</topic> + <topic id="sbasic/text/sbasic/shared/03120000.xhp">Strings</topic> + <topic id="sbasic/text/sbasic/shared/special_vba_func.xhp">Exclusive VBA functions</topic> + <topic id="sbasic/text/sbasic/shared/03130000.xhp">Other Commands</topic> + </node> + <node id="07010201" title="Alphabetic List of Functions, Statements, and Operators"> + <topic id="sbasic/text/sbasic/shared/03080601.xhp">Abs Function</topic> + <topic id="sbasic/text/sbasic/shared/03060100.xhp">AND Operator</topic> + <topic id="sbasic/text/sbasic/shared/03104200.xhp">Array Function</topic> + <topic id="sbasic/text/sbasic/shared/03120101.xhp">Asc Function</topic> + <topic id="sbasic/text/sbasic/shared/03120111.xhp">AscW Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03080101.xhp">Atn Function</topic> + <topic id="sbasic/text/sbasic/shared/03130100.xhp">Beep Statement</topic> + <topic id="sbasic/text/sbasic/shared/03010301.xhp">Blue Function</topic> + <topic id="sbasic/text/sbasic/shared/03100100.xhp">CBool Function</topic> + <topic id="sbasic/text/sbasic/shared/03120105.xhp">CByte Function</topic> + <topic id="sbasic/text/sbasic/shared/03100050.xhp">CCur Function</topic> + <topic id="sbasic/text/sbasic/shared/03030116.xhp">CDateFromUnoDateTime Function</topic> + <topic id="sbasic/text/sbasic/shared/03030115.xhp">CDateToUnoDateTime Function</topic> + <topic id="sbasic/text/sbasic/shared/03030114.xhp">CDateFromUnoTime Function</topic> + <topic id="sbasic/text/sbasic/shared/03030113.xhp">CDateToUnoTime Function</topic> + <topic id="sbasic/text/sbasic/shared/03030112.xhp">CDateFromUnoDate Function</topic> + <topic id="sbasic/text/sbasic/shared/03030111.xhp">CDateToUnoDate Function</topic> + <topic id="sbasic/text/sbasic/shared/03030108.xhp">CDateFromIso Function</topic> + <topic id="sbasic/text/sbasic/shared/03030107.xhp">CDateToIso Function</topic> + <topic id="sbasic/text/sbasic/shared/03100300.xhp">CDate Function</topic> + <topic id="sbasic/text/sbasic/shared/03100400.xhp">CDbl Function</topic> + <topic id="sbasic/text/sbasic/shared/03100060.xhp">CDec Function</topic> + <topic id="sbasic/text/sbasic/shared/03100500.xhp">CInt Function</topic> + <topic id="sbasic/text/sbasic/shared/03100600.xhp">CLng Function</topic> + <topic id="sbasic/text/sbasic/shared/03100900.xhp">CSng Function</topic> + <topic id="sbasic/text/sbasic/shared/03101000.xhp">CStr Function</topic> + <topic id="sbasic/text/sbasic/shared/03090401.xhp">Call Statement</topic> + <topic id="sbasic/text/sbasic/shared/03020401.xhp">ChDir Statement</topic> + <topic id="sbasic/text/sbasic/shared/03020402.xhp">ChDrive Statement</topic> + <topic id="sbasic/text/sbasic/shared/03090402.xhp">Choose Function</topic> + <topic id="sbasic/text/sbasic/shared/03120102.xhp">Chr Function</topic> + <topic id="sbasic/text/sbasic/shared/03120112.xhp">ChrW Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03020101.xhp">Close Statement</topic> + <topic id="sbasic/text/sbasic/shared/03110100.xhp">Comparison Operators</topic> + <topic id="sbasic/text/sbasic/shared/03100700.xhp">Const Statement</topic> + <topic id="sbasic/text/sbasic/shared/03120313.xhp">ConvertFromURL Function</topic> + <topic id="sbasic/text/sbasic/shared/03120312.xhp">ConvertToURL Function</topic> + <topic id="sbasic/text/sbasic/shared/03080102.xhp">Cos Function</topic> + <topic id="sbasic/text/sbasic/shared/03132400.xhp">CreateObject Function</topic> + <topic id="sbasic/text/sbasic/shared/03131800.xhp">CreateUnoDialog Function</topic> + <topic id="sbasic/text/sbasic/shared/03132000.xhp">CreateUnoListener Function</topic> + <topic id="sbasic/text/sbasic/shared/03131600.xhp">CreateUnoService Function</topic> + <topic id="sbasic/text/sbasic/shared/03131500.xhp">CreateUnoStruct Function</topic> + <topic id="sbasic/text/sbasic/shared/03132300.xhp">CreateUnoValue Function</topic> + <topic id="sbasic/text/sbasic/shared/03020403.xhp">CurDir Function</topic> + <topic id="sbasic/text/sbasic/shared/03100070.xhp">CVar Function</topic> + <topic id="sbasic/text/sbasic/shared/03100080.xhp">CVErr Function</topic> + <topic id="sbasic/text/sbasic/shared/03030110.xhp">DateAdd Function</topic> + <topic id="sbasic/text/sbasic/shared/03030120.xhp">DateDiff Function</topic> + <topic id="sbasic/text/sbasic/shared/03030130.xhp">DatePart Function</topic> + <topic id="sbasic/text/sbasic/shared/03030101.xhp">DateSerial Function</topic> + <topic id="sbasic/text/sbasic/shared/03030102.xhp">DateValue Function</topic> + <topic id="sbasic/text/sbasic/shared/03030301.xhp">Date Statement</topic> + <topic id="sbasic/text/sbasic/shared/03030103.xhp">Day Function</topic> + <topic id="sbasic/text/sbasic/shared/03140000.xhp">DDB Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03090403.xhp">Declare Statement</topic> + <topic id="sbasic/text/sbasic/shared/03101100.xhp">DefBool Statement</topic> + <topic id="sbasic/text/sbasic/shared/03101300.xhp">DefDate Statement</topic> + <topic id="sbasic/text/sbasic/shared/03101400.xhp">DefDbl Statement</topic> + <topic id="sbasic/text/sbasic/shared/03101500.xhp">DefInt Statement</topic> + <topic id="sbasic/text/sbasic/shared/03101600.xhp">DefLng Statement</topic> + <topic id="sbasic/text/sbasic/shared/03101700.xhp">DefObj Statement</topic> + <topic id="sbasic/text/sbasic/shared/03102000.xhp">DefVar Statement</topic> + <topic id="sbasic/text/sbasic/shared/03104300.xhp">DimArray Function</topic> + <topic id="sbasic/text/sbasic/shared/03102100.xhp">Dim Statement</topic> + <topic id="sbasic/text/sbasic/shared/03020404.xhp">Dir Function</topic> + <topic id="sbasic/text/sbasic/shared/03090201.xhp">Do...Loop Statement</topic> + <topic id="sbasic/text/sbasic/shared/03110100.xhp">Comparison Operators</topic> + <topic id="sbasic/text/sbasic/shared/03090404.xhp">End Statement</topic> + <topic id="sbasic/text/sbasic/shared/03130800.xhp">Environ Function</topic> + <topic id="sbasic/text/sbasic/shared/03020301.xhp">Eof Function</topic> + <topic id="sbasic/text/sbasic/shared/03104600.xhp">EqualUnoObjects Function</topic> + <topic id="sbasic/text/sbasic/shared/03060200.xhp">Eqv Operator</topic> + <topic id="sbasic/text/sbasic/shared/03050100.xhp">Erl Function</topic> + <topic id="sbasic/text/sbasic/shared/03050200.xhp">Err Function</topic> + <topic id="sbasic/text/sbasic/shared/03050300.xhp">Error Function</topic> + <topic id="sbasic/text/sbasic/shared/03050000.xhp">Error-Handling Functions</topic> + <topic id="sbasic/text/sbasic/shared/03090412.xhp">Exit Statement</topic> + <topic id="sbasic/text/sbasic/shared/03080201.xhp">Exp Function</topic> + <topic id="sbasic/text/sbasic/shared/03020405.xhp">FileAttr Function</topic> + <topic id="sbasic/text/sbasic/shared/03020406.xhp">FileCopy Statement</topic> + <topic id="sbasic/text/sbasic/shared/03020407.xhp">FileDateTime Function</topic> + <topic id="sbasic/text/sbasic/shared/03020415.xhp">FileExists Function</topic> + <topic id="sbasic/text/sbasic/shared/03020408.xhp">FileLen Function</topic> + <topic id="sbasic/text/sbasic/shared/03103800.xhp">FindObject Function</topic> + <topic id="sbasic/text/sbasic/shared/03103900.xhp">FindPropertyObject Function</topic> + <topic id="sbasic/text/sbasic/shared/03080501.xhp">Fix Function</topic> + <topic id="sbasic/text/sbasic/shared/03090202.xhp">For...Next Statement</topic> + <topic id="sbasic/text/sbasic/shared/03120301.xhp">Format Function</topic> + <topic id="sbasic/text/sbasic/shared/03150000.xhp">FormatDateTime Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03170010.xhp">FormatNumber Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03020102.xhp">FreeFile Function</topic> + <topic id="sbasic/text/sbasic/shared/03090405.xhp">FreeLibrary Function</topic> + <topic id="sbasic/text/sbasic/shared/03090406.xhp">Function Statement</topic> + <topic id="sbasic/text/sbasic/shared/03090400.xhp">Further Statements</topic> + <topic id="sbasic/text/sbasic/shared/03140001.xhp">FV Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03080300.xhp">Generating Random Numbers</topic> + <topic id="sbasic/text/sbasic/shared/03020409.xhp">GetAttr Function</topic> + <topic id="sbasic/text/sbasic/shared/03132500.xhp">GetDefaultContext Function</topic> + <topic id="sbasic/text/sbasic/shared/03132100.xhp">GetGUIType Function</topic> + <topic id="sbasic/text/sbasic/shared/03131700.xhp">GetProcessServiceManager Function</topic> + <topic id="sbasic/text/sbasic/shared/GetPathSeparator.xhp">GetPathSeparator Function</topic> + <topic id="sbasic/text/sbasic/shared/03131000.xhp">GetSolarVersion Function</topic> + <topic id="sbasic/text/sbasic/shared/03130700.xhp">GetSystemTicks Function</topic> + <topic id="sbasic/text/sbasic/shared/03020201.xhp">Get Statement</topic> + <topic id="sbasic/text/sbasic/shared/03131900.xhp">GlobalScope</topic> + <topic id="sbasic/text/sbasic/shared/03090301.xhp">GoSub...Return Statement</topic> + <topic id="sbasic/text/sbasic/shared/03090302.xhp">GoTo Statement</topic> + <topic id="sbasic/text/sbasic/shared/03010302.xhp">Green Function</topic> + <topic id="sbasic/text/sbasic/shared/03104400.xhp">HasUnoInterfaces Function</topic> + <topic id="sbasic/text/sbasic/shared/03080801.xhp">Hex Function</topic> + <topic id="sbasic/text/sbasic/shared/03030201.xhp">Hour Function</topic> + <topic id="sbasic/text/sbasic/shared/03090103.xhp">IIf Statement</topic> + <topic id="sbasic/text/sbasic/shared/03090101.xhp">If...Then...Else Statement</topic> + <topic id="sbasic/text/sbasic/shared/03060300.xhp">Imp-Operator</topic> + <topic id="sbasic/text/sbasic/shared/03120401.xhp">InStr Function</topic> + <topic id="sbasic/text/sbasic/shared/03120411.xhp">InStrRev Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03160000.xhp">Input Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03010201.xhp">InputBox Function</topic> + <topic id="sbasic/text/sbasic/shared/03020202.xhp">Input# Statement</topic> + <topic id="sbasic/text/sbasic/shared/03080502.xhp">Int Function</topic> + <topic id="sbasic/text/sbasic/shared/03140002.xhp">IPmt Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03140003.xhp">IRR Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03102200.xhp">IsArray Function</topic> + <topic id="sbasic/text/sbasic/shared/03102300.xhp">IsDate Function</topic> + <topic id="sbasic/text/sbasic/shared/03102400.xhp">IsEmpty Function</topic> + <topic id="sbasic/text/sbasic/shared/03104000.xhp">IsMissing function</topic> + <topic id="sbasic/text/sbasic/shared/03102600.xhp">IsNull Function</topic> + <topic id="sbasic/text/sbasic/shared/03102700.xhp">IsNumeric Function</topic> + <topic id="sbasic/text/sbasic/shared/03102800.xhp">IsObject Function</topic> + <topic id="sbasic/text/sbasic/shared/03104500.xhp">IsUnoStruct Function</topic> + <topic id="sbasic/text/sbasic/shared/03120315.xhp">Join Function</topic> + <topic id="sbasic/text/sbasic/shared/03020410.xhp">Kill Statement</topic> + <topic id="sbasic/text/sbasic/shared/03102900.xhp">LBound Function</topic> + <topic id="sbasic/text/sbasic/shared/03120302.xhp">LCase Function</topic> + <topic id="sbasic/text/sbasic/shared/03120304.xhp">LSet Statement</topic> + <topic id="sbasic/text/sbasic/shared/03120305.xhp">LTrim Function</topic> + <topic id="sbasic/text/sbasic/shared/03120303.xhp">Left Function</topic> + <topic id="sbasic/text/sbasic/shared/03120402.xhp">Len Function</topic> + <topic id="sbasic/text/sbasic/shared/03103100.xhp">Let Statement</topic> + <topic id="sbasic/text/sbasic/shared/03020203.xhp">Line Input # Statement</topic> + <topic id="sbasic/text/sbasic/shared/03020302.xhp">Loc Function</topic> + <topic id="sbasic/text/sbasic/shared/03020303.xhp">Lof Function</topic> + <topic id="sbasic/text/sbasic/shared/03080202.xhp">Log Function</topic> + <topic id="sbasic/text/sbasic/shared/03120306.xhp">Mid Function, Mid Statement</topic> + <topic id="sbasic/text/sbasic/shared/03030202.xhp">Minute Function</topic> + <topic id="sbasic/text/sbasic/shared/03140004.xhp">MIRR Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03020411.xhp">MkDir Statement</topic> + <topic id="sbasic/text/sbasic/shared/03070600.xhp">Mod-Operator</topic> + <topic id="sbasic/text/sbasic/shared/03030104.xhp">Month Function</topic> + <topic id="sbasic/text/sbasic/shared/03150002.xhp">MonthName Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03010102.xhp">MsgBox Function</topic> + <topic id="sbasic/text/sbasic/shared/03010101.xhp">MsgBox Statement</topic> + <topic id="sbasic/text/sbasic/shared/03020412.xhp">Name Statement</topic> + <topic id="sbasic/text/sbasic/shared/03060400.xhp">Not-Operator</topic> + <topic id="sbasic/text/sbasic/shared/03030203.xhp">Now Function</topic> + <topic id="sbasic/text/sbasic/shared/03140005.xhp">NPer Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03140006.xhp">NPV Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03080000.xhp">Numeric Functions</topic> + <topic id="sbasic/text/sbasic/shared/03080802.xhp">Oct Function</topic> + <topic id="sbasic/text/sbasic/shared/03050500.xhp">On Error GoTo ... Resume Statement</topic> + <topic id="sbasic/text/sbasic/shared/03090303.xhp">On...GoSub Statement; On...GoTo Statement</topic> + <topic id="sbasic/text/sbasic/shared/03020103.xhp">Open Statement</topic> + <topic id="sbasic/text/sbasic/shared/03103200.xhp">Option Base Statement</topic> + <topic id="sbasic/text/sbasic/shared/03103300.xhp">Option Explicit Statement</topic> + <topic id="sbasic/text/sbasic/shared/03103350.xhp">Option VBASupport Statement</topic> + <topic id="sbasic/text/sbasic/shared/03104100.xhp">Optional (in Function Statement)</topic> + <topic id="sbasic/text/sbasic/shared/03060500.xhp">Or-Operator</topic> + <topic id="sbasic/text/sbasic/shared/03140007.xhp">Pmt Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03140008.xhp">PPmt Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03140009.xhp">PV Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03010103.xhp">Print Statement</topic> + <topic id="sbasic/text/sbasic/shared/03103400.xhp">Public Statement</topic> + <topic id="sbasic/text/sbasic/shared/03020204.xhp">Put Statement</topic> + <topic id="sbasic/text/sbasic/shared/03010304.xhp">QBColor Function</topic> + <topic id="sbasic/text/sbasic/shared/03140010.xhp">Rate Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03010305.xhp">RGB Function</topic> + <topic id="sbasic/text/sbasic/shared/03120308.xhp">RSet Statement</topic> + <topic id="sbasic/text/sbasic/shared/03120309.xhp">RTrim Function</topic> + <topic id="sbasic/text/sbasic/shared/03080301.xhp">Randomize Statement</topic> + <topic id="sbasic/text/sbasic/shared/03102101.xhp">ReDim Statement</topic> + <topic id="sbasic/text/sbasic/shared/03010303.xhp">Red Function</topic> + <topic id="sbasic/text/sbasic/shared/03090407.xhp">Rem Statement</topic> + <topic id="sbasic/text/sbasic/shared/03020104.xhp">Reset Statement</topic> + <topic id="sbasic/text/sbasic/shared/03120307.xhp">Right Function</topic> + <topic id="sbasic/text/sbasic/shared/03020413.xhp">RmDir Statement</topic> + <topic id="sbasic/text/sbasic/shared/03080302.xhp">Rnd Function</topic> + <topic id="sbasic/text/sbasic/shared/03170000.xhp">Round Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03030204.xhp">Second Function</topic> + <topic id="sbasic/text/sbasic/shared/03020304.xhp">Seek Function</topic> + <topic id="sbasic/text/sbasic/shared/03020305.xhp">Seek Statement</topic> + <topic id="sbasic/text/sbasic/shared/03090102.xhp">Select...Case Statement</topic> + <topic id="sbasic/text/sbasic/shared/03020414.xhp">SetAttr Statement</topic> + <topic id="sbasic/text/sbasic/shared/03103700.xhp">Set Statement</topic> + <topic id="sbasic/text/sbasic/shared/03080701.xhp">Sgn Function</topic> + <topic id="sbasic/text/sbasic/shared/03130500.xhp">Shell Function</topic> + <topic id="sbasic/text/sbasic/shared/03080103.xhp">Sin Function</topic> + <topic id="sbasic/text/sbasic/shared/03140011.xhp">SLN Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03120201.xhp">Space Function</topic> + <topic id="sbasic/text/sbasic/shared/03120314.xhp">Split Function</topic> + <topic id="sbasic/text/sbasic/shared/03080401.xhp">Sqr Function</topic> + <topic id="sbasic/text/sbasic/shared/03080400.xhp">Square Root Calculation</topic> + <topic id="sbasic/text/sbasic/shared/03103500.xhp">Static Statement</topic> + <topic id="sbasic/text/sbasic/shared/03090408.xhp">Stop Statement</topic> + <topic id="sbasic/text/sbasic/shared/03120403.xhp">StrComp Function</topic> + <topic id="sbasic/text/sbasic/shared/03120103.xhp">Str Function</topic> + <topic id="sbasic/text/sbasic/shared/03120412.xhp">StrReverse Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03120202.xhp">String Function</topic> + <topic id="sbasic/text/sbasic/shared/03090409.xhp">Sub Statement</topic> + <topic id="sbasic/text/sbasic/shared/03090410.xhp">Switch Function</topic> + <topic id="sbasic/text/sbasic/shared/03140012.xhp">SYD Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03080104.xhp">Tan Function</topic> + <topic id="sbasic/text/sbasic/shared/03030205.xhp">TimeSerial Function</topic> + <topic id="sbasic/text/sbasic/shared/03030206.xhp">TimeValue Function</topic> + <topic id="sbasic/text/sbasic/shared/03030302.xhp">Time Statement</topic> + <topic id="sbasic/text/sbasic/shared/03030303.xhp">Timer Function</topic> + <topic id="sbasic/text/sbasic/shared/03080100.xhp">Trigonometric Functions</topic> + <topic id="sbasic/text/sbasic/shared/03120311.xhp">Trim Function</topic> + <topic id="sbasic/text/sbasic/shared/03131300.xhp">TwipsPerPixelX Function</topic> + <topic id="sbasic/text/sbasic/shared/03131400.xhp">TwipsPerPixelY Function</topic> + <topic id="sbasic/text/sbasic/shared/03090413.xhp">Type Statement</topic> + <topic id="sbasic/text/sbasic/shared/03103600.xhp">TypeName Function; VarType Function</topic> + <topic id="sbasic/text/sbasic/shared/03103000.xhp">UBound Function</topic> + <topic id="sbasic/text/sbasic/shared/03120310.xhp">UCase Function</topic> + <topic id="sbasic/text/sbasic/shared/03120104.xhp">Val Function</topic> + <topic id="sbasic/text/sbasic/shared/03130600.xhp">Wait Statement</topic> + <topic id="sbasic/text/sbasic/shared/03030105.xhp">WeekDay Function</topic> + <topic id="sbasic/text/sbasic/shared/03150001.xhp">WeekdayName Function [VBA]</topic> + <topic id="sbasic/text/sbasic/shared/03090203.xhp">While...Wend Statement</topic> + <topic id="sbasic/text/sbasic/shared/03090411.xhp">With Statement</topic> + <topic id="sbasic/text/sbasic/shared/03020205.xhp">Write Statement</topic> + <topic id="sbasic/text/sbasic/shared/03060600.xhp">Xor-Operator</topic> + <topic id="sbasic/text/sbasic/shared/03030106.xhp">Year Function</topic> + <topic id="sbasic/text/sbasic/shared/03070100.xhp">"-" Operator</topic> + <topic id="sbasic/text/sbasic/shared/03070200.xhp">"*" Operator</topic> + <topic id="sbasic/text/sbasic/shared/03070300.xhp">"+" Operator</topic> + <topic id="sbasic/text/sbasic/shared/03070400.xhp">"/" Operator</topic> + <topic id="sbasic/text/sbasic/shared/03070500.xhp">"^" Operator</topic> + </node> + <node id="07010205" title="Advanced Basic Libraries"> + <topic id="sbasic/text/sbasic/shared/03/lib_tools.xhp">Tools Library</topic> + <topic id="sbasic/text/sbasic/shared/03/lib_depot.xhp">Depot Library</topic> + <topic id="sbasic/text/sbasic/shared/03/lib_euro.xhp">Euro Library</topic> + <topic id="sbasic/text/sbasic/shared/03/lib_formwizard.xhp">FormWizard Library</topic> + <topic id="sbasic/text/sbasic/shared/03/lib_gimmicks.xhp">Gimmicks Library</topic> + <topic id="sbasic/text/sbasic/shared/03/lib_schedule.xhp">Schedule Library</topic> + <topic id="sbasic/text/sbasic/shared/03/lib_script.xhp">ScriptBindingLibrary Library</topic> + <topic id="sbasic/text/sbasic/shared/03/lib_template.xhp">Template Library</topic> + </node> + </node> + <node id="070103" title="Guides"> + <topic id="shared/text/shared/guide/macro_recording.xhp">Recording a Macro</topic> + <topic id="sbasic/text/sbasic/guide/control_properties.xhp">Changing the Properties of Controls in the Dialog Editor</topic> + <topic id="sbasic/text/sbasic/guide/insert_control.xhp">Creating Controls in the Dialog Editor</topic> + <topic id="sbasic/text/sbasic/guide/sample_code.xhp">Programming Examples for Controls in the Dialog Editor</topic> + <topic id="sbasic/text/sbasic/guide/show_dialog.xhp">Opening a Dialog With Program Code</topic> + <topic id="sbasic/text/sbasic/guide/create_dialog.xhp">Creating a Basic Dialog</topic> + <topic id="sbasic/text/sbasic/shared/01030400.xhp">Organizing Libraries and Modules</topic> + <topic id="sbasic/text/sbasic/shared/01020100.xhp">Using Variables</topic> + <topic id="sbasic/text/sbasic/shared/01020200.xhp">Using Objects</topic> + <topic id="sbasic/text/sbasic/shared/01030300.xhp">Debugging a Basic Program</topic> + <topic id="sbasic/text/sbasic/shared/01040000.xhp">Event-Driven Macros</topic> + <topic id="sbasic/text/sbasic/guide/access2base.xhp">Access2Base, the API for Base users</topic> + </node> + </node> + <node id="0702" title="Python Scripts"> + <node id="070201" title="General Information and User Interface Usage"> + <topic id="sbasic/text/sbasic/python/main0000.xhp">%PRODUCTNAME Python Scripts Help</topic> + </node> + </node> + </help_section> </tree_view> diff --git a/source/text/sbasic/python/main0000.xhp b/source/text/sbasic/python/main0000.xhp new file mode 100644 index 000000000..989ea22d0 --- /dev/null +++ b/source/text/sbasic/python/main0000.xhp @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * 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/. + * + --> + + <meta> + <topic id="pythonmain0000" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Python Scripts</title> + <filename>/text/sbasic/python/main0000.xhp</filename> + </topic> + </meta> + <body> + <bookmark xml-lang="en-US" branch="index" id="bm_id491543348147708"> + <bookmark_value>macros;Python scripts</bookmark_value> + <bookmark_value>Python;macros</bookmark_value> + </bookmark> + <paragraph id="hd_id3154232" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/python/main0000.xhp" name="$[officename] Python Scripts">%PRODUCTNAME Python Scripts Help</link></paragraph> + + <section id="pythonalt"> + <paragraph id="par_id3153894" role="paragraph" xml-lang="en-US">%PRODUCTNAME provides an Application Programming Interface (API) that allows controlling the $[officename] components with different programming languages by using the $[officename] Software Development Kit (SDK). For more information about the $[officename] API and the Software Development Kit, visit <link href="https://api.libreoffice.org/" name="api.libreoffice.org">https://api.libreoffice.org</link></paragraph> + <paragraph id="par_id3147226" role="paragraph" xml-lang="en-US">This help section explains the most common Python script functions for %PRODUCTNAME. For more in-depth information please refer to the <link href="https://wiki.documentfoundation.org/Macros/Python_Design_Guide" name="wiki.documentfoundation.org PYTHON Guide">Designing & Developing Python Applications</link> on the Wiki.</paragraph> + </section> + <embed href="text/shared/need_help.xhp#needhelp"/> + <paragraph id="hd_id3146957" role="heading" level="3" xml-lang="en-US">Working with Python Scripts in %PRODUCTNAME.</paragraph> + <embed href="text/sbasic/python/python_ide.xhp#pythonideh1"/> + <embed href="text/sbasic/python/python_locations.xhp#pythonlocations1"/> + <paragraph role="paragraph" id="par_id551543347858350" xml-lang="en-US">Programming with Python Scripts + </paragraph> + <paragraph role="paragraph" id="par_id861543347870798" xml-lang="en-US">Creating a dialog</paragraph> + <paragraph role="paragraph" id="par_id71543347877088" xml-lang="en-US">Programming Examples</paragraph> + <embed href="text/swriter/main0000.xhp#helpabouthelp"/> +</body> +</helpdocument> diff --git a/source/text/sbasic/python/python_ide.xhp b/source/text/sbasic/python/python_ide.xhp new file mode 100644 index 000000000..05645cc50 --- /dev/null +++ b/source/text/sbasic/python/python_ide.xhp @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * 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/. + * + --> + + <meta> + <topic id="pythonidesetup" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">IDE for Python</title> + <filename>/text/sbasic/python/python_ide.xhp</filename> + </topic> + </meta> + <body> + <section id="pythonideheading"> + <bookmark id="bm_id341543348965463" xml-lang="en-US" branch="hid/zzzz" localize="false"/> + <bookmark xml-lang="en-US" branch="index" id="bm_id761543349138561"> + <bookmark_value>python;IDE - integrated development environment</bookmark_value> + <bookmark_value>python;editor</bookmark_value> + </bookmark> + <paragraph id="hd_id151543348965464" role="heading" level="1" xml-lang="en-US"><variable id="pythonideh1"><link href="text/sbasic/python/python_ide.xhp" name="Python IDE Setup">Setting up an Integrated Development Environment (IDE) for Python</link></variable></paragraph> + <paragraph id="par_id541543348965465" role="paragraph" xml-lang="en-US">Writing Python macros requires extra configuration steps in order set an IDE of choice.</paragraph> + + </section> + <embed href="text/shared/need_help.xhp#needhelp"/> + <paragraph role="paragraph" id="par_id341543353455014" xml-lang="en-US">Unlike Basic language macros development in %PRODUCTNAME, writing Python macros requires extra configuration steps in order to build your IDE of choice. In return you are provided with flexible design experience built upon your Python developing preferences or habits. Hereafter are IDE setup guidelines that range from beginner to advanced user.</paragraph> +</body> +</helpdocument> diff --git a/source/text/sbasic/python/python_locations.xhp b/source/text/sbasic/python/python_locations.xhp new file mode 100644 index 000000000..f8bb85ff5 --- /dev/null +++ b/source/text/sbasic/python/python_locations.xhp @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * 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/. + * + --> + + <meta> + <topic id="pythonlocations" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Location of Python Scripts</title> + <filename>/text/sbasic/python/python_locations.xhp</filename> + </topic> + </meta> + <body> + <section id="pythonlocation"> + <paragraph id="hd_id391543358231021" role="heading" level="1" xml-lang="en-US"><variable id="pythonlocations1"><link href="text/sbasic/python/python_locations.xhp" name="command_name">Location of Python scripts</link></variable></paragraph> + <paragraph id="par_id771543358231022" role="paragraph" xml-lang="en-US">The Python script files are simply stored within the file system.</paragraph> + + </section> + <embed href="text/shared/need_help.xhp#needhelp"/> + <paragraph role="heading" level="2" id="par_id591543360063141" xml-lang="en-US">%PRODUCTNAME installation share</paragraph> + <paragraph role="heading" level="2" id="par_id251543360075956" xml-lang="en-US">%PRODUCTNAME user profile</paragraph> + <paragraph role="heading" level="2" id="par_id671543360098182" xml-lang="en-US">Embedded in the document</paragraph> +</body> +</helpdocument> diff --git a/source/text/shared/00/00000406.xhp b/source/text/shared/00/00000406.xhp index 1456031b9..7189aa00e 100644 --- a/source/text/shared/00/00000406.xhp +++ b/source/text/shared/00/00000406.xhp @@ -77,6 +77,9 @@ </section> <paragraph xml-lang="en-US" id="par_idN107E9" role="paragraph"><variable id="mediaplayer">Choose <emph>Tools - Media Player</emph>.</variable></paragraph> <paragraph xml-lang="en-US" id="par_id3151385" role="paragraph"><variable id="makro">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph>, or press <switchinline select="sys"><caseinline select="MAC">Option</caseinline><defaultinline>Alt</defaultinline></switchinline>+F11 (if not assigned by your system).</variable></paragraph> + <paragraph role="paragraph" id="par_id511543350796749" xml-lang="en-US"><variable id="beanshell">Choose <emph>Tools - Macros - Organize Macros - BeanShell</emph>.</variable></paragraph> + <paragraph role="paragraph" id="par_id661543350803067" xml-lang="en-US"><variable id="javascript">Choose <emph>Tools - Macros - Organize Macros - JavaScript</emph>.</variable></paragraph> + <paragraph role="paragraph" id="par_id441543350811395" xml-lang="en-US"><variable id="python">Choose <emph>Tools - Macros - Organize Macros - Python</emph>.</variable></paragraph> <section id="recordmacro"> <paragraph xml-lang="en-US" id="par_id3149456" role="paragraph">Choose <emph>Tools - Macros - Record Macro</emph>.</paragraph> </section> diff --git a/source/text/shared/01/06130000.xhp b/source/text/shared/01/06130000.xhp index 54f3bee11..0207188ee 100644 --- a/source/text/shared/01/06130000.xhp +++ b/source/text/shared/01/06130000.xhp @@ -119,9 +119,12 @@ <paragraph role="heading" id="hd_id3154693" xml-lang="en-US" level="3">Import<comment>changed in #i64102</comment></paragraph> <paragraph role="paragraph" id="par_id3147441" xml-lang="en-US"><ahelp hid="modules/BasicIDE/ui/libpage/import">Locate that $[officename] Basic library that you want to add to the current list, and then click Open.</ahelp></paragraph> <embed href="text/shared/00/00000001.xhp#loeschen"/> -<paragraph role="paragraph" id="par_idN10A39" xml-lang="en-US"><variable id="script">Scripts +<paragraph role="heading" level="1" id="par_idN10A39" xml-lang="en-US"><variable id="script">Scripts </variable></paragraph> -<paragraph role="paragraph" id="par_idN109BB" xml-lang="en-US">To open the BeanShell Macros dialog box, choose Tools - Macros - Organize Macros - BeanShell. To open the JavaScript dialog box, choose Tools - Macros - Organize Macros - JavaScript.</paragraph> +<section id="howtoget"> + <embed href="text/shared/00/00000406.xhp#beanshell"/> + <embed href="text/shared/00/00000406.xhp#javascript"/> +</section> <paragraph role="heading" id="hd_id6963408" xml-lang="en-US" level="2">Export</paragraph> <paragraph role="paragraph" id="par_id8968169" xml-lang="en-US"><ahelp hid=".">Opens a dialog to export the selected library either as an extension or as a Basic library.</ahelp></paragraph> <bookmark xml-lang="en-US" branch="hid/cui/ui/scriptorganizer/ScriptOrganizerDialog" id="bm_id7982421" localize="false"/> @@ -149,6 +152,15 @@ <paragraph role="paragraph" id="par_idN10B00" xml-lang="en-US">Select a macro or script from "user", "share", or an open document. To view the contents of a library, double-click an entry in the list.</paragraph> <paragraph role="heading" id="par_idN10B17" xml-lang="en-US" level="3">Macro name</paragraph> <paragraph role="paragraph" id="par_idN10B1B" xml-lang="en-US">Click a script, and then click a command button.</paragraph> +<paragraph role="heading" level="1" id="par_id381543352048115" xml-lang="en-US">Python</paragraph> +<section id="howtoget"> + <embed href="text/shared/00/00000406.xhp#python"/> +</section> +<paragraph role="heading" id="par_idN109as" xml-lang="en-US" level="2">Macros</paragraph> +<paragraph role="paragraph" id="par_idN134C2" xml-lang="en-US"><ahelp hid="cui/ui/scriptorganizer/ScriptOrganizerDialog">Select a macro or script from "user", "share", or an open document.</ahelp></paragraph> +<paragraph role="heading" level="3" id="par_id641543351777423" xml-lang="en-US">Run</paragraph> +<paragraph role="paragraph" id="par_id31543351781865" xml-lang="en-US"><ahelp hid="cui/ui/scriptorganizer/run">To run a script, select a script in the list, and then click Run.</ahelp></paragraph> + <section id="relatedtopics"> <embed href="text/shared/guide/scripting.xhp#scripting"/> <embed href="text/shared/guide/macro_recording.xhp#macro_recording"/> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits