This patch adds the target HIDs for all toolbars that currently have help pages.
The exceptions are listed below (they were not fixed because they do not have help pages of their own)
- 3D Settings
- Media Playback
Change-Id: I24077431495b2bf98ae4be982734c07a11734b7f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/154965
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
For some reason, possibly related to tdf#144859,
WRITER is not included in <default>, even though it should.
Patch repeats the <embeds> found in <default> for Writer,
so that they will also appear with WRITER in help.
Change-Id: I05300853717dcc555645cbf98f8089f70ce3e779
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136712
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
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>
Select Text was wrongly linking to Edit mode page. The hyperlink is now removed. Also is impossible to be in Edit mode and active Edit mode, so it can't be activate or deactivate edit mode.
Change-Id: I1d759b3962692c2dcec181267045d15f934325ec
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143728
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
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>
This patch is a general review and update of commands to
optimize the size of tables in Writer, Draw, and Impress.
Thanks to Justin Luth for essential help in making accurate
descriptions of these commands. It also started to improve
the maintenance by moving the access commands and icon tables
from diverse places to a shared/00 folder, introducing variables
and sections that would allow reusing relevant sequences.
shared/02/04210000.xhp (Optimize Size menu)
* add two missing controls as embeds from swriter/main0110.xhp
* add icon tables for the two controls
* correction to control name
* modify switch to include Draw and Impress
* put controls in same order as dropdown menu
+ add variable to h1, so page can be embedded in related topics
* update to renamed ids
* change image size to 1cm
* refactor to <h1>,<h2>
shared/00/00040500.xhp
+ add <section> to "Open Optimize Size..." (i.e., for opening
dropdown menu in Table bar), so it can be embedded into each
page for the individual controls.
* use access controls from swriter/00/00000405.xhp, plus add
appl-switch
* update access for Table menu
swriter/00/00000405.xhp (Access commands for Size)
* move all relevant access commands to shared/00/00040500.xhp
swriter/01/05110000.xhp (Row)
* correction to two command names
* update to renamed id
* refactor to <h1>,<h2>
swriter/01/05120200.xhp (Optimal Column Width)
* update command name
+ add <relatedtopics> with two links
* rename German id
* refactor to <h1>
swriter/01/05110200.xhp (Optimal Row Height)
* update command name
* rename German id
+ add <relatedtopics> with two links
* refactor to <h1>,<note>
shared/01/05120600.xhp (Distribute Columns Equally)
* corrections to description of the command operation
+ additional information about how to select
+ add "right-click" instructions to "howtoget"
+ add link to "Optimize Size" menu and "Table" bar
+ add <relatedtopics> with two links
* rename German id
* refactor to <h1>, changed paragraphs to <menuitem>
* image size to 1cm
shared/01/05110600m.xhp (Distribute Rows Equally)
+ add link to "Optimize Size" menu
+ add <relatedtopics> with two links
* rename German id
* refactor to <h1>, changed paragraphs to <menuitem>
* image size to 1cm
swriter/main0110.xhp (Table menu page)
* update renamed ids
+ add sections to text in Minimal Row Height
and Minimal Column Width, so that they
can be embedded into "Optimize Size"
menu page.
swriter/guide/table_sizing.xhp
+ add links to "Optimize Size" and "Table" bar in text.
+ add "Optimize Size" to Related Topics
* refactor to <note>,<tip>,<relatedtopics>
Change-Id: I9b84ccb2cd4d9b4e221f82ee4654e95553f3d188
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/135002
Tested-by: Jenkins
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
shared/01/05260000.xhp (Anchor)
* corrected entries for "to page" and "to character"
- removed double presentation of "Anchor" icon
+ add <relatedtopics> for Writer, with link to guide page
on positioning objects
- moved "note" on "Frame", which has been present since
initial checkin in 2004, to after the option "To Frame"
There is nothing special or unusual about anchoring to frame
that needs attention. Maybe this note should be deleted, but
have left it for now.
+ added variable to <h1> so heading and link can be embedded
* refactor to <h1>,<note>
shared/01/05260100.xhp (To Page)
* elaborate explanation of this option
+ add related topics section and links
* refactor to <h1>
* update renamed German id
shared/01/05260200.xhp (To Paragraph)
+ add information about what positioning regions can be used.
+ add related topics section and links
* refactor to <h1>
* update renamed German id
shared/01/05260300.xhp (To Character)
- remove incorrect limitation
* generalize the tip from ”image” to include frame and OLE object
+ add related topics section and links
* refactor to <h1>
* update renamed German id
shared/01/05260400.xhp (To Cell)
+ add related topics section and links
* refactor to <h1>
* update renamed German id
shared/01/05260500.xhp (To Frame)
+ add related topics section and links
* refactor to <h1>
* update renamed German id
shared/01/05260600.xhp (As Character)
* correction to what changes the height of the current line
+ add related topics section and links
* refactor to <h1>
* update renamed German id
shared/02/03200000.xhp (Change Anchor)
* Update command name
* refactor to <h1>,<menuitem>
swriter/guide/anchor_object.xhp
* make explanation more general than image
+ adding headings for ”Moving an Anchor” and ”Changing an Anchor”
+ added section ids so these can be embedded elsewhere.
* refactor to <h1>
shared/00/00040501.xhp
+ add additional toolbars that have Anchor icon, and make
an switchinline because Calc and Writer are different
+ add context menu access
+ indicated need to select an object before using command
* rename German ids
Change-Id: I43881be154163f71ca188a5446385e2dc5805f1e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134786
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
tdf#144493 (008cfd5980f31c9e01b5cdbede33631d66f2fb56) changed command
names that are found in the Bullets and Numbering toolbar (and menus
in Writer, Draw, Impress).
tdf#147107 (3b222bcd75d57db404cd2ed5dc97a5c492c28060) made
adjustments to some of the command names changed for tdf#144493.
This patch addresses the consequences of these name changes for the
Bullet and Numbering toolbar in Writer, where the changed commands
also appear in the Format menu UI. Meanwhile, some of the help pages
for the changed commands are shared with Draw and Impress, so any
help file that needed to be changed for Writer was also updated for
Draw and Impress. In addition to updating the changes in the command
names, the descriptions of the commands were evaluated and corrected
when necessary.
text/swriter/main0206.xhp (B&N Bar)
*reorder controls on help page to correspond to order on toolbar
text/shared/02/06100000.xhp (Move Item Up)
+ appl-inline switch for <h1> and icon name to distinguish
Writer from the other modules
* adjustments and corrections in descriptions
+ add appl-switch for mentioning toolbar and shortcut keys
+ add link to relevant toolbar
* correction in command sequence for shortcut keys for Writer
and Impress.
* refactor to <keycode>,<menuitem>
text/shared/02/06110000.xhp (Move Item Down)
+ appl-inline switch for <h1> and icon name to distinguish
Writer from the other modules
* adjustments and corrections in descriptions
+ add appl-switch for mentioning toolbar and shortcut keys
+ add link to relevant toolbar
* correction in command sequence for shortcut keys for Writer
and Impress.
* refactor to <keycode>,<menuitem>
text/shared/02/06120000.xhp (Move Item Up with Subpoints)
* correct the description, with separate explanations for
list paragraphs and chapter headings, and mention of
multiple selection.
* update command name
* change .png to .svg
text/shared/02/06130000.xhp (Move Item Down with Subpoints)
* correct the description, with separate explanations for
list paragraphs and chapter headings, and mention of
multiple selection.
* update command name
* change .png to .svg
text/shared/02/06050000.xhp (Demote Outline Level)
* simplify the appl-inline switch for <h1>
* correct the description
+ add separate explanations for chapter headings
and list paragraphs for Writer
+ add link to B&N toolbar
+ add shortcut key info for Impress
* refactor to <menuitem>
text/shared/02/06060000.xhp (Promote Outline Level)
* simplify the appl-inline switch for <h1>
* correct the description
+ add separate explanations for chapter headings
and list paragraphs for Writer
+ add link to B&N toolbar
+ add shortcut key info for Impress
* refactor to <menuitem>
text/swriter/02/06070000.xhp (Demote Outline Level with Subpoints)
* correct the description
* update command and icon name
* refactor to <h1>
* change .png to .svg
* change icon size to 1cm
- remove <colspan="" rowspan="">
text/swriter/02/06080000.xhp (Promote Outline Level with Subpoints)
* correct the description
* update command and icon name
* refactor to <h1>
* change .png to .svg
* change icon size to 1cm
- remove <colspan="" rowspan="">
Change-Id: Iaedfebe4f260658bb1f5821ef279846eba22415a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132870
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
Basic problem was that the wrong icon was shown for Print Directly
and wrong label was shown for the Print icon. The following changes
correct these problems.
text/shared/00/00000401.xhp
* correction to Print icon label
text/shared/02/01110000.xhp
*refactor to <h1>
*add correct icon table for print directly, with section label
text/shared/main0201.xhp
*change the icon embed to the newly added print directly
Change-Id: I7a094f016c5e30881abee3db5d13589f1512ba36
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132611
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
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>