Conteníu

# Llista de tolos métodos y propiedaes de ScriptForge

This help page shows all methods and properties available in the ScriptForge library by service with links to the corresponding documentation.

The Basic source code for all ScriptForge services is available via Application Macros and Dialogs and is distributed in multiple libraries: ScriptForge, SFDatabases, SFDialogs, SFDocuments, SFUnitTests and SFWidgets. The Python portion of the source code is available in the program\scriptforge.py file under the LibreOffice installation directory.

## Serviciu ScriptForge.Array

Llista de métodos nel serviciu Array
Append AppendColumn AppendRow Contains ConvertFromDataArray ConvertToDataArray ConvertToDictionary ConvertToRange Copy CountDims Difference ExportToTextFile | ExtractColumn ExtractRow Flatten ImportFromCSVFile IndexOf Insert InsertSorted Intersection Join2D Prepend PrependColumn PrependRow | RangeInit Reverse Shuffle Slice Sort SortColumns SortRows Transpose TrimArray Union Unique

## Serviciu SFDocuments.Base

Llista de métodos nel serviciu Base
CloseFormDocument FormDocuments Forms GetDatabase | IsLoaded OpenFormDocument OpenQuery OpenTable | PrintOut SetPrinter

This service also supports the methods and properties defined in the Document service, which includes methods that are generic to all document types.

## Serviciu ScriptForge.Basic

Llista de métodos nel serviciu Basic
CDate CDateFromUnoDateTime CDateToUnoDateTime ConvertFromUrl (*) ConvertToUrl (*) CreateUnoService CreateUnoStruct (*) DateAdd | DateDiff DatePart DateValue Format GetDefaultContext GetGuiType (*) GetPathSeparator (*) GetSystemTicks | GlobalScope.BasicLibraries GlobalScope.DialogLibraries InputBox (*) MsgBox (*) Now RGB Wait Xray

Llista de propiedaes nel serviciu Basic
IDABORT IDCANCEL IDIGNORE IDNO IDOK IDRETRY IDYES MB_ABORTRETRYIGNORE | MB_DEFBUTTON1 MB_DEFBUTTON2 MB_DEFBUTTON3 MB_ICONEXCLAMATION MB_ICONINFORMATION MB_ICONQUESTION MB_ICONSTOP MB_OK | MB_OKCANCEL MB_RETRYCANCEL MB_YESNO MB_YESNOCANCEL StarDesktop ThisComponent ThisDatabaseDocument

## Serviciu SFDocuments.Calc

Llista de métodos nel serviciu Calc
A1Style Activate AlignRange BorderRange Charts ClearAll ClearFormats ClearValues ColorizeRange CompactLeft CompactUp CopySheet CopySheetFromFile CopyToCell CopyToRange CreateChart CreatePivotTable DAvg | DCount DecorateFont DefineName DMax DMin DSum ExportRangeToFile FormatRange Forms GetColumnName GetFormula GetValue ImportFromCSVFile ImportFromDatabase ImportStylesFromFile InsertSheet Intersect MoveRange | MoveSheet Offset OpenRangeSelector PrintOut Printf RemoveDuplicates RemoveSheet RenameSheet SetArray SetCellStyle SetFormula SetValue ShiftDown ShiftLeft ShiftRight ShiftUp SortRange

Llista de propiedaes nel serviciu Calc
CurrentSelection FirstCell FirstColumn FirstRow Height LastCell | LastColumn LastRow Range Region Sheet SheetName | Sheets Width XCellRange XSheetCellCursor XSpreadsheet

This service also supports the methods and properties defined in the Document service, which includes methods that are generic to all document types.

## Serviciu SFWidgets.ContextMenu

List of Methods in the ContextMenu Service
Activate | AddItem | RemoveAllItems

Llista de propiedaes nel serviciu ContextMenu
ShortcutCharacter | SubmenuCharacter

## Serviciu SFDocuments.Chart

Llista de métodos nel serviciu Chart
ExportToFile | Resize

Llista de propiedaes nel serviciu Chart
ChartType Deep Dim3D Exploded Filled | Legend Percent Stacked Title XTitle | YTitle XChartObj XDiagram XShape XTableChart

## Serviciu SFDatabases.Database

Llista de métodos nel serviciu Database
CloseDatabase Commit CreateDataset DAvg DCount DMin | DMax DSum DLookup GetRows OpenFormDocument OpenQuery | OpenSql OpenTable Rollback RunSql SetTransactionMode

Llista de propiedaes nel serviciu Database
Queries Tables | XConnection | XMetaData

## SFDatabases.Dataset service

Llista de métodos nel serviciu Dataset
CloseDataset CreateDataset Delete ExportValueToFile GetRows | GetValue Insert MoveFirst MoveLast | MoveNext MovePrevious Reload Update

List of Properties in the Dataset Service
BOF DefaultValues EOF Fields Filter | Orderby ParentDatabase RowCount RowNumber Source | SourceType UpdatableFields Values XRowSet

## Serviciu SFDatabases.Datasheet

Llista de métodos nel serviciu Datasheet
Activate CloseDatasheet CreateMenu | GetText GetValue GoToCell | RemoveMenu Toolbars

Llista de propiedaes nel serviciu Datasheet
ColumnHeaders CurrentColumn CurrentRow DatabaseFileName Filter | LastRow OrderBy ParentDatabase Source | SourceType XComponent XControlModel XTabControllerModel

## Serviciu SFDialogs.Dialog

Llista de métodos nel serviciu Dialog
Activate Center Controls CloneControl CreateButton CreateCheckBox CreateComboBox CreateCurrencyField CreateDateField CreateFileControl CreateFixedLine CreateFixedText | CreateFormattedField CreateGroupBox CreateHyperlink CreateImageControl CreateListBox CreateNumericField CreatePatternField CreateProgressBar CreateRadioButton CreateScrollBar CreateTableControl CreateTabPageContainer | CreateTextField CreateTimeField CreateTreeControl EndExecute Execute GetTextsFromL10N ImportControl OrderTabs Resize SetPageManager Terminate

Llista de propiedaes nel serviciu Dialog
CANCELBUTTON Caption Height Modal Name OKBUTTON OnFocusGained OnFocusLost | OnKeyPressed OnKeyReleased OnMouseDragged OnMouseEntered OnMouseExited OnMouseMoved OnMousePressed OnMouseReleased | Page Visible Width XChartObj XDiagram XDialogModel XDialogView XTableChart

## Serviciu SFDialogs.DialogControl

Llista de métodos nel serviciu DialogControl
AddSubNode AddSubTree CreateRoot | FindNode Resize SetFocus | SetTableData WriteLine

Llista de propiedaes nel serviciu DialogControl
Cancel Caption ControlType CurrentNode Default Enabled Format ListCount ListIndex | Locked MultiSelect Name Page Parent Picture RootNode RowSource | Text TipText TripleState Value Visible XControlModel XControlView XTreeDataModel

## Serviciu ScriptForge.Dictionary

Llista de métodos nel serviciu Dictionary
Add ConvertToArray ConvertToJson ConvertToPropertyValues | Exists ImportFromJson ImportFromPropertyValues Item | Remove RemoveAll ReplaceItem ReplaceKey

Llista de propiedaes nel serviciu Dictionary
Count | Items | Keys

## Serviciu SFDocuments.Document

Llista de métodos nel serviciu Document
Activate CloseDocument ContextMenus CreateMenu DeleteStyles Echo | ExportAsPDF PrintOut RemoveMenu RunCommand Save SaveAs | SaveCopyAs SetPrinter Style Toolbars XStyle

Llista de propiedaes nel serviciu Document
CustomProperties Description DocumentProperties DocumentType ExportFilters FileSystem ImportFilters | IsBase IsCalc IsDraw IsFormDocument IsImpress IsMath IsWriter | Keywords Readonly StyleFamilies Subject Title XComponent XDocumentSettings

## Serviciu ScriptForge.Exception

Llista de métodos nel serviciu Exception
Clear Console ConsoleClear ConsoleToFile | DebugDisplay DebugPrint PythonPrint | PythonShell Raise RaiseWarning

Llista de propiedaes nel serviciu Exception
Description | Number | Source

## Serviciu ScriptForge.FileSystem

Llista de métodos nel serviciu FileSystem
BuildPath CompareFiles CopyFile CopyFolder CreateFolder CreateTextFile DeleteFile DeleteFolder ExtensionFolder | FileExists Files FolderExists GetBaseName GetExtension GetFileLen GetFileModified GetName GetParentFolderName | GetTempName HashFile MoveFile MoveFolder Normalize OpenTextFile PickFile PickFolder SubFolders

Llista de propiedaes nel serviciu FileSystem
ConfigFolder ExtensionsFolder FileNaming HomeFolder | InstallFolder Subject TemplatesFolder TemporaryFolder | Title UserTemplatesFolder XComponent

## Serviciu SFDocuments.Form

Llista de métodos nel serviciu Form
Activate Controls GetDatabase MoveFirst | MoveLast MoveNext MoveNew | MovePrevious Requery SubForms

Llista de propiedaes nel serviciu Form
AllowDeletes AllowInserts AllowUpdates BaseForm Bookmark CurrentRecord Filter LinkChildFields LinkParentFields Name | OnApproveCursorMove OnApproveParameter OnApproveReset OnApproveRowChange OnApproveSubmit OnConfirmDelete OnCursorMoved OnErrorOccurred OnLoaded OnReloaded | OnReloading OnResetted OnRowChanged OnUnloaded OnUnloading OrderBy Parent RecordSource XForm

## Serviciu SFDocuments.FormControl

Llista de métodos nel serviciu FormControl
Controls | SetFocus

Llista de propiedaes nel serviciu FormControl
Action Caption ControlSource ControlType Default DefaultValue Enabled Format ListCount ListIndex ListSource ListSourceType Locked MultiSelect Name OnActionPerformed | OnAdjustmentValueChanged OnApproveAction OnApproveReset OnApproveUpdate OnChanged OnErrorOccurred OnFocusGained OnFocusLost OnItemStateChanged OnKeyPressed OnKeyReleased OnMouseDragged OnMouseEntered OnMouseExited OnMouseMoved | OnMousePressed OnMouseReleased OnResetted OnTextChanged OnUpdated Parent Picture Required Text TipText TripleState Value Visible XControlModel XControlView

## Serviciu SFDocuments.FormDocument

Llista de métodos nel serviciu FormDocument
CloseDocument Forms | GetDatabase | PrintOut

## Serviciu ScriptForge.L10N

Llista de métodos nel serviciu L10N
AddText AddTextsFromDialog | ExportToPOTFile | GetText

Llista de propiedaes nel serviciu L10N
Folder | Language | Locale

## Serviciu SFWidgets.Menu

Llista de métodos nel serviciu Menu
AddCheckBox | AddItem | AddRadioButton

Llista de propiedaes nel serviciu Menu
ShortcutCharacter | SubmenuCharacter

## Serviciu ScriptForge.Platform

Llista de propiedaes nel serviciu Platform
Architecture ComputerName CPUCount CurrentUser Extensions FilterNames Fonts | FormatLocale Locale Machine OfficeLocale OfficeVersion OSName OSPlatform | OSRelease OSVersion Printers Processor PythonVersion SystemLocale UserData

## Serviciu SFWidgets.PopupMenu

Llista de métodos nel serviciu PopupMenu
AddCheckBox AddItem | AddRadioButton | Execute

Llista de propiedaes nel serviciu PopupMenu
ShortcutCharacter | SubmenuCharacter

## Serviciu ScriptForge.Region

Llista de métodos nel serviciu Region
DSTOffset LocalDateTime | Number2Text TimeZoneOffset | UTCDateTime UTCNow

Llista de propiedaes nel serviciu Region
Country Currency DatePatterns DateSeparator DayAbbrevNames | DayNames DayNarrowNames DecimalPoint Language ListSeparator | MonthAbbrevNames MonthNames MonthNarrowNames ThousandSeparator TimeSeparator

## Serviciu ScriptForge.Session

Llista de métodos nel serviciu Session
ExecuteBasicScript ExecuteCalcFunction ExecutePythonScript GetPDFExportOptions HasUnoMethod | HasUnoProperty OpenURLInBrowser RunApplication SendMail SetPDFExportOptions | UnoMethods UnoProperties UnoObjectType WebService

Llista de propiedaes nel serviciu Session
SCRIPTISAPPLICATION SCRIPTISEMBEDDED SCRIPTISOXT | SCRIPTISPERSONAL SCRIPTISPERSOXT | SCRIPTISSHARED SCRIPTISSHAROXT

## Serviciu ScriptForge.String

Llista de métodos nel serviciu String
Capitalize Count EndsWith Escape ExpandTabs FilterNotPrintable FindRegex HashStr HtmlEncode IsADate IsAlpha IsAlphaNum IsAscii IsDigit IsEmail | IsFileName IsHexDigit IsIBAN IsIPv4 IsLike IsLower IsPrintable IsRegex IsSheetName IsTitle IsUpper IsUrl IsWhitespace JustifyCenter JustifyLeft | JustifyRight Quote ReplaceChar ReplaceRegex ReplaceStr Represent Reverse SplitLines SplitNotQuoted StartsWith TrimExt Unescape Unquote Wrap

Llista de propiedaes nel serviciu Dictionary
sfCR sfLF | sfCRLF sfNEWLINE | sfTAB

## Serviciu ScriptForge.TextStream

Llista de métodos nel serviciu TextStream
CloseFile ReadAll | ReadLine SkipLine | WriteBlankLines WriteLine

Llista de propiedaes nel serviciu TextStream
AtEndOfStream Encoding | FileName IOMode | Line NewLine

## Serviciu ScriptForge.Timer

Llista de métodos nel serviciu Timer
Continue Restart | Start Suspend | Terminate

Llista de propiedaes nel serviciu Timer
Duration IsStarted | IsSuspended SuspendDuration | TotalDuration

## Serviciu ScriptForge.Toolbar

Llista de métodos nel serviciu Toolbar
ToolbarButtons |  |

Llista de propiedaes nel serviciu Toolbar
BuiltIn Docked HasGlobalScope | Name ResourceURL | Visible XUIElement

## Serviciu ScriptForge.ToolbarButton

Llista de métodos nel serviciu ToolbarButton
Execute |  |

Llista de propiedaes nel serviciu ToolbarButton
Caption Height Index OnClick | Parent TipText Visible | Width X Y

## Serviciu ScriptForge.UI

Llista de métodos nel serviciu UI
Activate CreateBaseDocument CreateDocument (*) Documents GetDocument | Maximize Minimize OpenBaseDocument OpenDocument (*) Resize | RunCommand SetStatusBar (*) ShowProgressBar WindowExists

Llista de propiedaes nel serviciu UI
ActiveWindow Height MACROEXECALWAYS | MACROEXECNEVER MACROEXECNORMAL Width | X Y

## Serviciu ScriptForge.UnitTest

Llista de métodos nel serviciu UnitTest
AssertAlmostEqual AssertEqual AssertFalse AssertGreater AssertGreaterEqual AssertIn AssertIsInstance AssertIsNothing AssertLike | AssertNotRegex AssertIsNull AssertLess AssertLessEqual AssertNotAlmostEqual AssertNotEqual AssertNotIn AssertNotInstance AssertNotLike | AssertNotNothing AssertNotNull AssertRegex AssertTrue Fail Log ReportError RunTest SkipTest

Llista de propiedaes nel serviciu UnitTest
LongMessage ReturnCode | Verbose | WhenAssertionFails

## Serviciu ScriptForge.Writer

Llista de métodos nel serviciu Writer
Forms | ImportStylesFromFile | PrintOut

Temes rellacionaos

La biblioteca ScriptForge

Creating Python Scripts with ScriptForge

Please support us!