diff options
-rw-r--r-- | Package_html_media.mk | 1 | ||||
-rw-r--r-- | source/media/helpimg/sbasic/Enum_statement.svg | 37 | ||||
-rw-r--r-- | source/text/sbasic/shared/enum.xhp | 3 |
3 files changed, 41 insertions, 0 deletions
diff --git a/Package_html_media.mk b/Package_html_media.mk index 0fd898c9c2..bfe868dbf9 100644 --- a/Package_html_media.mk +++ b/Package_html_media.mk @@ -118,6 +118,7 @@ $(eval $(call gb_Package_add_files_with_dir,helpcontent2_html_media,$(LIBO_SHARE helpimg/sbasic/Do-Loop_statement.svg \ helpimg/sbasic/Else_fragment.svg \ helpimg/sbasic/ElseIf_fragment.svg \ + helpimg/sbasic/Enum_statement.svg \ helpimg/sbasic/Erase_statement.svg \ helpimg/sbasic/For-Each_statement.svg \ helpimg/sbasic/For-Next_statement.svg \ 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_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"> ' Object Statement block</paragraph> |