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>
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>
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>
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>
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>
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>
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>
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>