31 Commits

Author SHA1 Message Date
665361b6e2 tdf#163745 BASIC help pages must explicitly state types
+ refactor for simplification
+ changed parameter description section to a table layout
+ tweaks to spare translations
+ changed "Return value" to "Return type" because it refers to
the type of the returned value.

Change-Id: I4fce2473866c1417bf30c82be11dc79417d1445d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/184178
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Jenkins
2025-04-14 22:48:53 +02:00
b1830be3ca tdf#157716 Rename "Language settings" to "Languages and Locales"
Change-Id: I73a7d291d997ac14074b88433b14fa755e888a68
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/159928
Tested-by: Jenkins
Reviewed-by: Stéphane Guillou <stephane.guillou@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-11-24 15:45:37 +01: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
e1da23a649 Related: tdf#146971 rename %PRODUCTNAME Macros to Application Macros
Change-Id: I83393ec16732482deade1694c6a1a8e2b92f3944
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128916
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-25 13:23:56 +01:00
ab28d2cbdf sf-exception.PythonPrint new method
Change-Id: I11402201ef509816fc38665eae8d057e1761274a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121469
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2021-09-08 17:38:13 +02:00
3c0fb9a710 Add note about Python support availability on some SF services
Change-Id: I226b0b92fcc2b380fa6687cba87276b485009151
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/117567
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-06-22 13:44:08 +02:00
9de52c620a Tiny table formatting fix.
Change-Id: I0ed3b2ee3bb3788688e81b15cb19b9d41d98de13
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116699
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-06-06 12:01:48 +02:00
0251fd88ce Python support in SF_Exception help page
Change-Id: I9100e1b61aca23fbb104c449272da95bd60fd813
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/115521
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2021-05-25 18:23:48 +02:00
c998e3e941 Python support in the SF_UI help page
Change-Id: I3d5614d7f2ae24a15718237d817527a4d7421aa0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/115199
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-05-15 10:02:10 +02:00
1f290dca1d Another random typo grab bag
Change-Id: Ib548ab7e25600fc693d7a9d6319104f431eb8e8e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/111167
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-02-18 23:50:23 +01:00
6abb464fb6 Recreates SF_String Help page (ScriptForge)
SF_Array:
- Adds a <variable> tag

SF_Document:
- Fixes localization issues pointed out by translators on WebLate

00000003.xhp:
- Fixes the message explaining how to load libraries

Change-Id: I9361f86e7907b95e0546197203e2d23c6211fd4d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110366
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-02-07 23:04:54 +01:00
1476465fc3 tdf#136213 Basic string functions update
Change-Id: I86ce4fe20c1947bc1742c9ed6c9726d73b8cbbf8
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/101984
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-09-03 01:41:54 +02:00
ba12434526 Advanced Basic libraries brief descriptions
Change-Id: I7cdeba9ec039a42eff0072d44e92bf95d78ecd90
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97497
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-30 20:37:07 +02:00
8eb924f68c tdf#132643 Translate German section IDs
Change-Id: I4c2908ad3af91c0196c33a7f454fcfea45ab6cf8
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96463
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-17 13:13:49 +02:00
698b678fff tdf#131382 scope of function (Calc or BASIC)
Change the heading to indicate BASIC function and not a
CALC function

Change-Id: I4dc14ed0d8bb585d99e30cf72f255a523affc9b0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/91005
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-29 14:59:23 +02:00
b6a60949a4 VBA Err object
- Handling exceptions or Throwing them w/ Basic

A limited set of VBA ERR object properties & methods are exhibiting useful features.
This page document that subset.

Change-Id: I98726a6ffbce370b81f1a26daa35a8a1bf3dc57c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/91177
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-02 17:38:09 +02:00
cebc44435e Housekeeping in some BASIC Help embeds
Change-Id: I6bbc8f8450d2160b9715b90d066e51278aaf564d
Reviewed-on: https://gerrit.libreoffice.org/67976
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2019-02-18 16:40:10 +01:00
441f600d21 tdf#114263 Undocumented BASIC Options
Option Compatible
Option ClassModule

Change-Id: Ieb07fddb216f4f8cc26089a30226da5760b0065e
Reviewed-on: https://gerrit.libreoffice.org/66824
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-01-24 11:50:31 +01:00
79ed6797fc Add help pages for internal Basic libraries (WIP)
LibreOffice ships Basic libraries with many nice Functions and
Subs that are not documented at all. These pages shed some
light to these libraries and is a work in progress.

Change-Id: Icb237bf552b785e576e984e47fd0c5cf4f7e29d7
Reviewed-on: https://gerrit.libreoffice.org/55876
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-06-15 17:18:51 +02:00
8d6f11fb06 tdf#84675 Add vb* VBA constants documentation
Added vb* constants as described in
basic/source/comp/parser.cxx

Change-Id: I7a811ab5ba9af741afc43f93a4e96e018deef826
Reviewed-on: https://gerrit.libreoffice.org/45748
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-12-03 18:33:36 +01:00
3de74ecadf tdf#84675 VBA functions documentation
Plus some addition for Type statement

Change-Id: I9a1aa6a948cd50181fba07c105a25d986b372d02
Reviewed-on: https://gerrit.libreoffice.org/45709
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-12-03 12:23:49 +01:00
bfa3cfb08e Rearrange help page for VBA functions
Save work for translators.

Change-Id: I2072d85443ba32f10235123f3ba2b681182127d2
Reviewed-on: https://gerrit.libreoffice.org/39138
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-06-23 13:11:18 +02:00
3bd5049b9e fix bogus whitespace and unnecessary unit changes
caused by either adding spaces at end-of-line or adding spaces when
combining multi-line statements into single line
also fix one validation issue (image can have either caption or alt
elements)

Change-Id: I467404fbf87fbf1681c0addc7b43154bba68d989
2017-06-20 14:54:59 +02:00
34c220bf13 tdf#84675 Add help page for DDB function of VBA
Change-Id: I769a4f0863ca73db776e3ab1fb7faf1f25f3b2f7
Reviewed-on: https://gerrit.libreoffice.org/38801
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-06-14 22:17:19 +02:00
6e54fc4fe1 remove spurious spaces introduced in variables
introduced on error when combining lines in
eb145d19480d245228dc6b1032a925adbff8ea78

Change-Id: Ia0f5b7287689bea541c422c20b2d647b82c21b0b
2017-05-30 10:35:35 +02:00
eb145d1948 tdf#84675 Help VBA functions AscW, ChrW, InStrRev
These functions are enabled whith Option VBASupport 1

fix bookmark
Fix metas
Fix makefile & add InStrRev
Bookmarking
Fix category for DDB

Change-Id: I12fed1cd521ffb846d2994323013e8dcc127381f
Reviewed-on: https://gerrit.libreoffice.org/37826
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-05-19 21:10:21 +02:00
eb9ec1c794 remove obsolete oldref attribute (removes one context line in pot)
also remove obsolete l10n attribute (doesn't affect translations/pot)

Change-Id: I809866ea7b16cb1cacad9efacb6fdeebae38ea9f
2017-05-09 16:37:41 +02:00
64563d3282 switchinline is none of emph's allowed children
fixed with following sed expression:
's#<emph>\(<switchinline[^>]*><caseinline[^>]*>\)\([^>]*\)\(</caseinline><defaultinline>\)\([^<]*\)\(</defaultinline></switchinline>\)\([^<]*</emph>\)#\1<emph>\2</emph>\3<emph>\4</emph>\5<emph>\6#g'

Change-Id: I03d36f4c52e78ca48fc2f94b275ffad7329071e3
2016-01-25 15:13:19 +01:00
c20dde3497 The 'lastedited' element is useless, we have git. 2015-11-12 09:34:06 +01:00
df4d4db740 re-base on ALv2 code. Includes:
Patch contributed by Oliver Rainer-Wittmann
    i#118572 - remove ui string and help content regarding
    usage of Java Mail in Writer's Mail Merge as Java
    Mail is not used.
    http://svn.apache.org/viewvc?view=revision&revision=1197035

    Patches contributed by Herbert Duerr
    updated help text for regexp word boundaries
    http://svn.apache.org/viewvc?view=revision&revision=1228026
    improved help text for word boundary regexp expression \b
    http://svn.apache.org/viewvc?view=revision&revision=1234738

    Patches contributed by Jurgen Schmidt
    remove onlineregistration with dependencies
    http://svn.apache.org/viewvc?view=revision&revision=1240245

    Patch contributed by Regina Henschel
    Extended tips for corner and cap style
    http://svn.apache.org/viewvc?view=revision&revision=1242287

* re-enable on-line update help, remove obsolete on-line purchasing.
2012-12-13 13:02:02 +00:00
61173c1b58 move help structure one directory up
Change-Id: Ie970e39fbb6795a92d9fdd13510409d7dcd071bc
2012-10-16 11:07:30 -05:00