11 Commits

Author SHA1 Message Date
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
638ca29e54 Corrections to UNO objects, function & services help page
Change-Id: Ia72f062c5d0ec07e61aa6b45caea31139acf561e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/142199
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-11-03 15:56:26 +01:00
021a444733 tdf141474 CreateUnoService accepts keyword arguments
tdf114263 CreateUnoServiceWithArguments new help page

Change-Id: I217746d0817cefcaab7ecb07d30b2c3f2ad8bfff
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141916
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-10-30 14:32:57 +01:00
0b7cde3aab Create help page for the Development Tools feature
Change-Id: Ib392399fa71c27ce6be7fca8c55985d75519ea87
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/119855
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-08-03 01:39:29 +02:00
9fffc3e09d ThisDatabaseDocument new help page
Change-Id: I9ad35913bbc5fef9208b3a9ea5eb9be01f882131
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116463
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-06-09 16:49:57 +02:00
48ba8a26f1 More informative descriptions for GlobalScope, xxLibraries
Links to existing examples
Note to API materiel

Change-Id: Iaee88045b212388ef1cf0fa6207da96bf544d0af
Reviewed-on: https://gerrit.libreoffice.org/81889
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-11-01 19:06:40 +01:00
9147d1fa9b sbasic.tree, uno_objects, ThisComponent better descriptions
Change-Id: Ie1778adf59317260cc0c9a1c1eb43ed2d66e7518
Reviewed-on: https://gerrit.libreoffice.org/81822
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-31 10:58:33 +01:00
2ba8d7ab8a tdf#127716 Add GlobalScope object description
Also add BasicLibraries and DialogLibraries
Refactor page
Add entry in tree

Change-Id: I9754af4d98fc6267120c232e1ba366262534b3a7
Reviewed-on: https://gerrit.libreoffice.org/81803
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-31 01:21:01 +01:00
29b5659ba0 Removal of a superfluous link.
Change-Id: Ib3cedf58bce141ddfd27c438a0a37e73b1a7bd77
Reviewed-on: https://gerrit.libreoffice.org/65889
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-01-05 17:02:12 +01:00
44ca55be29 Fix missing entry in makefile
+ bookmarks

Change-Id: I836964a1ec29485ee05617cce486dadd5b009591
Reviewed-on: https://gerrit.libreoffice.org/65161
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-12-14 16:50:20 +01:00
3f0f452519 StarDesktop object and reorder indexes
Add StarDesktop object description
Reorder "Other commands" to add UNO objects

Change-Id: Ia6547ea059276f8946b03392d29d968187bcd26c
Signed-off-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/64981
Tested-by: Jenkins
2018-12-12 10:10:46 +01:00