summaryrefslogtreecommitdiff
path: root/source/text/sbasic
AgeCommit message (Collapse)Author
2019-12-06fixing 'related topics' layout for a conciser display LibreOfficiant
Change-Id: I01535595b22ea3cb59111bfd5c681283fd94049c Reviewed-on: https://gerrit.libreoffice.org/84625 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-11-28related topics section title missLibreOfficiant
+ related topics legibility improvement in compatible.xhp Change-Id: I59ce332560d99b949f180cd37cfd61c40d9ff3f9 Reviewed-on: https://gerrit.libreoffice.org/83981 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> (cherry picked from commit d17d3ef38a781cc8c788b483e128a292ad0e3e4c) Reviewed-on: https://gerrit.libreoffice.org/83989
2019-11-22LibO Type statement extends enumerations to all data types.LibreOfficiant
Change-Id: I8574a5c9290071c96618b1cb1aadc26068abd2b1 Reviewed-on: https://gerrit.libreoffice.org/82571 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> (cherry picked from commit 2647b00f50bee666a7e23bb5f8471269d03b41c9) Reviewed-on: https://gerrit.libreoffice.org/83494
2019-11-22tdf#128808 Clarify Basic libraries containersOlivier Hallot
Change-Id: Iaa85a3b0340eb88c8b81ee8070039c1e518789f6 Reviewed-on: https://gerrit.libreoffice.org/83092 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> (cherry picked from commit 75af753c3f78948c40ce34c5f6d61584b7e931a9) Reviewed-on: https://gerrit.libreoffice.org/83495
2019-11-10Mute L10n of some Basic codeOlivier Hallot
Change-Id: If1e98008ad0534d4d9c0466b9df35b908d31ea77 Reviewed-on: https://gerrit.libreoffice.org/82370 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-11-10Mute L10N in Basic lbound functionOlivier Hallot
Change-Id: I3b88a89caa2c782fd0aedb85cb50d74e36448c07 Reviewed-on: https://gerrit.libreoffice.org/82368 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-11-08faulty $[officename] and routine name adequate namesLibreOfficiant
Change-Id: I53fe5fecab562b2cf15da2d96dcabdd79ee7f25e Reviewed-on: https://gerrit.libreoffice.org/82218 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-11-07Mute L10n in some Basic code linesOlivier Hallot
Change-Id: Idbaf2b44d4c7a6220aea66d75c00f36053a22f31 Reviewed-on: https://gerrit.libreoffice.org/82193 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-11-07Misc. typo fixing and removal of pointless tagsAdolfo Jayme Barrientos
Change-Id: I7ecffd0417b7e88b76f44e64911c3d8a2f935104
2019-11-03typo + faulty linkLibreOfficiant
Change-Id: Ic6fcb2e820f4ff5a8adfcbbed9166afc5635f36b Reviewed-on: https://gerrit.libreoffice.org/81933 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-11-01More informative descriptions for GlobalScope, xxLibrariesLibreOfficiant
Links to existing examples Note to API materiel Change-Id: Iaee88045b212388ef1cf0fa6207da96bf544d0af Reviewed-on: https://gerrit.libreoffice.org/81889 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-31sbasic.tree, uno_objects, ThisComponent better descriptions LibreOfficiant
Change-Id: Ie1778adf59317260cc0c9a1c1eb43ed2d66e7518 Reviewed-on: https://gerrit.libreoffice.org/81822 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-31tdf#127716 Add GlobalScope object descriptionOlivier Hallot
Also add BasicLibraries and DialogLibraries Refactor page Add entry in tree Change-Id: I9754af4d98fc6267120c232e1ba366262534b3a7 Reviewed-on: https://gerrit.libreoffice.org/81803 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-25Fix links for basic_2_python pageOlivier Hallot
Change-Id: I7ffd91ea10b22a5215a77be9639dd8d9c27c9ed0 Reviewed-on: https://gerrit.libreoffice.org/81509 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-25Wrong links & extra bookmarksLibreOfficiant
Change-Id: I454e5ee23a17e48931dee2d51ad1639fb73ecba9 Reviewed-on: https://gerrit.libreoffice.org/81487 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-24Documenting how to call Python routines from Basic macrosLibreOfficiant
Change-Id: I904cafe91ad7c5e72d09209c68db401003dda556 Reviewed-on: https://gerrit.libreoffice.org/81412 Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-24UBound/LBound functions return a 'Long', help says 'Integer'LibreOfficiant
Verified on Windows, GNU/Linux and MAC OS: Typename(Ubound(array)) and Typename(Lbound(array)) equal "Long" Inherited from aOO Change-Id: I389c2d70c10e374ffe674dd8ef40d787d55389cd Reviewed-on: https://gerrit.libreoffice.org/81416 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-20Remove D'oh! errors in Help PageOlivier Hallot
Change-Id: I8ab35df77621eae157ebb6a76f3ab6af6fa271a7 Reviewed-on: https://gerrit.libreoffice.org/81148 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-17compatible.xhp page split is causing lost link in 03103350.xhp pageLibreOfficiant
Change-Id: Id807bedacc0c71fed8e6f5cdae77814e478b2bdd Reviewed-on: https://gerrit.libreoffice.org/80940 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-15Restrict warning to sys=UNIXOlivier Hallot
Warning applies only to UNIX like systems Change-Id: I1fe93eef298bb7f3f00d0318edb4413672e93d1f Reviewed-on: https://gerrit.libreoffice.org/80831 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-09-19Add a warning detailing how to check Python's presence.LibreOfficiant
Change-Id: I31a1f4a99742b05f6f7a0c1b9904e78475ea9a4e Reviewed-on: https://gerrit.libreoffice.org/79177 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-08-29Insert the description of the change.LibreOfficiant
Change-Id: I2dba6f76867798d59eae1e1f2d7c6c2734dd6eb4 Reviewed-on: https://gerrit.libreoffice.org/78276 Reviewed-by: LibreOfficiant <LibreOfficiant@sfr.fr> Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-08-26The exact context where Basic IDE is absent needs to be clarifiedLibreOfficiant
Change-Id: I722b5d37dcb6b6ea772ab6c8b6022484346ab29d Reviewed-on: https://gerrit.libreoffice.org/78117 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-08-19TypoOlivier Hallot
Change-Id: I450b7d1c0b860f17cdd7a2ee36993fe90c58310f Reviewed-on: https://gerrit.libreoffice.org/77731 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-08-17Python console examples work better this wayLibreOfficiant
Change-Id: I0c325b7fed727f398c11eea41d7c46a061c3a837 Reviewed-on: https://gerrit.libreoffice.org/77598 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-08-12Faulty link in VBA funcsLibreOfficiant
Change-Id: If8f561648f24b82ea0d36ca95ea0d7a49a053909 Reviewed-on: https://gerrit.libreoffice.org/77333 Tested-by: Jenkins Reviewed-by: LibreOfficiant <LibreOfficiant@sfr.fr> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-08-07Don't translate example code snippetsGabor Kelemen
Also avoid errors at 'make translations' such as: Helpex warning: invalid po attributes extracted from /home/gabor/src/core/helpcontent2/source/text/sbasic/python/python_2_basic.xhp No string specified! GroupID: N0344 Helpex warning: invalid po attributes extracted from /home/gabor/src/core/helpcontent2/source/text/sbasic/python/python_2_basic.xhp No string specified! GroupID: N0382 Helpex warning: invalid po attributes extracted from /home/gabor/src/core/helpcontent2/source/text/sbasic/python/python_2_basic.xhp No string specified! GroupID: N0387 Helpex warning: invalid po attributes extracted from /home/gabor/src/core/helpcontent2/source/text/sbasic/python/python_2_basic.xhp No string specified! GroupID: N0393 Helpex warning: invalid po attributes extracted from /home/gabor/src/core/helpcontent2/source/text/sbasic/python/python_2_basic.xhp No string specified! GroupID: N0395 Helpex warning: invalid po attributes extracted from /home/gabor/src/core/helpcontent2/source/text/sbasic/python/python_2_basic.xhp No string specified! GroupID: N0400 Helpex warning: invalid po attributes extracted from /home/gabor/src/core/helpcontent2/source/text/sbasic/python/python_2_basic.xhp No string specified! GroupID: N0405 Helpex warning: invalid po attributes extracted from /home/gabor/src/core/helpcontent2/source/text/sbasic/python/python_2_basic.xhp No string specified! GroupID: N0417 Change-Id: I0715209dd8cf7b044a2914cfbcd3cfabdeab66ed Reviewed-on: https://gerrit.libreoffice.org/77073 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-07-28tdf#126528 Add Python in Organize scripts pageOlivier Hallot
Change-Id: I8d18f5e264fe11924a8ea234e82355913b0417d2 Reviewed-on: https://gerrit.libreoffice.org/76382 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-07-27Fix typoAndrea Gelmini
Change-Id: Ib92a4ba3f7b5dc41930e788c061c70fc74ab18f7 Reviewed-on: https://gerrit.libreoffice.org/76467 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2019-07-26Python dialog handler new topicLibreOfficiant
'Dialog Handler' new topic bunch of x-ref between pages make & toc OH: - fixed broken file path - fixed broken links Change-Id: I37e94fea48c394310298ff6f4b13f22c71c523c4 Reviewed-on: https://gerrit.libreoffice.org/76191 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-07-26Format some Basic UNO pagesOlivier Hallot
Use css class 'code' for syntax of Basic statements Use embeds for section title in pages Change-Id: I54269e1cf995e1bc2921317bd4f4910d1c558733 Reviewed-on: https://gerrit.libreoffice.org/76264 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-07-16TypoLibreOfficiant
Change-Id: I854c7a4112eda552122fa37f15bcf9752ad302ae Reviewed-on: https://gerrit.libreoffice.org/75627 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-07-15Python to Basic Help pageLibreOfficiant
- Python x Basic inter-language calls - Dialog handlers with Basic or Python Amend 1 - place page at right path - inter-page link calls - entry in Contents - Some changes in passive voice, articles in text Change-Id: I5bb54150f534486c092036a8ed4fa7cc38cc9ef0 Reviewed-on: https://gerrit.libreoffice.org/75057 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-07-13Let's cope with help index idiosyncrasiesLibreOfficiant
Change-Id: I2cd538428cf91dc0c0802389b4db26e07ab33073 Reviewed-on: https://gerrit.libreoffice.org/75501 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-07-05Insert sys=MAC in some menu pathsOlivier Hallot
MAC often forgotten in menu path descriptions. Change-Id: Ib6e9062b06389063d6f8293a95cd3e07e1919161 Reviewed-on: https://gerrit.libreoffice.org/75040 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-06-28Add example on CreateUnoService for Calc functionsOlivier Hallot
Most demanded from user base on how to call Calc function with the API. Change-Id: I0a01b941385d26f35369a4e6226da223e7c57cf4 Reviewed-on: https://gerrit.libreoffice.org/74813 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-06-28Split VBA Compatibility files and enhanceOlivier Hallot
Add examples, Add cross-links Split files Change-Id: I92bef363f008aeed367167b50c4ea9a9943a62ff Reviewed-on: https://gerrit.libreoffice.org/74812 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-06-24Some examples of Basic macrosLibreOfficiant
Change-Id: I20f0693dfb1e965f50be875565d505021bcb9d4a Reviewed-on: https://gerrit.libreoffice.org/73861 Tested-by: Jenkins Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-06-24Remove duplicated HID bookmarks in sbasicGabor Kelemen
Duplicates found with: for i in $(find source/text/sbasic -name "*xhp") ; do grep branch=\"hid/.uno: "$i" | cut -d ":" -f2 | cut -d \" -f 1 | uniq -c | grep -v "1 " ; if [ $? -eq 0 ] ; then echo "Above HID branches are redundant in: $i" ; fi done Change-Id: I2882cca272e3eee6b0d45d3a0b5bcfaeaaf23ddb Reviewed-on: https://gerrit.libreoffice.org/74616 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-06-11tdf#125763 Remove confusing remark on Variable declarationsOlivier Hallot
Plus, refactor the page layout, eliminating the tables. Change-Id: I47bf8c479a073ea087923d9952ca586d85392ea0 Reviewed-on: https://gerrit.libreoffice.org/73668 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-06-05Prevent L10n issue when building HelpOlivier Hallot
Pootle does not convert back &lt; and &gt; into the same entities, thus disturbing XML parsing of string. Changed to (). Change-Id: I4e754313a2c51c6b5b190a7e236768fe84ec8672 Reviewed-on: https://gerrit.libreoffice.org/73444 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-31faulty xml comment in bookmarklibreoffice-6-3-branch-pointLibreOfficiant
bis repetita mea culpa Change-Id: I7dec8f40d5a39f20b0a214a4cacdb7ebc4ce2c02 Reviewed-on: https://gerrit.libreoffice.org/73260 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-30WIP: refactor some Python/Basic pagesOlivier Hallot
Change-Id: I3590e7a6e0cf62d9f9e33e8081be50ab4d0ae769 Reviewed-on: https://gerrit.libreoffice.org/73175 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-28Remove xml comments from fileOlivier Hallot
xml comments inside <bookmark> index are moved as is to Pootle and are not handled as comment when brought back to translated file. Change-Id: I040cf84851dea3feea26054cb9a0a20e1241c53b Reviewed-on: https://gerrit.libreoffice.org/73112 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-27- Pages mutual x-RefsLibreOfficiant
- Relate Tools help page to Basic Dialog page - Basic page title change - extra bookmark(s) - Basic code change - loadLibrary code change - loadDialog with full path (as best practice) Change-Id: Ia9a449b1dc8cb3a5acc7a921feeedebe7ce9cefb Reviewed-on: https://gerrit.libreoffice.org/72946 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-20De-dup paragraph idOlivier Hallot
Change-Id: Ibbd54040bd439e08c5496383575aa15aae5f4f05 Reviewed-on: https://gerrit.libreoffice.org/72606 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-20Platform regognition for Basic languageLibreOfficiant
localisation adjustments Change-Id: Iced427fc30c0bb8fe3873f9d42e64786c863c619 Reviewed-on: https://gerrit.libreoffice.org/72603 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-20- Partial refactoring using API callsLibreOfficiant
- New bookmarks - Link from Basic Adv libraries to Platform page Caution: Please fix GlobalScope miss in </bascode> parser in the first place! Change-Id: Ifeaa98d5491b659a1dddbdbe3dddc417779374cf Reviewed-on: https://gerrit.libreoffice.org/72583 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-11TyposAdolfo Jayme Barrientos
Change-Id: Id5040a184e0dbc5456ceb8010a35dc0380b7e01f
2019-04-29Dropped parenthesis throws compiler errorLibreOfficiant
Change-Id: Ib3179cd0d853e92e4b9ced7f3e504f27e88e6de3 Reviewed-on: https://gerrit.libreoffice.org/71536 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>