summaryrefslogtreecommitdiffstats
path: root/source/text/sbasic/python
Commit message (Collapse)AuthorAgeFilesLines
* typoAlain Romedenne2020-06-291-1/+1
| | | | | | | | | | Change-Id: I1bcca86f97f87ae5a5240adbea7055bf669afbf6 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97145 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> (cherry picked from commit 5ea3a748d1a9d9126da15332df1899e6d17e4f8b) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97375 Reviewed-by: Sophie Gautier <sophi@libreoffice.org>
* Fix a couple of product namesAdolfo Jayme Barrientos2020-03-051-1/+1
| | | | Change-Id: I7d1fffadc0bcaec4ec9e9d43c9d9bb3351d570b7
* fix name of APSO extensionStanislav Horacek2020-02-081-1/+1
| | | | | | | Change-Id: I17a1b9f0a6b67c05a77b328a06b9e4091e7c0c26 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88263 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* tdf#127919 link Assign Component dialog to 'Creating A Dialog Handler'Caolán McNamara2019-12-121-0/+1
| | | | | | | | Change-Id: Ie0f7b0e45ebf0e39d67abc36640cdffd22e08e29 Reviewed-on: https://gerrit.libreoffice.org/85064 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* related topics section title missLibreOfficiant2019-11-281-1/+1
| | | | | | | | + 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>
* Fix links for basic_2_python pageOlivier Hallot2019-10-251-2/+2
| | | | | | | Change-Id: I7ffd91ea10b22a5215a77be9639dd8d9c27c9ed0 Reviewed-on: https://gerrit.libreoffice.org/81509 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Documenting how to call Python routines from Basic macrosLibreOfficiant2019-10-242-7/+4
| | | | | | | | | 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>
* Restrict warning to sys=UNIXOlivier Hallot2019-10-151-1/+5
| | | | | | | | | 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>
* Add a warning detailing how to check Python's presence.LibreOfficiant2019-09-191-0/+1
| | | | | | | | 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>
* The exact context where Basic IDE is absent needs to be clarifiedLibreOfficiant2019-08-261-1/+2
| | | | | | | Change-Id: I722b5d37dcb6b6ea772ab6c8b6022484346ab29d Reviewed-on: https://gerrit.libreoffice.org/78117 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* TypoOlivier Hallot2019-08-191-1/+1
| | | | | | | Change-Id: I450b7d1c0b860f17cdd7a2ee36993fe90c58310f Reviewed-on: https://gerrit.libreoffice.org/77731 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Python console examples work better this wayLibreOfficiant2019-08-171-1/+1
| | | | | | | Change-Id: I0c325b7fed727f398c11eea41d7c46a061c3a837 Reviewed-on: https://gerrit.libreoffice.org/77598 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Don't translate example code snippetsGabor Kelemen2019-08-071-64/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* tdf#126528 Add Python in Organize scripts pageOlivier Hallot2019-07-281-1/+1
| | | | | | | Change-Id: I8d18f5e264fe11924a8ea234e82355913b0417d2 Reviewed-on: https://gerrit.libreoffice.org/76382 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Fix typoAndrea Gelmini2019-07-271-2/+2
| | | | | | | Change-Id: Ib92a4ba3f7b5dc41930e788c061c70fc74ab18f7 Reviewed-on: https://gerrit.libreoffice.org/76467 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Python dialog handler new topicLibreOfficiant2019-07-264-9/+173
| | | | | | | | | | | | | | | '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>
* TypoLibreOfficiant2019-07-161-6/+6
| | | | | | | Change-Id: I854c7a4112eda552122fa37f15bcf9752ad302ae Reviewed-on: https://gerrit.libreoffice.org/75627 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Python to Basic Help pageLibreOfficiant2019-07-154-1/+155
| | | | | | | | | | | | | | | | - 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>
* Let's cope with help index idiosyncrasiesLibreOfficiant2019-07-132-11/+11
| | | | | | | Change-Id: I2cd538428cf91dc0c0802389b4db26e07ab33073 Reviewed-on: https://gerrit.libreoffice.org/75501 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Prevent L10n issue when building HelpOlivier Hallot2019-06-051-1/+1
| | | | | | | | | | 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>
* faulty xml comment in bookmarklibreoffice-6-3-branch-pointLibreOfficiant2019-05-311-1/+0
| | | | | | | | | | 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>
* Remove xml comments from fileOlivier Hallot2019-05-281-2/+0
| | | | | | | | | | 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>
* - Pages mutual x-RefsLibreOfficiant2019-05-271-2/+2
| | | | | | | | | | | | | | - 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>
* De-dup paragraph idOlivier Hallot2019-05-201-1/+1
| | | | | | | Change-Id: Ibbd54040bd439e08c5496383575aa15aae5f4f05 Reviewed-on: https://gerrit.libreoffice.org/72606 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Platform regognition for Basic languageLibreOfficiant2019-05-201-5/+4
| | | | | | | | | localisation adjustments Change-Id: Iced427fc30c0bb8fe3873f9d42e64786c863c619 Reviewed-on: https://gerrit.libreoffice.org/72603 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* - Partial refactoring using API callsLibreOfficiant2019-05-201-11/+23
| | | | | | | | | | | | - 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>
* Dropped parenthesis throws compiler errorLibreOfficiant2019-04-291-1/+1
| | | | | | | Change-Id: Ib3179cd0d853e92e4b9ced7f3e504f27e88e6de3 Reviewed-on: https://gerrit.libreoffice.org/71536 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Monitoring document events with Python & BasicLibreOfficiant2019-04-275-9/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Mutual help pages x-refs -tree addition -new bookmarks for --Advanced Basic Libraries --Appl. Progr. Interface NB: I wish I could create new </img> in gerrit OH: moved new xhp to right position New image Update makefiles several x-ref fixes libO: Added language-driven <switch/> and <case/> tags for 3 different img captures that XHP Editor doesn't propose but that are documented Couldn't validate such switches.. crossing fingers.. OH: Languages are not switchable, as explained in comments. Removed reference to image for good (not l10n full support). fix missing apostrophe. Change-Id: I97c92fc879df19f9e8de73e828cd3324ba2163fa Reviewed-on: https://gerrit.libreoffice.org/70896 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* topic tag correctionLibreOfficiant2019-04-261-2/+2
| | | | | | | | | mispelled link Change-Id: I34ecbbfca31285efe9af3eaa9ab0d2c1ee7b7b64 Reviewed-on: https://gerrit.libreoffice.org/71377 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* added hasUnoInterfaces()LibreOfficiant2019-04-261-0/+6
| | | | | | | Change-Id: I41e521c34c4dbf161b0bd4316da75d6db7ec4314 Reviewed-on: https://gerrit.libreoffice.org/71214 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Fix PRODUCTNAMEOlivier Hallot2019-04-171-1/+1
| | | | | | | Change-Id: I11a5ac0e5c1a33eb6f28c32024dab0fceec91e14 Reviewed-on: https://gerrit.libreoffice.org/70888 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* New Python page + updates to existing pages to support embedded referencesLibreOfficiant2019-04-103-2/+165
| | | | | | | Change-Id: Ie7bd884db45e3ca59dee1ffa79b2ea14ced3d160 Reviewed-on: https://gerrit.libreoffice.org/70420 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Current help page does not provide focus on UNOLibreOfficiant2019-04-021-1/+1
| | | | | | | | | ...introspection that Python console is offering. Change-Id: Ic35833d7658d3ae9d465c1f3f7cc7a2ea1ecfa1a Reviewed-on: https://gerrit.libreoffice.org/69831 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* remove empty paragraph, fixes a helpex warningAndras Timar2019-03-191-1/+0
| | | | | | | | Helpex warning: invalid po attributes extracted from /home/timar/libreoffice-master/helpcontent2/source/text/sbasic/python/python_shell.xhp No string specified! GroupID: N0120 Change-Id: Ia3fa7d88f4756fd700eebcceb4480e0a553a5482
* Compiler error due to incorrect indentation LibreOfficiant2019-03-111-18/+18
| | | | | | | Change-Id: I041f9ac5d160ef2ebb23e77ce3d35f02e3b703e4 Reviewed-on: https://gerrit.libreoffice.org/69053 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* minor correctionLibreOfficiant2019-03-022-5/+12
| | | | | | | Change-Id: I900e7175a028599f320d80ff30822fcad55d9046 Reviewed-on: https://gerrit.libreoffice.org/68620 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Relate Python & Basic examples togetherLibreOfficiant2019-02-271-3/+4
| | | | | | | Change-Id: Ib6abffdfb2f83688eb84f94553f44b3f10dc33c2 Reviewed-on: https://gerrit.libreoffice.org/68388 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Mute Pootle complain on reserved wordsOlivier Hallot2019-02-261-2/+2
| | | | | | | Change-Id: I8e0832a8be6a5118aa1d8b306a250a87434088ca Reviewed-on: https://gerrit.libreoffice.org/68252 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Name tag updates in linksLibreOfficiant2019-02-261-6/+3
| | | | | | | Change-Id: I88cdf6ea514ba98d45d90d59bc170f4c59938df6 Reviewed-on: https://gerrit.libreoffice.org/68382 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Mutual references (links) in Session & Locations help pages for PythonLibreOfficiant2019-02-252-1/+4
| | | | | | | Change-Id: I96c55ca44c1b04598fcdd663a394c68211f4a29d Reviewed-on: https://gerrit.libreoffice.org/68310 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* APSO incorporates Python debugging facilities.LibreOfficiant2019-02-251-1/+1
| | | | | | | Change-Id: Ia01579acd089d99a99630737aa1d77bcc842af52 Reviewed-on: https://gerrit.libreoffice.org/68308 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Fix typoAndrea Gelmini2019-02-221-2/+2
| | | | | | | Change-Id: I3946d4ed9f9c38d0d30f89427b44bb6696b85f8a Reviewed-on: https://gerrit.libreoffice.org/68182 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Python: Help pages on opening dialogsAlain Romedenne2019-02-212-1/+77
| | | | | | | | Change-Id: Ib71ad229ff908c1bb7c426f2242729d53cb01ff8 Reviewed-on: https://gerrit.libreoffice.org/68100 Tested-by: Jenkins Reviewed-by: LibreOfficiant <OpenOfficiant@sfr.fr> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Copying/Pasting sample code results in compiler error.LibreOfficiant2019-02-211-20/+16
| | | | | | | | | Embed tags in place of link within relatedtopics Change-Id: I05d899e77a51c15d69e066bc94bd5bbb9ed69c8f Reviewed-on: https://gerrit.libreoffice.org/68142 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Spelling offence made to BeanShell requires correctionLibreOfficiant2019-02-202-13/+13
| | | | | | | | | + link cleanup Change-Id: If186f97bfd4ae8c4ccc2220ea8af9f1a6d1d8a2d Reviewed-on: https://gerrit.libreoffice.org/68064 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Mute l10n for python uncomented code linesOlivier Hallot2019-02-141-2/+2
| | | | | | | Change-Id: Ia5bc3debed55813c9481acf360b96731266e7000 Reviewed-on: https://gerrit.libreoffice.org/67822 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Python: improve navigation between Help pagesOlivier Hallot2019-02-148-8/+10
| | | | | | | | | | add links between python pages add links from Contents section Change-Id: Ifc6704862c8213008eeb5d6e6baf86aa7c7be50b Reviewed-on: https://gerrit.libreoffice.org/67778 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Python: Help page for module import--author=Alain Romedenne2019-02-142-1/+119
| | | | | | | Change-Id: I35ce948bbd0abcb2daeb272fe4d436cd05bb24ed Reviewed-on: https://gerrit.libreoffice.org/67773 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Remove BritishismAdolfo Jayme Barrientos2019-02-121-3/+3
| | | | | | That’s what we have the en-GB localization for. Change-Id: I43cf1231fbc82e7467562f4fe16cfba44db83553
* Corrections + link activationLibreOfficiant2019-02-112-5/+4
| | | | | | | Change-Id: I99d8a012ff51bf43a96d15450cfaeb02d56ffea9 Reviewed-on: https://gerrit.libreoffice.org/67669 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>