summaryrefslogtreecommitdiffstats
path: root/source/text/sbasic/shared/03/sf_array.xhp
Commit message (Collapse)AuthorAgeFilesLines
* Create TOC with all ScriptForge methods and propertiesRafael Lima2022-12-171-29/+39
| | | | | | | Change-Id: I32be401689efce0cba70216458bc7c8ba4a405c5 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144309 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#152323 drop name attribute from <link> elementsIlmari Lauhakangas2022-12-071-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* SF ImportFromCSVFile: allow localization of data and date format in exampleStanislav Horacek2021-12-281-11/+11
| | | | | | | Change-Id: If089e461708cf483d963aae8876b386504b6e6c8 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/127453 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* fix typo in importing/exporting from/toStanislav Horacek2021-12-191-1/+1
| | | | | | | Change-Id: Icc7b9379bde2bc11bbdaed1844838e48101b0e9e Reviewed-on: https://gerrit.libreoffice.org/c/help/+/127100 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Remove avail_release <notes> from SF documentationRafael Lima2021-12-041-1/+0
| | | | | | | | Change-Id: Iab4c6ecba7f4db57bed82a29c5c4b9434b4efbb4 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126295 Tested-by: Jenkins Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
* Minor fixes in help files (sbasic)Rafael Lima2021-09-161-5/+5
| | | | | | | Change-Id: Ifb4a91bfeb1ca8f7e67e9affa30b1e29028b4731 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122071 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Fix example in SF_ArrayRafael Lima2021-07-261-4/+6
| | | | | | | Change-Id: Ib52749668ada9c1b250cb0eb5f9c530808475fd2 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/119439 Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
* Adapt SF_Array to the new method signature notationRafael Lima2021-07-261-859/+911
| | | | | | | | | | | This patch updates the syntax and arguments in all methods according to the new notation used in other SF services. It also introduces the ImportFromCSVFile method to Python scripts. This patch also updates a few examples in Basic. Change-Id: Ib565f31ad13f5455ff1df260ec60cae5d8848cd9 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/119437 Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
* sf_session new help pageAlain Romedenne2021-02-121-2/+6
| | | | | | | | | | | - extra bookmark & link in sf_array - typo in py2bas - typo in sf-string Change-Id: I508722de9b4cb1e55e203ba97b470b28f1ba03ae Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110678 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
* Recreates SF_String Help page (ScriptForge)Rafael Lima2021-02-071-1/+1
| | | | | | | | | | | | | | | | 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>
* Revert "Create Help page for the SF_String service"Olivier Hallot2021-02-041-1/+1
| | | | | | | | | | | This reverts commit a6f6fa2254ced7120ac0fb0075b4fd5195c334af. Reason for revert: was not yet ready Change-Id: Ibc95e08e2cb2a1f2220b503f3ab472518f98a047 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110365 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Create Help page for the SF_String serviceRafael Lima2021-02-041-1/+1
| | | | | | | | | | | | | SF_Array: - Adds a <variable> tag SF_Document: - Fixes localization issues pointed out by translators on WebLate Change-Id: Ifa0a3c7665796ea2e5464dc3f2bd9508b3f7847c Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110360 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Fixes localization issues in ScriptForge Help pagesRafael Lima2021-01-231-9/+9
| | | | | | | | | | | Some code blocks with comments need translation and therefore need to have the localize="false" removed. Also, other parts of the text shouldn't be localized, so localize="false" was added. Change-Id: Id072eb88f95ee8759f86d2ca3736698855b50b4b Reviewed-on: https://gerrit.libreoffice.org/c/help/+/109801 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Remove reference to Calc sheets in Array serviceJean-Pierre Ledure2021-01-101-1/+1
| | | | | | | | | | | | Within ScriptForge services, import/export methods between arrays and Calc sheets are in the SF_Calc module and, hence, in the sf_calc.xhp help Change-Id: I95386bfa83a8c15e84b9f097ce9cd5401f5abf45 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/108993 Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Update SF_Array Help pageRafael Lima2021-01-071-32/+70
| | | | | | | Change-Id: I91312284137f9d5bf6394724960003ea2366a3fb Reviewed-on: https://gerrit.libreoffice.org/c/help/+/108907 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* ScriptForge library modules - WiPAlain Romedenne2020-12-171-388/+851
| | | | | | | | | | - sf_array page restored after being overwritten - self-links in both pages on H1 tag Change-Id: I9c3d47447124d5c7199a03c9a7d76e0e337244ef Reviewed-on: https://gerrit.libreoffice.org/c/help/+/107695 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* ScriptForge library modules - WiPAlain Romedenne2020-12-081-0/+410
+ Array module + Dictionary module Change-Id: Ida2290005befb59f2b7c3699744ff49b32226e24 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/106513 Tested-by: Jenkins Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>