Commit Graph

220 Commits

Author SHA1 Message Date
dc494d3f21 remove redundant tag
Change-Id: I9f0838ad3b230d454abc2810ce83033945339805
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/145174
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-01-08 12:02:55 +00:00
34e1fdb877 do not localize source code
Change-Id: I00c8b6014be077f78485e43cbe0f86f2c2f29c6c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/145173
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-01-08 04:23:47 +00:00
cedd7a3550 mark Basic code as not localizable
Change-Id: Ic9ddc042c33c98fc5e73c2beb7ad65801adf9d38
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144966
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-01-03 18:44:38 +00:00
c8611c6e32 Remove name attribute from links
Change-Id: I999712c68026ddd40578c1f5e92a994c24a11eae
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144460
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2022-12-19 10:00:56 +00:00
58669bdec2 Minor fixes in the SF_Datasheet documentation
In commit bd899b607eed60487a75905a398b751cf5332352 I accidedntally ended up reverting a few fixes that had already been done to sf_datasheet.xhp.

This patch reapplies these fixes.

Change-Id: Ie2c7f65f4363aa788afa2315514ce8a348dc68c8
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144364
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-12-18 10:36:06 +00:00
751b27f39c Fix typo
Change-Id: I48aff9f91ddf1870efe97adc2629f6ef872437e5
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144382
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-12-17 17:51:40 +00:00
712519472c Fix typo
Change-Id: I3fd93d0db40bc0159853a5c40b5027545533d4ba
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144383
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-12-17 17:51:20 +00:00
06e3b8bdf0 Fix typo
Change-Id: I22ef89aba9bf496d12911caabe79eff4a1340fe9
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144384
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-12-17 17:50:45 +00:00
b5d2bf6e06 Fix typo
Change-Id: I5e525f8125d5383d1bb4cf49ce3233d49eeec3c9
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144381
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-12-17 17:50:16 +00:00
bd899b607e Create TOC with all ScriptForge methods and properties
Change-Id: I32be401689efce0cba70216458bc7c8ba4a405c5
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144309
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-12-17 12:02:57 +00: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
958bceabc6 Update documentation of SF_Basic service
This patch adds the new CreateUnoStruct method and fixes a few minor issues in the file.

Change-Id: I1369e801d4e86f3413ccd7e13dcae8255e4ff5b8
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144122
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-12-15 10:31:33 +00:00
07a7f0f505 Document new FilterFormula and FilterScope arguments in SF_Calc service
This patch updates the ScriptForge's Calc service to document the FilterFormula and FilterScope arguments that were added to the following methods:
- ClearAll
- ClearFormats
- ClearValues
- SetCellStyle

Change-Id: Ice17a37ca49576f07be7f57800b11050054d90b3
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144057
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-12-14 15:17:35 +00:00
cd924ae6a0 Update documentation of SF_Dialog and SF_Dialog control services
This patch does the following changes:
1) Explain how to handle exceptions in dialog and control event handlers (both in Python and Basic)
2) Document the new SetPageManager method
3) Plus a few minor fixes in the text

Change-Id: I4f7b3bfae025b45214b90dd036ecdbf4977d47e9
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144018
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-12-13 15:18:22 +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
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