From a1840f2baee7b129990d6c0b218aae1b8d0304d7 Mon Sep 17 00:00:00 2001 From: Stanislav Horacek Date: Tue, 28 Nov 2023 18:20:05 +0100 Subject: mark untranslatable code and control name in SF Dialog and DialogControl also fixed typos caused by split paragraph Change-Id: I6c4d3badb30629c4bf58011089b4beeb1438204a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/160051 Tested-by: Jenkins Reviewed-by: Alain Romedenne --- source/text/sbasic/shared/03/sf_dialog.xhp | 22 ++++++++++------------ source/text/sbasic/shared/03/sf_dialogcontrol.xhp | 2 +- 2 files changed, 11 insertions(+), 13 deletions(-) (limited to 'source') diff --git a/source/text/sbasic/shared/03/sf_dialog.xhp b/source/text/sbasic/shared/03/sf_dialog.xhp index 520e80f60d..37b1f9078d 100644 --- a/source/text/sbasic/shared/03/sf_dialog.xhp +++ b/source/text/sbasic/shared/03/sf_dialog.xhp @@ -85,8 +85,7 @@ dlg = CreateScriptService('NewDialog', 'myDialog1', (100,200, 40, 110)) # ... Process controls and do what is needed - All properties and methods applicable to predefined dialogs are available for such new dialogs. In particular the series of CreateXXX() methods for the addition -of new dialog controls. + All properties and methods applicable to predefined dialogs are available for such new dialogs. In particular the series of CreateXXX() methods for the addition of new dialog controls.

Retrieving the Dialog instance that triggered a dialog event

An instance of the Dialog service can be retrieved via the SFDialogs.DialogEvent service, provided that the dialog was initiated with the Dialog service. In the example below, oDlg contains the Dialog instance that triggered the dialog event. @@ -579,8 +578,7 @@ of new dialog controls. Dialog service;CloneControl

CloneControl

- Duplicate an existing control of any type -in the actual dialog. The duplicated control is left unchanged and can be relocated. + Duplicate an existing control of any type in the actual dialog. The duplicated control is left unchanged and can be relocated. svc.CloneControl(SourceName: str, ControlName: str, Left: num, Top: num): svc @@ -709,11 +707,11 @@ in the actual dialog. The duplicated control is left unchanged and can be reloca - Set myComboBox = oDlg.CreateComboBox("ComboBox1", Array(20, 20, 60, 15), Dropdown := True) + Set myComboBox = oDlg.CreateComboBox("ComboBox1", Array(20, 20, 60, 15), Dropdown := True) - myComboBox = dlg.CreateComboBox('ComboBox1', (20, 20, 60, 15), Dropdown = True) + myComboBox = dlg.CreateComboBox('ComboBox1', (20, 20, 60, 15), Dropdown = True) @@ -1061,11 +1059,11 @@ in the actual dialog. The duplicated control is left unchanged and can be reloca - Set myRadioButton = oDlg.CreateRadioButton("RadioButton1", Array(20, 20, 60, 15), MultiLine := True) + Set myRadioButton = oDlg.CreateRadioButton("RadioButton1", Array(20, 20, 60, 15), MultiLine := True) - myRadioButton = dlg.CreateRadioButton('RadioButton1', (20, 20, 60, 15), MultiLine = True) + myRadioButton = dlg.CreateRadioButton('RadioButton1', (20, 20, 60, 15), MultiLine = True) @@ -1187,11 +1185,11 @@ in the actual dialog. The duplicated control is left unchanged and can be reloca - Set myTreeControl = oDlg.CreateTreeControl("TreeControl1", Array(20, 20, 60, 15)) + Set myTreeControl = oDlg.CreateTreeControl("TreeControl1", Array(20, 20, 60, 15)) - myTreeControl = dlg.CreateTreeControl('TreeControl1', (20, 20, 60, 15)) + myTreeControl = dlg.CreateTreeControl('TreeControl1', (20, 20, 60, 15)) @@ -1321,11 +1319,11 @@ in the actual dialog. The duplicated control is left unchanged and can be reloca - oDlg.OrderTabs(Array("myListBox", "myTextField", "myNumericField"), Start := 10) + oDlg.OrderTabs(Array("myListBox", "myTextField", "myNumericField"), Start := 10) - dlg.OrderTabs(('myListBox', 'myTextField', 'myNumericField'), Start = 10) + dlg.OrderTabs(('myListBox', 'myTextField', 'myNumericField'), Start = 10) diff --git a/source/text/sbasic/shared/03/sf_dialogcontrol.xhp b/source/text/sbasic/shared/03/sf_dialogcontrol.xhp index 6f4c8ca8b1..95badd3d29 100644 --- a/source/text/sbasic/shared/03/sf_dialogcontrol.xhp +++ b/source/text/sbasic/shared/03/sf_dialogcontrol.xhp @@ -523,7 +523,7 @@ String - Hyperlink + Hyperlink The URL to open when the control is clicked. -- cgit