42 Commits

Author SHA1 Message Date
67624ded17 tdf#162607 disambiguate hid2file.js, InsertFrameInteract
+ Removed bookmark from the wrong help page
+ Reorder text

Change-Id: I51daef7752f8efeaa1736b756040af78a530e4d6
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/175694
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-10-27 14:07:54 +01:00
2ef934fb7a tdf#162607 disambiguate hid2file.js, misc
+ mute bookmarks that are followed by hidden paragraphs
+ remove from options
+ minor refactor

Change-Id: I12da2c0a86a748244e2363fced3c69ac8b3824b9
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/173819
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Jenkins
2024-09-23 15:46:00 +02:00
29e946d0b9 tdf#162607 disambiguate hid2file.js, Style menu
Change-Id: If76719ba4d12902b0420895ca8a592d674fc3d86
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/173758
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Jenkins
2024-09-21 15:01:54 +02:00
eac52efacd Fix some "d'oh! you found a bug!"
Change-Id: I06ef75b8ea07adbbc0c65c1cc45c1a699c162b62
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/173468
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-09-16 19:41:41 +02:00
772d0921f2 tdf#162504 Add links and missing content to Styles Deck help page
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>
2024-09-11 01:35:08 +02:00
44301eb01f tdf#102265 - Impress Format menu update
Change-Id: I5c8725b3ebee70e05b82c86bdfc1a180075034d6
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/171839
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-08-13 23:15:30 +02:00
b719a26a02 Consolidate help pages for the Styles Sidebar deck into one page
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>
2024-07-11 15:37:39 +02:00
b9cb0eb716 Add missing content to help page for Shapes menu in Draw
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>
2024-05-29 17:19:46 +02:00
8f674b960e tdf#102265 More work on Impress format menu (2)
Change-Id: I165dccf3662a98a0d4d945c3541f5d6d24ae8c86
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/166462
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-04-22 17:23:23 +02:00
6984afbbc2 tdf#155875 UI cmds Format Text (cont)
+ Spacing submenu
+ refactoring

Change-Id: I84680060fbae12afb16c160b592984c5f1c578f8
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/162600
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-26 13:17:05 +01:00
e2e86e560d tdf#155877 Fix broken links in Shapes and Page Menu help pages
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>
2024-01-26 00:53:19 +01:00
5c4fdb89c9 tdf#159111 add .uno:PickList to Help
+ 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>
2024-01-22 20:20:44 +01:00
ad8d101fec tdf#155875 UI cmds Format Text (cont)
+ Small Capitals
+ Patch in advance of fixing bugs tdf#149409 and tdf#157358
+ refactoring

Change-Id: Ibfc5bc8d0d9a3474914950232362ef94d2804880
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/162397
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-22 20:20:19 +01:00
724ae7f9e3 tdf#155875 UI cmds Format Text (cont)
+ Sentence case
+ Capitalize Every Word
+ toggle case
+ refactoring

Change-Id: I0fca3dd2b2e272fa3efd0a983aa974fa2d730156
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/162358
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-22 11:54:50 +01:00
3ca8deeebd tdf#155875 UI cmds Format Text (cont)
+ Cycle case
+ Adjustments in Tabbed UI
+ refactoring

Change-Id: Ib1376d32f633aaafab7a3d7d824b1ebd20bd8365
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/162351
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-22 02:18:25 +01:00
1aaf192bce tdf#155875 UI cmds Format Text (cont)
+ refactoring

Change-Id: I9de9b35f9475dc9a8bf780ccf64442a7f287b431
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/162334
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-20 22:36:04 +01:00
aaf279daa4 tdf#155875 UI cmds Format Text
+ refactoring

Change-Id: I4a261055eec547e89e3eddcdfaf876ae323bbb68
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/162323
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-20 09:48:18 +01:00
80ff954f49 tdf#155876 UI cmds Calc-Tools menu (56)
+ Tools menu for Calc, Form _ Share Spreadsheet
+ fixes
+ refactoring

Change-Id: I62b37cf492300cd92ca069496c76a3d3b85c69a4
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161793
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-08 17:11:25 +01:00
847d925a43 tdf#155876 UI cmds Calc-Format menu (25)
+ Style menu for Calc
+ refactoring

Change-Id: Iff39af1811013b12f6d46aebc77fbf9f8b652a4d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/160449
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-12-08 21:41:35 +01:00
b3f86b2bea Mute L10n
Change-Id: Ic74894ba6b6d5dfc0e3e64075d293f0bd2478836
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/157226
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-09-26 17:03:06 +02:00
c82e14e831 tdf#155875 Tab'd UI cmds Writer/Format in Help(21)
+ refactoring
+ Writer Format menu (part 21)
+ rotate or flip submenu

Change-Id: I346f7361eec94a89467d572c898697591b1061fa
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/156155
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-08-27 12:49:44 +02:00
936109a862 tdf#155875 Tab'd UI cmds Writer/Format in Help(15)
+ refactoring
+ Writer Format menu (part 15)
+ color toolbar and color submenu

Change-Id: I86db2cda6c54fcd7610b8ec0befb200642536e36
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/156020
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-08-24 13:33:35 +02:00
9d9886700e tdf#155875 Tab'd UI cmds Writer/Format in Help(14)
+ refactoring
+ Writer Format menu (part 14)
+ UNO commands get a help page of its own.

Change-Id: Iccac500359fece107e91393c3fa38df393a217b8
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/155984
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-08-23 17:13:07 +02:00
e7394856b4 tdf#155875 Tab'd UI cmds Writer/Format in Help(10)
+ refactoring
+ Writer Format menu (part 10)

Change-Id: I0adcec8732aa9c22b4c9e7c2140531a4a3a3a5bc
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/155852
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-08-19 13:06:03 +02:00
1c3257e391 tdf#155193 Fill indexer= when omitted in Help files
Change-Id: I10f3c9e1e698619dcace7c4314f2bd37adf698de
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/155363
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-08-05 11:42:52 +02:00
b2d15fb7c2 tdf#149318 Fix HIDs in Format menu (Draw)
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>
2023-07-27 00:27:41 +02:00
63b4c1e42c tdf#155875 Tab'd UI cmds Writer/Format in Help(1)
+ refactoring
+ Writer Format menu (part 1)

Change-Id: I77096e6d4890e64f6a5e20a33ca518eaa10f302d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/154807
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-07-23 17:47:22 +02:00
bb0eda82d2 tdf#155875 Tab'd UI commands Writer/Insert in Help
+ refactoring
+ Writer Insert menu (part 5)

Change-Id: I8cb0963532936b5b20ede6a36d49d693f3434068
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/154477
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-07-16 00:25:00 +02:00
4346eb1c17 tdf#155875 Tab'd UI commands Writer/Insert in Help
+ refactoring
+ Writer Insert menu (part 2)
+ fix some bad links (D'oh!)

Change-Id: Ic9daa1df531daa2402ed28c6e7482e8e4392443a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/153398
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-06-21 17:06:07 +02:00
c366e74f9d tdf#154996 Add tabbed UI commands in Help page
+ refactoring
+ Add comments submenu

Change-Id: I465ea7c0518272e08f5af403f7502a1d10043b5b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/152632
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-06-06 00:12:39 +02:00
4453c0b2ed convert paragraphs with role="heading" & childelements to → h<level>
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>
2023-03-16 15:18:30 +00:00
e3b49a858d Typo grab bag
Change-Id: I705b56ac8fd84227aaa6a81e57d182dfd797bd62
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/145183
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-01-09 00:53:36 +00:00
7e42394ecb tdf#152323 drop name attribute from <link> elements
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>
2022-12-07 17:39:02 +00:00
1e721d1ea8 Update Calc Tools menu with Forms submenu
Change-Id: I5524b4ba2674167a162133b9ff99677f2f59cfc3
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131607
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-03-15 17:07:41 +01:00
63ad3a0819 Update Calc Insert menu
Many refactors and updates as consequence

Change-Id: I931aed4a2659b7bbf3622dd33a83b2596ae6f32e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/85814
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-12-25 20:48:02 +01:00
7670e91fc5 Misc. typo fixing and removal of pointless tags
Change-Id: I7ecffd0417b7e88b76f44e64911c3d8a2f935104
2019-11-07 04:34:43 -06:00
381a89b6b2 Reword help page on set image background
Change-Id: Iaf7ccb576a8881aa7b4eb42819a78b51b884ca4c
Reviewed-on: https://gerrit.libreoffice.org/78376
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-09-02 12:48:43 +02:00
389745cd7c Reword sentence on save background image
Change-Id: I381d8394b5c58851b5eaf59223a98994494dfb40
Reviewed-on: https://gerrit.libreoffice.org/78375
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-09-02 12:48:09 +02:00
6570689918 Update Draw menus and Contents tree (part)
Change-Id: I556a2cafdd66fc425aa67f821c1a5b676ef22c81
Reviewed-on: https://gerrit.libreoffice.org/77677
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-08-19 00:22:14 +02:00
0f8cc79cae replace duplicated "pentagon" by "hexagon"
Change-Id: Ifcd8441f175040dbcb81dfd4d2a62a7c50b8583b
Reviewed-on: https://gerrit.libreoffice.org/25300
Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk>
Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-05-22 23:38:46 +00:00
581ea6ad44 remove empty paragraph
Change-Id: I4395184bc6107020abdabb542690eb2a5fb9b781
2016-03-10 09:38:18 +01:00
17d37456a2 tdf#92825 Rearrange Writer's insert menu
fix merge conflict

Change-Id: I8c67b61fdc6042291890bf80b47d762dd89d76d4
Reviewed-on: https://gerrit.libreoffice.org/22972
Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk>
Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-03-09 21:50:55 +00:00