In source/text/shared/01/styles.xhp
- Removed paragraph about the context menu, because it is now covered in
more detail below.
- Added a link to the "Show Previews" section to make navigation easier.
- Added help for the "Show Previews" widget.
- Added help for the Styles Window and its context menu.
- Added help for the Filter combo box.
- Added the Spotlight Styles page to Related Topics
Moved source/text/swriter/01/EditStyle.xhp to
source/text/shared/01/edit_style.xhp
- Updated content to apply to all apps, instead of just Writer. Most of
the page is embedded, and the few native elements needed updating, so it
was easier just to move the file.
- Embedded the description in source/text/shared/01/new_style.xhp
Created the following new pages for individual context menu options in
the Styles Window and embedded the descriptions in
source/text/shared/01/styles.xhp
- source/text/shared/01/delete_style.xhp
- source/text/shared/01/new_style.xhp
Updated AllLangHelp_shared.mk and AllLangHelp_swriter.mk to reflect new
and deleted files.
In source/text/shared/00/00040500.xhp
- Added Howtoget instructions for accessing Edit Styles/General Tab from
the Keyboad and Sidebar
- Added variable and section tags so the page title and descriptin cna
be embedded in other pages in:
- source/text/shared/01/02010000.xhp
- source/text/shared/01/05040100.xhp
- In source/text/swriter/01/05130000.xhp
In - source/text/shared/01/02010000.xhp
- Added a switchinline so that the page will show a different title for
Calc
In source/text/swriter/01/SpotlightMenu.xhp
- Added the Spotlight Styles guide to the Related Topics section.
In source/text/swriter/guide/spotlight_styles.xhp
- Added variable tags to the page description can be embedded in other
pages.
- Added menubar instructions to howtoget
- Added variable Tags to the
- Added the help pages for Spotlight Menu and Styles Deck to the Related
Topics section.
Change-Id: I320883415c5ad4e1f2c21fc9c6cebc35c8e07bbb
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/173081
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Create new page text/shared/01/styles.xhp
Delete pages
- text/scalc/01/05100000.xhp
- text/simpress/01/05100000.xhp
- text/swriter/01/05140000.xhp
In AllLangHelp_scalc
- Remove reference to text/scalc/01/05100000.xhp
In AllLangHelp_shared
- Add entry for text/shared/01/styles.xhp
In AllLangHelp_simpress
- Remove reference to text/simpress/01/05100000.xhp
In AllLangHelp_swriter.mk
- Remove reference to text/simpress/01/05100000.xhp
In source/text/scalc/01/cell_styles.xhp
- Add variable tags to H1 to allow the page to be more easily linked from other pages.
In text/swriter/01/05130000.xhp
- Add variable and link tags to H1 so that the page can be more easily linked from other pages.
Replace links to deleted page text/scalc/01/05100000.xhp with links to text/shared/01/styles.xhp in:
- text/scalc/01/05120000.xhp
- text/scalc/main0103.xhp
- text/shared/01/05140100.xhp
- text/shared/02/01230000.xhp
Replace links to deleted page text/simpress/01/05100000.xhp with links to text/shared/01/styles.xhp in:
- text/sdraw/main0103.xhp
- text/sdraw/main_format.xhp
- text/shared/01/05140100.xhp
- text/shared/02/01230000.xhp
- text/simpress/guide/masterpage.xhp
- text/simpress/main0103.xhp
Replace links to deleted page text/swriter/01/05140000.xhp with links to text/shared/01/styles.xhp in:
- text/shared/01/05030000.xhp
- text/shared/01/05040100.xhp
- text/shared/01/05060000.xhp
- text/shared/02/02010000.xhp
- text/shared/menu/style_menu.xhp
- text/swriter/01/05030800.xhp
- text/swriter/01/05130000.xhp
- text/swriter/01/05130004.xhp
- text/swriter/main0103.xhp
- text/swriter/main0503.xhp
Change-Id: I20fc2a142107b3984abf1491459f3f485cd01f46
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/169950
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
In AllLangHelp_sdraw.mk
- Add new entries for
- text/sdraw/01/equalize_height.xhp
- text/sdraw/01/equalize_width.xhp
Create new page text/sdraw/01/equalize_height.xhp for Equalize Height menu option
Create new page text/sdraw/01/equalize_width.xhp for Equalize Width menu option
In source/text/sdraw/01/consolidatetext.xhp
- Change H1 from "Text Box Consolidation" to "Consolidate Text" to reflect the current menu option.
In source/text/sdraw/main_shape.xhp
- Added a HID bookmart so that F1 will open the correct help page for the Shape menu
- Added embed links to content describing the options listed in the Shape menu
In text/shared/02/01140000.xhp
- Added section tags for each function described so that content can be easily embedded in other help pages.
In text/shared/02/05090000.xhp
- Added variable tags so the page can easily be linked from other help pages
In text/shared/02/05110000.xhp
- Added variable tags so the page can easily be linked from other help pages
In text/shared/menu/insert_shape.xhp
- Added appliction switch tags to display a different H1 for Draw
- Added application switch tags and additional menu options for Draw
In text/simpress/01/02150000.xhp
- Added section, variable and link tags to allow the page to easily be linked from other pages
In text/simpress/02/10120000.xhp
- Added section, variable and link tags to allow the page to easily be linked from other pages
Change-Id: I35f3cf6b8948527a333979606b871bd45c87761d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/168069
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Correct typo in /text/simpress/02/10080000.xhp so that pressing F1 opens the correct help page for Shapes > Insert > Curves and Polygons > Polygon (45 degree).
Add HID bookmark in /text/shared/02/blockarrows.xhp so that pressing f1 opens the correct help page for Shapes > Insert > Block Arrows > Up and Down Arrow Callout.
Add correct HID bookmark in /text/shared/menu/save_image.xhp so that pressing F1 opens the correct help page for Page > Save Background Image.
Add HID bookmark to /text/simpress/01/13050000.xhp so that pressing F1 opens the correct help page for Shapes > Convert.
Change-Id: I0647ae81941541923cda19e4f49538ff1159c4fe
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/162531
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
+ File menu command is now .uno:PickList and not .uno:FileMenu anymore
+ .uno:PickList is common to all modules
+ Refactor file menu into one Help page, with module switch
+ Adjust tree
+ remove old file menus help page main0101.xhp
Change-Id: I7fc9d07fdcca1d4a3062e656f81a0bafd6bafa44
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/162415
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
This patch fixes the missing HIDs of menu entries that have submenus in Draw's "Format" menu.
The help pages of two missing entries are also created.
Change-Id: Ia64c4a8a714a6eac51bace2718e464aaf7dc3103
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/154950
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>
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>