6e54fc4fe1
remove spurious spaces introduced in variables
...
introduced on error when combining lines in
eb145d19480d245228dc6b1032a925adbff8ea78
Change-Id: Ia0f5b7287689bea541c422c20b2d647b82c21b0b
2017-05-30 10:35:35 +02:00
1ae135d756
Mass remove excess spaces from inside tags
...
This is fallout from the l10n and oldref attribute removal.
Some tags were broken into two rows and the second was
indented with spaces.
The line break was removed along the tags, but those
spaces were not.
Command I used to catch these:
find source/text/ -name "*xhp" | xargs sed -i -e 's#\" *>#\">#g'
Change-Id: I6f9bad46cbfb7416950bee8230e358a3dd851def
Reviewed-on: https://gerrit.libreoffice.org/37791
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com >
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com >
2017-05-30 09:37:17 +02:00
0351604e8d
tdf#84675 Add help page for StrReverse VBA
...
Fixes some syntax definitions
Mute l10n for VBA function names
Change-Id: I06d7391a44b465339e3c82f333719488f7d843b2
Reviewed-on: https://gerrit.libreoffice.org/37854
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2017-05-20 13:27:52 +02:00
cc6b76b3b8
Fix XML according to DTD
...
Change-Id: I386772d2bc275eb49a96b18e40219abdc22df3f9
Reviewed-on: https://gerrit.libreoffice.org/37841
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2017-05-19 22:11:33 +02:00
eb145d1948
tdf#84675 Help VBA functions AscW, ChrW, InStrRev
...
These functions are enabled whith Option VBASupport 1
fix bookmark
Fix metas
Fix makefile & add InStrRev
Bookmarking
Fix category for DDB
Change-Id: I12fed1cd521ffb846d2994323013e8dcc127381f
Reviewed-on: https://gerrit.libreoffice.org/37826
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2017-05-19 21:10:21 +02:00
fc04019be5
Basic: merge identical def and example Defxxx
...
Change-Id: I64abb89958c823d636c402ad4fee1f008742b491
Reviewed-on: https://gerrit.libreoffice.org/37789
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2017-05-19 16:31:32 +02:00
3d5e0e547d
Basic: beautify Examples with bascode tag
...
Correct many examples to use <bascode> tag to get colorised text
Merge some identical examples in section
Remove useless spaces
Remove ^M at end of line with <bascode>
Add localize="false" for pure Basic code
Add comments from Johnny_M
Treat 03101700.xhp in a different commit
Change-Id: I94a799ee13829ed9086127aa7d0e722ffe1dd90d
Reviewed-on: https://gerrit.libreoffice.org/33240
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2017-05-19 16:03:50 +02:00
6f947c50fa
tdf#84675 (part4) document VBA macros support
...
Change-Id: I61f60fb4f3ac27604a71972f0c1d8a7e9effdcc4
Reviewed-on: https://gerrit.libreoffice.org/37735
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2017-05-18 15:23:13 +02:00
a50d8ddab0
tdf#84675 (part3) Document Basic constants
...
Document Basic constants more explicitely.
Change-Id: I76958041552148cc65e5bfb49eed6944991a0637
Reviewed-on: https://gerrit.libreoffice.org/37705
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2017-05-18 15:22:27 +02:00
115035ec9e
tdf#84675 (part2) Document hidden BASIC constants
...
Constants for TypeName/Vartype
add tablehead style
Change-Id: Ic613e1552af96df4a57d461600e26c11d5b289c2
Reviewed-on: https://gerrit.libreoffice.org/37692
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2017-05-18 15:21:37 +02:00
1d2c1291f7
Basic: add localize=false for some bascode lines
...
Change-Id: I78884c0421ef8ad935ca7214b9116fda29d2797f
update: remove duplicate empty line at end of files
Reviewed-on: https://gerrit.libreoffice.org/33766
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2017-05-16 22:36:34 +02:00
c1b5c62653
Mute l10n for numbers
...
Change-Id: I3fe0ef570e49899449444dad5f29107dc7534071
Reviewed-on: https://gerrit.libreoffice.org/37689
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2017-05-16 22:31:58 +02:00
ab17f13c6d
Mute L10n in some <bascode> lines
...
Change-Id: I2503568589b869b717f5c997434340d00892a275
Reviewed-on: https://gerrit.libreoffice.org/37687
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2017-05-16 19:37:45 +02:00
fd99f1798a
tdf#84675 (part2) document hidden BASIC func/const
...
GetAttr()
SetAttr
Valid ATTR for SetAttr statement are
ATTR_NORMAL
ATTR_READONLY
ATTR_HIDDEN
Others ATTR_* were not implemented, see
http://opengrok.libreoffice.org/xref/core/basic/source/runtime/methods.cxx#4689
Change-Id: I51b50c13709b668c935b9a68981c20545648691d
Reviewed-on: https://gerrit.libreoffice.org/37576
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2017-05-16 15:20:20 +02:00
9a16735c5e
tdf#84675 (part) document hidden BASIC func/const
...
Help page for MsgBox function and MsgBox statement
Constants
MB_*
ID*
Fix: remove MB_DEFBUTTON1
fix bug#
Change-Id: Id8cbadc92a8e9c5902c3ff23b4e04bff3de3c03d
Reviewed-on: https://gerrit.libreoffice.org/37558
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2017-05-16 15:19:16 +02:00
eaac057360
Add <bascode> in BASIC snipets.
...
Change-Id: I484036b9c9694a58f7f113b2cf1c04a1f0e2c4dc
Reviewed-on: https://gerrit.libreoffice.org/37552
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2017-05-16 15:17:44 +02:00
2c451122a2
adjust image paths after moving helpimg into more appropriate folder
...
Change-Id: Idcfa3700bfd53d38ddeda484828f00bf36cf3b57
Reviewed-on: https://gerrit.libreoffice.org/32104
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com >
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com >
2017-05-12 13:46:36 +02:00
eb9ec1c794
remove obsolete oldref attribute (removes one context line in pot)
...
also remove obsolete l10n attribute (doesn't affect translations/pot)
Change-Id: I809866ea7b16cb1cacad9efacb6fdeebae38ea9f
2017-05-09 16:37:41 +02:00
b04113a84a
Typo: “common area” → “common era”
...
Change-Id: Ie9c3dfce3b5981defffad11eea3df4bd63d34148
2017-05-08 17:35:00 -05:00
727765e3fc
Remove erroneous commit of source/text/sbasic/shared/03030108.xhp.rej
...
Change-Id: I2d5cb2f514d1a1564868d0abf442cd01ff28e7c7
2017-05-04 19:57:05 +02:00
ba4ed13b45
CDateFromIso: also with separators; date range and year representation
...
Change-Id: Ifd83a84b300074be10fe039ba2e30b94f6bf1327
2017-05-04 19:55:13 +02:00
ef3d847d9a
CDateFromIso: also with separators; date range and year representation
...
Change-Id: Ib946c3654805f8ae4bff1c7e3a0a26083bfb8df6
2017-05-04 19:52:41 +02:00
b6633ae15a
Fix typo in year range
...
Change-Id: If739f647f463795c3264a557bf83a8f6dbfb49fb
2017-05-03 15:12:59 +02:00
38754a50be
CDateToIso: details about format, date range and year representation
...
Change-Id: Id50e465356bde9f99afc2225d82d01f0225bd957
2017-05-03 14:51:37 +02:00
7fd043d303
update helpids for .ui conversion
...
Change-Id: I88db8390a188e3d6b60dead17428826eb36a0232
2017-01-30 16:02:43 +00:00
26ed1b1d98
update helpids for .ui conversion
...
Change-Id: I685964b0b111eaa548bba3b880bcbac9cd84a217
2017-01-30 15:52:15 +00:00
7b98ed0680
Basic: remove ^M
...
Remove ^M characters at end of line
remove tabulation characters
Change-Id: I96345f88c732ad5c40a6143437cccf064aca0738
Reviewed-on: https://gerrit.libreoffice.org/33387
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2017-01-25 18:31:16 +00:00
f2d16dc7c4
Fix syntax of example in 03104300.xhp
...
A function result is allways assigned to a variable
Change-Id: Id422f9018cacca1eb2022c03568d8aad9edfe8fd
Reviewed-on: https://gerrit.libreoffice.org/32461
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2016-12-27 17:44:04 +00:00
2251478b3e
Change file extensions in examples: sxw -> odt, sxc -> ods
...
Some examples still used the old StarOffice extensions.
Change-Id: Id6f7a28f0ff8511181f3641d8ad9f6f5896cef68
Reviewed-on: https://gerrit.libreoffice.org/28925
Reviewed-by: Michael Stahl <mstahl@redhat.com >
Tested-by: Michael Stahl <mstahl@redhat.com >
2016-09-15 14:46:28 +00:00
2f6e93f728
remove "-" between FileAttr-Function and FileLen-Function
...
to be consistent with the rest of the functions
reported via pootle-feedback
Change-Id: I6e95109a8cf4145dc84ab0f3ad699d74ee05d932
2016-06-21 15:49:56 +02:00
5f7e3ad041
Recover lost basic in help indentation
...
regression from...
commit 6614bedceadcc07ec082c5e926107f27903bda5c
Date: Mon Jan 25 20:07:10 2016 +0100
fix validation errors by round-trip through helpauthoring extension
with git show 6614bedceadcc07ec082c5e926107f27903bda5c | ~/recoverindent.py
import fileinput
import re
import sys
added = []
removed = []
filename = ""
def processlastfile(filename, added, removed):
if len(added) != len(removed):
print "BROKEN"
sys.exit(-2)
if len(removed):
f = open(filename, "rw")
linestring = open(filename, "r").read()
start = 0
for x in range(0, len(added)):
if added[x] == removed[x]:
continue
if added[x].strip() != removed[x].strip():
print "BROKEN"
sys.exit(-2)
if filename == "source/text/sbasic/shared/03080301.xhp" and x == 6:
print "skipping special hunk", removed[x], "in source/text/sbasic/shared/03080301.xhp"
else:
start = linestring.find(added[x], start)
if start == -1:
print "BROKEN"
sys.exit(-2)
linestring = linestring[0:start] + removed[x] + linestring[start + len(added[x]):]
start = start + len(removed[x])
open(filename, "w").write(linestring)
for line in fileinput.input():
if line.startswith("--- a/"):
if filename is not "":
processlastfile(filename, added, removed)
added = []
removed = []
filename = line[6:-1]
elif "role=\"bascode\"" in line:
m = re.search('>(.+?)<', line)
code = m.group(1)
if line.startswith("-"):
removed.append(code)
else:
added.append(code)
processlastfile(filename, added, removed)
which puts the code back the way it was, except for one string
which had changed and was fixed manually afterwards
Change-Id: Ic67abf36bb5d27be58a51ebbf5022830f56dcb37
2016-06-16 15:45:53 +01:00
fd115b0ed1
Do not translate numbers ... (2)
...
Change-Id: Iff0930493bed0a839869a02518aa879cc6d11068
Reviewed-on: https://gerrit.libreoffice.org/25276
Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk >
Tested-by: Olivier Hallot <ohallot@collabora.co.uk >
2016-05-22 23:13:31 +00:00
a86c7d5fbd
Do not translate numbers...
...
Change-Id: I87d272719a0a666744951d82f7c522b6cd554bc7
Reviewed-on: https://gerrit.libreoffice.org/25275
Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk >
Tested-by: Olivier Hallot <ohallot@collabora.co.uk >
2016-05-22 23:10:46 +00:00
ce76ee35c4
tdf#99809 Add back some syntax highlighting tags…
...
… accidentally removed in 8799ced9da7b7aeb37fadf700e062cc3255ebfe0
Change-Id: I799b62bb169dbc0505ed03deef6e460d75a66e9d
2016-05-14 22:58:45 -05:00
8799ced9da
tdf#99809: BASIC: Update Rnd function and Randomize statement
...
BASIC's Rnd function and Randomize statement were updated on
tdf#70474 and tdf#90110. (See
https://gerrit.libreoffice.org/#/c/15818/ for the latter change.)
Their documentation needs to be updated accordingly.
Change-Id: I17f6a04858a20a969dc427be43dd903aedc04ecb
Reviewed-on: https://gerrit.libreoffice.org/24943
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com >
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com >
2016-05-13 02:02:49 +00:00
721523df6a
Fixed a dead link to api.libreoffice.org.
...
Thanks to Juergen Klatt.
2016-03-31 09:33:18 +02:00
6614bedcea
fix validation errors by round-trip through helpauthoring extension
...
lots of missing attributes "id" and "xml-lang"
(extension patched to keep bascode tag)
Change-Id: I9c5600b6fa133a6b1062803eadb976e043db7a4a
2016-01-25 21:21:48 +01:00
64563d3282
switchinline is none of emph's allowed children
...
fixed with following sed expression:
's#<emph>\(<switchinline[^>]*><caseinline[^>]*>\)\([^>]*\)\(</caseinline><defaultinline>\)\([^<]*\)\(</defaultinline></switchinline>\)\([^<]*</emph>\)#\1<emph>\2</emph>\3<emph>\4</emph>\5<emph>\6#g'
Change-Id: I03d36f4c52e78ca48fc2f94b275ffad7329071e3
2016-01-25 15:13:19 +01:00
33e5713fd4
Killed the last remnants of the 'lastedited' element.
2015-11-12 09:41:15 +01:00
c20dde3497
The 'lastedited' element is useless, we have git.
2015-11-12 09:34:06 +01:00
e98d1b3494
Fix embed file reference in Basic IDE help page
...
Change-Id: If04c7c562983bd81afc8f168677c8be4c308f566
Reviewed-on: https://gerrit.libreoffice.org/18667
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2015-09-17 16:49:41 +00:00
b1ffa2d342
Revert "Remove metadata from embeded xhp files"
...
This reverts commit 29a98d01958bc84710cfedf1e61ddee700df1ff4.
Change-Id: I8d96c2b88c29ee286a6915ff528fb65f18de9f7b
Reviewed-on: https://gerrit.libreoffice.org/18280
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2015-09-02 19:11:08 +00:00
29a98d0195
Remove metadata from embeded xhp files
...
These help files are embeded into other files and don't need metadata.
It will also remove some trings from translation.
Change-Id: Ia95352b71b8a716b9c93cf21baed484ae9e94d38
Reviewed-on: https://gerrit.libreoffice.org/18255
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2015-09-02 08:54:34 +00:00
bce98cd0f5
Add example to Basic IDE Options help page
...
Change-Id: I387ad0c22972392cd5eb1c865e59e94456395d9b
Reviewed-on: https://gerrit.libreoffice.org/18164
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2015-08-31 10:11:49 +00:00
550b03030e
Fix typo
...
Change-Id: I1620c3507722d8aeef11d0480f07bc104b9a7f95
Reviewed-on: https://gerrit.libreoffice.org/18032
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br >
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br >
2015-08-26 16:22:55 +00:00
fff841e50d
TDF#80588 Help page for Basic IDE Options
...
Help page for Basic IDE Option in Tools - LibreOffice - Basic IDE Options
Before merging this patch it is necessary to verify correctness of the help page contents.
Change-Id: Ic80410910ed3eadb02c4fd49c02fc5f1dce053db
Reviewed-on: https://gerrit.libreoffice.org/17356
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2015-08-25 15:12:31 +00:00
bbece63b0f
missing space Open Statement[Runtime] → Open Statement [Runtime]
...
Change-Id: If90b4d89c0dc7172b417b30dd242278386813244
2015-08-05 15:31:58 +02:00
5e109b09ca
fix some ahelp ids of hid . where the current context is empty or wrong
...
related fdo#88970
Change-Id: Ib5aa5f5b608252216817b0e6f38c944e37786df5
2015-02-02 13:39:49 +00:00
9b91dd5b4b
remove redundant dollars at InputBox function and fix invalid Basic examples
...
Change-Id: Idd6f14e127ba5e3939849b0baf7ec499e69e8695
Reviewed-on: https://gerrit.libreoffice.org/10517
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-07-25 08:13:13 +00:00
62b18032fc
update help ids for event assign .ui conversion
...
Change-Id: I4457daf43c968cf103cd3b07b3b7bf885d3b7a43
2014-01-23 13:04:41 +00:00