50 Commits

Author SHA1 Message Date
c8a102908b tdf#162607 Remove dup's in hid2file.js, SFX2_HID*
+ refactor

Change-Id: I3b435b46a9ddb7d235531844a3667888d3f644a0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/172848
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-09-04 17:44:48 +02:00
23ad83d489 Allow help-id-missing to be clipboarded
Change-Id: I32b6e24d9d1d1f281449d49bfc5a707801e4d016
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161732
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-07 00:31:08 +01:00
ecdb331fcd tdf#155875 UI cmds Writer/Table in Help(40)
+ refactoring
+ Table - RowSplit command (part 40)

Change-Id: Ieae864974dfd600bf9c2c75cf2cfeff7f076dbdf
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/156778
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-09-09 16:17:14 +02:00
3c28ee643a tdf#153739 add "bookmark" to Glossary; make relevant cross-references
Change-Id: I7ef8c33a39383a00c8c538694808b4383ad983b8
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/149095
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2023-03-27 20:20:14 +00: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
9ce0084614 tdf#153747 correction about what tips are shown in a document
also, refactor to <h1>,<h2>,<tip>

Change-Id: I6698ebc60ff40046267db7ffcbaa6ad8cb77e713
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/147911
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-02-28 10:48:08 +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
3b0d630cec tdf#150958 Fix mention to Find tool in help page
Change-Id: I57e98af47bed1ee499ad9f9268514697141eaf9e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/140169
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-09-21 04:37:46 +02:00
79548b2894 Improvement in English
Change-Id: I9b7da83ad12b20e01499f46667f42e63548f3d58
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124984
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-11-12 18:15:24 +01:00
a03b2a3c51 tdf#123506 - HTML Help pages - group search results under module headings
The "double entries" reported are because the search results
are never grouped according to module (CALC, WRITER, IMPRESS, etc).
Results are now grouped.

The HTML Help page search function uses a "fuzzy" algorithm to pick
matching results. This observation by the reporter is not a bug and
so the main Help page has been updated to include an explanation.

The main Help page has also been updated to draw attention to the
highlighing of the matching characters from the search term, to show
exactly how the match was made.

Change-Id: Ibdb9ac726b36b9dd6f605c854192ec644bfe09e1
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122312
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-09-20 16:15:36 +02:00
d9b55436a3 tdf#132643 Translate German section IDs
Change-Id: I588630a0ab7d8bd2f195c3a65eaecdd28574f21d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110904
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-02-16 00:15:20 +01:00
f44071b2e4 Add video in remaining entry pages.
Change-Id: I2e125dc4e9aff28c6078257a7cf1f2b5a4571ff5
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/102735
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-09-15 13:35:33 +02:00
cf9d10b385 Third-person singular in present tense
Change-Id: Ia01bbdeeae9e5914ed686b414d44a639a85c0ec6
2020-09-09 07:35:44 -05:00
aeb5cc458f Typo.
Change-Id: I6706a7811e93de08281900012a302e6431caa899
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/101668
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-08-30 22:01:48 +02:00
d5ce482cb0 tdf#135031 Missing bookmark entry for F1
Change-Id: Ief4944b5cb252a64b8df7b7ccce4783eb3793685
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99326
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-23 17:31:20 +02:00
100f99e0f5 Support: typofix in mailing list address.
Right now users@libreoffice.org bounces “550 5.1.1 <users@libreoffice.org>
User doesn't exist: users@libreoffice.org (in reply to RCPT TO command)”
and https://www.libreoffice.org/get-help/mailing-lists/ reads
‘global.libreoffice.org’.

Change-Id: Ia016f6ded285aa9f3bcff9bbdbd3c7324d0103a2
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99100
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-20 17:53:07 +02:00
456d9b054d Add better 404 error
Missing help pages or links with bad HID were redirected
to module entry page, masking the real issue in Help.

This patch activated the 404 page and add HID information
for debug and fix.

Change-Id: I0d55f1c36d9a6c3fab0096d5e3cd171087729691
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96401
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-17 01:32:48 +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
7670e91fc5 Misc. typo fixing and removal of pointless tags
Change-Id: I7ecffd0417b7e88b76f44e64911c3d8a2f935104
2019-11-07 04:34:43 -06:00
b46c861946 Fix ahelp HIDs for the main Help window toolbox buttons
Change-Id: I9ca3f6c0cf93c52ad47881d712f517898fee8f67
Reviewed-on: https://gerrit.libreoffice.org/73711
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-06-10 14:45:24 +02:00
753d33d415 Update help on Help in module pages
fix DTD issue

Change-Id: I178683b7352e2eff3de111bbb726d2ab60a31063
Reviewed-on: https://gerrit.libreoffice.org/61429
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-10-05 21:50:41 +02:00
6ebdc6aaf3 Drop word "keys" in Search index navigation
Change-Id: I1810349b25855325299f0ef098c0cf5a574e73d4
Reviewed-on: https://gerrit.libreoffice.org/59553
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-08-24 12:53:03 +02:00
f39dae6ac2 Add help pages for new Help
Exlplain the new browser-based help system and user interface.

Change-Id: I418b5fe148661a40b4e0291776ac43f4f207743e
Reviewed-on: https://gerrit.libreoffice.org/59472
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-08-23 21:15:00 +02:00
38917fb4b3 Cleanups and improvements
in /shared/05/*.xhp
Hopefully also fixes visual glitches in
https://help.libreoffice.org/6.1/en-US/text/shared/05/00000150.html

Change-Id: I4698bc0ecf547ac2231cb28d6ccef3025e0b832f
Reviewed-on: https://gerrit.libreoffice.org/55444
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-07-31 20:54:31 +02:00
cebc655206 Cleanups in /shared/05/*.xhp
Change-Id: I35b699fc4408809a6f5e7802e16b17594781ed15
Reviewed-on: https://gerrit.libreoffice.org/57133
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-07-31 20:51:47 +02:00
cb7898d245 Cleanups in /shared/05/*.xhp
This partial patch hopefully also fixes visual glitches in
https://help.libreoffice.org/6.1/en-US/text/shared/05/00000150.html

Change-Id: I753ffda535df10c453b36b459178e0d1a5974f79
Reviewed-on: https://gerrit.libreoffice.org/57132
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-07-31 20:50:56 +02:00
6cd28b0578 tdf#115254 Some branch bookmarks are not working 4
sfx2 module dialogs

Change-Id: Id7f799c0939c63695c29d0b6352e88c005386d3f
Reviewed-on: https://gerrit.libreoffice.org/57468
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-07-16 00:39:00 +02:00
83d31a088a Try to correct some visual glitches in online help
Change-Id: I6b5cf5c95b01c0ba6be259d93425b7349df7578f
Reviewed-on: https://gerrit.libreoffice.org/55154
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-06-05 03:54:37 +02:00
21b8db8ae2 Fix even more typos in help pages
Change-Id: Idbcae07c0807df54db3ba93ed66a9f881c5fa2e4
Reviewed-on: https://gerrit.libreoffice.org/46406
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-12-13 17:52:44 +01:00
0131f6462a Update link
Change-Id: I9ec5733c162507893fa4ca8d619d2c4730d8c535
2017-10-11 15:01:48 -05:00
2d55618673 Fix documentation URL in help page
The URL was outdated.

Change-Id: I6c8de8a7271875fd5d6874aface4130e8e872194
Reviewed-on: https://gerrit.libreoffice.org/38085
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-05-26 21:21:08 +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
ec3123033a Add new Help menu entries into Help main page
Add entries
- User guides
- Get help online
- Restart in Safe Mode

Change-Id: I66e426457c68613d738f49b79f3221cc19b0a7f5
Reviewed-on: https://gerrit.libreoffice.org/33451
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-01-23 13:26:23 +00:00
a3913200aa tdf#98870 Update Options-LO-General help page
Remove help tips
Add Send usage data to TDF

Change-Id: I4193ea81dba8dce31b7a5caf310cc9f3aa4d4372
Reviewed-on: https://gerrit.libreoffice.org/23526
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2016-04-06 13:22:54 +00:00
33e5713fd4 Killed the last remnants of the 'lastedited' element. 2015-11-12 09:41:15 +01:00
c20dde3497 The 'lastedited' element is useless, we have git. 2015-11-12 09:34:06 +01:00
5b425ae93b update help ids for helpcontrol .ui conversion
Change-Id: I107c35b221c9e5c8ede0711df41085ebd44bef31
2014-08-15 13:18:00 +01:00
e420865399 fdo#80200 use icons that are actually packed
Change-Id: Ia4f2ebff2c6ce7ffedb5a0522066590919f4d281
2014-06-22 17:31:03 +02:00
b7b2120b6b update help ids for help contents page .ui conversion
Change-Id: I11701c2b795fde45d671762951046ea3e459e5b0
2014-03-05 11:48:05 +00:00
a1500f2d2d update help ids for help search page .ui conversion
Change-Id: I34d65b1d4f4929ae69bea4e2a47bef21f5e9a958
2014-03-05 11:31:01 +00:00
d17b89d104 update help ids for help index page .ui conversion
Change-Id: I13210a5173f28ecd111bfd9c2809c36b1fedfe6c
2014-03-05 10:56:47 +00:00
fd4b247481 update help ids for help bookmarks .ui conversion
Change-Id: I4d264d6e53bffa652d58ccd99fb0d2279a77218e
2014-03-05 10:17:24 +00:00
78b1b459cb update help ids for help-bookmark help ids
Change-Id: Ie9f78cd89cc8f2f71c6d93ae424a279be2b1e48c
2013-12-16 11:13:51 +00:00
ee5d5c1204 update help ids for search dialog .ui conversion
Change-Id: I37a2ddfd5d2004417489f64fb2482095b4ad4360
2013-12-06 14:21:28 +00:00
2f33891740 Help Agent is dead
Change-Id: I889d1439e41f1c19cac12009ece37cd4a62ab3be
2013-06-07 13:54:14 +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