Commit Graph

159 Commits

Author SHA1 Message Date
8e0e863301 corrections to ScriptForge Dictionary page
* Item returns Empty if key does not exist, no error is raised
* replaced LibreOffice by %PRODUCTNAME
* use the same capitalization of PropertyValue as in other places

Change-Id: I45f9cfa873e0931a9bdf35d54a63b7591721e221
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128190
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2022-01-11 18:34:45 +01:00
2a6cfde785 mark source code line as not localizable
Change-Id: Ia8481b52854f72a2af0b68eb7f644d77038b8d05
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128145
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2022-01-11 13:01:41 +01:00
e181836ae8 fix names of TableControl properties showing headers
Change-Id: I2ac8de7ea17ed7a24244a59cdb10b14803e76769
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128144
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-01-09 00:06:04 +01:00
94cb6f9bbb typo
Change-Id: I1c081bbad56c1d7d047109ef0d3f86c50bf2cebf
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/127965
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-01-06 15:32:11 +01:00
8d12e99d75 use consistent argument names of SF Shift* functions
Change-Id: Ib99180a481a94c5140b36ec022cf4f495a6f74dc
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/127865
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-01-02 13:34:28 +01:00
4bd81d7cc7 use link to internal CSV filter help page instead of external wiki
Change-Id: Iab042f6e9c458fda66c849b2a7737f39f8c18ab9
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/127849
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-01-02 10:05:04 +01:00
35461b4c43 SF ImportFromCSVFile: allow localization of data and date format in example
Change-Id: If089e461708cf483d963aae8876b386504b6e6c8
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/127453
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-12-28 14:26:32 +01:00
e2fd4d54e7 fix comment in Python example
Change-Id: Ia83cc3896ac8cc6f383cb3ea66a36088aa755322
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/127534
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-12-28 11:01:49 +01:00
d25f1958da fix typo in importing/exporting from/to
Change-Id: Icc7b9379bde2bc11bbdaed1844838e48101b0e9e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/127100
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-12-19 20:31:20 +01:00
f3ee28f154 Fix minor typos and L10N in ScriptForge help pages
Change-Id: Ie5c236da58f1a13e9aa022549aef65e661fbfd9b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126673
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-12-14 19:12:36 +01:00
73228ff72a Document new TableControl methods and properties
Change-Id: I8623a11f5fb710332765b8db3914a36b51285b7a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126294
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-12-06 15:26:36 +01:00
43abde3c6b Remove avail_release <notes> from SF documentation
Change-Id: Iab4c6ecba7f4db57bed82a29c5c4b9434b4efbb4
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126295
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-12-04 21:32:05 +01:00
4156bb3b6c Consistent ScriptForge Examples Variable Names
- ui for UI service
 - bas for Basic service

Change-Id: I0eb4fbdd021db1149985bb37ba8b29a57297a6eb
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126092
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-12-03 23:55:44 +01:00
7566aae37b Document new methods in SF Session service
Change-Id: Idd2d0674aea815d7fb6743a92e348b58865ab09c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126145
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-12-03 23:29:30 +01:00
b838d04091 Document new SF_Calc methods
This patch documents the following new methods:
- OpenRangeSelector, Printf, ShiftDown, ShiftLeft, ShiftRight, ShiftUp

The following new properties were added:
- FirstCell, FirstColumn, FirstRow

Change-Id: I9803252ec0594bd202fc689dd16ca57541e94e62
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125890
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-11-30 19:38:43 +01:00
51f94e35a9 Document ExportAsPDF method from SF Document service
Change-Id: I00421d36f7315ec7ec62eac39c44ea4433078685
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126091
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-11-30 19:37:04 +01:00
053d65c6f0 Document new methods in SFL10N and SF_Dialog
Change-Id: I02fa64860982969b5d7580d11781906ec354502d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125829
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-11-30 15:40:20 +01:00
856c215166 Document Locale / PythonVersion properties in SF_Platform service
Change-Id: I141b31e9398e39d968197b11e4b8aa2ceda99480
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125827
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-11-25 18:10:22 +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
4a28022898 Fix typo
Change-Id: Idb3cc8605c7d9a4e8c2ab6eed54805cf52850595
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125585
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-11-20 19:24:02 +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
60560093b7 New methods in sf_Base, (sf_Calc,) sf_Doc. and sf_Writer services
- PrintOut
- SetPrinter

Change-Id: I809797247ce50c9a74ec8c1c703722911c687993
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124194
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-11-10 14:24:41 +01:00
49c7e92b63 New method in sf_Calc service
- PrintOut()

Change-Id: Iff97f5fb8585b8c70d4837bdba5eb5ee30852b4d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124484
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-11-10 13:37:03 +01:00
03457ee108 Fix bookmarks in Collection help page
Also fixes an extra "." in sf_session.

Change-Id: I59aa5542e72b17658f494ee41b30f5475fa45872
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124690
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-11-04 21:12:07 +01:00
ddbff6c13a Fix typo
Change-Id: I9dc167e31f706ba8769147fcdb6e10c21ae71a31
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124554
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-11-01 16:17:06 +01:00
236b398789 Fix typo
Change-Id: I3694de1a379960fd2c927d0f80e512c42d3fd6d6
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124553
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-11-01 16:14:21 +01:00
94e3719169 Update SF_Calc service help page
This patch documents the properties "Region" and "XSheetCellCursor", as well as the new methods "A1Style", "CreateChart" and "Charts".

Change-Id: Ia3a5be356271ac0bb1d298de31f1d3d270f9382e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124199
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-11-01 13:51:28 +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
e91f2d9531 Remove whitespace in heading ids
Change-Id: I16631a67b01e1df2567330a63a302164154b5076
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/123808
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2021-10-19 11:59:03 +02:00
28499f409a tdf#145067 Document the Basic Collection object
Change-Id: I0ea7be144cca78b48ab3dfd07426ad679b07b26b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/123398
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-10-14 19:52:24 +02:00
39a1884a02 Update SF_Platform help page to add the new Fonts property
This patch also adds a new example showing how to use the Fonts property in Basic and Python.

Change-Id: Idfab1df904e69cdb8974b774be1eac52bed2aa16
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122859
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-10-02 14:04:20 +02:00
62f7c4a827 SFDocuments.Writer new service - WiP
Change-Id: Ia3da307c224aaea53d6a0e2067a78db113119b50
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121770
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-09-27 16:56:32 +02:00
38c34032f7 Fix localization in some help pages
Change-Id: I59e2ea89dd81c76ee4efee6a154082a56289b524
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122289
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-09-22 06:29:33 +02:00
c8c6952d80 Minor fixes in help files (sbasic)
Change-Id: Ifb4a91bfeb1ca8f7e67e9affa30b1e29028b4731
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122071
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-09-16 12:06:37 +02:00
d098ee2b7f fix path of embed
Change-Id: I99168be951490a532ca7cc0ab2be906584bd7290
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122068
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-09-14 16:23:38 +02:00
ab1e841eac Fix duplicate id
...apparently introduced as a (copy/paste?) typo in
ab28d2cbdffe0e5c9a966fa5f7659a455a042663 "sf-exception.PythonPrint new method",
causing build failures like (<https://ci.libreoffice.org/job/lo_ubsan/2129/>)

> Error: Duplicated entry. ID = par_id201613654395537  LANG = en-US in File /home/tdf/lode/jenkins/workspace/lo_ubsan/helpcontent2/source/text/sbasic/shared/03/avail_release.xhp
> /home/tdf/lode/jenkins/workspace/lo_ubsan/solenv/gbuild/HelpTarget.mk:67: recipe for target '/home/tdf/lode/jenkins/workspace/lo_ubsan/workdir/HelpTranslatePartTarget/de/helpcontent2/source/text/sbasic/shared/03/done' failed
> make[1]: *** [/home/tdf/lode/jenkins/workspace/lo_ubsan/workdir/HelpTranslatePartTarget/de/helpcontent2/source/text/sbasic/shared/03/done] Error 255

Change-Id: Ib8a773b04d8df1ed62b4d5a5780de2b9e70f88ae
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121834
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-09-09 08:31:30 +02:00
9088fa2a2f SF_Base.CloseFormDocument() new 7.3 method
Change-Id: Id58053f554c27819aa073ea8312ece8fb32710a0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121762
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-09-08 17:40:55 +02:00
ab28d2cbdf sf-exception.PythonPrint new method
Change-Id: I11402201ef509816fc38665eae8d057e1761274a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121469
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-09-08 17:38:13 +02:00
6e00ebfc8b sf_platform.Printers new 7.3 property
Change-Id: I44841d02698568e63791a2fdba480002caa03d4e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121468
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-09-02 19:14:59 +02:00
374e66c1c0 ScriptForge - (SF_UI) CreateBaseDocument() new CalcFileName argument
Change-Id: I1f7005c6eb51ee9323dd2ad960c50031dfb62cf0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/120642
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-08-20 16:54:55 +02:00
e4f55790b3 ScriptForge Basic: fix example
MB_* are properties of the service, so the service variable needs to be
properly specified.

Change-Id: I033f3e54ca69707c25030723fb5dc426a3ad6691
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/120586
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-08-18 00:02:54 +02:00
12f1ebf5f9 sf_base review
- typo in Python example

Change-Id: I43c6125b20b0c5a4b94c3160e8157eb094bd7a78
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/120434
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-08-13 16:07:44 +02:00
f6422656f4 Document sf_string Python support
- Typo in FindRegex

Change-Id: I7b2f98140585f7ff0ff04f9c4855deb299664592
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/120432
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-08-13 16:07:18 +02:00
1951014d9e Rewrite SF_Services with Python support focusing user scripts only
Change-Id: Ib3748c3fbe43e25e3a9aa895519f08ec3b11b953
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/119612
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-07-30 15:53:01 +02:00
4a07d8d492 Adapt SF_String to new method signatures and add Python examples
Change-Id: Ifd9fa48fcb34ca8469581b8f3d8aac29f51b8414
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/119438
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-07-28 15:23:26 +02:00
4373f58e83 Fix example in SF_Array
Change-Id: Ib52749668ada9c1b250cb0eb5f9c530808475fd2
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/119439
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-07-26 17:11:35 +02:00
e400fba16a Fix Duplicated entry. ID = par_id291613654389792
Change-Id: I72ea44bd3d61b390ded1ccdaf4dd53d192d76dc5
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/119510
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-07-26 15:39:40 +02:00
1cd02ab17d Adapt SF_Array to the new method signature notation
This patch updates the syntax and arguments in all methods according to the new notation used in other SF services. It also introduces the ImportFromCSVFile method to Python scripts.

This patch also updates a few examples in Basic.

Change-Id: Ib565f31ad13f5455ff1df260ec60cae5d8848cd9
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/119437
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-07-26 11:48:14 +02:00
65c742c487 Fix typo
Change-Id: I6edfb252552d59aef329e071e41aa609b6339cc7
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/119452
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-07-24 19:34:45 +02:00