summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorAlain Romedenne <LibreOfficiant@sfr.fr>2020-06-26 08:53:21 +0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2020-06-29 13:06:53 +0200
commite241f31c81e09db2c7a52b23d52032358a801ed3 (patch)
tree1fefcca36d12b520a847592d465d55493b4cee70 /source
parenttypo (diff)
downloadhelp-e241f31c81e09db2c7a52b23d52032358a801ed3.tar.gz
help-e241f31c81e09db2c7a52b23d52032358a801ed3.zip
tdf#131416 Enum Basic statement syntax diagram
Change-Id: I7f0ad87f1b7bd678ca46caff518272e6ec5d7928 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97139 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> (cherry picked from commit 7a9ad91c49811550018363ddda12b5d2e5563c42) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97374 Reviewed-by: Sophie Gautier <sophi@libreoffice.org>
Diffstat (limited to 'source')
-rw-r--r--source/media/helpimg/sbasic/Enum_statement.svg37
-rw-r--r--source/text/sbasic/shared/enum.xhp3
2 files changed, 40 insertions, 0 deletions
diff --git a/source/media/helpimg/sbasic/Enum_statement.svg b/source/media/helpimg/sbasic/Enum_statement.svg
new file mode 100644
index 0000000000..e1210c6c87
--- /dev/null
+++ b/source/media/helpimg/sbasic/Enum_statement.svg
@@ -0,0 +1,37 @@
+<svg class="railroad-diagram" height="82" viewBox="0 0 533.5 82" width="533.5" xmlns="http://www.w3.org/2000/svg">
+<g transform="translate(.5 .5)">
+<style>/* <![CDATA[ */
+ svg.railroad-diagram {
+ background-color:transparent;
+ }
+ svg.railroad-diagram path {
+ stroke-width:1;
+ stroke:black;
+ fill:rgba(0,0,0,0);
+ }
+ svg.railroad-diagram text {
+ font:bold 14px monospace;
+ font-family: Verdana, sans-serif;
+ text-anchor:middle;
+ }
+ svg.railroad-diagram text.label{
+ text-anchor:start;
+ }
+ svg.railroad-diagram text.comment{
+ font:italic 12px monospace;
+ }
+ svg.railroad-diagram rect{
+ stroke-width:1;
+ stroke:black;
+ fill:transparent;
+ }
+
+/* ]]> */
+</style><g>
+<path d="M20 21v20m10 -20v20m-10 -10h20"></path></g><path d="M40 31h10"></path><g class="terminal">
+<path d="M50 31h0.0"></path><path d="M104.0 31h0.0"></path><rect height="22" rx="10" ry="10" width="54.0" x="50.0" y="20"></rect><text x="77.0" y="35">Enum</text></g><path d="M104.0 31h10"></path><path d="M114.0 31h10"></path><g class="terminal">
+<path d="M124.0 31h0.0"></path><path d="M220.5 31h0.0"></path><rect height="22" rx="10" ry="10" width="96.5" x="124.0" y="20"></rect><text x="172.25" y="35">list&#95;name</text></g><path d="M220.5 31h10"></path><path d="M230.5 31h10"></path><g>
+<path d="M240.5 31h0.0"></path><path d="M375.5 31h0.0"></path><path d="M240.5 31h15"></path><g class="terminal">
+<path d="M255.5 31h0.0"></path><path d="M360.5 31h0.0"></path><rect height="22" rx="10" ry="10" width="105.0" x="255.5" y="20"></rect><text x="308.0" y="35">assignment</text></g><path d="M360.5 31h15"></path><path d="M255.5 31a15 15 0 0 0 -15 15v1a15 15 0 0 0 15 15"></path><g>
+<path d="M255.5 62h105.0"></path></g><path d="M360.5 62a15 15 0 0 0 15 -15v-1a15 15 0 0 0 -15 -15"></path></g><path d="M375.5 31h10"></path><path d="M385.5 31h10"></path><g class="terminal">
+<path d="M395.5 31h0.0"></path><path d="M483.5 31h0.0"></path><rect height="22" rx="10" ry="10" width="88.0" x="395.5" y="20"></rect><text x="439.5" y="35">End Enum</text></g><path d="M483.5 31h10"></path><path d="M 493.5 31 h 20 m -10 -10 v 20 m 10 -20 v 20"></path></g></svg> \ No newline at end of file
diff --git a/source/text/sbasic/shared/enum.xhp b/source/text/sbasic/shared/enum.xhp
index 8ba2d7901f..5781585ae8 100644
--- a/source/text/sbasic/shared/enum.xhp
+++ b/source/text/sbasic/shared/enum.xhp
@@ -26,6 +26,9 @@
</section>
<embed href="text/sbasic/shared/00000003.xhp#vbasupport"/>
<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
+ <paragraph role="image" id="par_id831588865616326">
+ <image src="media/helpimg/sbasic/Enum_statement.svg" id="img_id651588865616326"><alt id="alt_id281588865616326">Enum syntax</alt></image>
+ </paragraph>
<bascode>
<paragraph role="bascode" id="par_id931543441922328" localize="false">Enum list_name<br/></paragraph>
<paragraph role="bascode" id="par_id771543441931669" localize="false"> &apos; Object Statement block</paragraph>