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>
+ Refactor, simplification of <switch>
+ Removed duplicated hid bookmark for Contents
+ Update icons and <alt> text
+ added some of the comments of tdf#178755
Change-Id: Ifaba80d212828e47d99275a9b0a1681eb3bc3430
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136105
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
tdf#149018 changed "Object" to "Ole Object" in the Insert menu
and the Edit menu. This patch updates the relevant command
sequences, and uses <menuitem> on changed sequences.
Also updates the help pages for OLE Objects, including
refactoring to <h1>,<h2>, adding variables or sections for
embedding, and changing some items to embeds.
Change-Id: I6931305d3576458f3f0dbec59a4ecbe00cdcf68a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/135009
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
The content of the guide page "Defining Line Ends"
(shared/guide/lineend_define.xhp) has not been updated since
its initial checkin in 2004. This patch updates the relevant
menu commands, aligns the description with the current UI,
adds a little more precision in what gets added as an arrowhead,
and refactor to <h1> and <menuitem>.
Also, add a <relatedtopics> section to the "Arrow Styles" help page
(shared/01/05200300.xhp) with an embedded link to this guide page.
Change-Id: I3e619aadddb65b77cc7216074d18c4eb138b1774
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/135393
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
As color, hatching and gradient palettes are now handled by
extensions, this patch include:
- Refactor of xhp tags
- move palette_file from simpress/ to shared/
- adjust tree files
- add entry to shared/guide tree
Change-Id: Ied501dd86431d26d09ed91249c22f422620b16d6
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/135096
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
This reverts commit 31f0c48d3bc30742d49af32ac9686d71f8aa7215, because
it broke the build, presumably because it forgot to add
helpcontent2/source/text/shared/menu/forms.xhp as a new file.
Change-Id: Ie51a7683f254b0439bbbc2e563ba943b8f98e02a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131486
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Which is available since version 6.3. It is the proper console
application on Windows, and thus will correctly show the console
output, and return the program exit code, unlike soffice.exe.
Change-Id: Iff3963489492fe2b8bad40bcfe259a40b3f38fe3
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/130250
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
- refresh command was removed (tdf#146937), so remove from help
+ add clarification about templates in relation to categories
+ add "New Category" option
+ add explanations about conditional items in Manage dropdown menu
Change-Id: I1cb7757b0a8b0546989c8a6bfe3e8a4ef1b196a0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129619
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
- update position of "open" button
- add icons for "open","edit","set default","move","delete","rename"
- correction for "listview" icon
- update labels for "import", "export", and "extension" icons
- correction about editing built-in templates
- move "move" and "export" entries to "individual templates"
- correct descriptions for move, import and export, because they are
no longer buttons, but part of a context or dropdown menu.
- move "tip" about move and export.
- move general "tip" about templates from bottom toward top
- adjust <h2> to <h3> for "move", "import", "export", "extension"
- update instructions in Example 2
Change-Id: I18a42999103b10d55cebafd51a9ed2c2e0efb87d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128345
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
+ Effective changes are in the <bookmark> at the top
+ Uncommon bookmark HID, svtools/ vs svt/
+ Refactor of the file
Change-Id: I6f2c73fb3912d271e8b496bcdb6edfa0e4dc2eeb
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128324
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Also, I removed the Wikipedia link. Besides having grammatical problems,
I don’t think these links are a fit for our documentation.
We would do a bigger service for our readers having all the needed
information right into our pages, where we can control it better.
Change-Id: Iaf96727ae5127ad622a2887aeea4c81b262d4ede