Commit Graph

278 Commits

Author SHA1 Message Date
00bc6ac405 Mute L10n in some Basic code lines
Change-Id: Idbaf2b44d4c7a6220aea66d75c00f36053a22f31
Reviewed-on: https://gerrit.libreoffice.org/82193
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-11-07 12:37:29 +01:00
7670e91fc5 Misc. typo fixing and removal of pointless tags
Change-Id: I7ecffd0417b7e88b76f44e64911c3d8a2f935104
2019-11-07 04:34:43 -06:00
21fb426a79 typo + faulty link
Change-Id: Ic6fcb2e820f4ff5a8adfcbbed9166afc5635f36b
Reviewed-on: https://gerrit.libreoffice.org/81933
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-11-03 00:40:53 +01:00
48ba8a26f1 More informative descriptions for GlobalScope, xxLibraries
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-11-01 19:06:40 +01:00
9147d1fa9b sbasic.tree, uno_objects, ThisComponent better descriptions
Change-Id: Ie1778adf59317260cc0c9a1c1eb43ed2d66e7518
Reviewed-on: https://gerrit.libreoffice.org/81822
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-31 10:58:33 +01:00
2ba8d7ab8a tdf#127716 Add GlobalScope object description
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-31 01:21:01 +01:00
aa272bf2b9 Fix links for basic_2_python page
Change-Id: I7ffd91ea10b22a5215a77be9639dd8d9c27c9ed0
Reviewed-on: https://gerrit.libreoffice.org/81509
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-25 18:03:40 +02:00
8af9c4cb20 Wrong links & extra bookmarks
Change-Id: I454e5ee23a17e48931dee2d51ad1639fb73ecba9
Reviewed-on: https://gerrit.libreoffice.org/81487
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-25 12:32:46 +02:00
32ed2dcd31 Documenting how to call Python routines from Basic macros
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-24 17:23:33 +02:00
fbbe842a18 UBound/LBound functions return a 'Long', help says 'Integer'
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-24 11:54:26 +02:00
ba71423031 Remove D'oh! errors in Help Page
Change-Id: I8ab35df77621eae157ebb6a76f3ab6af6fa271a7
Reviewed-on: https://gerrit.libreoffice.org/81148
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-20 10:33:10 +02:00
ad241365fe compatible.xhp page split is causing lost link in 03103350.xhp page
Change-Id: Id807bedacc0c71fed8e6f5cdae77814e478b2bdd
Reviewed-on: https://gerrit.libreoffice.org/80940
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-17 18:40:21 +02:00
35cef5c725 Restrict warning to sys=UNIX
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-10-15 15:54:41 +02:00
accc6a9e14 Add a warning detailing how to check Python's presence.
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-09-19 16:58:34 +02:00
f2e96cfcbb Insert the description of the change.
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-29 18:20:53 +02:00
7d89551e91 The exact context where Basic IDE is absent needs to be clarified
Change-Id: I722b5d37dcb6b6ea772ab6c8b6022484346ab29d
Reviewed-on: https://gerrit.libreoffice.org/78117
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-08-26 17:10:44 +02:00
243c74e455 Typo
Change-Id: I450b7d1c0b860f17cdd7a2ee36993fe90c58310f
Reviewed-on: https://gerrit.libreoffice.org/77731
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-08-19 15:57:58 +02:00
1e20b35158 Python console examples work better this way
Change-Id: I0c325b7fed727f398c11eea41d7c46a061c3a837
Reviewed-on: https://gerrit.libreoffice.org/77598
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-08-17 15:00:43 +02:00
b03d629ddc Faulty link in VBA funcs
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-12 13:00:08 +02:00
b21bc34d74 Don't translate example code snippets
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-08-07 11:47:11 +02:00
c11400b40e tdf#126528 Add Python in Organize scripts page
Change-Id: I8d18f5e264fe11924a8ea234e82355913b0417d2
Reviewed-on: https://gerrit.libreoffice.org/76382
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-07-28 15:33:38 +02:00
1a500fb0a2 Fix typo
Change-Id: Ib92a4ba3f7b5dc41930e788c061c70fc74ab18f7
Reviewed-on: https://gerrit.libreoffice.org/76467
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2019-07-27 16:53:00 +02:00
6880ed4b73 Python dialog handler new topic
'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-26 13:30:28 +02:00
9f558a9df1 Format some Basic UNO pages
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-26 13:30:06 +02:00
deb9f4e0f5 Typo
Change-Id: I854c7a4112eda552122fa37f15bcf9752ad302ae
Reviewed-on: https://gerrit.libreoffice.org/75627
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-07-16 00:31:16 +02:00
3d1c811073 Python to Basic Help page
- 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-15 02:23:47 +02:00
821b9724fe Let's cope with help index idiosyncrasies
Change-Id: I2cd538428cf91dc0c0802389b4db26e07ab33073
Reviewed-on: https://gerrit.libreoffice.org/75501
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-07-13 14:15:06 +02:00
3a1a27c39e Insert sys=MAC in some menu paths
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-07-05 11:52:25 +02:00
2060b9069f Add example on CreateUnoService for Calc functions
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-28 14:22:23 +02:00
ea0f53e1c2 Split VBA Compatibility files and enhance
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-28 14:21:59 +02:00
414be5f0b5 Some examples of Basic macros
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-24 18:40:05 +02:00
63184912f9 Remove duplicated HID bookmarks in sbasic
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-24 15:40:09 +02:00
d884a65408 tdf#125763 Remove confusing remark on Variable declarations
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-11 14:23:40 +02:00
dcedbce9f5 Prevent L10n issue when building Help
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-06-05 14:46:30 +02:00
d373249544 faulty xml comment in bookmark
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-31 14:13:08 +02:00
8b1f590997 WIP: refactor some Python/Basic pages
Change-Id: I3590e7a6e0cf62d9f9e33e8081be50ab4d0ae769
Reviewed-on: https://gerrit.libreoffice.org/73175
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-30 13:21:00 +02:00
eb191448f1 Remove xml comments from file
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-28 17:24:29 +02:00
a8a0ba510b - Pages mutual x-Refs
- 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-27 02:17:31 +02:00
ec480186a3 De-dup paragraph id
Change-Id: Ibbd54040bd439e08c5496383575aa15aae5f4f05
Reviewed-on: https://gerrit.libreoffice.org/72606
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-05-20 16:32:36 +02:00
3218853d57 Platform regognition for Basic language
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 16:11:08 +02:00
4f954243e7 - Partial refactoring using API calls
- 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-20 15:35:09 +02:00
2f8fbb8c0a Typos
Change-Id: Id5040a184e0dbc5456ceb8010a35dc0380b7e01f
2019-05-11 01:31:24 -05:00
caed5d5208 Dropped parenthesis throws compiler error
Change-Id: Ib3179cd0d853e92e4b9ced7f3e504f27e88e6de3
Reviewed-on: https://gerrit.libreoffice.org/71536
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-04-29 16:55:55 +02:00
3f98a5fd44 Monitoring document events with Python & Basic
-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>
2019-04-27 15:36:58 +02:00
c1053ceff3 topic tag correction
mispelled link

Change-Id: I34ecbbfca31285efe9af3eaa9ab0d2c1ee7b7b64
Reviewed-on: https://gerrit.libreoffice.org/71377
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-04-26 18:24:17 +02:00
4ee8b6f475 added hasUnoInterfaces()
Change-Id: I41e521c34c4dbf161b0bd4316da75d6db7ec4314
Reviewed-on: https://gerrit.libreoffice.org/71214
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-04-26 15:33:08 +02:00
a1e2a03853 Fix PRODUCTNAME
Change-Id: I11a5ac0e5c1a33eb6f28c32024dab0fceec91e14
Reviewed-on: https://gerrit.libreoffice.org/70888
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-04-17 23:00:37 +02:00
4ff9ffa9f7 New Python page + updates to existing pages to support embedded references
Change-Id: Ie7bd884db45e3ca59dee1ffa79b2ea14ced3d160
Reviewed-on: https://gerrit.libreoffice.org/70420
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-04-10 16:32:54 +02:00
0e323bedb1 Current help page does not provide focus on UNO
...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>
2019-04-02 15:02:34 +02:00
580cdbd737 Housekeeping on Help pages for Basic
Change-Id: I2562226411498712dfad91bcd3e4690442d9c1d1
Reviewed-on: https://gerrit.libreoffice.org/70132
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-04-02 15:01:46 +02:00