All changes are tested with own builds on different builddirs (Windows)
Main:
- switch to new syntax
- check menu path(s)
Further:
- removed " xml-lang="en-US""
- removed empty lines
- new indentations for better readability
Change-Id: Ib99e350c10d3325dd3f029fb9da6011f5fad3bb7
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/151385
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
i.e. without child elements and also drop the language that was changed
to implied in the dtd previously/defaults to en-US unless specified.
This change doesn't affect translations, only the content of the
paragraph/headings is extracted.
done with:
perl -CSD -pi -e 'BEGIN {$base = qr/role="heading"|level="(?<level>\d+)"|(?<id>id="[^"]+")/;} s#<paragraph(((\s+($base)){3})|(\s+($base|xml-lang="en-US")){4})>(?<body>[^<]+)</paragraph>#<h$+{level} $+{id}>$+{body}</h$+{level}>#g'
(all permutations re order of attributes, and xml-lang="en-US" being
optional / implied)
Change-Id: I365a2bb983a3969af9390753fce7b7f3597c7b8b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148795
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
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>
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>
New labels were given to some controls on the Options tab for
Image, Frame, and OLE Object in tdf#149010 and tdf#148941.
This patch updates the relevant help page (the Options tab)
in the Properties dialog to reflect those changes.
Because some of the controls in the Options tab also appear
in the Descriptions dialog, and UI changes were made in that
dialog (tdf#148941), then the help page for that dialog is
updated as part of this patch.
Have also updated some access commands to OLE Object, which
were changed in tdf#149018
swriter/01/05060900.xhp (Options tab)
* "Names"-> "Accessibility" (tdf#149010)
and corrections to description
+ added an <embed> from the Description dialog page to provide
the new control label
"Alternate (Text Only)" -> "Text Alternative" (tdf#148941)
and the "Description" control, as well as the corrections
to the control descriptions.
+ add "Sequences" section heading, in anticipation of tdf#149010
(comment 7)
* corrections made to descriptions of "Previous Link" and "Next Link"
shared/01/05190100.xhp (Description dialog)
* Corrections made to Description dialog page, and control
descriptions embedded in the Options tab page. These corrections
were promised in 61b4b76000bd5adca504df0966ecef3410765ab3.
* "Title" -> "Text Alternative" (tdf#148941)
and corrections to description
+ added separate <section>s for "Text Alternative" and "Description"
so that they can be embedded in Options tab. By keeping them
separate, it is possible to move their position in the embedded
file or use separately, if necessary.
+ add <relatedtopics> and link to Options tab, so show an alternative
way to access the Text Alternative and Description fields.
simpress/guide/table_insert.xhp
* move two bookmarks out of <ol>, because it disturbed formatting.
* "Insert - Object" -> "Insert - OLE Object"
* refactor changed items to <menuitem>
* refactor to <h1>,<h2>,<note>
shared/01/04150000.xhp (OLE Object menu)
* "Object" -> "OLE Object"
* corrections to menu contents
* rename German id
swriter/00/00000405.xhp (access for Options)
+ added "right-click" instructions to howtoget
shared/00/00040502.xhp (access for Description)
+ added menu instructions for howtoget
* make corrections in what objects can be accessed by context menu
shared/00/00000404.xhp
* "Object" -> "OLE Object" for menu access
* "Formula" -> "Formula Object" for menu access
* "Insert - Object - Chart" -> "Insert - Chart" for menu access
* refactor changed items to <menuitem>
* rename German id
Change-Id: I1ddeb8d532b81f22eba2b1e480759775ff96969f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134191
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
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>
• Removed some hardcoded product names
• Updated color palettes referred to in a string
• Updated an option’s name I missed in d599028d4f126c8a2badc3787e3fdf8277219c96
because I didn’t expect the Help would be inconsistent with the UI when searching.
Change-Id: I75a33ae802e1baa01c99d274b8418dfe049d39c6
This patch also adds information about the option "Delete unused backgrounds" that is also available in the referenced dialog.
Change-Id: I25ffea0acd456174181176375e1ab5075e2a17f7
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121771
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Although the 2 modules share a common kernel, the nomeclature,
menus and master pages/slides are different.
Change-Id: Id4282b2ebaf48a57b753ff0cefa228c3f3bdc644
Reviewed-on: https://gerrit.libreoffice.org/73578
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>