Commit Graph

579 Commits

Author SHA1 Message Date
3fd0111f70 Helper to refactor paragraphs in XHP
The helper transforms XHP paragraphs into :
roles=note, warning, tip into <note>,<warning> and <tip>

roles=heading and level=[n] into <h[n]>

usage:
xsltproc refactor.xsl source.xhp > target.xhp

Change-Id: Ib3d69aebc35978f6e73a27bee232864bfe6e8463
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/89832
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-03-02 20:10:24 +01:00
fe4e52a549 Extend DTD to hold characters tags in <ahelp>
Change-Id: Ie8eafde9e943ec28dfbe9bc9fc282b0f934f9b4a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88868
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-17 20:16:23 +01:00
559cb6ee4b Give note,tip,warning same children as paragraph
But narrow attributes not necessary (role, heading...)

Change-Id: Icb022d0694a442186bef46fae172631a96662353
Reviewed-on: https://gerrit.libreoffice.org/81292
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-22 16:30:41 +02:00
6b3fde1a62 Mute unnecessary translations in fiter names
Changed to allow translation of filter names and media types
Removed randomness for paragraph ids to spare retranslation

Change-Id: If73d4799537b2d91ec9fe58584033b46eeeb9e04
Reviewed-on: https://gerrit.libreoffice.org/70671
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-02 22:12:35 +02:00
12aff9b55d Add info on convert-to filter names
command line --convert-to option miss description of the internal
names of the filters.

The xhp file is generated by the python script based on the
filter xcd's.

P2:
fix typo,
Fix <filename>,
Put modules in upercase.

P3:
reduce L10n workload with <embedvar>

P4:
Make xmllint happy again

Change-Id: I455491b1f6a141688308d768b2822f051566ae53
Reviewed-on: https://gerrit.libreoffice.org/70273
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-04-06 16:05:06 +02:00
1405725db5 Update DTD for <pycode>
Change-Id: Icbda71715b4c23644699e9963983ab2db7c0074a
Reviewed-on: https://gerrit.libreoffice.org/65103
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-12-13 14:20:02 +01:00
8535463ca5 Fix SID_EXTRUSION_TOOGLE -> SID_EXTRUSION_TOGGLE
To complete commit:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=e051bb72d6a12e4a10d4a3548eb6a131b80d96fb

Change-Id: Ib8a79d459bce19a50a143bbd955860d95f2dae39
Reviewed-on: https://gerrit.libreoffice.org/64182
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-11-29 19:19:15 +01:00
49baef5df5 tdf#121797 XHP extensions (Help part)
WIP. This is the Help part.

Extend the XML parser to include new incantations of the <paragraph>
tag, namely
<h1> to <h6>
<note>, <tip> and <warning>

Extension to the <item> tag:
<menuitem>, <input>, <literal>, <widget> and <keycode>

* removed test files

Change-Id: I2a473ee8772606f5e84bb02e651bccc6749598f4
Reviewed-on: https://gerrit.libreoffice.org/63954
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-11-28 10:53:51 +01:00
2af2ba2a19 tdf#118314 Delete help content related to obsolete “Input Method Status” feature
Change-Id: Ie80279915e3ee9a123204a729325ca9e119ab6bb
Reviewed-on: https://gerrit.libreoffice.org/57224
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-07-11 23:10:38 +02:00
a154b3f59a s/galaxy/colibre/
... as galaxy got removed with 60413c9800c27f53c1108015b50754b065bc98c6

Change-Id: I4e3ec6db6b57b31e184ec53def5bdb54e064ad21
2018-05-05 15:26:42 +02:00
51f6c350e5 Fix typos
Change-Id: If081f3b5ac8b752234d115709731a104cea950d9
Reviewed-on: https://gerrit.libreoffice.org/52208
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-04-11 15:03:59 +02:00
87195b21ba update help ids for accept/reject dialog
Change-Id: Iea81698d82be9ecced7b45c0a465459abec88860
2018-02-27 10:23:21 +00:00
72c2f04466 update help for warning dialog conversion
Change-Id: I8c4bae6f0e43178b2189b3986c9f280dcb76b085
2018-02-25 19:11:44 +00:00
9f7edddfe6 Make xml-lang optional in help DTD
Change DTD to make xml-lang optional, as requested by patch
https://gerrit.libreoffice.org/#/c/32296/

Change-Id: I5ef02dddb8486b75e16f3b141aa792b1dfb43f86
Reviewed-on: https://gerrit.libreoffice.org/38465
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2017-08-07 10:51:14 +02:00
1d77c8a706 Move processing of help-specific images to helpcontent
Change-Id: I4370c7ab41184a59bb92e8df49f2fe3ca84c9c8c
Reviewed-on: https://gerrit.libreoffice.org/30958
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2017-05-12 13:46:08 +02:00
15646c9c9d update help ids for .ui conversion
Change-Id: I2dc481b16b2af15682bbd5e504892eff679f8699
2017-04-10 10:37:44 +01:00
b1f5e00835 update help ids for .ui conversion
Change-Id: I945ba9cc0ebce82363ae569da1701c5d01136619
2017-04-06 11:41:02 +01:00
ca8eec7d9e drop unused HID
Change-Id: Ie4d8fc903df85c72247fcd439c0bb34525f67a51
2017-04-05 14:40:18 +01:00
a43b8eb31d update helpids for .ui spell menu conversion
Change-Id: I89488bd75c33fb732e780c5ffc45888815c0615b
2017-02-24 20:59:21 +00:00
0dbfd3f53a update help ids for writer sort/edit comments menu .ui conversion
Change-Id: I960d72cd9e7903c9682e84770d8587fd69b4883b
2017-02-21 17:08:02 +00:00
358d6c4eb7 update help ids for calc sort/edit comments menu .ui conversion
Change-Id: Ib95596c2063b3edb7ace4d4f9cc1c25c829a00c1
2017-02-21 16:17:05 +00:00
7fd043d303 update helpids for .ui conversion
Change-Id: I88db8390a188e3d6b60dead17428826eb36a0232
2017-01-30 16:02:43 +00:00
26ed1b1d98 update helpids for .ui conversion
Change-Id: I685964b0b111eaa548bba3b880bcbac9cd84a217
2017-01-30 15:52:15 +00:00
6f19c099aa Add script to check for broken image references
Such may appear if images are moved around in the
icon theme directories or between the icon themes
and the helpcontent2 repo.
Simple typos are also possible.

Change-Id: Iafee73efe9776ebf8ae74919c90644570593d94e
Reviewed-on: https://gerrit.libreoffice.org/32264
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-12-24 15:50:28 +00:00
98d298e4ef Create a new image list for 'make postprocess'
with screenshot images

corrected path as indicated

Change-Id: I3d81c88a4ae002f12247ec4a5587e50f9927a005
Reviewed-on: https://gerrit.libreoffice.org/28499
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-11-04 13:41:32 +00:00
4f39d66542 Update after recent dbaccess HID removal
Change-Id: Ifbbfaf592aca44eb2a2a83e9afef3427aef364b8
2016-10-30 20:50:39 +02:00
136c9a855f drop HID_CTRL_CUSTOMPROPS_YES_NO that does nowhere
Change-Id: Ief870688649828c459db277eba15ead976eac68a
2016-10-25 10:17:58 +01:00
a4da1a4e16 update help ids for function panel .ui conversion
Change-Id: Ie6623190ca919e7e4cf0d76ba94fd67056a09f3e
2016-10-24 13:03:53 +01:00
30255d8b05 sc_ListBox_FID_FUNCTION_BOX_DDLB_FUNC goes nowhere
Change-Id: I214fead9feb3a1a248b037b220e6c62a8ac26e05
2016-10-23 17:22:09 +01:00
75f5e0c62d Script to check the validity of embed tags
This script looks up <embed ...> tags in helpcontent, checks whether the
referenced file and id exist, and prints a warning if either one does not.
Execute from the root directory of the helpcontent2 repository.
No parameters are used.

Change-Id: Ic20bcfb1db398067231141b9af69c45590e1d452
Reviewed-on: https://gerrit.libreoffice.org/29732
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-10-12 12:57:38 +00:00
d0edb8833e remove old dmake related helper files
Change-Id: I71dc2ef7dfdbcfaf82e4ae3875fef7de62db0e64
2016-10-12 14:11:40 +02:00
988ace944d remove misleading old README
Change-Id: I31da2e48f6080db0949fafe482e237ead8bcaca4
2016-10-12 14:10:22 +02:00
50bab958d3 update help ids for impress/draw navigator ui conversion
Change-Id: Id0827a67d46232f519726e5851b8bfdd02880e0c
2016-10-12 10:08:31 +01:00
5d912ed85e drop unused HID_CALC_TOOLBOX hid
Change-Id: I08ba38e7446e62fd712e53a1969e38d8b3fb653a
2016-10-11 16:19:06 +01:00
b223bd2e0c update helpids for writer navigator .ui conversion
Change-Id: Ib25355ffe0d58a50eaad7e5aaeb1d10efc101404
2016-10-11 11:33:41 +01:00
b5b5879c9e drop unused HID_NAVIGATION_PI
Change-Id: I453cd425ee8b79ad9caf47a791ac8ef4a3676bf4
2016-10-11 10:34:31 +01:00
2729e2ce77 drop unused HID_HELP_ONSTARTUP_BOX
Change-Id: I7bc262782089f5603d61028431af5d6e378891eb
2016-10-07 21:16:22 +01:00
1b422723b5 update help ids for calc navigator .ui conversion
Change-Id: I9d712222a91bc1c9fbef6c4bd92c10d46f59090c
2016-10-07 17:42:39 +01:00
708e33c4cb Remove 'Insert Video' and 'Insert Sound' help pages
These were removed from the UI, now there is Insert - Media - Audio or Video:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=1875ea687b2c5c45fe3df626c05ca5f483417269

Change-Id: I7b68098144282b7770da38313ca623061d188fa3
Reviewed-on: https://gerrit.libreoffice.org/29385
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-09-29 13:52:04 +00:00
09d83720ed related tdf#96398 Remove help for Insert - Object - Plugin
Support for external plugins was removed in 5.2
so the corresponding help can go too

Change-Id: I26f242da25a9ff9a2dcb86510cfe42247820719f
Reviewed-on: https://gerrit.libreoffice.org/29383
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-09-29 11:23:55 +00:00
d9c6d41f7c tdf#95386 Remove remains of .uno:HelperDialog from helpcontent
Change-Id: Ibe3f7d9b89ad919a03c9b1b6d87a72c1d3883b47
Reviewed-on: https://gerrit.libreoffice.org/29353
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-09-28 13:13:00 +00:00
a14d38465c tdf#94057 - add "bascode" element to xmlhelp dtd
it was introduced with d06c698b799e0e4ceaf3a3760c9589fe29dc29a9 on core
to have LO apply syntax-highlighting for Basic (for 4.1.0)

Change-Id: Ifbe4b511cad8810b2ebd179fb62097bcd22a556a
Reviewed-on: https://gerrit.libreoffice.org/21793
Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk>
Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-04-25 18:40:29 +00:00
c8c86435d4 Helper file to package the help so it can be viewed in help viewer
Change-Id: I419d7ac89953e969d271f1ef2d82d091cd1b079c
Reviewed-on: https://gerrit.libreoffice.org/22962
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
2016-03-11 14:18:26 +00:00
7d13cf6981 update help ids for bibliography toolbar conversion
Change-Id: I3059a98f6ad79f413395550bc1a270a5396decf3
2016-03-08 16:22:31 +00:00
a3309357af Fix smath help for recent context menu changes
Change-Id: Ic1cb6aa17940e189386a59ca74ed061fac0ee90c
2016-01-28 15:38:53 +02:00
9b62f36c82 remove lastedited element from dtd and wiki converter
Change-Id: I4eeee9b3a00a197ec915c9996ace0249546f2319
2015-11-13 23:30:25 +01:00
a958bc9cd6 update help ids for fontwork docking window .ui conversion
Change-Id: Ie82b8bb7a8991e90540071565cd3773480c75145
2014-12-31 11:44:11 +00:00
45bd6c6e23 update help ids for docking 3d effects .ui conversion
Change-Id: I1c65497e38a0fae848127ae022a7121bf2613708
2014-12-30 15:41:02 +00:00
1a784839f1 drop unused helpids
Change-Id: Ib127ca7d24363c7f595951e6f1c27372c601a8b3
2014-12-22 14:54:56 +00:00
908b90852c update help ids for docking color replace window .ui conversion
Change-Id: Ib5c095382573ee7b83465d53075857d6403b1d84
2014-12-18 13:19:51 +00:00