summaryrefslogtreecommitdiff
path: root/source/text/shared
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2023-11-01 09:08:34 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-11-01 14:11:54 +0100
commit1d8bcb189aeeff79f51d23c88c13ff9970a2700a (patch)
treea5083b40bc5036abaa9433c0db1a92d689a3555d /source/text/shared
parentd6cb61568afd30c4effc53b209716faec001412a (diff)
tdf#155876 UI cmds Calc-Insert menu (11)
+ refactoring of Insert Chart Change-Id: I8c43233a31525fd58156d9e8bce8942724b34fc8 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/158758 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/shared')
-rw-r--r--source/text/shared/00/00000404.xhp45
-rw-r--r--source/text/shared/01/insert_chart.xhp29
2 files changed, 32 insertions, 42 deletions
diff --git a/source/text/shared/00/00000404.xhp b/source/text/shared/00/00000404.xhp
index 87332c32b4..09f0d412de 100644
--- a/source/text/shared/00/00000404.xhp
+++ b/source/text/shared/00/00000404.xhp
@@ -431,22 +431,37 @@
<paragraph role="paragraph" id="par_id3153573">Choose <menuitem>Insert Chart</menuitem>.</paragraph>
<paragraph role="paragraph" id="par_id3159179">Choose <emph>Format - Chart Type</emph>.</paragraph>
<paragraph role="paragraph" id="par_id3159196">Choose <menuitem>Insert - Chart</menuitem>.</paragraph>
+
<section id="chart">
-<paragraph role="paragraph" id="par_id3149664">Choose <menuitem>Insert - Chart</menuitem>.</paragraph>
-<paragraph role="paragraph" id="par_id3154921">On the <emph>Insert</emph> bar, click</paragraph>
-<section id="systarchart">
-<table id="tbl_id3147441">
-<tablerow>
-<tablecell>
-<paragraph role="paragraph" id="par_id3156005">
-<image id="img_id3153739" src="cmd/sc_drawchart.png" width="1cm" height="1cm"><alt id="alt_id3153739">Icon Chart</alt></image></paragraph>
-</tablecell>
-<tablecell>
-<paragraph role="paragraph" id="par_id3145749">Chart</paragraph>
-</tablecell>
-</tablerow>
-</table>
-</section>
+ <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+ <paragraph role="paragraph" id="par_id391687290602711">Choose <menuitem>Insert - Chart</menuitem>.</paragraph>
+ <switch select="appl">
+ <case select="BASE"/>
+ <case select="MATH"/>
+ <case select="DRAW">
+ <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+ <paragraph role="paragraph" id="par_id481687292947011"><menuitem>Home - Insert Chart</menuitem>.</paragraph>
+ <paragraph role="paragraph" id="par_id611687292960477"><menuitem>Insert - Chart</menuitem>.</paragraph>
+ </case>
+ <default>
+ <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+ <paragraph role="paragraph" id="par_id21687293634109"><menuitem>Insert - Chart</menuitem>.</paragraph>
+ </default>
+ </switch>
+ <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+ <section id="systarchart">
+ <table id="tbl_id3147441">
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3156005">
+ <image id="img_id3153739" src="cmd/lc_drawchart.svg" width="1cm" height="1cm"><alt id="alt_id3153739">Icon Chart</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145749">Chart</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ </section>
</section>
<section id="image">
diff --git a/source/text/shared/01/insert_chart.xhp b/source/text/shared/01/insert_chart.xhp
index 671b3ae260..44f2eca255 100644
--- a/source/text/shared/01/insert_chart.xhp
+++ b/source/text/shared/01/insert_chart.xhp
@@ -27,40 +27,15 @@
<body>
-<section id="chart">
<bookmark branch="hid/.uno:InsertObjectChart" id="bm_id030420160952412994" localize="false"/>
+<section id="chart">
<h1 id="hd_id030420160945436725"><link href="text/shared/01/insert_chart.xhp">Chart</link></h1>
<paragraph id="par_id030420160947559665" role="paragraph"><ahelp hid=".">Inserts a chart based on data from a cell or table range or with default data.</ahelp></paragraph>
</section>
<section id="howtoget">
- <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
- <paragraph role="paragraph" id="par_id391687290602711">Choose <menuitem>Insert - Chart</menuitem>.</paragraph>
- <switch select="appl">
- <case select="BASE"/>
- <case select="MATH"/>
- <case select="DRAW">
- <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
- <paragraph role="paragraph" id="par_id481687292947011"><menuitem>Home - Insert Chart</menuitem>.</paragraph>
- <paragraph role="paragraph" id="par_id611687292960477"><menuitem>Insert - Chart</menuitem>.</paragraph>
- </case>
- <default>
- <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
- <paragraph role="paragraph" id="par_id21687293634109"><menuitem>Insert - Chart</menuitem>.</paragraph>
- </default>
- </switch>
- <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
- <table id="tab_id291687290321938">
- <tablerow>
- <tablecell>
- <paragraph id="par_id791687290321939" role="paragraph"><image src="cmd/lc_drawchart.svg" id="img_id981687290321940" width="1cm" height="1cm"><alt id="alt_id311687290321941">Icon Chart</alt></image></paragraph>
- </tablecell>
- <tablecell>
- <paragraph id="par_id521687290321944" role="paragraph">Chart</paragraph>
- </tablecell>
- </tablerow>
- </table>
+ <embed href="text/shared/00/00000404.xhp#chart"/>
</section>
<section id="relatedtopics">