36 Commits

Author SHA1 Message Date
b2bed34447 Take dark mode into account with selection pseudo-element
Change-Id: Id35bb20cfd939de0dc11c3cead4a43ec0ee86888
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/184906
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
(cherry picked from commit 6f5efb304cd9ed27b35dacac846781061edc1b16)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/184933
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2025-05-03 15:04:23 +02:00
d2b15f72d4 Update teasing vide in online help
Change-Id: I30db73a88b859a3bf79ed0d6322fc2bfcf7c0321
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/181791
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Jenkins
(cherry picked from commit 179d8999b71b3aec777a556a627f7cc24b2d73cc)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/181793
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2025-02-17 17:32:09 +01:00
dd1db6ba28 Update CSS for help pages in branch
Change-Id: Ic59dc33aa5c8a297c8b090e330cc430d684bb0a6
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/181270
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2025-02-08 08:09:15 +01:00
34bb86d3fa Remove module colors from Index, plus...
+ Set Index module font color to heading-color
+ Darken headings color for A11Y
+ Set Contents font to bold.

Change-Id: If4708e1ac8e50f125787a0cded63588be895b4b9
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180475
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
(cherry picked from commit fb5ddc28e542ab1963a7e3fc5c3352a72cc86b22)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180493
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2025-02-06 06:40:44 +01:00
af1454f2c8 Update and fix xapian search in online help pages
+ Adjust div's in grid after changes in default.css
+ Removed language dropdown
+ Add link to bookshelf on bottom
+ Removed index based on bookmarks-value
+ Removed scripts and css not used (prism, index-related)

Change-Id: Ic1ebcfb35650ecb8a5beec81eec7ce31fa5a9d1d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180599
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit 52a90697abc6127f1c9210002cd42280025fa9f4)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180601
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2025-02-05 23:23:08 +01:00
9b807f92a6 Clean up and optimise CSS
Prefer readability over compactness. Repetition is fine, if it
helps with readability.

Took some tips from this validator: https://stylelint.io/demo/

Change-Id: I36108e2f063c848182503ea469d146bb00099a75
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180438
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit fae33ebe38ef8314058d90831f2b6c933feb4e8e)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180453
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
2025-01-18 17:51:29 +01:00
3d3e92d81a Center everything with 1440px width
Change-Id: I4a97df011b58c70f5ff8ef73433d8f6bd325d371
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180297
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit d9104f52a1f7e3b2eee958544659cabb6808cd3c)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180425
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2025-01-18 10:42:21 +01:00
17d9c7d53c Center <body> in screen for Help pages
Change-Id: I60f45842ba7c8a86afd0714b72292a9bbf5bcaf2
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180352
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Jenkins
(cherry picked from commit de99260dbb43ec2b4676b2daa31cc8499be4e11b)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180429
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2025-01-18 10:30:23 +01:00
8b4dde5bb7 Wrap book icons for mobile-friendliness
Change-Id: I2475c2c65883f6c1c12c3d762d472fc5f83764a2
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180344
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit fc3b49ad5d6547412773419ce91fe2b1f0509c25)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180424
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2025-01-18 09:52:13 +01:00
841284185d tdf#148016 Add dark mode to Help pages
+ First trial to implement a dark mode
+ Mode follows browser settings
+ removed modules color foo in help2.js

Change-Id: I0dfc62f832c3f5d406ac8d92d530eac382c4dc62
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180294
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit bd6c0ba10789ecf74cb220cf4e31cd3d6a66a954)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180423
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2025-01-18 09:51:52 +01:00
21e8ede653 Fix "Contents" heading color
Change-Id: Ic6c42902bd554d365626793dd571607acb2c6433
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180418
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit 186169d9bd0f713a780e5aae2d8ac71916fb3a60)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180426
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2025-01-18 09:51:32 +01:00
2cdea9c17a Simpler solution for no javascript browsers.
Avoid previous flashing warning

Special thanks to Christian Lohmaier for the tip.

Change-Id: Iead34d14f12c5f670645adbcf28f4ab96d625477
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180024
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit 8e9d43a7d1d12b7e9dcfbf8b54b8d50b0cba7b78)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180074
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2025-01-10 15:13:46 +01:00
f88fd35d19 Warn when javascript is not enabled in browser
+ A big red warning displays on top of pages when JS is disabled in browser.
+ otherwise JS switch warning to display = none.
+ Fast/instantaneous in Firefox
+ Some delay (flash) experienced with Brave and Edge in Linux (Chrome engines).

Change-Id: I2b1792e87520b3f4e0bf93a6e0430376587b4afb
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/179578
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
(cherry picked from commit 2cc2c9d5a7a9739d47b3162e0e10102b42e9cc70)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/179590
2025-01-10 15:04:55 +01:00
9eb92fc678 tdf#137419 Remove Data Provider help page
Change-Id: I898f9165a27b009a379a1c3d59886981b6f9f2d5
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/179810
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
(cherry picked from commit 4c5a09f2ad9c2396860dc89553e4a6b31f2e0896)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/179813
2025-01-06 05:38:50 +01:00
31b37eb545 Mute L10n in BASIC examples
Change-Id: I9feccab8811cfa728310e96eb1e7a78de452a1eb
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/179591
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit a63d9b986914704c1ad027660f7733e722980560)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/179593
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2025-01-01 18:48:13 +01:00
ad6a8eca79 tdf#163132 Adjust Impress Remote guide.
as follow up of https://gerrit.libreoffice.org/c/help/+/171958

Change-Id: I2f6cb97fab60d463f127663ab3f9a6ce36a8a12c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178919
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit 053504317ac7f4c205f540d6871c9389dd6b9240)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178961
2024-12-21 10:04:47 +01:00
f6df909f54 Fix bad characters
Change-Id: I3b8a1f8188d2b88fb8409df4a1e602102c4a3381
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178960
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit e4f4fd964633268c3e52cb2b4cc32a11000ad148)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178989
2024-12-21 09:55:10 +01:00
a4e9dae48e Fix grammar
Change-Id: I0843f2bf289d7950feaf6fdccf3e0f5e62a368f0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178965
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Jenkins
(cherry picked from commit 6ecda866708ab53144cffd8ab3be134b949f3394)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178988
2024-12-21 09:54:48 +01:00
a6a06f82cb Mute L10N when <embedvar> is a singleton in text
+ some refactor

Change-Id: I071758f139a7f6e9ab91ca277a420c8283b1eae0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178833
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit 9bbf0db1682b2cd6b749e0fbd9a72606277cafe5)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178834
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-12-19 23:15:51 +01:00
ae02c3ab71 tdf#124954 Improve Help about cache spreedsheet formula
Change-Id: If9fdd7fa699afd9735b98fb42def1c1700556591
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178535
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Jenkins
(cherry picked from commit 6c4a6bbc4f688feeabeb307c0dea1ef0c8f2baab)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178716
2024-12-18 16:45:24 +01:00
e7c95257e8 Typo
Change-Id: I9ffdecb64a9a6adec25e6516615b65ea79e1e788
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178684
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit 7001361d995b74c7ea2bb334e442797e57feaea7)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178699
2024-12-18 16:45:02 +01:00
390cd86702 Typos
Change-Id: I19aac6bc535a8ca337fe11247cb2823db64eb7a6
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178692
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit 46b1c476e1b92773ea63f3e74460acb1cf5792a5)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178698
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-12-18 08:59:26 +01:00
62891111bf Mute L10N in Navigator context help page (IV)
+ Sort panel <-> deck terminology error, according to (1)
+ Changes in experimental mode warning, replacing explicit text by embeded one.

(1) https://wiki.documentfoundation.org/File:LO-HIG_SideeBar-Terminology.png

Change-Id: I8d7d4e899dadda56c2ef1b6290e74b09f7411f0b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178527
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Jenkins
(cherry picked from commit f25a5c106d4188ff4629e00b832f2cdfe891544b)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178529
2024-12-16 09:43:32 +01:00
844902198f Mute L10N in Navigator context help page (III)
Change-Id: Ic4c791f5f7f59376b548caa476cbc7b635e5e1ac
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178523
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
(cherry picked from commit 09cb07cdb52fd8ea1f73685476580cf001a8b927)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178526
2024-12-15 22:59:24 +01:00
4af842167a Mute L10N in Navigator context help page (II)
Change-Id: I90c53621efef6bdfd47c68a57d285daf3ecb7ba7
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178440
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit 7407423c52548eeed98be9ebf00f20a823b1ac29)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178441
2024-12-13 21:10:18 +01:00
0081b5ffcc tdf#161917 Update option label to Highlight cell in edit mode
Change-Id: Ic1e602a254e4d9e51183d9d68274059a1374d09c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178332
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
(cherry picked from commit 267fb2534f2d50eeb63cc98fdb6c4d3d1490cfb2)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178341
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-12-12 06:09:15 +01:00
db1c274500 Fix localization in bookmark
Change-Id: I17fb59061e3b4b0ee6e9ac14f6ddce3539ff0010
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178256
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit 5629180ff0a8e16137e308b00f9674858473b744)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178257
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-12-11 12:03:55 +01:00
18a436b284 Precision in ScriptForge.Session.RunApplication() method
Change-Id: Iade10670dedb638dd36e1b32529b856b44676afe
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178144
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
(cherry picked from commit faec730e559a925e7b48132a91f3b0faa1775953)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178244
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-12-11 11:11:28 +01:00
07a23b2519 Python typing hints are available for Scriptforge services
Change-Id: I0e5bcd7f39d4de7913080648cb6770e83253207c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178131
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
(cherry picked from commit 811ee5d92e702abd73cb555f979f1d54a19a2389)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178243
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-12-10 16:37:01 +01:00
fc527bd75b tdf#131332: Replace custom date formats with ISO 8601
Change-Id: Idf08d44bb5287da44b281820e73e08c58e154f99
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178163
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit 22c587639a5c06e9a61a390b4ea18da0cb0c0b68)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178184
2024-12-10 00:13:48 +01:00
c67242bffd tdf#156317 Explain: Use superordinate object settings
Change-Id: I24f55c9a28acb53d1f9af431e0d215a4a18d8637
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178059
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Jenkins
(cherry picked from commit d1e72401e01866e317fa763f914d15ea9a277372)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178183
2024-12-10 00:13:21 +01:00
86da4a6e1f tdf#162504 Create help page for Alignment Sidebar panel
Create new file source/text/scalc/01/sidebar_alignment.xhp to explain
the features of the Alignment panel of the Properties sidebar.

In AllLangHelp_scalc.mk
- Add new file source/text/scalc/01/sidebar_alignment.xhp to the make
file
- Change the file path for
source/text/scalc/01/sidebar_number_format.xhp to show amended file
location.

In source/text/shared/01/05020700.xhp
- Add variable tag so that the file can easily be linked from other help
pages.

In source/text/shared/01/05100100.xhp
- Add section tags so that content can be easily embedded in other
pages.

In source/text/shared/01/05340300.xhp
- Add section and variable tags so that content can be easily embedded
in other pages.
- Reformat the "reference_edge" section so that each option has its own
heading. This improves readability and consistency and allows the same
content to be re-used in the help page for the Alignment Sidebar panel.

In source/text/shared/01/LeftToRight.xhp
- Add section tags so that content can be easily embedded in other
pages.

In source/text/shared/01/RightToLeft.xhp
- Add section tags so that content can be easily embedded in other
pages.

In source/text/scalc/sidebar_number_format.xhp
- Moved file to source/text/scalc/01/sidebar_number_format.xhp

In source/text/shared/01/sidebar_properties.xhp
- Embed description of Alignment sidebar panel
- Update file path for source/text/scalc/01/sidebar_number_format.xhp
- Add loc_false tags for embedded variables

Change-Id: Id9c232c18bab1cfab99eec83e796f8db25681898
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/177707
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Jenkins
(cherry picked from commit f723cce6039b88b82380fbc8ebe9a2e18eaf3fd4)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178182
2024-12-10 00:13:02 +01:00
fc7580e1f1 tdf#155193 No indexing when indexer="excluded" in <topic>
Use omindex property of HTML indexing. See

https://xapian.org/docs/omega/overview.html

Change-Id: I9737d0111860da875e09f27814adf7b14104919b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178156
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit 635f1dc3de1c1af8b6a99205d2237c0650084bea)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178179
2024-12-09 22:21:54 +01:00
6bf0a0298f Add Tagalog to online help dropdown list
Change-Id: Ie22b89529b3937a36806f87b3e9a049a14bc85b9
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178120
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
(cherry picked from commit 2fd0b5ff3a8599ee49a04b36c9203a03e6295f54)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178121
2024-12-09 17:06:39 +01:00
700dad3c8e tdf#161502 Update label Structure to Content in Function Wizard help
Change-Id: I62322b720b0ec54c54268d9cb6a0f2d36b7c8d94
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178125
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
(cherry picked from commit f45820f45e2cf351d3f08238952d25de0f68337d)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178126
2024-12-09 10:00:10 +01:00
9ac47719f3 Branch libreoffice-25-2
This is 'libreoffice-25-2' - the stable branch for the 25.2.x releases.
The commit rules are different according to the development phase:

A. 25.2.0 beta phase:

   A. any bug fixes are allowed without review
   B. late features need approval by 3 people with different affiliation

B. 25.2.0 rc phase and later:

   A. fixes need approval by one reviewer
   B. late features need approval by 3 more people with different affiliation

IMPORTANT: Every developer is responsible for pushing the fixes into all
          appropriate branches. Note that we do not plan any merge
          from this branch to master or vice versa.

Please, help use to make stable and usable release. If you want to build
something cool, unstable, and risky, use master.

Change-Id: I634e2389945e1799c1e7016f5b2e5d0905a440a1
2024-12-04 15:05:13 +01:00
590 changed files with 8589 additions and 15647 deletions

View File

@ -113,6 +113,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/05120300 \
helpcontent2/source/text/scalc/01/05120400 \
helpcontent2/source/text/scalc/01/05120500 \
helpcontent2/source/text/scalc/01/06020000 \
helpcontent2/source/text/scalc/01/06030000 \
helpcontent2/source/text/scalc/01/06030100 \
helpcontent2/source/text/scalc/01/06030200 \
@ -182,7 +183,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/data_form \
helpcontent2/source/text/scalc/01/databar_more_options \
helpcontent2/source/text/scalc/01/database_table_reference \
helpcontent2/source/text/scalc/01/data_provider \
helpcontent2/source/text/scalc/01/default_number_formats \
helpcontent2/source/text/scalc/01/DeleteNote \
helpcontent2/source/text/scalc/01/DeleteAllNotes \
@ -204,8 +204,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/func_char \
helpcontent2/source/text/scalc/01/func_clean \
helpcontent2/source/text/scalc/01/func_ceiling \
helpcontent2/source/text/scalc/01/func_choosecols \
helpcontent2/source/text/scalc/01/func_chooserows \
helpcontent2/source/text/scalc/01/func_countifs \
helpcontent2/source/text/scalc/01/func_color \
helpcontent2/source/text/scalc/01/func_code \
@ -220,8 +218,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/func_days360 \
helpcontent2/source/text/scalc/01/func_decimal \
helpcontent2/source/text/scalc/01/func_dollar \
helpcontent2/source/text/scalc/01/func_drop \
helpcontent2/source/text/scalc/01/func_encodeurl \
helpcontent2/source/text/scalc/01/func_exact \
helpcontent2/source/text/scalc/01/func_find \
helpcontent2/source/text/scalc/01/func_fixed \
@ -232,9 +228,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/func_edate \
helpcontent2/source/text/scalc/01/func_eomonth \
helpcontent2/source/text/scalc/01/func_error_type \
helpcontent2/source/text/scalc/01/func_expand \
helpcontent2/source/text/scalc/01/func_filter \
helpcontent2/source/text/scalc/01/func_filterxml \
helpcontent2/source/text/scalc/01/func_findb \
helpcontent2/source/text/scalc/01/func_floor \
helpcontent2/source/text/scalc/01/func_forecastetsadd \
@ -247,7 +241,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/func_fourier \
helpcontent2/source/text/scalc/01/exponsmooth_embd \
helpcontent2/source/text/scalc/01/func_hour \
helpcontent2/source/text/scalc/01/func_hstack \
helpcontent2/source/text/scalc/01/func_ifs \
helpcontent2/source/text/scalc/01/func_imcot \
helpcontent2/source/text/scalc/01/func_imcos \
@ -263,7 +256,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/func_jis \
helpcontent2/source/text/scalc/01/func_leftb \
helpcontent2/source/text/scalc/01/func_lenb \
helpcontent2/source/text/scalc/01/func_lookup \
helpcontent2/source/text/scalc/01/func_mid \
helpcontent2/source/text/scalc/01/func_midb \
helpcontent2/source/text/scalc/01/func_rightb \
@ -290,10 +282,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/func_search \
helpcontent2/source/text/scalc/01/func_substitute \
helpcontent2/source/text/scalc/01/func_t \
helpcontent2/source/text/scalc/01/func_take \
helpcontent2/source/text/scalc/01/func_text \
helpcontent2/source/text/scalc/01/func_tocol \
helpcontent2/source/text/scalc/01/func_torow \
helpcontent2/source/text/scalc/01/func_trim \
helpcontent2/source/text/scalc/01/func_unichar \
helpcontent2/source/text/scalc/01/func_unicode \
@ -316,17 +305,13 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/func_sumif \
helpcontent2/source/text/scalc/01/func_sumifs \
helpcontent2/source/text/scalc/01/func_switch \
helpcontent2/source/text/scalc/01/func_textafter \
helpcontent2/source/text/scalc/01/func_textbefore \
helpcontent2/source/text/scalc/01/func_textjoin \
helpcontent2/source/text/scalc/01/func_textsplit \
helpcontent2/source/text/scalc/01/func_time \
helpcontent2/source/text/scalc/01/func_timevalue \
helpcontent2/source/text/scalc/01/func_today \
helpcontent2/source/text/scalc/01/func_trunc \
helpcontent2/source/text/scalc/01/func_unique \
helpcontent2/source/text/scalc/01/func_value \
helpcontent2/source/text/scalc/01/func_vstack \
helpcontent2/source/text/scalc/01/func_xlookup \
helpcontent2/source/text/scalc/01/func_xmatch \
helpcontent2/source/text/scalc/01/func_weekday \
@ -335,8 +320,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/func_weeknum_ooo \
helpcontent2/source/text/scalc/01/func_weeknumadd \
helpcontent2/source/text/scalc/01/func_workday \
helpcontent2/source/text/scalc/01/func_wrapcols \
helpcontent2/source/text/scalc/01/func_wraprows \
helpcontent2/source/text/scalc/01/func_year \
helpcontent2/source/text/scalc/01/func_yearfrac \
helpcontent2/source/text/scalc/01/HandleDuplicateRecords \
@ -353,8 +336,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/MergeCellsMenu \
helpcontent2/source/text/scalc/01/NavigateMenu \
helpcontent2/source/text/scalc/01/NormalViewMode \
helpcontent2/source/text/scalc/01/pastespecialcalc \
helpcontent2/source/text/scalc/01/ODFF \
helpcontent2/source/text/scalc/01/recalculate_hard \
helpcontent2/source/text/scalc/01/SelectColumn \
helpcontent2/source/text/scalc/01/SelectData \
@ -365,7 +346,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/sheet_tab_color \
helpcontent2/source/text/scalc/01/ShowNote \
helpcontent2/source/text/scalc/01/sidebar_alignment \
helpcontent2/source/text/scalc/01/sidebar_cell_appearance \
helpcontent2/source/text/scalc/01/sidebar_number_format \
helpcontent2/source/text/scalc/01/solver \
helpcontent2/source/text/scalc/01/solver_options \
@ -386,6 +366,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/statistics_test_t \
helpcontent2/source/text/scalc/01/statistics_test_z \
helpcontent2/source/text/scalc/01/stat_data \
helpcontent2/source/text/scalc/01/ODFF \
helpcontent2/source/text/scalc/01/TableSelectAll \
helpcontent2/source/text/scalc/01/text2columns \
helpcontent2/source/text/scalc/01/ToggleFormula \
@ -467,7 +448,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/guide/goalseek \
helpcontent2/source/text/scalc/guide/html_doc \
helpcontent2/source/text/scalc/guide/integer_leading_zero \
helpcontent2/source/text/scalc/guide/json \
helpcontent2/source/text/scalc/guide/keyboard \
helpcontent2/source/text/scalc/guide/line_fix \
helpcontent2/source/text/scalc/guide/main \
@ -490,7 +470,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/guide/print_landscape \
helpcontent2/source/text/scalc/guide/print_title_row \
helpcontent2/source/text/scalc/guide/printranges \
helpcontent2/source/text/scalc/guide/r1c1syntax \
helpcontent2/source/text/scalc/guide/relativ_absolut_ref \
helpcontent2/source/text/scalc/guide/remove_duplicates \
helpcontent2/source/text/scalc/guide/rename_table \
@ -516,6 +495,8 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/menu/sheet_tab_menu \
helpcontent2/source/text/scalc/main0000 \
helpcontent2/source/text/scalc/main0100 \
helpcontent2/source/text/scalc/main0102 \
helpcontent2/source/text/scalc/main0105 \
helpcontent2/source/text/scalc/main0112 \
helpcontent2/source/text/scalc/main0116 \
helpcontent2/source/text/scalc/main0200 \

View File

@ -57,7 +57,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,schart,\
helpcontent2/source/text/schart/01/type_column_line \
helpcontent2/source/text/schart/01/type_line \
helpcontent2/source/text/schart/01/type_net \
helpcontent2/source/text/schart/01/type_ofpie \
helpcontent2/source/text/schart/01/type_pie \
helpcontent2/source/text/schart/01/type_stock \
helpcontent2/source/text/schart/01/type_xy \

View File

@ -74,6 +74,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,sdatabase,\
helpcontent2/source/text/sdatabase/dabawiz02text \
helpcontent2/source/text/sdatabase/dabawiz03auth \
helpcontent2/source/text/sdatabase/menubar \
helpcontent2/source/text/sdatabase/menuedit \
helpcontent2/source/text/sdatabase/menufile \
helpcontent2/source/text/sdatabase/menufilesave \
helpcontent2/source/text/sdatabase/menuinsert \

View File

@ -53,7 +53,9 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,sdraw,\
helpcontent2/source/text/sdraw/guide/text_enter \
helpcontent2/source/text/sdraw/main0000 \
helpcontent2/source/text/sdraw/main0100 \
helpcontent2/source/text/sdraw/main_edit \
helpcontent2/source/text/sdraw/main_insert \
helpcontent2/source/text/sdraw/main_format \
helpcontent2/source/text/sdraw/main_page \
helpcontent2/source/text/sdraw/main_shape \
helpcontent2/source/text/sdraw/main0200 \

View File

@ -72,6 +72,8 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\
helpcontent2/source/text/shared/01/01010202 \
helpcontent2/source/text/shared/01/01010203 \
helpcontent2/source/text/shared/01/01010300 \
helpcontent2/source/text/shared/01/01010301 \
helpcontent2/source/text/shared/01/01010302 \
helpcontent2/source/text/shared/01/01010303 \
helpcontent2/source/text/shared/01/01010304 \
helpcontent2/source/text/shared/01/01020000 \
@ -362,7 +364,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\
helpcontent2/source/text/shared/01/graphic_styles \
helpcontent2/source/text/shared/01/grid_and_helplines \
helpcontent2/source/text/shared/01/guides \
helpcontent2/source/text/shared/01/hyphenation \
helpcontent2/source/text/shared/01/image_compression \
helpcontent2/source/text/shared/01/image_external_tool \
helpcontent2/source/text/shared/01/insert_chart \
@ -767,6 +768,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\
helpcontent2/source/text/shared/guide/fax \
helpcontent2/source/text/shared/guide/filternavigator \
helpcontent2/source/text/shared/guide/find_attributes \
helpcontent2/source/text/shared/guide/flat_icons \
helpcontent2/source/text/shared/guide/floating_toolbar \
helpcontent2/source/text/shared/guide/fontwork \
helpcontent2/source/text/shared/guide/formfields \
@ -841,8 +843,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\
helpcontent2/source/text/shared/guide/xsltfilter_create \
helpcontent2/source/text/shared/guide/xsltfilter_distribute \
helpcontent2/source/text/shared/main0103 \
helpcontent2/source/text/shared/main_edit \
helpcontent2/source/text/shared/main_format \
helpcontent2/source/text/shared/main0104 \
helpcontent2/source/text/shared/main0107 \
helpcontent2/source/text/shared/main0108 \

View File

@ -77,6 +77,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,simpress,\
helpcontent2/source/text/simpress/01/05250500 \
helpcontent2/source/text/simpress/01/05250600 \
helpcontent2/source/text/simpress/01/05250700 \
helpcontent2/source/text/simpress/01/06030000 \
helpcontent2/source/text/simpress/01/06040000 \
helpcontent2/source/text/simpress/01/06050000 \
helpcontent2/source/text/simpress/01/06060000 \
@ -107,7 +108,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,simpress,\
helpcontent2/source/text/simpress/01/effectoptionstiming \
helpcontent2/source/text/simpress/01/PresentationMinimizer \
helpcontent2/source/text/simpress/01/remoteconnections \
helpcontent2/source/text/simpress/01/sidebarslidebackground \
helpcontent2/source/text/simpress/01/slidesorter \
helpcontent2/source/text/simpress/02/04010000 \
helpcontent2/source/text/simpress/02/04020000 \
@ -183,6 +183,8 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,simpress,\
helpcontent2/source/text/simpress/guide/vectorize \
helpcontent2/source/text/simpress/main0000 \
helpcontent2/source/text/simpress/main0100 \
helpcontent2/source/text/simpress/main_edit \
helpcontent2/source/text/simpress/main_format \
helpcontent2/source/text/simpress/main0113 \
helpcontent2/source/text/simpress/main0114 \
helpcontent2/source/text/simpress/main_slide \

View File

@ -86,6 +86,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,smath,\
helpcontent2/source/text/smath/guide/text \
helpcontent2/source/text/smath/main0000 \
helpcontent2/source/text/smath/main0100 \
helpcontent2/source/text/smath/main0102 \
helpcontent2/source/text/smath/main0105 \
helpcontent2/source/text/smath/main0106 \
helpcontent2/source/text/smath/main0200 \

View File

@ -145,6 +145,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,swriter,\
helpcontent2/source/text/swriter/01/05170000 \
helpcontent2/source/text/swriter/01/05190000 \
helpcontent2/source/text/swriter/01/05200000 \
helpcontent2/source/text/swriter/01/06030000 \
helpcontent2/source/text/swriter/01/06040000 \
helpcontent2/source/text/swriter/01/06060000 \
helpcontent2/source/text/swriter/01/06060100 \
@ -163,15 +164,12 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,swriter,\
helpcontent2/source/text/swriter/01/06210000 \
helpcontent2/source/text/swriter/01/06220000 \
helpcontent2/source/text/swriter/01/06990000 \
helpcontent2/source/text/swriter/01/baseline_grid \
helpcontent2/source/text/swriter/01/paragraph_hyphenation \
helpcontent2/source/text/swriter/01/contentcontrol00 \
helpcontent2/source/text/swriter/01/copyfielddialog \
helpcontent2/source/text/swriter/01/accessibility_check \
helpcontent2/source/text/swriter/01/format_object \
helpcontent2/source/text/swriter/01/format_frame \
helpcontent2/source/text/swriter/01/goto \
helpcontent2/source/text/swriter/01/HeaderFooterWin \
helpcontent2/source/text/swriter/01/HeadingRowsRepeat \
helpcontent2/source/text/swriter/01/legacynumbering \
helpcontent2/source/text/swriter/01/mailmerge00 \
@ -344,7 +342,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,swriter,\
helpcontent2/source/text/swriter/guide/keyboard \
helpcontent2/source/text/swriter/guide/load_styles \
helpcontent2/source/text/swriter/guide/main \
helpcontent2/source/text/swriter/guide/markdown \
helpcontent2/source/text/swriter/guide/navigator \
helpcontent2/source/text/swriter/guide/nonprintable_text \
helpcontent2/source/text/swriter/guide/number_date_conv \
@ -413,6 +410,8 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,swriter,\
helpcontent2/source/text/swriter/librelogo/LibreLogo \
helpcontent2/source/text/swriter/main0000 \
helpcontent2/source/text/swriter/main0100 \
helpcontent2/source/text/swriter/main0102 \
helpcontent2/source/text/swriter/main0105 \
helpcontent2/source/text/swriter/main0110 \
helpcontent2/source/text/swriter/main0120 \
helpcontent2/source/text/swriter/main0200 \
@ -435,7 +434,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,swriter,\
helpcontent2/source/text/swriter/menu/insert_frame \
helpcontent2/source/text/swriter/menu/submenu_more_breaks \
helpcontent2/source/text/swriter/menu/contentcontrol_submenu \
helpcontent2/source/text/swriter/menu/pageLayoutMenu \
helpcontent2/source/text/swriter/mailmergetoolbar \
helpcontent2/source/text/swriter/track_changes_toolbar \
helpcontent2/source/text/swriter/navigate_toolbar \

View File

@ -263,6 +263,7 @@ $(foreach lang,$(filter-out en-US,$(gb_HELP_LANGS)),$(eval $(call gb_AllLangPack
screenshots/cui/ui/hyperlinkinternetpage/$(lang)/HyperlinkInternetPage.png \
screenshots/cui/ui/hyperlinkmailpage/$(lang)/HyperlinkMailPage.png \
screenshots/cui/ui/hyperlinknewdocpage/$(lang)/HyperlinkNewDocPage.png \
screenshots/cui/ui/optviewpage/$(lang)/OptViewPage.png \
screenshots/cui/ui/optfltrpage/$(lang)/OptFltrPage.png \
screenshots/cui/ui/opthtmlpage/$(lang)/OptHtmlPage.png \
screenshots/cui/ui/optaccessibilitypage/$(lang)/OptAccessibilityPage.png \

View File

@ -14,7 +14,7 @@ html_TREE_MODULES := swriter scalc simpress sdraw sdatabase smath schart sbasic
html_TEXT_MODULES := $(html_TREE_MODULES)
html_BMARK_MODULES := swriter:WRITER scalc:CALC simpress:IMPRESS sdraw:DRAW sdatabase:BASE smath:MATH schart:CHART sbasic:BASIC shared:SHARED
gb_html_allhelpfiles = $(sort $(subst helpcontent2/source/text/,,$(foreach module,$(html_TEXT_MODULES),$(gb_AllLangHelp_$(module)_HELPFILES))))
gb_html_allhelpfiles = $(foreach module,$(html_TEXT_MODULES),$(gb_AllLangHelp_$(module)_HELPFILES))
# In case someone has a product name containing quotes, use Unicode
# code points for ' (27) and " (22) in JS, CSS and entities for HTML.
@ -50,7 +50,7 @@ $(gb_CustomTarget_workdir)/helpcontent2/help3xsl/hid2file.js : \
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),XSL,1)
$(call gb_Trace_StartRange,$(@F),XSL)
( \
RESPONSEFILE=$(call gb_var2file,$(shell $(gb_MKTEMP)),$(gb_html_allhelpfiles)$(if $(filter WNT,$(OS)), )) && \
RESPONSEFILE=$(call gb_var2file,$(shell $(gb_MKTEMP)),$(subst helpcontent2/source/text/,,$(gb_html_allhelpfiles)$(if $(filter WNT,$(OS)), ))) && \
echo 'var hid2fileMap = {' \
&& cd $(SRCDIR)/helpcontent2/source/text && $(call gb_ExternalExecutable_get_command,xsltproc,$(if $(filter WNT,$(OS)),env -i $(gb_Helper_set_ld_path)) xargs) $< <$$RESPONSEFILE || { rm $$RESPONSEFILE; exit 1 ; } \
&& rm "$$RESPONSEFILE" \
@ -58,15 +58,19 @@ $(gb_CustomTarget_workdir)/helpcontent2/help3xsl/hid2file.js : \
) > $@
$(call gb_Trace_EndRange,$(@F),XSL)
# copy en-US file so that pattern rules below don't need special treatment for en-US
$(gb_HelpTranslatePartTarget_workdir)/en-US/helpcontent2/source/text/shared/help/browserhelp.xhp: $(SRCDIR)/helpcontent2/source/text/shared/help/browserhelp.xhp
mkdir -p $(@D) && cp $< $@
# Xapian localized templates
ifeq ($(HELP_OMINDEX_PAGE),TRUE)
define html_gen_xaptpl_dep
$(gb_CustomTarget_workdir)/helpcontent2/help3xsl/$(1)/xap_tpl : \
$(if $(filter en-US,$(1)),$(SRCDIR),$(gb_HelpTranslatePartTarget_workdir)/$(1))/helpcontent2/source/text/shared/help/browserhelp.xhp
endef
$(eval $(foreach lang,$(gb_HELP_LANGS),$(call html_gen_xaptpl_dep,$(lang))))
$(gb_CustomTarget_workdir)/helpcontent2/help3xsl/%/xap_tpl : \
$(gb_HelpTranslatePartTarget_workdir)/%/helpcontent2/source/text/shared/help/browserhelp.xhp \
$(SRCDIR)/helpcontent2/help3xsl/xap_templ_query.xsl \
$(SRCDIR)/helpcontent2/CustomTarget_html.mk \
| $(call gb_ExternalExecutable_get_dependencies,xsltproc)
@ -79,19 +83,27 @@ $(gb_CustomTarget_workdir)/helpcontent2/help3xsl/%/xap_tpl : \
--stringparam productversion "$(PRODUCTVERSION)" \
-o $@ \
$(SRCDIR)/helpcontent2/help3xsl/xap_templ_query.xsl \
$(gb_HelpTranslatePartTarget_workdir)/$*/helpcontent2/source/text/shared/help/browserhelp.xhp \
$(if $(filter en-US,$*),$(SRCDIR),$(gb_HelpTranslatePartTarget_workdir)/$*)/helpcontent2/source/text/shared/help/browserhelp.xhp \
)
$(call gb_Trace_EndRange,$*/$(@F),XSL)
endif
# set of installed languages - has to be language independent
$(gb_CustomTarget_workdir)/helpcontent2/help3xsl/languages.js : $(SRCDIR)/helpcontent2/CustomTarget_html.mk
$(file >$@,var languagesSet = new Set([$(subst $(WHITESPACE),$(COMMA) ,$(patsubst %,'%',$(gb_HELP_LANGS)))]);)
$(gb_CustomTarget_workdir)/helpcontent2/help3xsl/languages.js : \
$(SRCDIR)/helpcontent2/CustomTarget_html.mk
printf 'var languagesSet = new Set([%s]);\n' "$(subst $(WHITESPACE),$(COMMA) ,$(patsubst %,'%',$(gb_HELP_LANGS)))" > $@
define html_gen_langnames_js_dep
$(gb_CustomTarget_workdir)/helpcontent2/help3xsl/$(1)/langnames.js : \
$(if $(filter en-US,$(1)),$(SRCDIR),$(gb_HelpTranslatePartTarget_workdir)/$(1))/helpcontent2/source/text/shared/help/browserhelp.xhp
endef
$(eval $(foreach lang,$(gb_HELP_LANGS),$(call html_gen_langnames_js_dep,$(lang))))
# names of the languages - has to be translated, ie. per language
$(gb_CustomTarget_workdir)/helpcontent2/help3xsl/%/langnames.js : \
$(gb_HelpTranslatePartTarget_workdir)/%/helpcontent2/source/text/shared/help/browserhelp.xhp \
$(SRCDIR)/helpcontent2/CustomTarget_html.mk
( \
echo 'var languageNames = {' ; \
@ -179,9 +191,9 @@ $(gb_CustomTarget_workdir)/helpcontent2/help3xsl/%/html.text : \
| $(call gb_ExternalExecutable_get_dependencies,xsltproc)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),XSL,1)
$(call gb_Trace_StartRange,$*/$(@F),XSL)
rm -rf $(dir $@)text && mkdir -p $(dir $@)text && cd $(dir $@)text && mkdir -p $(sort $(dir $(gb_html_allhelpfiles))) \
rm -rf $(dir $@)text && mkdir -p $(dir $@)text && cd $(dir $@)text && mkdir -p $(sort $(subst helpcontent2/source/text/,,$(dir $(gb_html_allhelpfiles)))) \
&& cd $(if $(filter en-US,$*),$(SRCDIR),$(gb_HelpTranslatePartTarget_workdir)/$*) \
&& RESPONSEFILE=$(call gb_var2file,$(shell $(gb_MKTEMP)),$(addsuffix $(WHITESPACE)dummyIgnoreCRinEOL$(NEWLINE),$(gb_html_allhelpfiles))) \
&& RESPONSEFILE=$(call gb_var2file,$(shell $(gb_MKTEMP)),$(addsuffix $(WHITESPACE)dummyIgnoreCRinEOL$(NEWLINE),$(subst helpcontent2/source/,,$(gb_html_allhelpfiles)))) \
&& while read xhp dummy; do \
$(call gb_ExternalExecutable_get_command,xsltproc) \
--stringparam Language $* \
@ -190,9 +202,9 @@ $(gb_CustomTarget_workdir)/helpcontent2/help3xsl/%/html.text : \
--stringparam productname "$(gb_PRODUCTNAME_HTML)" \
--stringparam productversion "$(PRODUCTVERSION)" \
--stringparam xapian $(if $(filter TRUE, $(HELP_OMINDEX_PAGE)),'yes','no') \
-o $(dir $@)/text/$${xhp%.xhp}.html \
-o $(dir $@)$${xhp%.xhp}.html \
$(gb_CustomTarget_workdir)/helpcontent2/help3xsl/online_transform.xsl \
helpcontent2/source/text/$$xhp \
helpcontent2/source/$$xhp \
|| exit \
; done <"$$RESPONSEFILE" \
&& rm "$$RESPONSEFILE" \

View File

@ -51,7 +51,6 @@ $(eval $(call gb_Package_add_files_with_dir,helpcontent2_html_media,$(LIBO_SHARE
helpimg/dircurscent.png \
helpimg/dircursleft.png \
helpimg/dircursright.png \
helpimg/donate.png \
helpimg/ein.png \
helpimg/feldalle.png \
helpimg/feldbrei.png \
@ -96,7 +95,6 @@ $(eval $(call gb_Package_add_files_with_dir,helpcontent2_html_media,$(LIBO_SHARE
helpimg/scalc/IMCOT_equation.svg \
helpimg/sc_func_imsin.svg \
helpimg/sc_func_imsinh.svg \
helpimg/scalc/country_codes.png \
helpimg/scalc/IMCSC_equation.svg \
helpimg/scalc/IMCSCH_equation.svg \
helpimg/scalc/IMSEC_equation.svg \
@ -179,12 +177,10 @@ $(eval $(call gb_Package_add_files_with_dir,helpcontent2_html_media,$(LIBO_SHARE
helpimg/sbasic/While_statement.svg \
helpimg/sbasic/With_statement.svg \
helpimg/sbasic/Write_statement.svg \
helpimg/schart/CategoryProperties.png \
helpimg/scalc/coordinates-to-polar-01.svg \
helpimg/scalc/calczoomslider.png \
helpimg/sdraw/area-fill-none-same-vs-background.png \
helpimg/sdraw/control_points.png \
helpimg/sdraw/dimension01.svg \
helpimg/sdraw/distribute-orig.svg \
helpimg/sdraw/distribute-HR.svg \
helpimg/sdraw/distribute-HL.svg \
@ -377,7 +373,6 @@ $(eval $(call gb_Package_add_files_with_dir,helpcontent2_html_media,$(LIBO_SHARE
helpimg/starmath/un21221.svg \
helpimg/python/python_interactive_console.png \
helpimg/python/python_shell.png \
helpimg/swriter/MasterDocuments.png \
helpimg/sw_paste_range.png \
helpimg/sw_signatureline01.png \
helpimg/sw_signatureline02.png \
@ -444,6 +439,7 @@ $(eval $(call gb_Package_add_files_with_dir,helpcontent2_html_media,$(LIBO_SHARE
screenshots/cui/ui/hyperlinkinternetpage/HyperlinkInternetPage.png \
screenshots/cui/ui/hyperlinkmailpage/HyperlinkMailPage.png \
screenshots/cui/ui/hyperlinknewdocpage/HyperlinkNewDocPage.png \
screenshots/cui/ui/optviewpage/OptViewPage.png \
screenshots/cui/ui/optfltrpage/OptFltrPage.png \
screenshots/cui/ui/opthtmlpage/OptHtmlPage.png \
screenshots/cui/ui/optaccessibilitypage/OptAccessibilityPage.png \

View File

@ -57,7 +57,6 @@ h4,
h5,
h6,
.listitem,
.description,
.listitemintable,
.tablecontent {
font-family: var(--font-body);
@ -140,18 +139,12 @@ pre,
font-family: var(--font-mono);
overflow-wrap: anywhere;
}
.code,
.codeintable{
display:inline-block;
}
/* prevent SVGs without width from overflowing the container */
img[src$=".svg"] {
max-width: 100%;
}
.literal {
white-space: normal;
word-break: keep-all;
overflow-wrap: break-word;
}
.smathcode {
border-radius: 2px;
@ -171,7 +164,6 @@ img[src$=".svg"] {
}
.keycode {
font-family: var(--font-mono);
font-style:italic;
}
.widget {
padding: 1px 10px;
@ -237,10 +229,6 @@ pre[class*="language-"] > code {
padding: 0.3em;
/* background: var(--heading-color); */
}
.iconcell img {
min-width: 38px;
min-height: 38px;
}
table {
background: var(--background-color);
@ -706,11 +694,10 @@ li.disabled a {
.donation {
border: 1px solid #f1c62a;
border-radius: 2px;
padding: 5px 10px;
padding: 10px;
margin: 5px 10px;
max-width: 200px;
color: white;
align-items:center;
}
.donation:hover {
background: linear-gradient(90deg, #1c71d8 0%, #30c877 100%);
@ -1073,11 +1060,6 @@ li.disabled a {
color: var(--visited-color);;
}
.code,
.codeintable{
background-color:black;
}
.note {
background-color: #2E2E2E;
border-left-color: #03DAC6;
@ -1088,7 +1070,6 @@ li.disabled a {
border-left-color: #BB86FC;
}
.warning {
background-color: #2E2E2E;
border-left-color: #CF6679;
@ -1162,9 +1143,10 @@ li.disabled a {
cursor: pointer;
color: var(--heading-color);
}
#DisplayArea {
#DisplayArea
{
background-color: var(--background-color);
color: #efefef;
color: #efefef
}
.xapian-donation,
.sf_table {
@ -1183,11 +1165,11 @@ li.disabled a {
background: var(--background-color);
color: var(--heading-color);
vertical-align: top;
border-style: solid;
border-color: #888;
border-width: thin;
border-style:solid;
border-color:#888;
border-width:thin;
}
table {
table{
background: var(--table-background);
}
tr:nth-of-type(even) {
@ -1197,4 +1179,3 @@ li.disabled a {
color: black;
}
}

View File

@ -126,10 +126,6 @@ function getParameterByName(name, url) {
return decodeURIComponent(results[2].replace(/\+/g, " "));
}
// This is used when arriving the first time via the application
// or direct access to web root, e.g. a web search. It should not
// be used outside of online context as then we can not guarantee
// en-US as a fallback language.
function existingLang(lang) {
if (lang === undefined) {
return 'en-US';
@ -227,7 +223,7 @@ if (Math.max(document.documentElement.clientWidth, window.innerWidth || 0) < 960
}
const href = window.location.href;
const lang = getParameterByName("Language", href) || document.querySelector("html").getAttribute("lang");
const lang = existingLang(getParameterByName("Language", href) || navigator.language);
setupModules(lang);
setupLanguages(href);

35
help3xsl/noscript.xsl Normal file
View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<!--
Stylesheet to create the localized noscript error page.
xsltproc noscript.xsl <browserhelp.xhp>
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="brand.xsl"/>
<xsl:output indent="yes" method="html"/>
<xsl:param name="productname"/>
<xsl:param name="productversion"/>
<xsl:template match="/">
<html>
<head>
</head>
<body>
<div style="margin: 20px">
<h1 style="color: red;">
<xsl:call-template name="brand">
<xsl:with-param name="string"><xsl:value-of select="//variable[@id='noscriptmsg']"/></xsl:with-param>
</xsl:call-template>
</h1>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

View File

@ -92,7 +92,6 @@
<xsl:variable name="note_img" select="concat($img_url_prefix,'icon-themes/res/helpimg/note.svg')"/>
<xsl:variable name="tip_img" select="concat($img_url_prefix,'icon-themes/res/helpimg/tip.svg')"/>
<xsl:variable name="warning_img" select="concat($img_url_prefix,'icon-themes/res/helpimg/warning.svg')"/>
<xsl:variable name="donate_img" select="concat($img_url_prefix,'helpimg/donate.png')"/>
<!-- Strings for the help UI page -->
<xsl:variable name="tmp_href_ui"><xsl:value-of select="concat($urlpre,'text/shared/help/browserhelp.xhp')"/></xsl:variable>
@ -123,9 +122,7 @@
<!-- Create the document skeleton -->
<xsl:template match="/">
<xsl:variable name="htmlpage">
<xsl:value-of select="concat(substring-before($filename,'.xhp'),'.html')"/>
</xsl:variable>
<xsl:variable name="htmlpage"><xsl:value-of select="concat(substring-before($filename,'.xhp'),'.html')"/></xsl:variable>
<xsl:variable name="titleL10N">
<xsl:call-template name="brand"><xsl:with-param name="string"><xsl:value-of select="$title"/></xsl:with-param></xsl:call-template>
</xsl:variable>
@ -150,24 +147,14 @@
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="meta_description">
<xsl:call-template name="brand">
<xsl:with-param name="string">
<xsl:value-of select="substring(concat($productname,': ',//description),1,170)"/>
</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<html lang="{$lang}" dir="{$direction}">
<head>
<base href="{$install}"/>
<title><xsl:value-of disable-output-escaping="yes" select="$titleL10N"/></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<xsl:if test="//description">
<meta name="description" contents="{$meta_description}"/>
</xsl:if>
<xsl:if test="$online">
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval' piwik.documentfoundation.org"/>
</xsl:if>
<title><xsl:value-of disable-output-escaping="yes" select="$titleL10N"/></title>
<link rel="shortcut icon" href="media/navigation/favicon.ico"/>
<link type="text/css" href="normalize.css" rel="Stylesheet"/>
<link type="text/css" href="prism.css" rel="Stylesheet"/>
@ -191,7 +178,6 @@
<xsl:if test="//topic[@indexer='exclude']">
<meta name="robots" content="noindex"/>
</xsl:if>
</head>
<body>
@ -276,18 +262,12 @@
<xsl:apply-templates select="/helpdocument/body"/>
</div>
<div id="DonationFrame">
<a href="https://www.libreoffice.org/donate/?pk_campaign=help" target ="_blank">
<div class="icontable donation">
<div class="iconcell">
<img class="iconimage" src="{$donate_img}" alt="{$ui_donate}" style="{$iconsizestyle}"/>
<xsl:if test="$online">
<div class="donation">
<p dir="auto"><a href="https://www.libreoffice.org/donate/?pk_campaign=help" target ="_blank"><xsl:value-of select="$ui_donate"/></a></p>
</div>
<div class="iconcell">
<p dir="auto"><xsl:value-of select="$ui_donate"/></p>
</div>
</div>
</a>
</xsl:if>
</div>
<footer>
<h2 style="text-align: center;"><a href="https://books.libreoffice.org" target="_blank"><xsl:value-of select="$ui_books"/></a></h2>
<div class="noteicon" dir="auto" style="display:flex;justify-content:center;flex-wrap:wrap;row-gap:15px;">
@ -822,16 +802,33 @@
</xsl:template>
<!--NOTE TIP AND WARNING-->
<xsl:template match="tip | note | warning">
<xsl:call-template name="insertnote">
<xsl:with-param name="type" select="local-name()" />
</xsl:call-template>
<xsl:variable name="imgsrc">
<xsl:choose>
<xsl:when test="local-name()='note'"><xsl:value-of select="$note_img"/></xsl:when>
<xsl:when test="local-name()='tip'"><xsl:value-of select="$tip_img"/></xsl:when>
<xsl:when test="local-name()='warning'"><xsl:value-of select="$warning_img"/></xsl:when>
</xsl:choose>
</xsl:variable>
<div class="{local-name()}">
<div class="noteicon" dir="auto"><img src="{$imgsrc}" alt="{local-name()}" style="{$iconsizestyle}"/></div>
<div class="notetext"><p id="{@id}" dir="auto"><xsl:apply-templates /></p></div>
</div>
<br/>
</xsl:template>
<xsl:template match="tip | note | warning" mode="embedded">
<xsl:call-template name="insertnote">
<xsl:with-param name="type" select="local-name()" />
</xsl:call-template>
<xsl:variable name="imgsrc">
<xsl:choose>
<xsl:when test="local-name()='note'"><xsl:value-of select="$note_img"/></xsl:when>
<xsl:when test="local-name()='tip'"><xsl:value-of select="$tip_img"/></xsl:when>
<xsl:when test="local-name()='warning'"><xsl:value-of select="$warning_img"/></xsl:when>
</xsl:choose>
</xsl:variable>
<div class="{local-name()}">
<div class="noteicon" dir="auto"><img src="{$imgsrc}" alt="{local-name()}" style="{$iconsizestyle}"/></div>
<div class="notetext"><p id="{@id}" dir="auto"><xsl:apply-templates mode="embedded"/></p></div>
</div>
<br/>
</xsl:template>
<!--SQLCODE, BASCODE, PYCODE-->
@ -861,15 +858,6 @@
<pre dir="auto"><code class="{$codelangclass}"><xsl:apply-templates /></code></pre>
</div>
</xsl:template>
<!-- DESCRIPTION -->
<xsl:template match="description">
<p id="{@id}" class="description" dir="auto"><xsl:apply-templates /></p>
</xsl:template>
<xsl:template match="description" mode="embedded">
<p id="{@id}" class="description" dir="auto"><xsl:apply-templates /></p>
</xsl:template>
<!-- In case of missing help files -->
<xsl:template match="help-id-missing">
<span id="bm_HID2"></span>

View File

@ -148,7 +148,7 @@ $if{$suggestion,]]><xsl:apply-templates select="//variable[@id='xap_didyoumean']
$or{$html{$error},
$if{$eq{$msize,0},
$if{$query$.]]><xsl:apply-templates select="//variable[@id='xap_no_match']"/><![CDATA[,
$if{$query,]]><xsl:apply-templates select="//variable[@id='xap_no_match']"/><![CDATA[,
<hr>]]><xsl:apply-templates select="//variable[@id='xap_searching_doc']"/><![CDATA[
},
$if{$not{$msizeexact},
@ -188,7 +188,7 @@ $if{$field{size},<span title="$html{$field{size}} bytes">]]><xsl:apply-templates
<a href="$html{$field{url}}">$html{$prettyurl{$field{url}}}</a><br>
<small>
]]><xsl:apply-templates select="//variable[@id='xap_matching']"/><![CDATA[
<i>$list{$map{$terms,$html{$prettyterm{$_}}},</i>$. <i>,</i> ]]><xsl:apply-templates select="//variable[@id='xap_and']"/><![CDATA[ <i>}</i></small>${for lynx:}<p></td></tr>}
<i>$list{$map{$terms,$html{$prettyterm{$_}}},</i>$. <i>,</i> and <i>}</i></small>${for lynx:}<p></td></tr>}
</table>
<br><center>

View File

@ -56,7 +56,7 @@ Version Nov 2018
<!ELEMENT sqlcode (paragraph+)>
<!ELEMENT body ( %hn; | section | paragraph | description | table | comment | bookmark | switch | embed | list | sort | %codeContent; | %noteContent;)*>
<!ELEMENT body ( %hn; | section | paragraph | table | comment | bookmark | switch | embed | list | sort | %codeContent; | %noteContent;)*>
<!ELEMENT bookmark (bookmark_value)*>
<!ATTLIST bookmark
@ -210,7 +210,7 @@ Version Nov 2018
%commonAttrs;
>
<!ELEMENT section (section | %hn; | paragraph | description | table | list | comment | bookmark | embed | switch | sort | %codeContent; | %noteContent;)*>
<!ELEMENT section (section | %hn; | paragraph | table | list | comment | bookmark | embed | switch | sort | %codeContent; | %noteContent;)*>
<!ATTLIST section
id CDATA #REQUIRED
>
@ -298,9 +298,4 @@ Version Nov 2018
%commonAttrs;
>
<!ELEMENT description (%paraContent;)*>
<!ATTLIST description
l10n CDATA #IMPLIED
%commonAttrs;
>
<!ELEMENT help-id-missing EMPTY>

265
lohgerrit
View File

@ -1,265 +0,0 @@
#!/usr/bin/env bash
#GERRITHOST=gerrit.libreoffice.org
GERRITHOST=logerrit
GERRITURL="ssh://$GERRITHOST/help"
get_SHA_for_change() {
SHA=$(ssh "${GERRITHOST?}" gerrit query --all-approvals change:"$1" | grep ref | tail -1 | cut -d: -f2 | sed 's/^ *//')
}
branch_or_default() {
local branch=$1
if test -z "${branch}"; then
# Try to use the tracked branch
branch=$(git symbolic-ref HEAD|sed 's|refs/heads/||')
local remote=$(git config branch.${branch}.remote)
branch=$(git rev-parse --abbrev-ref --symbolic-full-name HEAD@{upstream}|sed "s|${remote}/||")
if test -z "$branch"; then
branch=$(git symbolic-ref HEAD 2> /dev/null)
branch="${branch##refs/heads/}"
if test -z "${branch}"; then
echo >&2 "no branch specified, and could not guess the current branch"
exit 1
fi
echo >&2 "no branch specified, guessing current branch ${branch}"
else
echo >&2 "no branch specified, guessing tracked branch ${branch}"
fi
fi
echo "${branch}"
}
lohgerrit() {
echo "Host logerrit gerrit.libreoffice.org"
if test -n "${2-}" && test -f "$HOME/.ssh/id_$2"; then
echo " IdentityFile ~/.ssh/id_$2"
fi
echo " User $1"
echo " Port 29418"
echo " HostName gerrit.libreoffice.org"
}
case "$1" in
help|--help|"")
echo "Usage: ./logerrit subcommand [options]"
echo "simple and basic tool to interact with LibreOffice gerrit"
echo "see https://wiki.documentfoundation.org/Development/gerrit for details."
echo
echo "subcommands:"
echo " setup walking you though your gerrit setup"
echo " test test your gerrit setup"
echo
echo " --- for submitters:"
echo " submit [BRANCH] submit your change for review"
echo " submit [BRANCH]%private submit your change as private"
echo " submit [BRANCH]%wip submit your change as work-in-progress"
echo " nextchange [BRANCH] reset branch to the remote to start with the next change"
echo " testfeature [BRANCH] [CHANGEID]"
echo " trigger a test of a feature branch on gerrit"
echo
echo "Note: private changes are only visibly to yourself and those that you explicitly add as reviewers."
echo "For full documentation, see https://gerrit.libreoffice.org/Documentation/intro-user.html#private-changes"
echo
echo " --- for reviewers:"
echo " checkout CHANGEID checkout the changes for review"
echo " pull CHANGEID pull (and merge) the changes on current branch"
echo " cherry-pick CHANGEID cherry-pick the change on current branch"
echo " patch CHANGEID show the change as a patch"
echo " query ... query for changes for review on project help"
echo " <any other gerrit command>"
echo
echo "advanced users should consider using git review instead:"
echo "https://wiki.documentfoundation.org/Development/GitReview"
exit
;;
setup)
script_canonical_file=$(readlink -f "$0")
script_canonical_dir=$(dirname "$script_canonical_file")
if ! cd "$script_canonical_dir"; then
echo "Can't cd to $script_canonical_dir"
exit 1
fi
ssh_home="$HOME/.ssh";
ssh_key=
created_ssh=
if ! test -d "$ssh_home"; then
echo "It appears that you have no ssh setup, running ssh-keygen to create that:"
mkdir -m0700 "$ssh_home"
created_ssh=TRUE
echo
echo "Hit enter to generate an ssh key - you will need to enter a pass-phrase"
echo
read -r
all_algo="$(ssh -Q key)"
if grep -q -x ssh-ed25519 <<< "$all_algo"; then
algo="ed25519"
elif grep -q -x ssh-rsa <<< "$all_algo"; then
algo="rsa"
else
echo "Could not find 'ssh-ed25519' or 'ssh-rsa' in the output from 'ssh -Q key'"
exit 1
fi
ssh-keygen -t "$algo" # Generate the key pair using the selected algorithm
fi
if test -d "$ssh_home"; then
# order algos based on the PubkeyAcceptedKeyTypes option from OpenSSH 8.1
for ssh_key_type in ecdsa ed25519 rsa; do
pk="$ssh_home/id_${ssh_key_type}.pub"
ssh_key=""
if test -f "$pk" && ssh_key="$(< "$pk")" && test -n "$ssh_key"; then
break
fi
done
fi
echo "Please go to https://gerrit.libreoffice.org/ and click the \"Sign in\" link"
echo "at the top right of the page. You'll be sent to our Single Sign-On portal"
echo "for authentication (create an account if needs be), and automatically"
echo "redirected back to gerrit afterwards."
echo
echo "Visit https://gerrit.libreoffice.org/settings/#SSHKeys and paste the public"
if test -z "$ssh_key"; then
echo "part of your SSH key in the 'New SSH key' form."
else
echo "key below in the 'New SSH key' form."
echo
printf '%s\n' "$ssh_key"
echo
fi
echo
echo "Note that you need to register additional email addresses, if you want to"
echo "commit from them. Each additional email address must be confirmed by"
echo "following the verification link sent to it."
echo
read -r -p 'Which user name did you choose? ' GERRITUSER
if test -z "$created_ssh"; then
echo
echo "Please now add the following to your ~/.ssh/config, creating the file if needed:"
echo
logerrit "$GERRITUSER" ${ssh_key:+"$ssh_key_type"}
echo
else
echo "Automatically creating your ssh config"
logerrit "$GERRITUSER" ${ssh_key:+"$ssh_key_type"} >"$ssh_home/config"
fi
# setup the remote properly ...
git config remote.origin.pushurl ssh://logerrit/help
echo "To see if your setup was successful, run './logerrit test' then."
# a good place to make sure the hooks are set up
./g -z
;;
test)
if test -n "$(ssh "$GERRITHOST" 2>&1|grep "Welcome to Gerrit Code Review")"; then
echo "Your gerrit setup was successful!"
else
echo "There seems to be trouble. Please have the output of:"
echo "ssh -vvvv $GERRITHOST"
echo "at hand when looking for help."
fi
;;
submit)
BRANCH=$(branch_or_default $2)
TYPE=${3:+"%$3"}
if [ "$BRANCH" = "master" ]; then
WEEKOLDDATE=$(date --date="7 days ago" +%s 2> /dev/null)
if [ "$WEEKOLDDATE" = "" ]; then
WEEKOLDDATE=$(date -v-7d +%s) # BSD equivalent
fi
PARENTDATE=$(git show -s --format=%ct HEAD~1)
if [[ $PARENTDATE -lt $WEEKOLDDATE ]]; then
echo "Your branch is older than a week, do './g pull -r' and retry"
exit 1
fi
fi
git push "$GERRITURL" "HEAD:refs/for/$BRANCH$TYPE"
;;
nextchange)
if test -n "$(git status -s -uno)"; then
echo "You have uncommitted changes. Please commit or stash these:"
git status
exit 1
fi
CHANGEID=$(git log --format=format:%b -1 HEAD|grep Change-Id|cut -d: -f2|tr -d \ )
if test -z "$CHANGEID"; then
CHANGEID="NOCHANGEID"
fi
BACKUPBRANCH=backup/$CHANGEID-$(date +%F-%H%M%S)
git branch "$BACKUPBRANCH"
echo "current state backed up as $BACKUPBRANCH"
BRANCH=$(branch_or_default $2)
git reset --hard "remotes/origin/$BRANCH"
;;
checkout)
get_SHA_for_change "$2"
git fetch "$GERRITURL" "$SHA" && git checkout FETCH_HEAD
;;
review)
echo "'./logerrit review' has been removed as obsolete."
echo "Please use either:"
echo " - git-review: https://wiki.documentfoundation.org/Development/GitReview"
echo " - or the web-UI directly: https://gerrit.libreoffice.org/"
echo "Both provide a better experience."
exit 1;
;;
pull)
get_SHA_for_change "$2"
git pull "$GERRITURL" "$SHA"
;;
cherry-pick)
get_SHA_for_change "$2"
git fetch "$GERRITURL" "$SHA" && git cherry-pick FETCH_HEAD
;;
patch)
get_SHA_for_change "$2"
git fetch "$GERRITURL" "$SHA" && git format-patch -1 --stdout FETCH_HEAD
;;
query)
shift
ssh "${GERRITHOST?}" gerrit query project:help "${@@Q}"
;;
testfeature)
CHANGEID=${3#I}
if test -n "$3" -a \( ${#3} -ne 41 -o -n "${CHANGEID//[0-9a-f]/}" \); then
echo "${3} is not a valid Gerrit change id"
exit 1
fi
CHANGEID=$3
BRANCH=$(branch_or_default $2)
BRANCH="${BRANCH##feature/}"
WORKDIR=$(mktemp -d)
if test -z "$WORKDIR"; then
echo "could not create work directory."
exit 1
fi
echo "workdir at $WORKDIR"
git clone -s "$(dirname "$0")" "$WORKDIR/help"
pushd "$WORKDIR/help" || { echo "Changing directory failed."; exit 1; }
echo "noop commit: trigger test build for branch feature/$BRANCH" > ../commitmsg
echo >> ../commitmsg
echo "branch is at:" >> ../commitmsg
echo >> ../commitmsg
git log -1|sed -e "s/Change-Id:/XXXXXX:/" >> ../commitmsg
if test -n "$CHANGEID"; then
echo >> ../commitmsg
echo "Change-Id: $CHANGEID" >> ../commitmsg
fi
git fetch https://git.libreoffice.org/help "feature/$BRANCH" && \
git checkout -b featuretst FETCH_HEAD && \
cp -a .git-hooks/* .git/hooks && \
git commit --allow-empty -F ../commitmsg && \
git push "$GERRITURL" "HEAD:refs/for/feature/$BRANCH"
popd || { echo "Changing directory failed."; exit 1; }
rm -rf "$WORKDIR/help"
rm -f "$WORKDIR/commitmsg"
rmdir "$WORKDIR"
;;
*)
ssh "${GERRITHOST?}" gerrit "${@@Q}"
;;
esac
# vim: set noet sw=4 ts=4:

View File

@ -32,10 +32,10 @@
<node id="080201" title="Menus">
<topic id="scalc/text/scalc/main0100.xhp">Menus</topic>
<topic id="shared/text/shared/menu/PickList.xhp">File</topic>
<topic id="shared/text/shared/main_edit.xhp">Edit</topic>
<topic id="scalc/text/scalc/main0102.xhp">Edit</topic>
<topic id="scalc/text/shared/main0103.xhp">View</topic>
<topic id="scalc/text/shared/main0104.xhp">Insert</topic>
<topic id="shared/text/shared/main_format.xhp">Format</topic>
<topic id="scalc/text/scalc/main0105.xhp">Format</topic>
<topic id="scalc/text/scalc/main0116.xhp">Sheet</topic>
<topic id="scalc/text/scalc/main0112.xhp">Data</topic>
<topic id="scalc/text/shared/main_tools.xhp">Tools</topic>
@ -175,7 +175,6 @@
</node>
<node id="0811" title="References">
<topic id="scalc/text/scalc/guide/relativ_absolut_ref.xhp">Addresses and References, Absolute and Relative</topic>
<topic id="scalc/text/scalc/guide/r1c1syntax.xhp">R1C1 Reference Syntax</topic>
<topic id="scalc/text/scalc/guide/cellreferences.xhp">Referencing a Cell in Another Document</topic>
<topic id="scalc/text/scalc/guide/cellreferences_url.xhp">References to Other Sheets and Referencing URLs</topic>
<topic id="scalc/text/scalc/guide/cellreference_dragdrop.xhp">Referencing Cells by Drag-and-Drop</topic>

View File

@ -20,10 +20,10 @@
<node id="11020201" title="Menus">
<topic id="sdraw/text/sdraw/main0100.xhp">Menus</topic>
<topic id="shared/text/shared/menu/PickList.xhp">File</topic>
<topic id="shared/text/shared/main_edit.xhp">Edit</topic>
<topic id="sdraw/text/sdraw/main_edit.xhp">Edit</topic>
<topic id="sdraw/text/shared/main0103.xhp">View</topic>
<topic id="sdraw/text/sdraw/main_insert.xhp">Insert</topic>
<topic id="shared/text/shared/main_format.xhp">Format</topic>
<topic id="sdraw/text/sdraw/main_format.xhp">Format</topic>
<topic id="sdraw/text/sdraw/main_page.xhp">Page</topic>
<topic id="sdraw/text/sdraw/main_shape.xhp">Shape</topic>
<topic id="sdraw/text/shared/main_tools.xhp">Tools</topic>

View File

@ -47,7 +47,7 @@
<topic id="shared/text/shared/optionen/01010300.xhp">Paths</topic>
<topic id="shared/text/shared/optionen/01010700.xhp">Fonts</topic>
<topic id="shared/text/shared/optionen/01030300.xhp">Security</topic>
<topic id="shared/text/shared/optionen/01012000.xhp">Appearance</topic>
<topic id="shared/text/shared/optionen/01012000.xhp">Application Colors</topic>
<topic id="shared/text/shared/optionen/java.xhp">Advanced</topic>
<topic id="shared/text/shared/optionen/expertconfig.xhp">Expert Configuration</topic>
<topic id="shared/text/shared/optionen/BasicIDE.xhp">Basic IDE</topic>
@ -112,7 +112,7 @@
<node id="1006" title="Configuring %PRODUCTNAME">
<topic id="shared/text/shared/guide/configure_overview.xhp">Configuring %PRODUCTNAME</topic>
<topic id="shared/text/shared/01/packagemanager.xhp">Extension Manager</topic>
<topic id="shared/text/shared/optionen/01012000.xhp">Changing Icon Views</topic>
<topic id="shared/text/shared/guide/flat_icons.xhp">Changing Icon Views</topic>
<topic id="shared/text/shared/guide/edit_symbolbar.xhp">Adding Buttons to Toolbars </topic>
<topic id="shared/text/shared/guide/workfolder.xhp">Changing Your Working Directory </topic>
<topic id="shared/text/shared/guide/standard_template.xhp">Changing Default Templates</topic>

View File

@ -30,10 +30,10 @@
<node id="04020101" title="Menus">
<topic id="simpress/text/simpress/main0100.xhp">Menus</topic>
<topic id="shared/text/shared/menu/PickList.xhp">File</topic>
<topic id="shared/text/shared/main_edit.xhp">Edit</topic>
<topic id="simpress/text/simpress/main_edit.xhp">Edit</topic>
<topic id="simpress/text/shared/main0103.xhp">View</topic>
<topic id="simpress/text/shared/main0104.xhp">Insert</topic>
<topic id="shared/text/shared/main_format.xhp">Format</topic>
<topic id="simpress/text/simpress/main_format.xhp">Format</topic>
<topic id="simpress/text/simpress/main_slide.xhp">Slide</topic>
<topic id="simpress/text/simpress/main0114.xhp">Slide Show</topic>
<topic id="simpress/text/shared/main_tools.xhp">Tools</topic>

View File

@ -31,10 +31,10 @@
<node id="020201" title="Menus">
<topic id="swriter/text/swriter/main0100.xhp">Menus</topic>
<topic id="shared/text/shared/menu/PickList.xhp">File</topic>
<topic id="shared/text/shared/main_edit.xhp">Edit</topic>
<topic id="swriter/text/swriter/main0102.xhp">Edit</topic>
<topic id="swriter/text/shared/main0103.xhp">View</topic>
<topic id="swriter/text/shared/main0104.xhp">Insert</topic>
<topic id="shared/text/shared/main_format.xhp">Format</topic>
<topic id="swriter/text/swriter/main0105.xhp">Format</topic>
<topic id="shared/text/shared/menu/style_menu.xhp">Styles</topic>
<topic id="swriter/text/swriter/main0110.xhp">Table</topic>
<topic id="swriter/text/swriter/main0120.xhp">Form</topic>
@ -213,7 +213,6 @@
</node>
<node id="0219" title="Loading, Saving, Importing, Exporting and Redacting">
<topic id="swriter/text/swriter/guide/send2html.xhp">Saving Text Documents in HTML Format</topic>
<topic id="swriter/text/swriter/guide/markdown.xhp">Working with Text Documents in Markdown Format</topic>
<topic id="swriter/text/swriter/guide/textdoc_inframe.xhp">Inserting an Entire Text Document</topic>
<topic id="shared/text/shared/guide/redaction.xhp">Redacting a Text Document</topic>
<topic id="shared/text/shared/guide/auto_redact.xhp">Automatic Redaction</topic>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Some files were not shown because too many files have changed in this diff Show More