summaryrefslogtreecommitdiffstats
path: root/source/text/sbasic/shared/03102100.xhp
Commit message (Collapse)AuthorAgeFilesLines
* fix String limit text/sbasic/shared/03102100 tdf#157822Pierre F2024-03-111-1/+1
| | | | | | | Change-Id: I62fb1b238cf03c29ef7ba6d01594d351754cf60b Reviewed-on: https://gerrit.libreoffice.org/c/help/+/164674 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* tdf#152323 drop name attribute from <link> elementsIlmari Lauhakangas2022-12-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* tdf#114263 Basic 'New' operator is optional when setting 'Option Compatible'Alain Romedenne2022-04-281-1/+3
| | | | | | | | Change-Id: I27ef9d9c832e4c52e5066336e54095ca949fec9c Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133398 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
* Create documentation for Basic "New" operatorRafael Lima2021-10-111-1/+4
| | | | | | | Change-Id: I11157f8db43811a107eb5270db5b39c351b37dcc Reviewed-on: https://gerrit.libreoffice.org/c/help/+/123159 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Improve linkOlivier Hallot2021-04-281-1/+1
| | | | | | | Change-Id: I209a986ce8a6b7ff995724eec0de55393f518050 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/114723 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
* tdf#131416 Basic help pagesLibreOfficiant2020-05-041-13/+19
| | | | | | | | | | - Redim - Type Change-Id: I473c7d9469705ddde52e51cd6d2695c87bb5781d Reviewed-on: https://gerrit.libreoffice.org/c/help/+/93369 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Mute L10n on numbers and symbolsOlivier Hallot2020-04-291-11/+11
| | | | | | | Change-Id: Ie835e07e7a62fbf479f5d5e1b75edcc8d39068c9 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/93113 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#129366 Basic Syntax DiagramsLibreOfficiant2020-04-231-53/+97
| | | | | | | | | | | | | | - runtime/compiler Option statements - Sub, Function, Property Get/Let/Set - Dim, ReDim, DimArray - Dim and Redim help pages reviewed and amended accordingly - Sub, Function, Property pages updates in subsequent patches Change-Id: Iee857aa6e17533278bf16917c0b7d32af0e038ea Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92528 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Deletion [Runtime] from names functionstagezi2018-02-221-2/+2
| | | | | | | | | | | | | [Runtime] was deleted [Runtime - VBA] was replaced to [VBA] Combination of words "runtime functions" and "runtime categiries" was replaced to "functions" and "categiries" respectively Change-Id: I1f03a5f2ef1697e216e144ecccbfb8942b315718 Reviewed-on: https://gerrit.libreoffice.org/49914 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Sophie Gautier <gautier.sophie@gmail.com> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Recover lost basic in help indentationCaolán McNamara2016-06-161-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | regression from... commit 6614bedceadcc07ec082c5e926107f27903bda5c Date: Mon Jan 25 20:07:10 2016 +0100 fix validation errors by round-trip through helpauthoring extension with git show 6614bedceadcc07ec082c5e926107f27903bda5c | ~/recoverindent.py import fileinput import re import sys added = [] removed = [] filename = "" def processlastfile(filename, added, removed): if len(added) != len(removed): print "BROKEN" sys.exit(-2) if len(removed): f = open(filename, "rw") linestring = open(filename, "r").read() start = 0 for x in range(0, len(added)): if added[x] == removed[x]: continue if added[x].strip() != removed[x].strip(): print "BROKEN" sys.exit(-2) if filename == "source/text/sbasic/shared/03080301.xhp" and x == 6: print "skipping special hunk", removed[x], "in source/text/sbasic/shared/03080301.xhp" else: start = linestring.find(added[x], start) if start == -1: print "BROKEN" sys.exit(-2) linestring = linestring[0:start] + removed[x] + linestring[start + len(added[x]):] start = start + len(removed[x]) open(filename, "w").write(linestring) for line in fileinput.input(): if line.startswith("--- a/"): if filename is not "": processlastfile(filename, added, removed) added = [] removed = [] filename = line[6:-1] elif "role=\"bascode\"" in line: m = re.search('>(.+?)<', line) code = m.group(1) if line.startswith("-"): removed.append(code) else: added.append(code) processlastfile(filename, added, removed) which puts the code back the way it was, except for one string which had changed and was fixed manually afterwards Change-Id: Ic67abf36bb5d27be58a51ebbf5022830f56dcb37
* fix validation errors by round-trip through helpauthoring extensionChristian Lohmaier2016-01-251-88/+79
| | | | | | | lots of missing attributes "id" and "xml-lang" (extension patched to keep bascode tag) Change-Id: I9c5600b6fa133a6b1062803eadb976e043db7a4a
* The 'lastedited' element is useless, we have git.Jan Holesovsky2015-11-121-1/+0
|
* re-base on ALv2 code. Includes:Michael Meeks2012-12-131-23/+14
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* format Basic code examplesAndras Timar2012-11-151-24/+31
|
* move help structure one directory upNorbert Thiebaud2012-10-161-0/+120
Change-Id: Ie970e39fbb6795a92d9fdd13510409d7dcd071bc