Commit Graph

659 Commits

Author SHA1 Message Date
39ec56dd4e Typo grab bag
Change-Id: I5065a95400934026fb8a52dbeb72793c66b8caf5
2022-10-20 06:23:59 -05:00
0c7005445d Mute L10n for function string parameter DateDiff and DatePart
Change-Id: Iea892bef40f76e08271c02c6604b689866a4be30
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141408
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-10-19 14:29:23 +02:00
50f596f7e6 typo
Change-Id: Iaf047d5a663d1cd3facfd8ab270cd654b5ff0ce8
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141322
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-10-14 16:35:01 +02:00
3e01f85525 remove empty paragraphs
Change-Id: I42a12141e42c286e2d3398e8d05d19567ea0ca03
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/140652
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-09-27 16:00:59 +02:00
df6900524c Silence strings for translation in SF Region service
The example for calling "help" with the Number2Text method cannot be translated because the number and order of options is different for each supported language.

For example, in "en-US" we have the following options:
one, two, three
ordinal: first, second, third
ordinal-number: 1st, 2nd, 3rd
year: nineteen ninety-nine, two thousand, two thousand one
currency (for example, USD): two U.S. dollars and fifty cents
money USD: two and 50/100 U.S. dollars

Whereas in "pt-BR" the options are very different (and more importantly, a different number, which totally prevents translation).
um, dois, três
feminine: uma, duas, três
masculine: um, dois, três
ordinal-feminine: primeira, segunda, terceira
ordinal-masculine: primeiro, segundo, terceiro
ordinal-number-feminine: 1.ª, 2.ª, 3.ª
ordinal-number-masculine: 1.º, 2.º, 3.º

Change-Id: I688de573b82ca83d714562f1acc705c23333081f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/137528
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-09-24 12:17:19 +02:00
30682f2fa4 Reuse and sync help content
Change-Id: Ia95c3da543efd8dddfdcfa635d316b3c10fa52eb
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/139569
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-09-19 16:36:52 +02:00
54f3eaba5c Menu & dialog item updates
Change-Id: I4a789ee68139f5d270d93e88393cd1ed443f5862
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/138990
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-09-02 16:08:12 +02:00
463c1051d9 Addition of missing literals
Change-Id: Ib185d6b0d71d19270be233168cff814d8beb5291
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/138825
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-08-29 16:04:14 +02:00
146e4b39ff Fix typo
Change-Id: I9d067f28df51e2537335c9b896c32d6a86bcc1d8
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/137699
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-08-02 18:39:25 +02:00
addffa169b Document the new method Normalize in SF FileSystem
Change-Id: If991bff08656c3de0616e2914c8cc31979c4c445
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/137417
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-08-02 14:55:40 +02:00
fbbbb4dedd Improve description of how to invoke Documents and Calc SF services
Change-Id: Id9b9cc379bd838bdbae882554c8320f30595453e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/137416
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2022-07-28 21:03:38 +02:00
defa90e7b8 Warn that names of Calc formulas must be in English
While translating the help and doing some testing, I realized that the CompactLeft and CompactUp methods require the filterformula argument to use the English names of Calc formulas. This patch adds a note about it.

Change-Id: Ie21b900ce52de566a2da8ec7a2813c46315403ee
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136933
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-07-23 09:59:09 +02:00
cf2296c78c Fundamental confusion: *“Beware that” → “Be aware that”
Change-Id: I7f6b830a87bbdf2380c32d515554cb9836b50848
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/137211
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-07-19 08:04:36 +02:00
e47587f2e8 fix Number2Text example
Change-Id: I20b3a7741fcee1901cf8a064dd9f6aaa39d91114
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136950
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-07-14 12:40:36 +02:00
8fc940edb1 Typos
Change-Id: I6d70cc7d010d09605565c0f24e5a349d08dd4291
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136754
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-07-02 12:39:32 +02: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
6e77989cea A typo
Change-Id: Ia66600bae81940747ec703b7c0d4b358cb88cb48
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136703
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-07-01 08:53:34 +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
d5ef41a2b8 String updates…
... to remove some hardcoded product names and to bring the help
in line with recent UI changes

Kudos to Celia and Olivier

Change-Id: If83039fce0612e04d59c5a5bebba6993c1e5a044
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136445
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-06-26 02:10:56 +02:00
9a5b8988ad Document new ExportRangeToFile method of the Calc service
This patch also clarifies the use of single quotes in sheet names.

Change-Id: I6a0f3b62b74d7443144d7957ae5478196580bec8
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136120
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-06-24 10:56:56 +02:00
ccf60dc3e7 Document new properties of the SF_UI service
This patch documents the following new properties in the UI service of the ScripfForge library: Height, Width, X and Y

Change-Id: Ie15844c0688c9dbf22146a2e2ea5a8690b1c005a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136169
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-06-22 15:29:50 +02:00
d0868a21f3 Document ExportFilters / ImportFilters in SF_Document
Change-Id: I63469ce9a6ea479f31f98612b0919bbca034e3a6
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136168
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-06-22 15:28:51 +02:00
1e58e8bacd Improve SF.exception PythonPrint() method content
APSO extension is optional despite existing explanation

Change-Id: Ib7615996a04dd770d2ec96e6f6066c272074248b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136051
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-06-22 14:05:58 +02:00
9c5eb82a11 Document new FilterNames property of the Platform service
Change-Id: Icf5093e394b06deebd66b2577af8443e109efea7
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136119
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-06-20 21:14:40 +02:00
9219eb74dc Fix Shell syntax
Change-Id: I06f5f308bcb0e769644db1595a246dc22f2d1d7c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136052
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-06-18 22:53:40 +02:00
6a94b253ee Document new CreatePivotTable method in SF_Calc
Change-Id: I56de41d153c650058e85faaad023f169b3ca79cd
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134436
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-06-09 17:46:05 +02:00
09dfc9550c Replace outdated links to OOo's wiki
Change-Id: I4603f02312347b203dbbc13170f92819401e9a3a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/135535
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-06-09 17:34:03 +02:00
35e3b24099 Fix typo in reference
following f3b76b5e8d644176704c4619304278869ae57127
tdf#141474 Cdbl, Cint, Clng, Csng accept keyword arguments

Change-Id: Ie580b7a975fe0f5bf0e3563fd9dba7762314a2f1
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134911
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-05-26 08:06:47 +02:00
f3b76b5e8d tdf#141474 Cdbl, Cint, Clng, Csng accept keyword arguments
- expression argument uses english number notation
- numbers are rendered according to LibO language settings

Change-Id: I2d988e4d151223ea3fa4a3622300bbeab567a1fe
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132389
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2022-05-19 16:22:15 +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
5cc5cbc6ae Fix typo
Change-Id: Ia62d016ffacbeb4a9cac6a27f52843432c29e755
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134318
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-05-14 18:17:04 +02:00
9567d47780 Document new CompactLeft and CompactUp methods from the Calc service
Change-Id: I6bc2a4d80fb94f7158c60e107252e112cee83c44
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134073
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-05-13 14:22:25 +02:00
400a0ea4d3 Filelen() Basic function's upper limit is 2GB.
This patch links to ScriptForge.FileSystem.GetFileLen() alternative method who returns higher range numbers, assuming libO Python Scripting framework is present.

Change-Id: Id4a3f47cbe7be2ed27d162532b87c1388f23fce1
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133857
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2022-05-12 17:46:39 +02:00
faf6e68821 Fix typo
Change-Id: Idb3c20b35f3337e6d879a551b118a83016c6c30d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134102
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-05-10 07:06:36 +02:00
084d84f098 tdf#141474 tdf#148466 Choose function accepts keyword arguments
Change-Id: I82407ecc20b66c385f17509aa703222d2d2d10e6
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132390
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-05-09 17:43:19 +02:00
69073be693 Cleanup ScriptForge examples
Done these cleanups on ScriptForge examples:

* Consistent ScriptForge examples variable names
* Fix wrong link
* Add missing text
* Remove extra text

Change-Id: I49f7e70268c9a9c576e6fb479559bc5c222f86ca
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131868
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-05-03 19:15:20 +02:00
834789bd8d Update Basic function Shell page
Change-Id: I64ed0d7ce000f6a0ca49d60fa0f4ed80690ac03c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133659
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-05-02 17:19:18 +02:00
b6accc5eaf tdf#114263 Basic 'New' operator is optional when setting 'Option Compatible'
Change-Id: I27ef9d9c832e4c52e5066336e54095ca949fec9c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133398
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-04-28 08:27:59 +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
26cd9a5e8b Fix typo
Change-Id: I624ec6267f5a72105c3d600d390849586b839da6
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133154
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-04-19 09:05:21 +02:00
24828f91e2 tdf#148621 Improve Basic Help layout
- Get rid of tables
- Add normalize-whitespace Prism plugin to get rid of useless indents
- Fix code blocks poking through sticky header
- Add some word wrapping CSS to fix mobile-unfriendliness

Change-Id: I73fd1e0678624b0d4bd5561f50e80990db5567be
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133096
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-04-17 16:38:31 +02:00
4b68b8f837 Some ScriptForge services lack a pre-requisite note 2/3:
- included pre-requisite note in SF help page
- created a Python biaised note for 'Basic' service
- will create a Basic biaised note for Basic oriented services in a subsequent patch 

Change-Id: I0810602b527fde14e4a013857482fc892593ca7f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132386
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-04-06 20:00:15 +02:00
a6304ba5dd tdf#127477, tdf#131382 scope of function Minute
Change the headng of the Minute function to indicate BASIC scope

+ refactoring of the Help page

Change-Id: I50286245c2e2f573d0ad4c96e37bcb218efe2954
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132632
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-04-06 17:25:28 +02:00
68c52a06cf tdf#131382 Scope of functions LOG and ASC
Change the heading to indicate BASIC function and not a Calc function

Change-Id: I8dae4b7baf64b42dfa156b6dde8039baa6ac3058
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132629
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-04-06 14:17:42 +02:00
54fe9a16be Minor string fixes
Change-Id: Ic7ff445fea3ce1e7369554b165e4ae2aa4cb6c1d
2022-04-05 08:58:36 -05: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
f62d08a3fb tdf#145754 Corrections to 'Option Compatible' Basic help page
Change-Id: Ie44b6b8717de38073dc791c286ce778e7595db3e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132038
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-03-30 14:29:26 +02:00
8e0ace084d tdf#145752 Correction to CompatibilityMode() help page
Change-Id: Ie7ca911d8d445c57ad94458711164bdb18be1f13
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129946
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-03-24 17:16:10 +01:00
b79af43f87 Help page cleanup
Change-Id: I1066974181278b56071f16234358d67d8038e134
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131200
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-03-21 18:16:03 +01:00
ced4b1d58e tdf#146847 Typo in IDIV Basic help page
Change-Id: Ib303ad532c2daf9de856ed8c5c5cd2df673920d2
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131854
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-03-21 13:08:01 +01:00