summaryrefslogtreecommitdiffstats
path: root/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Fix helpers/make_icon_link.txt.pyStephan Bergmann2020-05-121-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It contained Python-2--isms that caused errors when /usr/bin/python is Python 3 (at least on Fedora 32 with python-unversioned-command-3.8.2-2.fc32.noarch and python3-3.8.2-2.fc32.x86_64): > File "helpcontent2/helpers/make_icon_link.txt.py", line 21 > print "There was an error reading", file_icon > ^ > SyntaxError: Missing parentheses in call to 'print'. Did you mean print("There was an error reading", file_icon)? and > File "helpcontent2/helpers/make_icon_link.txt.py", line 39 > if line.find('png',0, len(line)) <> -1 : > ^ > SyntaxError: invalid syntax So fix helpers/make_icon_link.txt.py to be proper Python 3 and explicitly execute it with gb_ExternalExecutable_get_command,python instead of via a /usr/bin/python shebang. (That file was apparently not executed during the build prior to ee180ade07e36dd1fb8c7bdca6ecbab44ded9eb8 "tdf#128519 Automate icon repl't table for Help bld", so these issues were not noticied earlier.) Change-Id: Ia3cff9538ab537076a02b64ad8c1bf56dcfaf30b Reviewed-on: https://gerrit.libreoffice.org/c/help/+/94039 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* tdf#128519 Automate icon repl't table for Help bldOlivier Hallot2020-05-111-0/+51
| | | | | | | | | | | | The solution here is to create links.txt.xsl in the helpcontent2/helpers/ folder at build time because the <include> directive in XSLT of online_transform.xsl must be hardcoded (compile time) and core/workdir/ is not. Change-Id: I8c4c8d0b8aed58c10a95c5d42bbd1b8acdb39614 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/93436 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Helper to refactor paragraphs in XHPOlivier Hallot2020-03-021-0/+61
| | | | | | | | | | | | | | | 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>
* Extend DTD to hold characters tags in <ahelp>Olivier Hallot2020-02-171-1/+1
| | | | | | | Change-Id: Ie8eafde9e943ec28dfbe9bc9fc282b0f934f9b4a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88868 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Give note,tip,warning same children as paragraphOlivier Hallot2019-10-221-6/+20
| | | | | | | | | 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>
* Mute unnecessary translations in fiter namesOlivier Hallot2019-05-021-7/+10
| | | | | | | | | | 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>
* Add info on convert-to filter namesOlivier Hallot2019-04-061-0/+108
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* Update DTD for <pycode>Olivier Hallot2018-12-131-5/+7
| | | | | | | Change-Id: Icbda71715b4c23644699e9963983ab2db7c0074a Reviewed-on: https://gerrit.libreoffice.org/65103 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Fix SID_EXTRUSION_TOOGLE -> SID_EXTRUSION_TOGGLEAndrea Gelmini2018-11-293-3/+3
| | | | | | | | | | 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>
* tdf#121797 XHP extensions (Help part)Olivier Hallot2018-11-281-9/+56
| | | | | | | | | | | | | | | | | | | 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>
* tdf#118314 Delete help content related to obsolete “Input Method Status” ↵Adolfo Jayme Barrientos2018-07-115-5/+0
| | | | | | | | | feature Change-Id: Ie80279915e3ee9a123204a729325ca9e119ab6bb Reviewed-on: https://gerrit.libreoffice.org/57224 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* s/galaxy/colibre/Rene Engelhard2018-05-051-4/+4
| | | | | | ... as galaxy got removed with 60413c9800c27f53c1108015b50754b065bc98c6 Change-Id: I4e3ec6db6b57b31e184ec53def5bdb54e064ad21
* Fix typosAndrea Gelmini2018-04-111-1/+1
| | | | | | | 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>
* update help ids for accept/reject dialogCaolán McNamara2018-02-271-6/+0
| | | | Change-Id: Iea81698d82be9ecced7b45c0a465459abec88860
* update help for warning dialog conversionCaolán McNamara2018-02-251-1/+0
| | | | Change-Id: I8c4bae6f0e43178b2189b3986c9f280dcb76b085
* Make xml-lang optional in help DTDOlivier Hallot2017-08-071-5/+8
| | | | | | | | | | | 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>
* Move processing of help-specific images to helpcontentKatarina Behrens2017-05-121-1/+2
| | | | | | | 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>
* update help ids for .ui conversionCaolán McNamara2017-04-101-5/+0
| | | | Change-Id: I2dc481b16b2af15682bbd5e504892eff679f8699
* update help ids for .ui conversionCaolán McNamara2017-04-061-8/+0
| | | | Change-Id: I945ba9cc0ebce82363ae569da1701c5d01136619
* drop unused HIDCaolán McNamara2017-04-051-1/+0
| | | | Change-Id: Ie4d8fc903df85c72247fcd439c0bb34525f67a51
* update helpids for .ui spell menu conversionCaolán McNamara2017-02-241-3/+0
| | | | Change-Id: I89488bd75c33fb732e780c5ffc45888815c0615b
* update help ids for writer sort/edit comments menu .ui conversionCaolán McNamara2017-02-211-5/+0
| | | | Change-Id: I960d72cd9e7903c9682e84770d8587fd69b4883b
* update help ids for calc sort/edit comments menu .ui conversionCaolán McNamara2017-02-211-6/+0
| | | | Change-Id: Ib95596c2063b3edb7ace4d4f9cc1c25c829a00c1
* update helpids for .ui conversionCaolán McNamara2017-01-301-1/+0
| | | | Change-Id: I88db8390a188e3d6b60dead17428826eb36a0232
* update helpids for .ui conversionCaolán McNamara2017-01-301-2/+0
| | | | Change-Id: I685964b0b111eaa548bba3b880bcbac9cd84a217
* Add script to check for broken image referencesGabor Kelemen2016-12-241-0/+32
| | | | | | | | | | | | 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>
* Create a new image list for 'make postprocess'Katarina Behrens2016-11-041-1/+2
| | | | | | | | | | | 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>
* Update after recent dbaccess HID removalMaxim Monastirsky2016-10-301-1/+0
| | | | Change-Id: Ifbbfaf592aca44eb2a2a83e9afef3427aef364b8
* drop HID_CTRL_CUSTOMPROPS_YES_NO that does nowhereCaolán McNamara2016-10-251-1/+0
| | | | Change-Id: Ief870688649828c459db277eba15ead976eac68a
* update help ids for function panel .ui conversionCaolán McNamara2016-10-241-4/+0
| | | | Change-Id: Ie6623190ca919e7e4cf0d76ba94fd67056a09f3e
* sc_ListBox_FID_FUNCTION_BOX_DDLB_FUNC goes nowhereCaolán McNamara2016-10-231-1/+0
| | | | Change-Id: I214fead9feb3a1a248b037b220e6c62a8ac26e05
* Script to check the validity of embed tagsGabor Kelemen2016-10-121-0/+56
| | | | | | | | | | | | 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>
* remove old dmake related helper filesAndras Timar2016-10-123-548/+0
| | | | Change-Id: I71dc2ef7dfdbcfaf82e4ae3875fef7de62db0e64
* remove misleading old READMEAndras Timar2016-10-121-5/+0
| | | | Change-Id: I31da2e48f6080db0949fafe482e237ead8bcaca4
* update help ids for impress/draw navigator ui conversionCaolán McNamara2016-10-121-12/+0
| | | | Change-Id: Id0827a67d46232f519726e5851b8bfdd02880e0c
* drop unused HID_CALC_TOOLBOX hidCaolán McNamara2016-10-111-1/+0
| | | | Change-Id: I08ba38e7446e62fd712e53a1969e38d8b3fb653a
* update helpids for writer navigator .ui conversionCaolán McNamara2016-10-111-26/+0
| | | | Change-Id: Ib25355ffe0d58a50eaad7e5aaeb1d10efc101404
* drop unused HID_NAVIGATION_PICaolán McNamara2016-10-111-1/+0
| | | | Change-Id: I453cd425ee8b79ad9caf47a791ac8ef4a3676bf4
* drop unused HID_HELP_ONSTARTUP_BOXCaolán McNamara2016-10-071-1/+0
| | | | Change-Id: I7bc262782089f5603d61028431af5d6e378891eb
* update help ids for calc navigator .ui conversionCaolán McNamara2016-10-071-13/+0
| | | | Change-Id: I9d712222a91bc1c9fbef6c4bd92c10d46f59090c
* Remove 'Insert Video' and 'Insert Sound' help pagesGabor Kelemen2016-09-295-10/+0
| | | | | | | | | | 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>
* related tdf#96398 Remove help for Insert - Object - PluginGabor Kelemen2016-09-291-1/+0
| | | | | | | | | | 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>
* tdf#95386 Remove remains of .uno:HelperDialog from helpcontentGabor Kelemen2016-09-285-5/+0
| | | | | | | 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>
* tdf#94057 - add "bascode" element to xmlhelp dtdChristian Lohmaier2016-04-251-5/+7
| | | | | | | | | | 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>
* Helper file to package the help so it can be viewed in help viewerYousuf Philips2016-03-111-0/+25
| | | | | | | Change-Id: I419d7ac89953e969d271f1ef2d82d091cd1b079c Reviewed-on: https://gerrit.libreoffice.org/22962 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
* update help ids for bibliography toolbar conversionCaolán McNamara2016-03-081-6/+0
| | | | Change-Id: I3059a98f6ad79f413395550bc1a270a5396decf3
* Fix smath help for recent context menu changesMaxim Monastirsky2016-01-281-4/+0
| | | | Change-Id: Ic1cb6aa17940e189386a59ca74ed061fac0ee90c
* remove lastedited element from dtd and wiki converterAndras Timar2015-11-131-7/+2
| | | | Change-Id: I4eeee9b3a00a197ec915c9996ace0249546f2319
* update help ids for fontwork docking window .ui conversionCaolán McNamara2014-12-311-32/+0
| | | | Change-Id: Ie82b8bb7a8991e90540071565cd3773480c75145
* update help ids for docking 3d effects .ui conversionCaolán McNamara2014-12-301-67/+0
| | | | Change-Id: I1c65497e38a0fae848127ae022a7121bf2613708