[Libreoffice-commits] help.git: 2 commits - source/text
Andras Timar
atimar at suse.com
Fri Jul 19 03:32:41 PDT 2013
source/text/sbasic/shared/03010103.xhp | 17 +++++++++++++----
source/text/schart/01/stepped_line_properties.xhp | 8 ++++----
source/text/schart/01/type_xy.xhp | 8 ++++----
3 files changed, 21 insertions(+), 12 deletions(-)
New commits:
commit c7362eccbd333bcfc919bc981a4c10327fdb6c8d
Author: Andras Timar <atimar at suse.com>
Date: Fri Jul 19 11:24:57 2013 +0200
<switch>/<case>/<default> are unhandled elements within <bascode>
Change-Id: I6c04583bb0259806d1c5ffd2c1425bacaed21583
diff --git a/source/text/sbasic/shared/03010103.xhp b/source/text/sbasic/shared/03010103.xhp
index c4987b6..bc30425 100644
--- a/source/text/sbasic/shared/03010103.xhp
+++ b/source/text/sbasic/shared/03010103.xhp
@@ -53,22 +53,31 @@
<paragraph role="paragraph" id="par_id3154011" xml-lang="en-US" l10n="U" oldref="11">If the expression to be printed exceeds a certain length, the display will automatically wrap to the next line.</paragraph>
<paragraph role="note" id="par_id3146969" xml-lang="en-US" l10n="U" oldref="12">You can insert the Tab function, enclosed by semicolons, between arguments to indent the output to a specific position, or you can use the <emph>Spc</emph> function to insert a specified number of spaces.</paragraph>
<paragraph role="heading" id="hd_id3146912" xml-lang="en-US" level="2" l10n="U" oldref="13">Example:</paragraph>
+<switch select="sys">
+<case select="WIN">
<bascode>
<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExamplePrint</paragraph>
<paragraph role="bascode" localize="false" xml-lang="en-US"> Print "ABC"</paragraph>
<paragraph role="bascode" localize="false" xml-lang="en-US"> Print "ABC","123"</paragraph>
<paragraph role="bascode" localize="false" xml-lang="en-US"> i = FreeFile()</paragraph>
-<switch select="sys">
-<case select="WIN">
<paragraph role="bascode" localize="false" xml-lang="en-US"> Open "C:\Temp.txt" For Output As i</paragraph>
+<paragraph role="bascode" localize="false" xml-lang="en-US"> Print #i, "ABC"</paragraph>
+<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #i</paragraph>
+<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+</bascode>
</case>
<default>
+<bascode>
+<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExamplePrint</paragraph>
+<paragraph role="bascode" localize="false" xml-lang="en-US"> Print "ABC"</paragraph>
+<paragraph role="bascode" localize="false" xml-lang="en-US"> Print "ABC","123"</paragraph>
+<paragraph role="bascode" localize="false" xml-lang="en-US"> i = FreeFile()</paragraph>
<paragraph role="bascode" localize="false" xml-lang="en-US"> Open "~/temp.txt" For Output As i</paragraph>
-</default>
-</switch>
<paragraph role="bascode" localize="false" xml-lang="en-US"> Print #i, "ABC"</paragraph>
<paragraph role="bascode" localize="false" xml-lang="en-US"> Close #i</paragraph>
<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
+</default>
+</switch>
</body>
</helpdocument>
commit 628ca143fe1119256040772bc573ae6439367f0b
Author: Andras Timar <atimar at suse.com>
Date: Fri Jul 19 11:15:01 2013 +0200
<image> cannot be child of <listitem>
Change-Id: I27f90c77b29925885616c0747a75972395cd125c
diff --git a/source/text/schart/01/stepped_line_properties.xhp b/source/text/schart/01/stepped_line_properties.xhp
index b8fb016..8e21260 100644
--- a/source/text/schart/01/stepped_line_properties.xhp
+++ b/source/text/schart/01/stepped_line_properties.xhp
@@ -33,19 +33,19 @@
<paragraph role="heading" id="hd_id9438276" xml-lang="en-US" level="2" l10n="NEW">Different step types</paragraph>
<list type="unordered">
<listitem>
-<image id="img_id9078573" src="chart2/res/step_start_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id9078573">Start step icon</alt></image>
+<paragraph role="paragraph" id="par_id9078573" xml-lang="en-US"><image id="img_id9078573" src="chart2/res/step_start_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id9078573">Start step icon</alt></image></paragraph>
<paragraph role="paragraph" id="par_id9047365" xml-lang="en-US" l10n="NEW"><ahelp hid="modules/schart/ui/steppedlinesdlg/step_start_rb">Start with horizontal line and step up vertically at the end.</ahelp></paragraph>
</listitem>
<listitem>
-<image id="img_id05495673" src="chart2/res/step_end_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id05495673">End step icon</alt></image>
+<paragraph role="paragraph" id="par_id05495673" xml-lang="en-US"><image id="img_id05495673" src="chart2/res/step_end_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id05495673">End step icon</alt></image></paragraph>
<paragraph role="paragraph" id="par_id439028" xml-lang="en-US" l10n="NEW"><ahelp hid="modules/schart/ui/steppedlinesdlg/step_center_x_rb">Start to step up vertically and end with horizontal line.</ahelp></paragraph>
</listitem>
<listitem>
-<image id="img_id9673426" src="chart2/res/step_center_x_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id9673426">Center X icon</alt></image>
+<paragraph role="paragraph" id="par_id9673426" xml-lang="en-US"><image id="img_id9673426" src="chart2/res/step_center_x_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id9673426">Center X icon</alt></image></paragraph>
<paragraph role="paragraph" id="par_id4069483" xml-lang="en-US" l10n="NEW"><ahelp hid="modules/schart/ui/steppedlinesdlg/step_end_rb">Start with horizontal line, step up vertically in the middle of the X values and end with horizontal line.</ahelp></paragraph>
</listitem>
<listitem>
-<image id="img_id56635427" src="chart2/res/step_center_y_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id56635427">Center Y icon</alt></image>
+<paragraph role="paragraph" id="par_id56635427" xml-lang="en-US"><image id="img_id56635427" src="chart2/res/step_center_y_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id56635427">Center Y icon</alt></image></paragraph>
<paragraph role="paragraph" id="par_id0679473" xml-lang="en-US" l10n="NEW"><ahelp hid="modules/schart/ui/steppedlinesdlg/step_center_y_rb">Start to step up vertically to the middle of the Y values, draw a horizontal line and finish by stepping vertically to the end.</ahelp></paragraph>
</listitem>
</list>
diff --git a/source/text/schart/01/type_xy.xhp b/source/text/schart/01/type_xy.xhp
index 8b28316..a8a4589 100644
--- a/source/text/schart/01/type_xy.xhp
+++ b/source/text/schart/01/type_xy.xhp
@@ -90,19 +90,19 @@
<paragraph role="paragraph" id="par_id9811476" xml-lang="en-US" l10n="NEW">There are 4 different step types:</paragraph>
<list type="unordered">
<listitem>
-<image id="img_id9078573" src="chart2/res/step_start_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id9078573">Start step icon</alt></image>
+<paragraph role="paragraph" id="par_id9078573" xml-lang="en-US"><image id="img_id9078573" src="chart2/res/step_start_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id9078573">Start step icon</alt></image></paragraph>
<paragraph role="paragraph" id="par_id9047365" xml-lang="en-US" l10n="NEW">Start with horizontal line and step up vertically at the end.</paragraph>
</listitem>
<listitem>
-<image id="img_id05495673" src="chart2/res/step_end_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id05495673">End step icon</alt></image>
+<paragraph role="paragraph" id="par_id05495673" xml-lang="en-US"><image id="img_id05495673" src="chart2/res/step_end_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id05495673">End step icon</alt></image></paragraph>
<paragraph role="paragraph" id="par_id439028" xml-lang="en-US" l10n="NEW">Start to step up vertically and end with horizontal line.</paragraph>
</listitem>
<listitem>
-<image id="img_id9673426" src="chart2/res/step_center_x_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id9673426">Center X icon</alt></image>
+<paragraph role="paragraph" id="par_id9673426" xml-lang="en-US"><image id="img_id9673426" src="chart2/res/step_center_x_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id9673426">Center X icon</alt></image></paragraph>
<paragraph role="paragraph" id="par_id4069483" xml-lang="en-US" l10n="NEW">Start with horizontal line, step up vertically in the middle of the X values and end with horizontal line.</paragraph>
</listitem>
<listitem>
-<image id="img_id56635427" src="chart2/res/step_center_y_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id56635427">Center Y icon</alt></image>
+<paragraph role="paragraph" id="par_id56635427" xml-lang="en-US"><image id="img_id56635427" src="chart2/res/step_center_y_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id56635427">Center Y icon</alt></image></paragraph>
<paragraph role="paragraph" id="par_id0679473" xml-lang="en-US" l10n="NEW">Start to step up vertically to the middle of the Y values, draw a horizontal line and finish by stepping vertically to the end.</paragraph>
</listitem>
</list>
More information about the Libreoffice-commits
mailing list