summaryrefslogtreecommitdiff
path: root/source/text/sbasic
AgeCommit message (Collapse)Author
2023-02-14[cp] Revert the .xhp parts of "Deploy videos in New Help (WIP)"Jan Holesovsky
Partially reverts commit 93ebf037016819613322ef1c39951a3de893ec14. Change-Id: I21224f97e9c47d5dfeb8e000102237a5664d3d41
2023-01-08do not localize source codeco-23.05-branch-pointStanislav Horacek
Change-Id: I00c8b6014be077f78485e43cbe0f86f2c2f29c6c Reviewed-on: https://gerrit.libreoffice.org/c/help/+/145173 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> (cherry picked from commit 34e1fdb87700f1541ca5b15e3e3cfcd0dc5c2e98) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/145126
2023-01-04mark Basic code as not localizableStanislav Horacek
Change-Id: Ic9ddc042c33c98fc5e73c2beb7ad65801adf9d38 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144966 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> (cherry picked from commit cedd7a3550c09bef1e1b5d496431c7326e1bd1ec) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/145002 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-12-17Update documentation of SF_Dialog and SF_Dialog control servicesRafael Lima
This patch does the following changes: 1) Explain how to handle exceptions in dialog and control event handlers (both in Python and Basic) 2) Document the new SetPageManager method 3) Plus a few minor fixes in the text Change-Id: I4f7b3bfae025b45214b90dd036ecdbf4977d47e9 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144018 Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be> (cherry picked from commit cd924ae6a0bd8fbaad2ee4bcac7d4ccd7c689a59) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144311 Tested-by: Jean-Pierre Ledure <jp@ledure.be>
2022-12-17Document the new SF_Datasheet serviceRafael Lima
This patch creates the help page for the new ScriptForge service named Datasheet. It also updates associated methods that were added to the Base and Database services. Change-Id: I6611653b77e1ee41f6afacccb2094f19d7178434 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144183 Tested-by: Jenkins Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be> (cherry picked from commit 63011fa12038ecc796a66fb4fae4851f5b2647c3) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144354 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-12-17Update documentation of SF_Basic serviceRafael Lima
This patch adds the new CreateUnoStruct method and fixes a few minor issues in the file. Change-Id: I1369e801d4e86f3413ccd7e13dcae8255e4ff5b8 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144122 Tested-by: Jenkins Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be> (cherry picked from commit 958bceabc62ee570a389d1b18a18b82cc95c9e85) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144313
2022-12-17Document new FilterFormula and FilterScope arguments in SF_Calc serviceRafael Lima
This patch updates the ScriptForge's Calc service to document the FilterFormula and FilterScope arguments that were added to the following methods: - ClearAll - ClearFormats - ClearValues - SetCellStyle Change-Id: Ice17a37ca49576f07be7f57800b11050054d90b3 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144057 Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be> (cherry picked from commit 07a7f0f505d659779dfe7d344e65fd47d38f111e) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144312 Tested-by: Jean-Pierre Ledure <jp@ledure.be>
2022-12-12Mute L10n in code instructionsOlivier Hallot
Change-Id: I92f719fbd4b646809fb385360541b285a41fd3d9 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143919 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> (cherry picked from commit 3f394267138498a70430a44dcbc4cff8727ce367) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144019 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-12-08Fix to python script sampleAlain Romedenne
Change-Id: I9e79c85aecde08225212fd7985d32bd55a5f7bf1 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143724 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-12-07tdf#152323 drop name attribute from <link> elementsIlmari Lauhakangas
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-11-15silence make translations warning (emtpy string flagged for translation)Christian Lohmaier
Change-Id: Ie8d188eca6b04a1e264ebe4f1abfeaa79bcba37d
2022-11-14DoEvents extra indicationsAlain Romedenne
Change-Id: I04da53ff9a7426a1698c880e26b4cdf01b7daf90 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/142677 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-11-14CreateUnoServiceWithArguments supplemental method identification patternAlain Romedenne
Change-Id: I38e3938e9392558951c1cd64b2a669bd5e5c9093 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/142676 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-11-11Basic typoAlain Romedenne
Change-Id: I6890eea2de0b2e6e7d95c0289ef8810434a89df6 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/142517 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-11-09Basic typoAlain Romedenne
Change-Id: I8fb221c1af3a3be26cb30f85fcb9732b2e03bcd8 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/142446 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-11-09tdf114263 DoEvents new help pageAlain Romedenne
Change-Id: I4a031759aa48df9230e4019740a94ca167519792 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141920 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-11-07tdf#150369 IsMissing Function explanationBogdan B
Change-Id: I10a25151109d4048fdbf8eca596f0f1e334092a2 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/142300 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-11-07tdf141474 Typename, Vartype functions accept keyword argumentsAlain Romedenne
- argument names updated to comply with VBA conventions Change-Id: I2166e62d6df4e0f72aaa494e96f9a515b03e3ac7 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141919 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-11-03Corrections to UNO objects, function & services help pageAlain Romedenne
Change-Id: Ia72f062c5d0ec07e61aa6b45caea31139acf561e Reviewed-on: https://gerrit.libreoffice.org/c/help/+/142199 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-10-30tdf141474 CreateUnoService accepts keyword argumentsAlain Romedenne
tdf114263 CreateUnoServiceWithArguments new help page Change-Id: I217746d0817cefcaab7ecb07d30b2c3f2ad8bfff Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141916 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-10-26index correctionAlain Romedenne
Change-Id: I9580f8bef5138364667df66eb950f1d205b5e9a2 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141837 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-10-25Fix typoAndrea Gelmini
Change-Id: I3b533183d82a707ee837cd584d3e9ed3862c2ed5 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141827 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-10-25tdf141474 CreateUnoListener function accepts keyword argumentsAlain Romedenne
- literals and links added to improve page legibility - 'related to' items added - Multiple text clarifications and additionss Change-Id: I0d7515783cb53f382ff2246a4a377ffb871a8284 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141578 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-10-21Bracketed hidden <help text> gets shownAlain Romedenne
Change-Id: I30a459a5445e7e42bf762fe081cfe7e7474188f1 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141576 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-10-20Fix malformed XML (missing closing tag)Olivier Hallot
Change-Id: I81e223af8c85589569af75d755d787d3102ad6a4 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141597 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-10-20Typo grab bagAdolfo Jayme Barrientos
Change-Id: I5065a95400934026fb8a52dbeb72793c66b8caf5
2022-10-19Mute L10n for function string parameter DateDiff and DatePartOlivier Hallot
Change-Id: Iea892bef40f76e08271c02c6604b689866a4be30 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141408 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-10-14typoAlain Romedenne
Change-Id: Iaf047d5a663d1cd3facfd8ab270cd654b5ff0ce8 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141322 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-09-27remove empty paragraphsAndras Timar
Change-Id: I42a12141e42c286e2d3398e8d05d19567ea0ca03 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/140652 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-09-24Silence strings for translation in SF Region serviceRafael Lima
The example for calling "help" with the Number2Text method cannot be translated because the number and order of options is different for each supported language. For example, in "en-US" we have the following options: one, two, three ordinal: first, second, third ordinal-number: 1st, 2nd, 3rd year: nineteen ninety-nine, two thousand, two thousand one currency (for example, USD): two U.S. dollars and fifty cents money USD: two and 50/100 U.S. dollars Whereas in "pt-BR" the options are very different (and more importantly, a different number, which totally prevents translation). um, dois, três feminine: uma, duas, três masculine: um, dois, três ordinal-feminine: primeira, segunda, terceira ordinal-masculine: primeiro, segundo, terceiro ordinal-number-feminine: 1.ª, 2.ª, 3.ª ordinal-number-masculine: 1.º, 2.º, 3.º Change-Id: I688de573b82ca83d714562f1acc705c23333081f Reviewed-on: https://gerrit.libreoffice.org/c/help/+/137528 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-09-19Reuse and sync help contentAlain Romedenne
Change-Id: Ia95c3da543efd8dddfdcfa635d316b3c10fa52eb Reviewed-on: https://gerrit.libreoffice.org/c/help/+/139569 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-09-02Menu & dialog item updatesAlain Romedenne
Change-Id: I4a789ee68139f5d270d93e88393cd1ed443f5862 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/138990 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-08-29Addition of missing literalsAlain Romedenne
Change-Id: Ib185d6b0d71d19270be233168cff814d8beb5291 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/138825 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-08-02Fix typoAndrea Gelmini
Change-Id: I9d067f28df51e2537335c9b896c32d6a86bcc1d8 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/137699 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-08-02Update bookmarks for python_programming.xhpRafael Lima
This patch also fixes all duplicated IDs that existed in this file. Change-Id: I186f54d44a3863e2ead5f8e5ea33d4262e665f46 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/137529 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-08-02Document the new method Normalize in SF FileSystemRafael Lima
Change-Id: If991bff08656c3de0616e2914c8cc31979c4c445 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/137417 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-07-28Improve description of how to invoke Documents and Calc SF servicesRafael Lima
Change-Id: Id9b9cc379bd838bdbae882554c8320f30595453e Reviewed-on: https://gerrit.libreoffice.org/c/help/+/137416 Tested-by: Jenkins Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2022-07-23Warn that names of Calc formulas must be in EnglishRafael Lima
While translating the help and doing some testing, I realized that the CompactLeft and CompactUp methods require the filterformula argument to use the English names of Calc formulas. This patch adds a note about it. Change-Id: Ie21b900ce52de566a2da8ec7a2813c46315403ee Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136933 Tested-by: Jenkins Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-07-19Fundamental confusion: *“Beware that” → “Be aware that”Adolfo Jayme Barrientos
Change-Id: I7f6b830a87bbdf2380c32d515554cb9836b50848 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/137211 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-07-14fix Number2Text exampleStanislav Horacek
Change-Id: I20b3a7741fcee1901cf8a064dd9f6aaa39d91114 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136950 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-07-02TyposOlivier Hallot
Change-Id: I6d70cc7d010d09605565c0f24e5a349d08dd4291 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136754 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-07-01Document the new UnitTest service of the ScriptForge libraryRafael Lima
This patch also updates the sbasic.tree to include the Region and UnitTest services. I also moved the ScriptForge library so that it appears right below the Advanced Basic Libraries (previously it was inside this section). Change-Id: I7dfd9080dcd3212d2b53f88480087d48f5dec60c Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136548 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-07-01A typoMike Kaganski
Change-Id: Ia66600bae81940747ec703b7c0d4b358cb88cb48 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136703 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-06-30Document the new Region service in ScriptForgeRafael Lima
Change-Id: Ic7869d6c21fdcbbd3a2a9631647d115654adf889 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136388 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-06-26String updates…Adolfo Jayme Barrientos
... to remove some hardcoded product names and to bring the help in line with recent UI changes Kudos to Celia and Olivier Change-Id: If83039fce0612e04d59c5a5bebba6993c1e5a044 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136445 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-06-24Toc update to document Python resourcesAlain Romedenne
Python modules deserve to be highlited: - scriptforge - uno - msgbox Change-Id: I6d0cad668527b17b1f3ca898d5001768cb30a318 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/135947 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-06-24Document new ExportRangeToFile method of the Calc serviceRafael Lima
This patch also clarifies the use of single quotes in sheet names. Change-Id: I6a0f3b62b74d7443144d7957ae5478196580bec8 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136120 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-06-22Document new properties of the SF_UI serviceRafael Lima
This patch documents the following new properties in the UI service of the ScripfForge library: Height, Width, X and Y Change-Id: Ie15844c0688c9dbf22146a2e2ea5a8690b1c005a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136169 Tested-by: Jenkins Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-06-22Document ExportFilters / ImportFilters in SF_DocumentRafael Lima
Change-Id: I63469ce9a6ea479f31f98612b0919bbca034e3a6 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136168 Tested-by: Jenkins Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-06-22Improve SF.exception PythonPrint() method contentAlain Romedenne
APSO extension is optional despite existing explanation Change-Id: Ib7615996a04dd770d2ec96e6f6066c272074248b Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136051 Tested-by: Jenkins Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com> Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>