Commit Graph

45 Commits

Author SHA1 Message Date
cd2824ba5e Document new SF Dataset service
Change-Id: I4e6a792f2cbcbf826f51f5d62e6dad855d4a0bf0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/160035
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2023-12-01 14:51:21 +01:00
751a65e5be Document SF Toolbar and ToolbarButton services
Change-Id: I57df3b88660198d2432ff73ef1b37025e1b893a3
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/159902
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2023-11-28 15:45:43 +01:00
07d0a97995 Document new SF FormDocument service
Change-Id: I6bcf114d25877f5c69463285f9bddcf0c8339079
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/155783
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2023-08-25 13:34:33 +02:00
63011fa120 Document the new SF_Datasheet service
This patch creates the help page for the new ScriptForge service named Datasheet. It also updates associated methods that were added to the Base and Database services.

Change-Id: I6611653b77e1ee41f6afacccb2094f19d7178434
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144183
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-12-16 14:59:41 +00:00
7e42394ecb tdf#152323 drop name attribute from <link> elements
Replacement done with

find . -name \*.xhp -print0 |xargs -0 -P 0 perl -CS -pi -e \
        's#(<link[^>]*?) +name *="[^"]*" *( [^>]+|) *>#$1$2>#g'

(note some inconsistencies with space between name and = and also having
empty value, and some more complicated expression to also clear up
double space before/after the attribute)

translation files will be prepped with:

find */helpcontent2 -name \*.po -print0 |xargs -0 -P 0 perl -CS -pi -e \
    $'s#(<link[^>]*?) +name=(?:\\\\"[^"]*\\\\"|\'[^\']*\') *( [^>]+|) *(/?>)#$1$2$3#g unless /^#/'

(note that not all languages use the " as quote character for the
attributes, but that also single quotes appera in the po file. Hence
the use of the shell $'string' syntax to be able to quote ' as \'
It also requires to quote the backslash, so that it needs to be escaped
once for the shell, then another time for perl. Also don't work on
obsolete strings (those are prefixed with #~ in the po files)
Also note that <link..></link> gets turned into <link ../> during
translation extraction (along with removal of the space between the
attribute name and the value), so the pattern needs to be slightly
different here)

Change-Id: I95e53a08e6b0095cd894109ea0de154cc4859d8f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143713
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-07 17:39:02 +00:00
d6e98a37ec Document the new UnitTest service of the ScriptForge library
This patch also updates the sbasic.tree to include the Region and UnitTest services. I also moved the ScriptForge library so that it appears right below the Advanced Basic Libraries (previously it was inside this section).

Change-Id: I7dfd9080dcd3212d2b53f88480087d48f5dec60c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136548
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-07-01 16:41:25 +02:00
4b84d252a9 Document the new Region service in ScriptForge
Change-Id: Ic7869d6c21fdcbbd3a2a9631647d115654adf889
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136388
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-06-30 12:18:17 +02:00
c6813f12e7 Document SF_Dialog new Resize() and Center() methods
Change-Id: I7867cde08f179f6100560f37b6e481238f9fc047
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133595
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2022-05-17 16:50:02 +02:00
5bab8a2d25 tdf#148621 Make ScriptForge service tables mobile-friendly
- Introduce <tablehead> element
- While considering text-align, I noticed we do not take RTL languages
into account. A CSS rule 'html[dir=ltr] th' was added, which does
nothing at the moment. We should look into directionality.

Change-Id: Ib59aa0c508529c0beaa35542d96bd5cc1aa4db29
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133114
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-04-19 14:51:33 +02:00
6bc28e0b99 Some SF services lack pre-requisite note
Change-Id: Idfd233430aabb5815f1f1db625ca48fd2e613b15
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131873
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2022-04-01 18:39:25 +02:00
046e5b4b61 Add ScriptForge services language headings
Change-Id: I22fbe569cb3702d784f944738261d7aed6de3ca0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/130314
Tested-by: Jenkins
Reviewed-by: Alain Romedenne
2022-02-23 14:54:27 +01:00
9de15af089 Create documentation for SFWidgets.Menu service
Change-Id: Iaf0d10c2a1100d78098a99c93a2479d31b0f412b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128947
Tested-by: Jenkins
Reviewed-by: Alain Romedenne
2022-01-28 14:53:20 +01:00
023b21a704 Document ScriptForge Dispose() method
Change-Id: Ic2ff80cfc2dc987ea7e62d7c216358af279712a7
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125452
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-11-22 15:16:19 +01:00
5ce3e1b6c3 Create PopupMenu service documentation
Change-Id: I511221e68e9504a5c9e5e6c00bb31047a6ccf11b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124982
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-11-18 15:30:10 +01:00
3445df8b37 Create help page for SF_Chart service
Change-Id: Ie244e4416d2b523dfe460701297f6ecfc81f964d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124195
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-10-29 22:41:46 +02:00
f025640e26 Fix <embedvar> tags for better l10n (Part 1)
This is Part 1 of the fixes requested by translators concerning the use of the <embedvar>.

Change-Id: Iee5ea4289034449c33156d4e20483943eb872ae0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/123782
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-21 20:00:22 +02:00
b46d9178af tdf#143229 Remove empty paragraphs
Change-Id: I4dbb2eb2cfbb140a129c02290642a777c8f9f327
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/118496
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-07-07 17:08:15 +02:00
38ce99f801 Create introductory ScriptForge help page
Change-Id: I5fd00cc05b0c28b600974c005a81804c1c6d5e74
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116906
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-06-11 22:42:55 +02:00
ab81b6bfa0 sf_form(control) Python support
Change-Id: Iad14d1c5c7d353e50aba84d0cfa461e56f69f4ef
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/115969
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-06-11 14:35:35 +02:00
c5a46fef4b Fix Typo
Change-Id: Ia9ede74f44fb9bc500916c7bbd2a66e51b7685d5
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/114923
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-05-03 20:29:10 +02:00
6b24e1b46b sf_basic.xhp pt. 2
Change-Id: Icb81fca7bdea283d3da6c113d1305d47c5bc6ff3
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/114867
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-04-30 22:14:29 +02:00
c8cf56ede3 Create SFDocuments.Base service help page
Change-Id: I2bf6bb4e28ed4390c26f9409dddd2aabd1dc878a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/114509
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-04-29 16:22:32 +02:00
bb496ca3d2 Create FormControl service help page
Change-Id: I32ec1a4509e5d59b73696ac25a4a757d055dfb70
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/114186
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-04-23 16:22:19 +02:00
2280caa5f5 Create SFDocuments.Form help page
Change-Id: I7726950a477e94b91050180db318752e6a98d434
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113993
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-04-14 13:23:34 +02:00
6312559da3 Fix localization issues in SF_Database e SF_Dialog help pages
Also silence strings for translation in sf_filesystem and sf_dialogcontrol

Change-Id: I1303ff8eeb263737266b809c1fbe6366cc85dcf5
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112729
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-03-21 02:38:58 +01:00
ae361f8f4f Create SF_Database Help page
Change-Id: I4ab158e8089973af24155d3b9d0697734acdf4bb
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112228
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-03-12 00:25:12 +01:00
37af11b104 Create the Help page for Platform service
Also in this patch:
- sf_l10n.xhp: add new notes to explain L10N

Change-Id: Id3ed5022a779f791e5a518154f9f7ffe3b84566e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/111928
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-03-09 15:44:47 +01:00
d87d59a9e8 Create SF_L10N Help page
Also in this patch:
- sf_timer: toggle translation of strings
- sf_string: fix typo / add <literal> tag

Change-Id: I45356a23104744e41b339d23ecaf03652bb0a765
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/111591
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-03-01 17:22:33 +01:00
c2fa9223ea Create SF TextStream Help page
Other minor changes:
- sf_filesystem: remove blank spaces before colons; x-ref with sf_textstream
- sf_calc: fix extra ")" at end of line; silence two strings for translation
- lib_ScriptForge: changes the layout of the table of contents; silence a string for translation;

Change-Id: I669e70ccd8c6b9462b5bd203bfb671c23dd8bc4f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/111046
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-02-22 18:12:27 +01:00
6a461bd0ac make file and Scriptforge link past patch #111036
Change-Id: Id827cf8e5fa35ad61d7130ea3247bd6395ab1401
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/111037
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-02-17 13:52:08 +01:00
00cf8de043 Create SF Filesystem Help page
Also in this patch:
- lib_ScriptForge.xhp: add links to table of contents
- sf_dialogcontrol.xhp: silence strings for translation

Change-Id: I9b69be483d93957cdc793d95f56f33a48e3f1c85
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110788
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-02-17 13:32:10 +01:00
d5eb6397f3 sf_session new help page
- extra bookmark & link in sf_array
 - typo in py2bas
 - typo in sf-string

Change-Id: I508722de9b4cb1e55e203ba97b470b28f1ba03ae
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110678
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-02-12 18:42:16 +01:00
6abb464fb6 Recreates SF_String Help page (ScriptForge)
SF_Array:
- Adds a <variable> tag

SF_Document:
- Fixes localization issues pointed out by translators on WebLate

00000003.xhp:
- Fixes the message explaining how to load libraries

Change-Id: I9361f86e7907b95e0546197203e2d23c6211fd4d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110366
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-02-07 23:04:54 +01:00
57222f5d47 Revert "Create Help page for the SF_String service"
This reverts commit a6f6fa2254ced7120ac0fb0075b4fd5195c334af.

Reason for revert: was not yet ready

Change-Id: Ibc95e08e2cb2a1f2220b503f3ab472518f98a047
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110365
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-02-04 15:54:14 +01:00
a6f6fa2254 Create Help page for the SF_String service
SF_Array:
- Adds a <variable> tag

SF_Document:
- Fixes localization issues pointed out by translators on WebLate

Change-Id: Ifa0a3c7665796ea2e5464dc3f2bd9508b3f7847c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110360
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-02-04 15:31:36 +01:00
268d92a454 (ScriptForge) SFDialogs library sf_Dialog sf_control new pages
- sf_calc unmuting L10N

Change-Id: I3799952c29f21570e6faa81c5b1b27bc28786fb5
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/109674
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-02-03 23:37:42 +01:00
3afce37d8a Create SF_Calc help page (ScriptForge)
Also fixes localization issues in previously created pages adding/removing localize="false" tags.

Change-Id: I71c8dad854be5cacfd4c701850fe539630689d45
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/109882
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-01-29 13:02:23 +01:00
37a79c4878 Create SFDocuments Help page (ScriptForge)
Adds a new Help page for the Document service provided by ScriptForge.

Add a <variable> tag to the sf_ui.xhp for x-ref.

Change-Id: Ic65daf9ebcecddf569bd494c10010f03bb360299
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/109687
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-01-23 14:36:12 +01:00
2bf658142b Creates Help page for ScriptForge Timer service
Change-Id: Id3d0832056edcbd828dd9eadaca4ed906088dc73
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/109394
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-01-19 14:04:38 +01:00
10f14ef2d4 ScriptForge Basic library - WiP
- UI module help page

Change-Id: Icb011f54c0cdd3d870f0ad6c4bc92aa98f8c2c17
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/109281
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-01-16 00:08:19 +01:00
90ff361318 Update SF_Array Help page
Change-Id: I91312284137f9d5bf6394724960003ea2366a3fb
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/108907
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-01-07 23:01:46 +01:00
bdf63c9283 Fix typos
Change-Id: Ieaa9f4476a8738121453eb3589b98d5c17feeb72
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/108915
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-01-07 06:55:48 +01:00
40c4109b5b ScriptForge library modules - WiP
- Exception module
- 7.1 mention in lib_Scriptforge
- x-refs between VBA Err object and sf_exception

Change-Id: I8512635ff54b50bb190c3fe734441d6b7e9ae9c1
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/107798
Tested-by: Jenkins
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-01-06 12:49:44 +01:00
24db503333 ScriptForge library modules - WiP
+ Array module
+ Dictionary module

Change-Id: Ida2290005befb59f2b7c3699744ff49b32226e24
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/106513
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-12-08 00:30:40 +01:00
e4bc24515c ScriptForge library help - WiP
main page

Change-Id: I27f9fc5d1731fd23a0130c52f372711a920a02d7
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/106433
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-11-23 22:50:50 +01:00