summaryrefslogtreecommitdiff
path: root/helpers
AgeCommit message (Collapse)Author
2021-11-07tdf#140781 Add PDF + XSLT import API names for CLIOlivier Hallot
* amended python script * regenerated convert Help page Change-Id: I4891491d87b4b21c2d103b9df2adb03a21aff790 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124787 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-25tdf#140779, tdf#140780 filter params for CSV, lotus...Olivier Hallot
Change-Id: Ie439889bd8dc4bd630187e253d3689c8e644b2a7 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/123901 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-22Fix variable nameOlivier Hallot
Change-Id: I508ae24bb0a38be10eae3b88dbef060b555ef2a4 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/124043 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-06tdf#140781 Improve Help for Text (encoded) filter optionsOlivier Hallot
-Regenerated convertfilters.xhp -Added examples from start_parameters.xhp -Updated pyhon script -refactor xml Change-Id: I730aa77b87133701c2beb3efc9559f7145ce15bd Reviewed-on: https://gerrit.libreoffice.org/c/help/+/123150 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-01tdf#33749 - revised help text for merge and split in CalcRoss Johnson
The earlier change (reverted) overlooked the difference between "Merge Cells" and "Merge and Center Cells", leaving users without adequate means to merge cells while retaining text alignment. This patch restores previous usability and moves forward to resolve the issues raised in this bug report. Reverted the two changes from earlier work on tdf#33749: 1) Cell context menu back to 7.2 2) Format - Merge Cells menu back to 7.2 3) Help pages to reflect that Moving forward with the following changes: 1) Rename "Split Cells" to "Unmerge Cells" (Calc only) 2) Add "Merge Cells" and "Unmerge Cells" to the Formatting toolbar alongside "Merge and Center Cells". 3) Re-label the Format - Merge Cells menu to Format - Merge and Unmerge Cells. 4) Help pages to reflect core including fixing the duplicate entry in the built help/hid2file.js by consolidating the relevant Calc and Writer help pages together to remove the duplicate bookmark hid branch value. Removed the module specific version. 5) Removed duplicate entry from helpers/unocmds.txt. Change-Id: Ica50f507eea74acd430bef3042fb9739d1cff7b2 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122810 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-05-31tdf#142417: Improve convertfilters.py and add API Names columnKevin Suo
This commit involves two parts: 1. Improved the convertfilters.py helper script to make sure the generated convertfilters.xhp file is complete, accurate and containing no duplicated entries, and also add codes to also generate API Names column, as discussed in tdf#142417. Importantly, the code is modified to generate fixed IDs, rather than the previously random IDs or sequential IDs which may make the PO translation strings to show fuzzy when the file is re-generated. 2. This helper script is run and the convertfilters.xhp is updated. 3. The default css is modified to better display the page. There is no need to set overflow=auto for the DisplayArea, otherwise the scrollbar goes to the bottom of that area which is not visible. Also added a css class to display smaller fonts for the table. Change-Id: I8a5c73c9d6a0c0b44fc7db6cb67b140bfeb8b4be Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116405 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-04-20Fix typo in codeAndrea Gelmini
Change-Id: Iee30f7c242173d07e4e66108522a869d0fcea852 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/114347 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-04-14Fix sort command in Help pagesOlivier Hallot
After the introduction of the headings h1 ... h6 in the Help pages the sort command broke. It relied only in the <paragraph> tag for sorting, usually the first paragraph in the section. The patch extend the DTD to handle the new descendant="" attribute to select which tag to sort in the Help page Default is <paragraph> for backward compatibility. Pages with <sort> must be revisited. Change-Id: I3c6f243369429ed7824a68b11757dc15f4555c0f Reviewed-on: https://gerrit.libreoffice.org/c/help/+/114110 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-10-29Allow note, tip and warning in tablecell elementOlivier Hallot
Change-Id: Ic2ac1904e2b8b8dc90e41195f53d3fd07da4db3c Reviewed-on: https://gerrit.libreoffice.org/c/help/+/105013 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-08-31Fix typoAndrea Gelmini
Change-Id: I0961b8a8e76c451bef5d064fdf9057dd9384bb20 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/101378 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-08-16Fix typoAndrea Gelmini
Change-Id: I28353f846a0bc3c5d9bf8350b2228174780f3933 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/100781 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-29Add empty colspan/rowspan cleaningOlivier Hallot
Change-Id: Ibb73313768ad2252e27d6b85757338fabf0ea1d7 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97414 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-22Improve/fix DTD for note, tip, warning in listsOlivier Hallot
Change-Id: Id219ece5bd20028a4ae3049580cc74e44ef4cc6b Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96848 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-13tdf#132643 Translate German section IDsJohnny_M
Change-Id: I1c2e7d4fe447a850a56ccec2879b7e06c1fba3d4 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96152 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-05-12Fix helpers/make_icon_link.txt.pyStephan Bergmann
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>
2020-05-11tdf#128519 Automate icon repl't table for Help bldOlivier Hallot
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>
2020-03-02Helper to refactor paragraphs in XHPOlivier Hallot
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-02-17Extend DTD to hold characters tags in <ahelp>Olivier Hallot
Change-Id: Ie8eafde9e943ec28dfbe9bc9fc282b0f934f9b4a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88868 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-22Give note,tip,warning same children as paragraphOlivier Hallot
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-05-02Mute unnecessary translations in fiter namesOlivier Hallot
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-04-06Add info on convert-to filter namesOlivier Hallot
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>
2018-12-13Update DTD for <pycode>Olivier Hallot
Change-Id: Icbda71715b4c23644699e9963983ab2db7c0074a Reviewed-on: https://gerrit.libreoffice.org/65103 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-11-29Fix SID_EXTRUSION_TOOGLE -> SID_EXTRUSION_TOGGLEAndrea Gelmini
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-28tdf#121797 XHP extensions (Help part)Olivier Hallot
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-07-11tdf#118314 Delete help content related to obsolete “Input Method Status” ↵Adolfo Jayme Barrientos
feature Change-Id: Ie80279915e3ee9a123204a729325ca9e119ab6bb Reviewed-on: https://gerrit.libreoffice.org/57224 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-05-05s/galaxy/colibre/Rene Engelhard
... as galaxy got removed with 60413c9800c27f53c1108015b50754b065bc98c6 Change-Id: I4e3ec6db6b57b31e184ec53def5bdb54e064ad21
2018-04-11Fix typosAndrea Gelmini
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-02-27update help ids for accept/reject dialogCaolán McNamara
Change-Id: Iea81698d82be9ecced7b45c0a465459abec88860
2018-02-25update help for warning dialog conversionCaolán McNamara
Change-Id: I8c4bae6f0e43178b2189b3986c9f280dcb76b085
2017-08-07Make xml-lang optional in help DTDOlivier Hallot
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-05-12Move processing of help-specific images to helpcontentKatarina Behrens
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-04-10update help ids for .ui conversionCaolán McNamara
Change-Id: I2dc481b16b2af15682bbd5e504892eff679f8699
2017-04-06update help ids for .ui conversionCaolán McNamara
Change-Id: I945ba9cc0ebce82363ae569da1701c5d01136619
2017-04-05drop unused HIDCaolán McNamara
Change-Id: Ie4d8fc903df85c72247fcd439c0bb34525f67a51
2017-02-24update helpids for .ui spell menu conversionCaolán McNamara
Change-Id: I89488bd75c33fb732e780c5ffc45888815c0615b
2017-02-21update help ids for writer sort/edit comments menu .ui conversionCaolán McNamara
Change-Id: I960d72cd9e7903c9682e84770d8587fd69b4883b
2017-02-21update help ids for calc sort/edit comments menu .ui conversionCaolán McNamara
Change-Id: Ib95596c2063b3edb7ace4d4f9cc1c25c829a00c1
2017-01-30update helpids for .ui conversionCaolán McNamara
Change-Id: I88db8390a188e3d6b60dead17428826eb36a0232
2017-01-30update helpids for .ui conversionCaolán McNamara
Change-Id: I685964b0b111eaa548bba3b880bcbac9cd84a217
2016-12-24Add script to check for broken image referencesGabor Kelemen
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-11-04Create a new image list for 'make postprocess'Katarina Behrens
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-10-30Update after recent dbaccess HID removalMaxim Monastirsky
Change-Id: Ifbbfaf592aca44eb2a2a83e9afef3427aef364b8
2016-10-25drop HID_CTRL_CUSTOMPROPS_YES_NO that does nowhereCaolán McNamara
Change-Id: Ief870688649828c459db277eba15ead976eac68a
2016-10-24update help ids for function panel .ui conversionCaolán McNamara
Change-Id: Ie6623190ca919e7e4cf0d76ba94fd67056a09f3e
2016-10-23sc_ListBox_FID_FUNCTION_BOX_DDLB_FUNC goes nowhereCaolán McNamara
Change-Id: I214fead9feb3a1a248b037b220e6c62a8ac26e05
2016-10-12Script to check the validity of embed tagsGabor Kelemen
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-12remove old dmake related helper filesAndras Timar
Change-Id: I71dc2ef7dfdbcfaf82e4ae3875fef7de62db0e64
2016-10-12remove misleading old READMEAndras Timar
Change-Id: I31da2e48f6080db0949fafe482e237ead8bcaca4
2016-10-12update help ids for impress/draw navigator ui conversionCaolán McNamara
Change-Id: Id0827a67d46232f519726e5851b8bfdd02880e0c
2016-10-11drop unused HID_CALC_TOOLBOX hidCaolán McNamara
Change-Id: I08ba38e7446e62fd712e53a1969e38d8b3fb653a