Commit Graph

205 Commits

Author SHA1 Message Date
51022f8f16 Fix malformed XML (missing closing tag)
Change-Id: I81e223af8c85589569af75d755d787d3102ad6a4
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141597
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-10-20 17:45:40 +02:00
39ec56dd4e Typo grab bag
Change-Id: I5065a95400934026fb8a52dbeb72793c66b8caf5
2022-10-20 06:23:59 -05: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
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
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
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
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
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
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
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
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
72eb5901a1 fix example for SF Menu service
Change-Id: I769bb965ea1c8ea836850bdf6f3ba05068ec737a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129925
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-03-18 18:10:20 +01:00
9760c17275 Consistency
Change-Id: Ie76a00c8f234e99043b4f108448f65af4fd23a2c
2022-03-12 15:12:27 -06:00
fd0b076d8c Document new arguments of the L10N service
Change-Id: Id187e740cc57785cecb0f92009fc754cfac06f71
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/130785
Tested-by: Jenkins
Reviewed-by: Alain Romedenne
2022-03-07 16:10:39 +01:00
ba883f0c4b Document SheetName property of the Calc service
Change-Id: I46411a2917c79059cda08212ded17c517fa49537
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/130786
Tested-by: Jenkins
Reviewed-by: Alain Romedenne
2022-03-04 14:05:24 +01: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
2dabe39b56 Tweak ScriptForge GetDocument description to explicitly explain document must be open
Change-Id: I9c2429de9114ed843215252803fa0118c113e41a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/130162
Tested-by: Jenkins
Reviewed-by: Alain Romedenne
2022-02-21 17:49:51 +01:00
36cdfb37ff fix script name in SF Menu example
Change-Id: I6f999c1d51bfc030a3844ff8c77e316da8f77da0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129926
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-02-15 17:37:47 +01:00
4cbfef4feb Document new locale-related properties in SF_Platform
New properties are: FormatLocale, OfficeLocale and SystemLocale.

Change-Id: I9203a41c891f3c7491d78b8d2eede369d77679e6
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129831
Tested-by: Jenkins
Reviewed-by: Alain Romedenne
2022-02-14 14:03:13 +01:00
fbf1f62431 Document new properties/methods in SF_Platform and SF_FileSystem
This patch documents the Extensions property in SF_Platform and the new ExtensionFolder method in SF_FileSystem.

Change-Id: I4adca2d71ae9ac6d2f6a3dfc59d055e92b0ceb2d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129757
Tested-by: Jenkins
Reviewed-by: Alain Romedenne
2022-02-11 14:08:05 +01:00
c82b7b4751 Document method RunCommand in ScriptForge
Change-Id: Iebbf6c521c426d55ffebb48265485c5fa8015390
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129560
Tested-by: Jenkins
Reviewed-by: Alain Romedenne
2022-02-09 17:52:38 +01:00
56c146e684 make comments in example for TextStream localizable
Change-Id: I4f18e6f5c2d3f8ec6ead759217178095d0c108a2
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129383
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-02-03 04:19:59 +01:00
84169c6b03 make two sentences in Timer service localizable
Change-Id: I39e7cd9bb39cc2905aa9fc36f3434dc70b8e5fe4
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129390
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-02-03 04:19:15 +01:00
7dea7021f4 make title of method list localizable
Change-Id: I8a1a8c1657c6390b8bcd7a42a6f6824293bf43f2
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129177
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-01-31 00:54:28 +01:00
05845e7cda fix format of UnoProperties method syntax
Change-Id: I50ee4de218b1236283e3aaf76137edb8b79fb062
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129123
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2022-01-30 21:39:21 +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
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