Seznam všech metod a vlastností knihovny ScriptForge

Na této stránce jsou podle služeb uvedeny všechny metody a vlastnosti, které jsou k dispozici v knihovně ScriptForge, a to s odkazy na příslušnou dokumentaci.

tip

Zdrojový kód v jazyce Basic je pro všechny služby ScriptForge dostupný volbou Makra a dialogová okna aplikace a je rozmístěn v několika knihovnách: ScriptForge, SFDatabases, SFDialogs, SFDocuments, SFUnitTests a SFWidgets. Zdrojový kód v jazyce Python je k dispozici v souboru program\scriptforge.py umístěném v instalačním adresáři LibreOffice.


Služba ScriptForge.Array

Seznam metod služby Array

Append
AppendColumn
AppendRow
Contains
ConvertToDictionary
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


Služba SFDocuments.Base

Seznam metod služby Base

CloseFormDocument
FormDocuments
Forms
GetDatabase

IsLoaded
OpenFormDocument
OpenQuery
OpenTable

PrintOut
SetPrinter



note

Tato služba podporuje také metody a vlastnosti definované ve službě Document, která obsahuje obecné metody pro všechny typy dokumentů.


Služba ScriptForge.Basic

Seznam metod služby 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
Xray


Seznam vlastností služby 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


Služba SFDocuments.Calc

Seznam metod služby Calc

A1Style
Activate
Charts
ClearAll
ClearFormats
ClearValues
CompactLeft
CompactUp
CopySheet
CopySheetFromFile
CopyToCell
CopyToRange
CreateChart
CreatePivotTable
DAvg

DCount
DMax
DMin
DSum
ExportRangeToFile
Forms
GetColumnName
GetFormula
GetValue
ImportFromCSVFile
ImportFromDatabase
InsertSheet
MoveRange
MoveSheet
Offset

OpenRangeSelector
PrintOut
Printf
RemoveDuplicates
RemoveSheet
RenameSheet
SetArray
SetCellStyle
SetFormula
SetValue
ShiftDown
ShiftLeft
ShiftRight
ShiftUp
SortRange


Seznam vlastností služby Calc

CurrentSelection
FirstCell
FirstColumn
FirstRow
Height
LastCell

LastColumn
LastRow
Range
Region
Sheet
SheetName

Sheets
Width
XCellRange
XSheetCellCursor
XSpreadsheet


note

Tato služba podporuje také metody a vlastnosti definované ve službě Document, která obsahuje obecné metody pro všechny typy dokumentů.


Služba SFDocuments.Chart

Seznam metod služby Chart

ExportToFile

Resize


Seznam vlastností služby Chart

ChartType
Deep
Dim3D
Exploded
Filled

Legend
Percent
Stacked
Title
XTitle

YTitle
XChartObj
XDiagram
XShape
XTableChart


Služba SFDatabases.Database

Seznam metod služby Database

CloseDatabase
DAvg
DCount
DMin

DMax
DSum
DLookup
GetRows

OpenQuery
OpenSql
OpenTable
RunSql


Seznam vlastností služby Database

Queries
Tables

XConnection

XMetaData


Služba SFDatabases.Datasheet

Seznam metod služby Datasheet

Activate
CloseDatasheet
CreateMenu

GetText
GetValue

GoToCell
RemoveMenu


Seznam vlastností služby Datasheet

ColumnHeaders
CurrentColumn
CurrentRow
DatabaseFileName
Filter

LastRow
OrderBy
ParentDatabase
Source

SourceType
XComponent
XControlModel
XTabControllerModel


Služba SFDialogs.Dialog

Seznam metod služby Dialog

Activate
Center
Controls

EndExecute
Execute
GetTextsFromL10N

Resize
SetPageManager
Terminate


Seznam vlastností služby 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


Služba SFDialogs.DialogControl

Seznam metod služby DialogControl

AddSubNode
AddSubTree
CreateRoot

FindNode
SetFocus

SetTableData
WriteLine


Seznam vlastností služby 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


Služba ScriptForge.Dictionary

Seznam metod služby Dictionary

Add
ConvertToArray
ConvertToJson
ConvertToPropertyValues

Exists
ImportFromJson
ImportFromPropertyValues
Item

Remove
RemoveAll
ReplaceItem
ReplaceKey


Seznam vlastností služby Dictionary

Count

Items

Keys


Služba SFDocuments.Document

Seznam metod služby Document

Activate
CloseDocument
CreateMenu
ExportAsPDF

PrintOut
RemoveMenu
RunCommand
Save

SaveAs
SaveCopyAs
SetPrinter


Seznam vlastností služby Document

CustomProperties
Description
DocumentProperties
DocumentType
ExportFilters
ImportFilters

IsBase
IsCalc
IsDraw
IsImpress
IsMath
IsWriter

Keywords
Readonly
Subject
Title
XComponent


Služba ScriptForge.Exception

Seznam metod služby Exception

Clear
Console
ConsoleClear
ConsoleToFile

DebugDisplay
DebugPrint
PythonPrint

PythonShell
Raise
RaiseWarning


Seznam vlastností služby Exception

Description

Number

Source


Služba ScriptForge.FileSystem

Seznam metod služby 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


Seznam vlastností služby FileSystem

ConfigFolder
ExtensionsFolder
FileNaming
HomeFolder

InstallFolder
Subject
TemplatesFolder
TemporaryFolder

Title
UserTemplatesFolder
XComponent


Služba SFDocuments.Form

Seznam metod služby Form

Activate
CloseFormDocument
Controls
GetDatabase

MoveFirst
MoveLast
MoveNext
MoveNew

MovePrevious
Requery
SubForms


Seznam vlastností služby 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


Služba SFDocuments.FormControl

Seznam metod služby FormControl

Controls

SetFocus


Seznam vlastností služby 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


Služba ScriptForge.L10N

Seznam metod služby L10N

AddText
AddTextsFromDialog

ExportToPOTFile

GetText


Seznam vlastností služby L10N

Folder

Language

Locale


Služba SFWidgets.Menu

Seznam metod služby Menu

AddCheckBox

AddItem

AddRadioButton


Seznam vlastností služby Menu

ShortcutCharacter

SubmenuCharacter


Služba ScriptForge.Platform

Seznam vlastností služby Platform

Architecture
ComputerName
CPUCount
CurrentUser
Extensions
FilterNames
Fonts

FormatLocale
Locale
Machine
OfficeLocale
OfficeVersion
OSName
OSPlatform

OSRelease
OSVersion
Printers
Processor
PythonVersion
SystemLocale


Služba SFWidgets.PopupMenu

Seznam metod služby PopupMenu

AddCheckBox
AddItem

AddRadioButton

Execute


Seznam vlastností služby PopupMenu

ShortcutCharacter

SubmenuCharacter


Služba ScriptForge.Region

Seznam metod služby Region

DSTOffset
LocalDateTime

Number2Text
TimeZoneOffset

UTCDateTime
UTCNow


Seznam vlastností služby Region

Country
Currency
DatePatterns
DateSeparator
DayAbbrevNames

DayNames
DayNarrowNames
DecimalPoint
Language
ListSeparator

MonthAbbrevNames
MonthNames
MonthNarrowNames
ThousandSeparator
TimeSeparator


Služba ScriptForge.Session

Seznam metod služby Session

ExecuteBasicScript
ExecuteCalcFunction
ExecutePythonScript
GetPDFExportOptions
HasUnoMethod

HasUnoProperty
OpenURLInBrowser
RunApplication
SendMail
SetPDFExportOptions

UnoMethods
UnoProperties
UnoObjectType
WebService


Seznam vlastností služby Session

SCRIPTISAPPLICATION
SCRIPTISEMBEDDED
SCRIPTISOXT

SCRIPTISPERSONAL
SCRIPTISPERSOXT

SCRIPTISSHARED
SCRIPTISSHAROXT


Služba ScriptForge.String

Seznam metod služby 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


Seznam vlastností služby Dictionary

sfCR
sfLF

sfCRLF
sfNEWLINE

sfTAB


Služba ScriptForge.TextStream

Seznam metod služby TextStream

CloseFile
ReadAll

ReadLine
SkipLine

WriteBlankLines
WriteLine


Seznam vlastností služby TextStream

AtEndOfStream
Encoding

FileName
IOMode

Line
NewLine


Služba ScriptForge.Timer

Seznam metod služby Timer

Continue
Restart

Start
Suspend

Terminate


Seznam vlastností služby Timer

Duration
IsStarted

IsSuspended
SuspendDuration

TotalDuration


Služba ScriptForge.UI

Seznam metod služby UI

Activate
CreateBaseDocument
CreateDocument (*)
GetDocument
Maximize

Minimize
OpenBaseDocument
OpenDocument (*)
Resize

RunCommand
SetStatusBar (*)
ShowProgressBar
WindowExists


Seznam vlastností služby UI

ActiveWindow
Documents
Height

MACROEXECALWAYS
MACROEXECNEVER
MACROEXECNORMAL

Width
X
Y


Služba ScriptForge.UnitTest

Seznam metod služby 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


Seznam vlastností služby UnitTest

LongMessage
ReturnCode

Verbose

WhenAssertionFails