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>
This commit is contained in:
Olivier Hallot
2023-11-01 09:08:34 -03:00
parent d6cb61568a
commit 1d8bcb189a
3 changed files with 36 additions and 49 deletions

View File

@ -20,22 +20,19 @@
<meta>
<topic id="textscalcmain0104xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Insert</title>
<title id="tit">Insert</title>
<filename>/text/scalc/main0104.xhp</filename>
</topic>
</meta>
<body>
<section id="insert">
<bookmark xml-lang="en-US" branch="hid/.uno:InsertMenu" id="bm_id8230842" localize="false"/>
<bookmark branch="hid/.uno:InsertMenu" id="bm_id8230842" localize="false"/>
<h1 id="hd_id3157909"><link href="text/scalc/main0104.xhp">Insert</link></h1>
<paragraph id="par_id3153896" role="paragraph" xml-lang="en-US"><ahelp hid=".">The <emph>Insert</emph> menu contains commands for inserting new elements, such as images, text boxes, object, media, cell names and much more into the current sheet.</ahelp></paragraph>
<paragraph id="par_id3153896" role="paragraph"><ahelp hid=".">The <emph>Insert</emph> menu contains commands for inserting new elements, such as images, text boxes, object, media, cell names and much more into the current sheet.</ahelp></paragraph>
</section>
<embed href="text/shared/01/04140000.xhp#insertimageh1"/>
<h2 id="hd_id3146918"><link href="text/schart/01/wiz_chart_type.xhp">Chart</link></h2>
<paragraph id="par_id0302200904002496" role="paragraph" xml-lang="en-US">Inserts a chart.</paragraph>
<embed href="text/shared/01/insert_chart.xhp#chart"/>
<embed href="text/scalc/01/sparklines.xhp#sparklinesh1"/>
<embed href="text/scalc/01/12090100.xhp#pivot_table_h1"/>

View File

@ -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">

View File

@ -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">