Commit Graph

335 Commits

Author SHA1 Message Date
115422426e tdf#131416 Basic Subroutines help pages
- Function, Property & Sub statements
- Public, Private are keywords, Global removed from diagrams:
  -  Global=Public as Basic libraries remain in memory
- Basic toc & index

Change-Id: If107f4d148b4da399dd03d1b18ea3da5454bb9ac
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92784
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-05-04 16:16:43 +02:00
b2f0c67415 tdf#131416 Basic help pages
- Redim
- Type

Change-Id: I473c7d9469705ddde52e51cd6d2695c87bb5781d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/93369
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-05-04 15:54:51 +02:00
f6eb368525 Basic color functions cleanup
- Color picker dialog wrong link in RGB()
- extra links in Red(), Green(), Blue()

Change-Id: If515dafedec9333cabf4d6adf34b9e1c59d1b325
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/93135
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-05-02 15:33:34 +02:00
21fd17892a tdf#131416 Basic syntax diagrams
- Add UNO objects in Dim, ReDim statements
- Include std fragments in Dim, Redim, Type statements
- "@" omission in Dim, ReDim Statements
- Replace bugged example in Let statement

Change-Id: I500e1dcaa605978981e3b96cb277664fe5916282
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/93131
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-30 18:07:54 +02:00
698b678fff tdf#131382 scope of function (Calc or BASIC)
Change the heading to indicate BASIC function and not a
CALC function

Change-Id: I4dc14ed0d8bb585d99e30cf72f255a523affc9b0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/91005
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-29 14:59:23 +02:00
45bb570b11 tdf#132390 Correction for replace() Basic function
Change-Id: I7f7f0c45ad91a5614fda38b01d3d90968b835a9d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92885
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-29 14:58:47 +02:00
20c5b52a8c Mute L10n on numbers and symbols
Change-Id: Ie835e07e7a62fbf479f5d5e1b75edcc8d39068c9
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/93113
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-29 14:16:59 +02:00
731ea5215c Some more copyediting…
Change-Id: I43d4535b5c0ea659fd19177775ad00db71a2d7b3
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/91001
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-04-27 02:27:32 +02:00
82c126e04a help pages corrections
- faulty embed in RGB() pages
  - faulty embeds could be removed in Blue(), Green(), Red() pages
  - did not clear 'farbcodes' in case use elsewhere
- Rewording in Resume statement

Change-Id: Ic760007a5e58af973f9935e22c107094d2170001
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92545
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-25 15:29:19 +02:00
830489016d tdf#131416 Syntax Diagrams omissions and cleanup
- Missing '@' in list of type declaration characters
- c(h)ar typo in fragments, refactoring in:
  - Type, Function, Property, Dim, ReDim statements
  - argument fragment

Change-Id: I97caea851d6864e44d43550f6e71873e6f55eb91
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92769
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-25 14:59:09 +02:00
e2f2799a28 tdf#129366 Basic Syntax Diagrams
- runtime/compiler Option statements
- Sub, Function, Property Get/Let/Set
- Dim, ReDim, DimArray

- Dim and Redim help pages reviewed and amended accordingly
- Sub, Function, Property pages updates in subsequent patches

Change-Id: Iee857aa6e17533278bf16917c0b7d32af0e038ea
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92528
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-23 17:35:19 +02:00
5f437431f4 tdf#129366 Basic Byte datatype information
- TypeName function
- VarType function
- syntax diagram fragment update

Change-Id: I412e95c9eb8a3b84158b3888025081600030167e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92533
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-23 17:29:01 +02:00
44640598ed tdf#36737 Clarify routine arguments initialisation
in those contexts:
- native LibreOffice Basic
- w/ Option Compatible
- w/ Option VBASupport 1/0

- Added missing Byte, Boolean datatypes
- type declaration caracters fragment conciser layout

Change-Id: I53387018223466ef7452d87fb166d5d9e6de0594
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92540
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-23 17:17:48 +02:00
1ce06d6f5f fragment heading insertions
Change-Id: Id619066cf1d40ed760ff774003991d0f16343a99
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92441
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-21 14:14:52 +02:00
4780abb01d tdf129366 add Resume in 'Error handling' funcs
Change-Id: I48557474f6cedd357f03e767eabd09b6df8cd5b1
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92440
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-21 01:47:12 +02:00
2bfb8b8279 tdf#131416 Type statement diagram
- main diagram
- subsequent fragments

Change-Id: I5463aeac7257394cac826fbc36a819b4ddd8ced3
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92435
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-21 01:29:21 +02:00
1b8f7197fe Fix typo
Change-Id: If99fba8853b2e378687727e00986c11b606d5661
2020-04-18 19:06:16 +02:00
578b70a8e7 error handling w/ Basic
- include err VBA object
- relate pages together

Change-Id: I94358470091cd6ce7d57a21b34325da7d88e42ad
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92427
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-17 20:34:57 +02:00
d1fdd2270a tdf#131416 Basic syntax diagrams reusable fragments
- a new help page to aggregate all fragments
- reusable fragments as media/helpimg's

Change-Id: If28747a75bbbd14ae8a0cc04bdedb8b7d81f173b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92009
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-17 20:11:06 +02:00
540bcbb9a7 3 Basic syntax diagrams
- For statement variations
- On Error

Change-Id: Ic4b25b9d44adeb0c80fc2e24cc60301b9325c1a3
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92010
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-10 16:54:41 +02:00
f4753fb3ec Fix typo
Change-Id: I0219b40a90e82c5e4cd0d0bca4e3816eb837c6cf
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92038
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-10 16:04:05 +02:00
a39ba490a1 Mute l10n in bascode section
Change-Id: Id510273714c15d3d5502be7550a569043a09cade
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/92001
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-10 01:54:14 +02:00
abb9f58751 tdf#129366 Resume statement new help page
its 3 available options are:
- 0
- label
- Next

+ associated examples in combination with On Error statement

To be rebased past #91709

Change-Id: I0986816580835bf9b2b2657ecdbdc06118b1ff9d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/91712
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-09 19:46:44 +02:00
45cd0c0b21 tdf131416 Let/Set statements joint Syntax diagram
- Call diagram update to better reflect optional parms
- Resume diagram added by anticipation, in order to prevent merge conflict with patch #91712

Change-Id: I82d3ea4ac5af581462e919696a53d91868b6fdd2
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/91709
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-09 19:44:44 +02:00
7bcd164e06 Variable insertions for future page embeds
"Relatedtopics" with x-refs to come after

Change-Id: Ic6d58f4e338ea2ddcbba7f063be9dafce34eb914
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/91178
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-09 00:51:22 +02:00
2748a458c3 Precise Call statement options
- Document keyword args as opposed to positional args
- Explicit parentheses/brackets usage
- Display DLLs stuff under Win context
  ..not so certain this is needed in light of Mono/Linux mixed env.

Change-Id: Iee2f0088e3a560212bb6f2dd15e76b95ba652d48
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/91706
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-08 00:47:50 +02:00
b6a60949a4 VBA Err object
- Handling exceptions or Throwing them w/ Basic

A limited set of VBA ERR object properties & methods are exhibiting useful features.
This page document that subset.

Change-Id: I98726a6ffbce370b81f1a26daa35a8a1bf3dc57c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/91177
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-02 17:38:09 +02:00
cb85f4bc7f Call statement syntax diagram
Change-Id: Ia4cae7ee6078cf056b50009f73f8d545dc1b0384
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/91506
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-01 18:16:48 +02:00
cf6f0df5ad Fix to Property misleading snippet
Change-Id: Ie96f829d21384a9adab81e9b007d0773c035b97c
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/90948
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-03-24 13:25:27 +01:00
74fc095274 o Property statement added in Procedures & Functions help
o Multiple layout changes
Note: Optional keyword to be referenced later in above help

o ByVal/ByRef added to Property help page


Change-Id: I30e84c1e7464b4bc101727d2d088a35173f74b34
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/89282
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-03-18 12:57:56 +01:00
e394800294 faulty link due to an improper uppercase letter
Change-Id: I7955da53204d5eb8bf4dff2713f304776f2befc4
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/90040
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-03-09 16:18:11 +01:00
9be45efd58 Fix a couple of product names
Change-Id: I7d1fffadc0bcaec4ec9e9d43c9d9bb3351d570b7
2020-03-05 16:29:47 -06:00
6e6ea59e64 No need to translate Basic instructions
Change-Id: Ie127f39166179622159e10801458a6ddbcbd02be
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/90027
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-03-05 13:58:09 +01:00
ad3253b366 Basic Property statement new help
Change-Id: I4386954ea6f6a22fa1f6d8df5695c574cacba19e
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88051
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-22 13:13:19 +01:00
bf2dff69f8 tdf#130426 Update documentation for Basic Chr and ChrW functions
...for <https://gerrit.libreoffice.org/c/core/+/89090> "tdf#130426 Support Basic
Chr(&H8000), ..., Chr(&HFFFF) again"

Change-Id: I425a55ba1b055f94d993bb99c5412cc0414dc48d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/89100
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-20 16:00:42 +01:00
43d879530f Fix English in some more strings
Change-Id: I4595da6a8db44aaf59d3ea3b4d6caff69c3f53c4
2020-02-17 02:34:23 -06:00
2896f2eba4 Content fixes after translation round
Change-Id: Icdb80c6e659e81492e3b9c43afd0f49cbea0ed86
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88772
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-02-16 11:26:59 +01:00
377542bfda Index entry addition
Change-Id: I291bff961d6772bf72ca5fc1d23b6584a32b0a4d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88186
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-10 20:17:32 +01:00
1fa3873428 fix name of APSO extension
Change-Id: I17a1b9f0a6b67c05a77b328a06b9e4091e7c0c26
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88263
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-02-08 20:59:29 +01:00
f9d83461af fixing a typo
Change-Id: I45c38402392c2424e78e022cc8943c453adb8707
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88033
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-07 19:04:18 +01:00
81a9ef3e52 fix function name in page title
Change-Id: I8899ae50ffb59d925bbf80c7403ffc949f0a3f14
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/87838
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-02-03 05:18:55 +01:00
32de39e587 tdf#62326 &o &h literal notations
&b notation isn't supported

Change-Id: Ic1dd13326e13623d74c4bf70c6cdb01a33733b44
Reviewed-on: https://gerrit.libreoffice.org/85590
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-12-23 19:33:15 +01:00
59036b344e RGB function new index entry
Change-Id: I8d13e1462d95f292e0f4807c96239d745bf3691c
Reviewed-on: https://gerrit.libreoffice.org/85531
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-12-19 18:36:54 +01:00
6ee3bd0f90 Raising errors with Error statement
Change-Id: I61144f5c37aae5c5f46b3eab2a2c453cc9c786a7
Reviewed-on: https://gerrit.libreoffice.org/85164
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-12-16 13:41:12 +01:00
08fa68db86 tdf#127919 link Assign Component dialog to 'Creating A Dialog Handler'
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>
2019-12-12 17:05:17 +01:00
96c9eaf346 Add dimensions to svg icons
+ refactor some headings

Change-Id: Ic194be7d99685d3272393088973367bbbcd3246c
Reviewed-on: https://gerrit.libreoffice.org/84960
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-12-11 16:22:25 +01:00
8a9eeb535a extra warnings for isObject function
Change-Id: Ie566946cdd12359000db6fbb30d9dec49f8c73c5
Reviewed-on: https://gerrit.libreoffice.org/84729
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-12-09 14:55:58 +01:00
32b00ca834 VbNewLine values don't depend on system architecture, only on OS
Change-Id: I67b65222ff9247e80fd681223a3fe03cbcfbbc95
Reviewed-on: https://gerrit.libreoffice.org/84677
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-12-07 10:11:01 +01:00
66b9d8ae51 fixing 'related topics' layout for a conciser display
Change-Id: I01535595b22ea3cb59111bfd5c681283fd94049c
Reviewed-on: https://gerrit.libreoffice.org/83762
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-12-06 13:55:08 +01:00
b223ac4af1 IsObject returns True for extented types too
Change-Id: If34385312976485b30efc60d6ffbfce9617d7d0a
Reviewed-on: https://gerrit.libreoffice.org/84606
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-12-06 13:42:26 +01:00