get rid of xml-lang="en-US"
improved code indentation and removed empty lines for better readability
checked menu paths
(leave 000000413.xhp mostly untouched for now,
should be moved to Draw anyway, Impress doesn't have a Shape menu)
added alt text to icon where missing.
Change-Id: If4aaf69dd21544c073fbb42ea336e6da534866ea
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/151621
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
All changes are tested with own builds on different builddirs (Windows)
Main:
- add alt text to icon(s)
- moved paragraphs to where they belongs
Further:
- removed " xml-lang="en-US""
- removed empty lines
- new indentations for better readability
- inline <tablecell> for better readability
Change-Id: I0dde6eb6f23a77c215d26dd6129cac100029bc13
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/147537
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
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>
and also drop the language that was changed to implied 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'
and manually undoing the one that uses <sup>in body that's not valid
according to the dtd in the h tags.
Change-Id: Ibd4aed3157ed168cd5005161575672a392e59202
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148797
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>
usable on the Presenter Console and the presentation canvas.
Also the one added in c11b6b64f63b3c7f8f8bb0f1857a9c7d8748ba9c
Change-Id: I55a392730ca24f92cac1e11e1f3c2ef1771a00d3
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/137240
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Also put toolbars in Draw and Impress contents in alphabetical order
Refactor shared Table Bar to <h1>,<h2>, 1cm icon
Change-Id: I2a1ae72c3c940a94e6f81d0a4374d211600d9451
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136649
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>
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>