9 Commits

Author SHA1 Message Date
1c3257e391 tdf#155193 Fill indexer= when omitted in Help files
Change-Id: I10f3c9e1e698619dcace7c4314f2bd37adf698de
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/155363
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-08-05 11:42:52 +02: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
7a9ad91c49 tdf#131416 Enum Basic statement syntax diagram
Change-Id: I7f0ad87f1b7bd678ca46caff518272e6ec5d7928
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97139
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-26 19:37:49 +02:00
2647b00f50 LibO Type statement extends enumerations to all data types.
Change-Id: I8574a5c9290071c96618b1cb1aadc26068abd2b1
Reviewed-on: https://gerrit.libreoffice.org/82571
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-11-13 19:26:47 +01:00
4c805e7b0c Fix some mistakes in attibutes
Change-Id: Ib5719ff52025c2eb558fb6e31ed69f8a6e733b40
Reviewed-on: https://gerrit.libreoffice.org/66243
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-01-13 23:48:42 +01:00
fc7e8e2361 Fix typo
Change-Id: I5941a60790ad4a1d16f4888807aa0756fe687b26
Reviewed-on: https://gerrit.libreoffice.org/65865
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-01-04 20:48:20 +01:00
2237ca9306 Enum help page preciser content
Change-Id: Ic1f8926050f6b1b4a45f2da6dae784261ecd9a9e
Reviewed-on: https://gerrit.libreoffice.org/65493
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-01-04 18:59:02 +01:00
d3bee2ee27 Add missing <bascode> div in page
Change-Id: I50e0c7254d9e13582a7c7e544afc657da8c85f9a
Reviewed-on: https://gerrit.libreoffice.org/64347
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-12-01 12:04:40 +01:00
93b7b1c8c7 Help pages for VBA Enum statement
Change-Id: I4f382453334aa964115d30d7e11e7d202d63a230
Reviewed-on: https://gerrit.libreoffice.org/64202
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-11-29 21:41:15 +01:00