Vsebina

# Seznam vseh metod in lastnosti ScriptForge

Ta stran pomoči prikazuje vse metode in lastnosti, ki so na voljo v knjižnici ScriptForge, urejene po storitvah s povezavami na ustrezno dokumentacijo.

Izvorna koda Basic za vse storitve ScriptForge je na voljo prek Makri in pogovorna okna programa in se razširja v več knjižnicah: ScriptForge, SFDatabases, SFDialogs, SFDocuments, SFUnitTests in SFWidgets. Del izvorne kode Python je na voljo v datoteki program\scriptforge.py v mapi namestitve LibreOffice.

## Storitev ScriptForge.Array

Seznam metod v storitvi 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

## Storitev SFDocuments.Base

Seznam metod v storitvi Base
CloseFormDocument FormDocuments Forms GetDatabase | IsLoaded OpenFormDocument OpenQuery OpenTable | PrintOut SetPrinter

Ta storitev podpira tudi metode in lastnosti, definirane v storitvi Document, ki vključuje metode, ki so splošne za vse vrste dokumentov.

## Storitev ScriptForge.Basic

Seznam metod v storitvi 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 lastnosti v storitvi 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

## Storitev SFDocuments.Calc

Seznam metod v storitvi 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
ImportStylesFromFile
InsertSheet
Intersect
MoveRange
MoveSheet
Offset

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

Seznam lastnosti v storitvi Calc
CurrentSelection FirstCell FirstColumn FirstRow Height LastCell | LastColumn LastRow Range Region Sheet SheetName | Sheets Width XCellRange XSheetCellCursor XSpreadsheet

Ta storitev podpira tudi metode in lastnosti, definirane v storitvi Document, ki vključuje metode, ki so splošne za vse vrste dokumentov.

## Storitev SFDocuments.Chart

Seznam metod v storitvi Chart
ExportToFile | Resize

Seznam lastnosti v storitvi Chart
ChartType Deep Dim3D Exploded Filled | Legend Percent Stacked Title XTitle | YTitle XChartObj XDiagram XShape XTableChart

## Storitev SFDatabases.Database

Seznam metod v storitvi Database
CloseDatabase Commit CreateDataset DAvg DCount DMin | DMax DSum DLookup GetRows OpenFormDocument OpenQuery | OpenSql OpenTable Rollback RunSql SetTransactionMode

Seznam lastnosti v storitvi Database
Queries Tables | XConnection | XMetaData

## Storitev SFDatabases.Dataset

Seznam metod v storitvi Dataset
CloseDataset CreateDataset Delete ExportValueToFile GetRows | GetValue Insert MoveFirst MoveLast | MoveNext MovePrevious Reload Update

Seznam lastnosti v storitvi Dataset
BOF DefaultValues EOF Fields Filter | Orderby ParentDatabase RowCount RowNumber Source | SourceType UpdatableFields Values XRowSet

## Storitev SFDatabases.Datasheet

Seznam metod v storitvi Datasheet
Activate CloseDatasheet CreateMenu | GetText GetValue GoToCell | RemoveMenu Toolbars

Seznam lastnosti v storitvi Datasheet
ColumnHeaders CurrentColumn CurrentRow DatabaseFileName Filter | LastRow OrderBy ParentDatabase Source | SourceType XComponent XControlModel XTabControllerModel

## Storitev SFDialogs.Dialog

Seznam metod v storitvi 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

Seznam lastnosti v storitvi 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

## Storitev SFDialogs.DialogControl

Seznam metod storitve DialogControl
AddSubNode AddSubTree CreateRoot | FindNode Resize SetFocus | SetTableData WriteLine

Seznam lastnosti storitve 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

## Storitev ScriptForge.Dictionary

Seznam metod v storitvi Dictionary
Add ConvertToArray ConvertToJson ConvertToPropertyValues | Exists ImportFromJson ImportFromPropertyValues Item | Remove RemoveAll ReplaceItem ReplaceKey

Seznam lastnosti v storitvi Dictionary
Count | Items | Keys

## Storitev SFDocuments.Document

Seznam metod storitve Document
Activate CloseDocument CreateMenu DeleteStyles Echo ExportAsPDF | PrintOut RemoveMenu RunCommand Save SaveAs | SaveCopyAs SetPrinter Style Toolbars XStyle

Seznam lastnosti storitve Document
CustomProperties Description DocumentProperties DocumentType ExportFilters FileSystem ImportFilters | IsBase IsCalc IsDraw IsFormDocument IsImpress IsMath IsWriter | Keywords Readonly StyleFamilies Subject Title XComponent XDocumentSettings

## Storitev ScriptForge.Exception

Seznam metod v storitvi Exception
Clear Console ConsoleClear ConsoleToFile | DebugDisplay DebugPrint PythonPrint | PythonShell Raise RaiseWarning

Seznam lastnosti v storitvi Exception
Description | Number | Source

## Storitev ScriptForge.FileSystem

Seznam metod storitve 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 lastnosti storitve FileSystem
ConfigFolder ExtensionsFolder FileNaming HomeFolder | InstallFolder Subject TemplatesFolder TemporaryFolder | Title UserTemplatesFolder XComponent

## Storitev SFDocuments.Form

Seznam metod storitve Form
Activate Controls GetDatabase MoveFirst | MoveLast MoveNext MoveNew | MovePrevious Requery SubForms

Seznam lastnosti storitve 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

## Storitev SFDocuments.FormControl

Seznam metod storitve FormControl
Controls | SetFocus

Seznam lastnosti storitve 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

## Storitev SFDocuments.FormDocument

Seznam metod storitve FormDocument
CloseDocument Forms | GetDatabase | PrintOut

## Storitev ScriptForge.L10N

Seznam metod v storitvi L10N
AddText AddTextsFromDialog | ExportToPOTFile | GetText

Seznam lastnosti v storitvi L10N
Folder | Language | Locale

## Storitev SFWidgets.Menu

Seznam metod storitve Menu
AddCheckBox | AddItem | AddRadioButton

Seznam lastnosti storitve Menu
ShortcutCharacter | SubmenuCharacter

## Storitev ScriptForge.Platform

Seznam lastnosti storitve Platform
Architecture ComputerName CPUCount CurrentUser Extensions FilterNames Fonts | FormatLocale Locale Machine OfficeLocale OfficeVersion OSName OSPlatform | OSRelease OSVersion Printers Processor PythonVersion SystemLocale UserData

## Storitev SFWidgets.PopupMenu

Seznam metod storitve PopupMenu
AddCheckBox AddItem | AddRadioButton | Execute

Seznam lastnosti storitve PopupMenu
ShortcutCharacter | SubmenuCharacter

## Storitev ScriptForge.Region

Seznam metod storitve Region
DSTOffset LocalDateTime | Number2Text TimeZoneOffset | UTCDateTime UTCNow

Seznam lastnosti storitve Region
Country Currency DatePatterns DateSeparator DayAbbrevNames | DayNames DayNarrowNames DecimalPoint Language ListSeparator | MonthAbbrevNames MonthNames MonthNarrowNames ThousandSeparator TimeSeparator

## Storitev ScriptForge.Session

Seznam metod v storitvi seje
ExecuteBasicScript ExecuteCalcFunction ExecutePythonScript GetPDFExportOptions HasUnoMethod | HasUnoProperty OpenURLInBrowser RunApplication SendMail SetPDFExportOptions | UnoMethods UnoProperties UnoObjectType WebService

Seznam lastnosti v storitvi Session
SCRIPTISAPPLICATION SCRIPTISEMBEDDED SCRIPTISOXT | SCRIPTISPERSONAL SCRIPTISPERSOXT | SCRIPTISSHARED SCRIPTISSHAROXT

## Storitev ScriptForge.String

Seznam metod storitve Strings

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 lastnosti v storitvi Dictionary
sfCR sfLF | sfCRLF sfNEWLINE | sfTAB

## Storitev ScriptForge.TextStream

Seznam metod storitve TextStream
CloseFile ReadAll | ReadLine SkipLine | WriteBlankLines WriteLine

Seznam lastnosti storitve TextStream
AtEndOfStream Encoding | FileName IOMode | Line NewLine

## Storitev ScriptForge.Timer

Seznam metod storitve Timer
Continue Restart | Start Suspend | Terminate

Seznam lastnosti storitve Timer
Duration IsStarted | IsSuspended SuspendDuration | TotalDuration

## Storitev ScriptForge.Toolbar

Seznam metod v storitvi Toolbar
ToolbarButtons |  |

Seznam lastnosti storitve Toolbar
BuiltIn Docked HasGlobalScope | Name ResourceURL | Visible XUIElement

## Storitev ScriptForge.ToolbarButton

Seznam metod v storitvi ToolbarButton
Execute |  |

Seznam lastnosti v storitvi ToolbarButton
Caption Height Index OnClick | Parent TipText Visible | Width X Y

## Storitev ScriptForge.UI

Seznam metod storitve UI
Activate CreateBaseDocument CreateDocument (*) Documents GetDocument | Maximize Minimize OpenBaseDocument OpenDocument (*) Resize | RunCommand SetStatusBar (*) ShowProgressBar WindowExists

Seznam lastnosti storitve UI
ActiveWindow Height MACROEXECALWAYS | MACROEXECNEVER MACROEXECNORMAL Width | X Y

## Storitev ScriptForge.UnitTest

Seznam metod v storitvi 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 lastnosti storitve UnitTest
LongMessage ReturnCode | Verbose | WhenAssertionFails

## Storitev ScriptForge.Writer

Seznam metod v storitvi Writer
Forms | ImportStylesFromFile | PrintOut

Podobne teme

Knjižnica ScriptForge

Izdelava skriptov Python s knjižnico ScriptForge

Podprite nas!