summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@gnome.hu>2018-04-08 02:55:41 +0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-04-11 15:00:56 +0200
commit2372dfb1287ccbe927dbcb299a1034cc0eea3e72 (patch)
treed2ac124e3ff0e788bdd2aff28eeceb0bf18e9400
parentfix validation errors (diff)
downloadhelp-2372dfb1287ccbe927dbcb299a1034cc0eea3e72.tar.gz
help-2372dfb1287ccbe927dbcb299a1034cc0eea3e72.zip
Fix bookmark and ahelp mess on VBA compatibility page
Change-Id: I4d57b1ada9c758beeacfdadc82395e199ec2548d Reviewed-on: https://gerrit.libreoffice.org/52661 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--source/text/shared/optionen/01130100.xhp15
1 files changed, 7 insertions, 8 deletions
diff --git a/source/text/shared/optionen/01130100.xhp b/source/text/shared/optionen/01130100.xhp
index 89835db284..480b5881ab 100644
--- a/source/text/shared/optionen/01130100.xhp
+++ b/source/text/shared/optionen/01130100.xhp
@@ -56,22 +56,23 @@
<bookmark xml-lang="en-US" branch="hid/cui/ui/optfltrpage/pp_basic" id="bm_id1012200911053796" localize="false"/>
<paragraph id="hd_id3155420" role="heading" level="3" xml-lang="en-US">Load Basic code</paragraph>
-<paragraph id="par_id3159399" role="paragraph" xml-lang="en-US"><variable id="codetext"><ahelp hid="cui/ui/optfltrpage/wo_basic">Loads and saves the Basic code from a Microsoft document as a special $[officename] Basic module with the document. The disabled Microsoft Basic code is visible in the $[officename] Basic IDE between <emph>Sub</emph> and <emph>End Sub</emph>.</ahelp> You can edit the code. When saving the document in $[officename] format, the Basic code is saved as well. When saving in another format, the Basic code from the $[officename] Basic IDE is not saved. </variable></paragraph>
-<bookmark xml-lang="en-US" branch="hid/cui/ui/optfltrpage/wo_saveorig" id="bm_id1012200911004150" localize="false"/>
-<bookmark xml-lang="en-US" branch="hid/cui/ui/optfltrpage/ex_saveorig" id="bm_id1012200911020741" localize="false"/>
-<bookmark xml-lang="en-US" branch="hid/cui/ui/optfltrpage/pp_saveorig" id="bm_id1012200911024686" localize="false"/>
+<paragraph id="par_id3159399" role="paragraph" xml-lang="en-US"><variable id="codetext"><ahelp hid=".">Loads and saves the Basic code from a Microsoft document as a special $[officename] Basic module with the document. The disabled Microsoft Basic code is visible in the $[officename] Basic IDE between <emph>Sub</emph> and <emph>End Sub</emph>.</ahelp> You can edit the code. When saving the document in $[officename] format, the Basic code is saved as well. When saving in another format, the Basic code from the $[officename] Basic IDE is not saved. </variable></paragraph>
<section id="executablecode">
-
+<bookmark xml-lang="en-US" branch="hid/cui/ui/optfltrpage/wo_exec" id="bm_id1012200911063630" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/cui/ui/optfltrpage/ex_exec" id="bm_id1012200911063631" localize="false"/>
<paragraph id="hd_id0523200811475727" role="heading" level="3" xml-lang="en-US">Executable code</paragraph>
<paragraph id="par_id0523200811475733" role="paragraph" xml-lang="en-US"><ahelp hid=".">The VBA (Visual Basic for Applications) code will be loaded ready to be executed. If this checkbox is not checked, the VBA code will be commented out so it can be inspected, but will not run.</ahelp></paragraph>
<paragraph id="par_id05172017121531273" role="tip" xml-lang="en-US">After loading the VBA code, %PRODUCTNAME inserts the statement <item type="literal">Option VBASupport 1</item> in every Basic module to enable a limited support for VBA statements, functions and objects. See <link href="text/sbasic/shared/03103350.xhp">Option VBASupport Statement</link> for more information.</paragraph>
</section>
<paragraph id="hd_id3153824" role="heading" level="3" xml-lang="en-US">Save original Basic code</paragraph>
+<bookmark xml-lang="en-US" branch="hid/cui/ui/optfltrpage/wo_saveorig" id="bm_id1012200911004150" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/cui/ui/optfltrpage/ex_saveorig" id="bm_id1012200911020741" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/cui/ui/optfltrpage/pp_saveorig" id="bm_id1012200911024686" localize="false"/>
<section id="origtext">
-<paragraph id="par_id3150084" role="paragraph" xml-lang="en-US"><ahelp hid="cui/ui/optfltrpage/wo_saveorig">Specifies that the original Microsoft Basic code contained in the document is held in a special internal memory for as long as the document remains loaded in $[officename]. When saving the document in Microsoft format the Microsoft Basic is saved again with the code in an unchanged form.</ahelp></paragraph>
+<paragraph id="par_id3150084" role="paragraph" xml-lang="en-US"><ahelp hid=".">Specifies that the original Microsoft Basic code contained in the document is held in a special internal memory for as long as the document remains loaded in $[officename]. When saving the document in Microsoft format the Microsoft Basic is saved again with the code in an unchanged form.</ahelp></paragraph>
<paragraph id="par_id3153088" role="paragraph" xml-lang="en-US">When saving in another format than Microsoft Format, the Microsoft Basic Code is not saved. For example, if the document contains Microsoft Basic Code and you save it in $[officename] format, you will be warned that the Microsoft Basic Code will not be saved.</paragraph>
<paragraph id="par_id3151246" role="paragraph" xml-lang="en-US">The <emph>Save original Basic code</emph> checkbox takes precedence over the <emph>Load Basic code</emph> check box. If both boxes are marked and you edit the disabled Basic Code in the $[officename] Basic IDE, the original Microsoft Basic code will be saved when saving in the Microsoft format. A message appears to inform you of this.</paragraph>
<paragraph id="par_id3148946" role="paragraph" xml-lang="en-US">To remove any possible Microsoft Basic macro viruses from the Microsoft document, unmark the <emph>Save Original Basic Code </emph>check box and save the document in Microsoft format. The document will be saved without the Microsoft Basic code.</paragraph>
@@ -82,8 +83,6 @@
<paragraph id="hd_id3154072" role="heading" level="3" xml-lang="en-US">Load Basic code</paragraph>
<embed href="text/shared/optionen/01130100.xhp#codetext"/>
-<bookmark xml-lang="en-US" branch="hid/cui/ui/optfltrpage/wo_exec" id="bm_id1012200911063630" localize="false"/>
-<bookmark xml-lang="en-US" branch="hid/cui/ui/optfltrpage/ex_exec" id="bm_id1012200911063631" localize="false"/>
<embed href="text/shared/optionen/01130100.xhp#executablecode"/>
<paragraph id="hd_id3151211" role="heading" level="3" xml-lang="en-US">Save original Basic code</paragraph>