Top > OOoBasic > Generic > BasicIDE

Basic IDE Edit

OOo Basic 用 IDE。

UNO コマンド Edit

.uno:BasicIDEAppear

モジュールを開く Edit

ライブラリ、モジュール、行番号、桁位置を指定して直接 Basic IDE を開きます。

  0
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
Sub OpenBasicIDE()
  sDocument = "application"
  sLibName = "Standard"
  sName = "M2"
  nLine = 100
  nColumn1 = 0
  nColumn2 = 10
  sType = "Module"
  sURL = ".uno:BasicIDEAppear"
  
  aURL = CreateUnoStruct("com.sun.star.util.URL")
  aURL.Complete = sURL
  CreateUnoService("com.sun.star.util.URLTransformer").parseStrict(aURL)
  
  Dim aArgs(6) As New com.sun.star.beans.PropertyValue
  aArgs(0).Name = "LibName"
  aArgs(0).Value = sLibName
  aArgs(1).Name = "Name"
  aArgs(1).Value = sName
  aArgs(2).Name = "Line"
  aArgs(2).Value = nLine
  aArgs(3).Name = "Column1"
  aArgs(3).Value = nColumn1
  aArgs(4).Name = "Column2"
  aArgs(4).Value = nColumn2
  aArgs(5).Name = "Type"
  aArgs(5).Value = sType
  aArgs(6).Name = "Document"
  aArgs(6).Value = sDocument
  
  d = StarDesktop.queryDispatch(aURL, "_self", 0)
  If NOT IsNull(d) d.dispatch(aURL, aArgs) 
End Sub

Reload   New Lower page making Edit Freeze Diff Upload Copy Rename   Front page List of pages Search Recent changes Backup   Help   RSS of recent changes