37 Commits

Author SHA1 Message Date
68fd7de6c3 tdf#162607 disambiguate hid2file.js, InsertTimeField
+ Refactor

Change-Id: I93476e7e2d71766be718f398a593d2674016c1d4
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/175695
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Jenkins
2024-10-27 14:08:49 +01:00
5c4fdb89c9 tdf#159111 add .uno:PickList to Help
+ File menu command is now .uno:PickList and not .uno:FileMenu anymore
+ .uno:PickList is common to all modules
+ Refactor file menu into one Help page, with module switch
+ Adjust tree
+ remove old file menus help page main0101.xhp

Change-Id: I7fc9d07fdcca1d4a3062e656f81a0bafd6bafa44
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/162415
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-22 20:20:44 +01:00
4453c0b2ed convert paragraphs with role="heading" & childelements to → h<level>
and also drop the language that was changed to implied previously/defaults to
en-US unless specified.

This change doesn't affect translations, only the content of the
paragraph/headings is extracted.

done with:
perl -CSD -pi -e 'BEGIN {$base = qr/role="heading"|level="(?<level>\d+)"|(?<id>id="[^"]+")/;} s#<paragraph(((\s+($base)){3})|(\s+($base|xml-lang="en-US")){4})>(?<body>.*?)</paragraph>#<h$+{level} $+{id}>$+{body}</h$+{level}>#g'

and manually undoing the one that uses <sup>in body that's not valid
according to the dtd in the h tags.

Change-Id: Ibd4aed3157ed168cd5005161575672a392e59202
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148797
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-03-16 15:18:30 +00:00
77cb682cd1 convert plain paragraphs with role="heading" → h<level>
i.e. without child elements and also drop the language that was changed
to implied in the dtd previously/defaults to en-US unless specified.

This change doesn't affect translations, only the content of the
paragraph/headings is extracted.

done with:
perl -CSD -pi -e 'BEGIN {$base = qr/role="heading"|level="(?<level>\d+)"|(?<id>id="[^"]+")/;} s#<paragraph(((\s+($base)){3})|(\s+($base|xml-lang="en-US")){4})>(?<body>[^<]+)</paragraph>#<h$+{level} $+{id}>$+{body}</h$+{level}>#g'

(all permutations re order of attributes, and xml-lang="en-US" being
optional / implied)

Change-Id: I365a2bb983a3969af9390753fce7b7f3597c7b8b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148795
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-03-16 15:18:10 +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
2d9ad5a39e tdf#144713 rename tab indices -> tab order in group controls
Change-Id: I0e4bf13841b104b6f7f0765a933f4ba13fbdd3c1
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122679
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-09-30 15:55:54 +02:00
a8089daeff tdf#137084 (part) Update Writer Form menu Help page
Change-Id: I875d33c7470d7e8ae4ac09b4266411ff3f94920e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121040
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-08-25 18:11:33 +02:00
837f1b2044 tdf#132643 Translate German section IDs
Change-Id: I5549e9132f0fac6a5d203e7c2abf649162419725
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/100764
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-08-15 17:05:47 +02:00
191eef08a9 tdf#132643 Translate German section IDs
Change-Id: I3fd2939000a91f9159e35c46cd5c1d1297632fcb
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/100763
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-08-15 17:04:50 +02:00
f61b97e69b tdf#132643 Translate German section IDs
Change-Id: I3d6d7a1a2390c042da70ea09a4e475ad7e27b620
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99430
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-25 23:02:00 +02:00
420a701bbb tdf#132643 Translate German section IDs
Change-Id: I7230dee984de1ce119b37b0c6ed9e683f1a00e8f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97753
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-05 15:24:56 +02:00
0d09266b1a tdf#132643 Translate German section IDs
Change-Id: I9bdb94359d3bb9b0b140cc704b138ec0d1347832
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97752
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-05 15:24:09 +02:00
2239aea3af tdf#132643 Translate German section IDs
Change-Id: I74d819195dbe0f8ddb38c780e45672d17e13d0d4
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97751
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-05 15:23:19 +02:00
0dd5d7c2a9 tdf#132643 Translate German section IDs
Change-Id: I315e0631ac9fc089c7a837530ac20a931b19852b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97750
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-05 15:22:10 +02:00
74d8f751db tdf#132643 Translate German section IDs
Change-Id: Icd9854e86c102cc090cc80d477fd1b9bcd4fd704
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97746
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-05 15:09:46 +02:00
06ff600328 tdf#132643 Translate German section IDs
Change-Id: I6d7817fd00c9abf6849fc46f2298c7e22cdcdc5c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96721
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-19 19:10:38 +02:00
fc2818cb21 tdf#132643 Translate German section IDs
Change-Id: I0ec21caa99799330488bdcf028f314ba59a2eab8
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96720
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-19 19:09:29 +02:00
b87c66dbbe tdf#132643 Translate German section IDs
Change-Id: I1997b1c0f683b70bbcb1b5cfc16c508e38b726c0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96719
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-19 19:08:51 +02:00
e86897a96b tdf#132643 Translate German section IDs
Change-Id: I0973b77a4ff00242ffcbd75473a6d914a6dfa389
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96718
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-19 19:07:03 +02:00
38e1dd4f29 tdf#132643 Translate German section IDs
Change-Id: Ib3e3203f59d9d967e2c6d12c2793b2e7e9cd252f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96465
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-17 13:07:20 +02:00
666ef2f830 tdf#132643 Translate German section IDs
Change-Id: I8329ac4ed7026bf8bedf7bdfa2b724993b78a750
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96456
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-17 13:06:13 +02:00
96c9eaf346 Add dimensions to svg icons
+ refactor some headings

Change-Id: Ic194be7d99685d3272393088973367bbbcd3246c
Reviewed-on: https://gerrit.libreoffice.org/84960
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-12-11 16:22:25 +01:00
63184912f9 Remove duplicated HID bookmarks in sbasic
Duplicates found with:

for i in $(find source/text/sbasic -name "*xhp") ; do grep branch=\"hid/.uno: "$i" | cut -d ":" -f2 | cut -d \" -f 1 | uniq -c | grep -v "1 " ; if [ $? -eq 0 ] ; then echo "Above HID branches are redundant in: $i" ; fi done

Change-Id: I2882cca272e3eee6b0d45d3a0b5bcfaeaaf23ddb
Reviewed-on: https://gerrit.libreoffice.org/74616
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-06-24 15:40:09 +02:00
2400a5c557 i#119731 Fix icon name
Was wrongly named in 496aaf8cbcd030c1ddfbc3776c23edd08307b96e

Change-Id: I42730caa995ed7e04b6a632ee0fa73091beeea84
Reviewed-on: https://gerrit.libreoffice.org/69080
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-03-14 07:43:00 +01:00
496aaf8cbc i#119731 help-page: Hyperlink control on Dialog editor
The image used for Insert Hyperlink control is
cmd/sc_inserthyperlink.png as proposed in description.

Change-Id: Ife79e16ea04498b1496629f398e42da67ec72448
Reviewed-on: https://gerrit.libreoffice.org/68952
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-03-10 19:43:16 +01:00
3013fcc8dd tdf#53524 (compl) Minor tweaks in Help page.
Added ref to icons
minor updates on tags

Change-Id: Ia9812a5928554284a5a2fb5416983888e2437439
Reviewed-on: https://gerrit.libreoffice.org/68915
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-03-08 12:44:35 +01:00
8b9d37bf1b tdf#53524 help-submodule - grid control Dialog editor
Change-Id: Ie6918fdc9eb0cfed7042362cb1ad223e908d6d8a
Reviewed-on: https://gerrit.libreoffice.org/68895
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-03-08 12:18:45 +01:00
971f4369e9 Add Form menu help page in Writer
changed '/' to 'or'

Change-Id: I14946035077cb231a55f08cdfd3b92a9df76e3b7
Reviewed-on: https://gerrit.libreoffice.org/56343
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-06-25 16:22:09 +02:00
2c8cfc7de0 Remove duplicate HIDs added by script - from sbasic
To improve readability of xhps

Change-Id: I8f6463b59c91a15cf27a8bc17b01210874fb9b2f
Reviewed-on: https://gerrit.libreoffice.org/53857
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2018-05-04 17:33:25 +02:00
2c451122a2 adjust image paths after moving helpimg into more appropriate folder
Change-Id: Idcfa3700bfd53d38ddeda484828f00bf36cf3b57
Reviewed-on: https://gerrit.libreoffice.org/32104
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2017-05-12 13:46:36 +02:00
eb9ec1c794 remove obsolete oldref attribute (removes one context line in pot)
also remove obsolete l10n attribute (doesn't affect translations/pot)

Change-Id: I809866ea7b16cb1cacad9efacb6fdeebae38ea9f
2017-05-09 16:37:41 +02:00
c20dde3497 The 'lastedited' element is useless, we have git. 2015-11-12 09:34:06 +01:00
d53f334130 updated Object Catalog help
Change-Id: I42cfd2a00ed868f91e2b46f9451132bf80fd9c18
2013-04-09 08:29:10 +02:00
1c7b7c2544 Use localize attribute for efficiency
Add localize="false" to xml components which
not include translatable string to make helpex
work less with them.

Change-Id: I20fe79b5a506fafaa6fd90bd62f12117af0bb3b6
2013-03-11 18:00:46 +01:00
81f8e6cfb8 gbuildize helpcontent2
dmake is dead, long live gbuild!

Change-Id: I636ea4ed7ee08a748b96973ae076a5e47928d4ca
2013-02-26 15:29:47 +01:00
df4d4db740 re-base on ALv2 code. Includes:
Patch contributed by Oliver Rainer-Wittmann
    i#118572 - remove ui string and help content regarding
    usage of Java Mail in Writer's Mail Merge as Java
    Mail is not used.
    http://svn.apache.org/viewvc?view=revision&revision=1197035

    Patches contributed by Herbert Duerr
    updated help text for regexp word boundaries
    http://svn.apache.org/viewvc?view=revision&revision=1228026
    improved help text for word boundary regexp expression \b
    http://svn.apache.org/viewvc?view=revision&revision=1234738

    Patches contributed by Jurgen Schmidt
    remove onlineregistration with dependencies
    http://svn.apache.org/viewvc?view=revision&revision=1240245

    Patch contributed by Regina Henschel
    Extended tips for corner and cap style
    http://svn.apache.org/viewvc?view=revision&revision=1242287

* re-enable on-line update help, remove obsolete on-line purchasing.
2012-12-13 13:02:02 +00:00
61173c1b58 move help structure one directory up
Change-Id: Ie970e39fbb6795a92d9fdd13510409d7dcd071bc
2012-10-16 11:07:30 -05:00