Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: Ic2ac1904e2b8b8dc90e41195f53d3fd07da4db3c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/105013
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
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>
|
|
Change-Id: I28353f846a0bc3c5d9bf8350b2228174780f3933
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/100781
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: Ibb73313768ad2252e27d6b85757338fabf0ea1d7
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97414
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: Id219ece5bd20028a4ae3049580cc74e44ef4cc6b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96848
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I1c2e7d4fe447a850a56ccec2879b7e06c1fba3d4
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96152
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: Ie8eafde9e943ec28dfbe9bc9fc282b0f934f9b4a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88868
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: Icbda71715b4c23644699e9963983ab2db7c0074a
Reviewed-on: https://gerrit.libreoffice.org/65103
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
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>
|
|
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>
|
|
feature
Change-Id: Ie80279915e3ee9a123204a729325ca9e119ab6bb
Reviewed-on: https://gerrit.libreoffice.org/57224
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
|
|
... as galaxy got removed with 60413c9800c27f53c1108015b50754b065bc98c6
Change-Id: I4e3ec6db6b57b31e184ec53def5bdb54e064ad21
|
|
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>
|
|
Change-Id: Iea81698d82be9ecced7b45c0a465459abec88860
|
|
Change-Id: I8c4bae6f0e43178b2189b3986c9f280dcb76b085
|
|
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>
|
|
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>
|
|
Change-Id: I2dc481b16b2af15682bbd5e504892eff679f8699
|
|
Change-Id: I945ba9cc0ebce82363ae569da1701c5d01136619
|
|
Change-Id: Ie4d8fc903df85c72247fcd439c0bb34525f67a51
|
|
Change-Id: I89488bd75c33fb732e780c5ffc45888815c0615b
|
|
Change-Id: I960d72cd9e7903c9682e84770d8587fd69b4883b
|
|
Change-Id: Ib95596c2063b3edb7ace4d4f9cc1c25c829a00c1
|
|
Change-Id: I88db8390a188e3d6b60dead17428826eb36a0232
|
|
Change-Id: I685964b0b111eaa548bba3b880bcbac9cd84a217
|
|
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>
|
|
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>
|
|
Change-Id: Ifbbfaf592aca44eb2a2a83e9afef3427aef364b8
|
|
Change-Id: Ief870688649828c459db277eba15ead976eac68a
|
|
Change-Id: Ie6623190ca919e7e4cf0d76ba94fd67056a09f3e
|
|
Change-Id: I214fead9feb3a1a248b037b220e6c62a8ac26e05
|
|
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>
|
|
Change-Id: I71dc2ef7dfdbcfaf82e4ae3875fef7de62db0e64
|
|
Change-Id: I31da2e48f6080db0949fafe482e237ead8bcaca4
|
|
Change-Id: Id0827a67d46232f519726e5851b8bfdd02880e0c
|
|
Change-Id: I08ba38e7446e62fd712e53a1969e38d8b3fb653a
|
|
Change-Id: Ib25355ffe0d58a50eaad7e5aaeb1d10efc101404
|
|
Change-Id: I453cd425ee8b79ad9caf47a791ac8ef4a3676bf4
|
|
Change-Id: I7bc262782089f5603d61028431af5d6e378891eb
|
|
Change-Id: I9d712222a91bc1c9fbef6c4bd92c10d46f59090c
|
|
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>
|