Commit Graph

259 Commits

Author SHA1 Message Date
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
2434e43c17 Inform pogrammer on VBA and LO Basic differences
Some Basic functions, like chr(), have the same name as in
VBA but VBA chr() function does not accept arguments above 255.

Change-Id: If66fec8216b824281287dfd34413584d6c2468a3
Reviewed-on: https://gerrit.libreoffice.org/69388
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-03-19 20:33:57 +01:00
86716b1007 remove empty paragraph, fixes a helpex warning
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
2019-03-19 13:49:11 +01:00
e6dfe7b36e tdf#124066, tdf#114263 BASIC Replace function Help
with kind help of  Gerhard Weydt (tdf#124066)

Change-Id: I856c8ff600774bec82daafdef63ea8cca15b5097
Reviewed-on: https://gerrit.libreoffice.org/69255
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-03-14 15:57:16 +01:00
2400a5c557 i#119731 Fix icon name
Was wrongly named in 496aaf8cbcd030c1ddfbc3776c23edd08307b96e

Change-Id: I42730caa995ed7e04b6a632ee0fa73091beeea84
Reviewed-on: https://gerrit.libreoffice.org/69080
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-03-14 07:43:00 +01:00
669ede5358 Compiler error due to incorrect indentation
Change-Id: I041f9ac5d160ef2ebb23e77ce3d35f02e3b703e4
Reviewed-on: https://gerrit.libreoffice.org/69053
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-03-11 20:12:13 +01:00
496aaf8cbc i#119731 help-page: Hyperlink control on Dialog editor
The image used for Insert Hyperlink control is
cmd/sc_inserthyperlink.png as proposed in description.

Change-Id: Ife79e16ea04498b1496629f398e42da67ec72448
Reviewed-on: https://gerrit.libreoffice.org/68952
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-03-10 19:43:16 +01:00
3013fcc8dd tdf#53524 (compl) Minor tweaks in Help page.
Added ref to icons
minor updates on tags

Change-Id: Ia9812a5928554284a5a2fb5416983888e2437439
Reviewed-on: https://gerrit.libreoffice.org/68915
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-03-08 12:44:35 +01:00
8b9d37bf1b tdf#53524 help-submodule - grid control Dialog editor
Change-Id: Ie6918fdc9eb0cfed7042362cb1ad223e908d6d8a
Reviewed-on: https://gerrit.libreoffice.org/68895
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-03-08 12:18:45 +01:00
8e550a4a31 minor correction
Change-Id: I900e7175a028599f320d80ff30822fcad55d9046
Reviewed-on: https://gerrit.libreoffice.org/68620
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-03-02 16:00:44 +01:00
1c8dbb18e1 Relate Python & Basic examples together
Change-Id: Ib6abffdfb2f83688eb84f94553f44b3f10dc33c2
Reviewed-on: https://gerrit.libreoffice.org/68388
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-02-27 15:22:59 +01:00
172b0593aa Mute Pootle complain on reserved words
Change-Id: I8e0832a8be6a5118aa1d8b306a250a87434088ca
Reviewed-on: https://gerrit.libreoffice.org/68252
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-02-26 13:04:22 +01:00
45899930d0 Name tag updates in links
Change-Id: I88cdf6ea514ba98d45d90d59bc170f4c59938df6
Reviewed-on: https://gerrit.libreoffice.org/68382
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-02-26 13:03:51 +01:00
7a6c121a39 Mutual references (links) in Session & Locations help pages for Python
Change-Id: I96c55ca44c1b04598fcdd663a394c68211f4a29d
Reviewed-on: https://gerrit.libreoffice.org/68310
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-02-25 17:30:26 +01:00
45b4b89990 APSO incorporates Python debugging facilities.
Change-Id: Ia01579acd089d99a99630737aa1d77bcc842af52
Reviewed-on: https://gerrit.libreoffice.org/68308
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-02-25 10:57:44 +01:00
49d8f790a7 Fix typo
Change-Id: I3946d4ed9f9c38d0d30f89427b44bb6696b85f8a
Reviewed-on: https://gerrit.libreoffice.org/68182
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2019-02-22 05:35:42 +01:00
5489ccad66 Python: Help pages on opening dialogs
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>
2019-02-21 16:22:07 +01:00
7bb0e54187 Copying/Pasting sample code results in compiler error.
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>
2019-02-21 12:25:25 +01:00
f134b8cd96 Spelling offence made to BeanShell requires correction
+ link cleanup

Change-Id: If186f97bfd4ae8c4ccc2220ea8af9f1a6d1d8a2d
Reviewed-on: https://gerrit.libreoffice.org/68064
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2019-02-20 18:03:38 +01:00
cebc44435e Housekeeping in some BASIC Help embeds
Change-Id: I6bbc8f8450d2160b9715b90d066e51278aaf564d
Reviewed-on: https://gerrit.libreoffice.org/67976
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2019-02-18 16:40:10 +01:00