From 2dea31ccc46cfbc44fed1c3348ed57f9b3344a7a Mon Sep 17 00:00:00 2001
From: Olivier Hallot <olivier.hallot@libreoffice.org>
Date: Wed, 1 Nov 2023 16:32:20 -0300
Subject: tdf#155876 UI cmds Calc-Insert menu (18)

+ refactoring of Insert Headers and Footers

Change-Id: I6eaab609ecae9fbd34bb3e0670dd8c9540904b23
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/158774
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
---
 source/text/scalc/00/00000402.xhp |   2 -
 source/text/scalc/00/00000404.xhp |  23 ++++++++
 source/text/scalc/01/02120000.xhp |  10 ++--
 source/text/scalc/01/02120100.xhp | 117 ++++++++++++++++++--------------------
 source/text/scalc/main0104.xhp    |   3 +-
 5 files changed, 86 insertions(+), 69 deletions(-)

(limited to 'source/text')

diff --git a/source/text/scalc/00/00000402.xhp b/source/text/scalc/00/00000402.xhp
index 5fc250c4ff..0f09d1dbbe 100644
--- a/source/text/scalc/00/00000402.xhp
+++ b/source/text/scalc/00/00000402.xhp
@@ -161,8 +161,6 @@
   <paragraph role="paragraph" id="par_id131697569897269" localize="false"><keycode>F2</keycode></paragraph>
 </section>
 
-<paragraph id="par_id3155555" role="paragraph" xml-lang="en-US"><variable id="kopffuss">Choose <emph>Insert - Headers and Footers</emph>.</variable></paragraph>
-<paragraph id="par_id3159233" role="paragraph" xml-lang="en-US"><variable id="bkopfzeile">Choose <emph>Insert - Headers and Footers - Header and Footer</emph> tabs.</variable></paragraph>
 <paragraph id="par_id3150443" role="paragraph" xml-lang="en-US"><variable id="bausfullen">Choose <emph>Sheet - Fill Cells</emph>.</variable></paragraph>
 <paragraph id="par_id3143267" role="paragraph" xml-lang="en-US"><variable id="bausunten">Choose <emph>Sheet - Fill Cells - Down</emph>.</variable></paragraph>
 <paragraph id="par_id3153880" role="paragraph" xml-lang="en-US"><variable id="bausrechts">Choose <emph>Sheet - Fill Cells - Right</emph>.</variable></paragraph>
diff --git a/source/text/scalc/00/00000404.xhp b/source/text/scalc/00/00000404.xhp
index 3b13884053..ba95338a53 100644
--- a/source/text/scalc/00/00000404.xhp
+++ b/source/text/scalc/00/00000404.xhp
@@ -29,6 +29,29 @@
 </meta>
 <body>
 <h1 id="hd_id3149346">Insert Menu</h1>
+
+<section id="headerfooter">
+  <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
+  <paragraph id="par_id3159233" role="paragraph" xml-lang="en-US">Choose <menuitem>Insert - Headers and Footers</menuitem>.</paragraph>
+  <paragraph role="paragraph" id="par_id121698864831695">Choose <menuitem>Format - Page Style - Header (or Footer)</menuitem> tab, press <menuitem>Edit</menuitem>.</paragraph>
+  <paragraph role="paragraph" id="par_id901698865184345">Choose <menuitem>Styles - Manage Styles - Page Styles</menuitem>, open context menu of the page style, choose <menuitem>Edit Style - Header (or Footer)</menuitem> tab, press <menuitem>Edit</menuitem>.</paragraph>
+  <embed href="text/shared/00/00000004.xhp#from_tabUI"/>
+  <paragraph role="paragraph" id="par_id321698865421301">Choose <menuitem>Layout - Headers and Footers</menuitem>.</paragraph>
+  <paragraph role="paragraph" id="par_id491698864717484">Choose <menuitem>Layout - Format Page - Header (or Footer)</menuitem> tab, press <menuitem>Edit</menuitem>.</paragraph>
+  <paragraph role="paragraph" id="par_id171698865317844">On the <menuitem>Insert</menuitem> menu of the <menuitem>Insert</menuitem> tab, choose <menuitem>Headers and Footers</menuitem>.</paragraph>
+  <embed href="text/shared/00/00000004.xhp#from_toolbars"/>
+  <table id="tab_id711698865451988">
+    <tablerow>
+      <tablecell>
+        <paragraph id="par_id31698865451989" role="paragraph"><image src="cmd/lc_editheaderandfooter.svg" id="img_id351698865451990" width="1cm"  height="1cm"><alt id="alt_id241698865451991">Icon Headers and Footers</alt></image></paragraph>
+      </tablecell>
+      <tablecell>
+        <paragraph id="par_id731698865451993" role="paragraph">Headers and Footers</paragraph>
+      </tablecell>
+    </tablerow>
+  </table>
+</section>
+
 <section id="fieldmenu">
   <embed href="text/shared/00/00000004.xhp#from_menu_bar"/>
   <paragraph role="paragraph" id="par_id991698859519603">Choose <menuitem>Insert - Field</menuitem>.</paragraph>
diff --git a/source/text/scalc/01/02120000.xhp b/source/text/scalc/01/02120000.xhp
index 4958762a95..e8e06a7171 100644
--- a/source/text/scalc/01/02120000.xhp
+++ b/source/text/scalc/01/02120000.xhp
@@ -20,21 +20,21 @@
 
 <meta>
   <topic id="textscalc0102120000xml" indexer="include" status="PUBLISH">
-    <title id="tit" xml-lang="en-US">Headers &amp; Footers</title>
+    <title id="tit">Headers &amp; Footers</title>
     <filename>/text/scalc/01/02120000.xhp</filename>
   </topic>
 </meta>
 <body>
 <section id="headers_footers">
-<bookmark xml-lang="en-US" branch="hid/.uno:EditHeaderAndFooter" id="bm_id6105651" localize="false"/>
+
 <h1 id="hd_id3145251"><link href="text/scalc/01/02120000.xhp">Headers &amp; Footers</link></h1>
-<paragraph id="par_id3151073" role="paragraph" xml-lang="en-US"><variable id="kopfundfusszeilentext"><ahelp hid=".">Allows you to define and format headers and footers.</ahelp> </variable></paragraph>
+<paragraph id="par_id3151073" role="paragraph"><variable id="kopfundfusszeilentext"><ahelp hid=".">Allows you to define and format headers and footers.</ahelp> </variable></paragraph>
 </section>
-<paragraph id="par_id3153415" role="paragraph" xml-lang="en-US">The <emph>Headers/Footers</emph> dialog contains the tabs for defining headers and footers. There will be separate tabs for the left and right page headers and footers if the <emph>Same content left/right</emph> option was not marked in the <link href="text/scalc/01/05070000.xhp"><emph>Page Style</emph></link> dialog.</paragraph>
+<paragraph id="par_id3153415" role="paragraph">The <emph>Headers/Footers</emph> dialog contains the tabs for defining headers and footers. There will be separate tabs for the left and right page headers and footers if the <emph>Same content left/right</emph> option was not marked in the <link href="text/scalc/01/05070000.xhp"><emph>Page Style</emph></link> dialog.</paragraph>
 <section id="howtoget">
 <embed href="text/scalc/00/00000402.xhp#kopffuss"/>
 </section>
 <embed href="text/scalc/01/02120100.xhp#header"/>
 <embed href="text/shared/00/00000001.xhp#reset"/>
 </body>
-</helpdocument>
\ No newline at end of file
+</helpdocument>
diff --git a/source/text/scalc/01/02120100.xhp b/source/text/scalc/01/02120100.xhp
index 118ed0b3bf..fa2fc6431c 100644
--- a/source/text/scalc/01/02120100.xhp
+++ b/source/text/scalc/01/02120100.xhp
@@ -21,142 +21,137 @@
 
 <meta>
   <topic id="textscalc0102120100xml" indexer="include" status="PUBLISH">
-    <title xml-lang="en-US" id="tit">Header/Footer</title>
+    <title id="tit">Header/Footer</title>
     <filename>/text/scalc/01/02120100.xhp</filename>
   </topic>
 </meta>
 <body>
-      <section id="header">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3153360"><bookmark_value>page styles; headers</bookmark_value>
-         <bookmark_value>page styles; footers</bookmark_value>
-         <bookmark_value>headers; defining</bookmark_value>
-         <bookmark_value>footers; defining</bookmark_value>
-         <bookmark_value>file names in headers/footers</bookmark_value>
-         <bookmark_value>changing;dates, automatically</bookmark_value>
-         <bookmark_value>dates;updating automatically</bookmark_value>
-         <bookmark_value>automatic date updates</bookmark_value>
+<bookmark branch="index" id="bm_id3153360"><bookmark_value>page styles; headers</bookmark_value>
+<bookmark_value>page styles; footers</bookmark_value>
+<bookmark_value>headers; defining</bookmark_value>
+<bookmark_value>footers; defining</bookmark_value>
+<bookmark_value>file names in headers/footers</bookmark_value>
+<bookmark_value>changing;dates, automatically</bookmark_value>
+<bookmark_value>dates;updating automatically</bookmark_value>
+<bookmark_value>automatic date updates</bookmark_value>
 </bookmark>
-<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/headerfootercontent/HeaderFooterContent" id="bm_id3156422" localize="false"/>
-<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/headerfootercontent/@@nowidget@@" id="bm_id3156422" localize="false"/>
-<h1 id="hd_id3153360"><link href="text/scalc/01/02120100.xhp">Header/Footer</link></h1>
-         <paragraph xml-lang="en-US" id="par_id3150768" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/HeaderFooterContent">Defines or formats a header or footer for a Page Style.</ahelp></paragraph>
-      </section>
-      <section id="howtoget">
-         <embed href="text/scalc/00/00000402.xhp#bkopfzeile"/>
-      </section>
-<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/headerfootercontent/textviewWND_LEFT" id="bm_id3153726" localize="false"/>
+<bookmark branch="hid/.uno:EditHeaderAndFooter" id="bm_id6105651" localize="false"/>
+<bookmark branch="hid/modules/scalc/ui/headerfootercontent/HeaderFooterContent" id="bm_id3156422" localize="false"/>
+<bookmark branch="hid/modules/scalc/ui/headerfootercontent/@@nowidget@@" id="bm_id3156422" localize="false"/>
+<section id="headerfooter">
+<h1 id="hd_id3153360"><link href="text/scalc/01/02120100.xhp">Headers and Footers</link></h1>
+   <paragraph id="par_id3150768" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/HeaderFooterContent">Defines or formats a header or footer for the page style in use.</ahelp></paragraph>
+</section>
+<section id="howtoget">
+   <embed href="text/scalc/00/00000404.xhp#headerfooter"/>
+</section>
+<bookmark branch="hid/modules/scalc/ui/headerfootercontent/textviewWND_LEFT" id="bm_id3153726" localize="false"/>
 <h2 id="hd_id3145748">Left Area</h2>
-      <paragraph xml-lang="en-US" id="par_id3147434" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/textviewWND_LEFT">Enter the text to be displayed at the left side of the header or footer.</ahelp></paragraph>
-<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/headerfootercontent/textviewWND_CENTER" id="bm_id3153951" localize="false"/>
+      <paragraph id="par_id3147434" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/textviewWND_LEFT">Enter the text to be displayed at the left side of the header or footer.</ahelp></paragraph>
+<bookmark branch="hid/modules/scalc/ui/headerfootercontent/textviewWND_CENTER" id="bm_id3153951" localize="false"/>
 <h2 id="hd_id3148648">Center Area</h2>
-      <paragraph xml-lang="en-US" id="par_id3163710" role="paragraph"><ahelp hid=".">Enter the text to be displayed at the center of the header or footer.</ahelp></paragraph>
-<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/headerfootercontent/textviewWND_RIGHT" id="bm_id3155418" localize="false"/>
+      <paragraph id="par_id3163710" role="paragraph"><ahelp hid=".">Enter the text to be displayed at the center of the header or footer.</ahelp></paragraph>
+<bookmark branch="hid/modules/scalc/ui/headerfootercontent/textviewWND_RIGHT" id="bm_id3155418" localize="false"/>
 <h2 id="hd_id3154942">Right Area</h2>
-      <paragraph xml-lang="en-US" id="par_id3147126" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/textviewWND_RIGHT">Enter the text to be displayed at the right side of the header or footer.</ahelp></paragraph>
-<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/headerfootercontent/comboLB_DEFINED" id="bm_id0609200910173918" localize="false"/>
+      <paragraph id="par_id3147126" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/textviewWND_RIGHT">Enter the text to be displayed at the right side of the header or footer.</ahelp></paragraph>
+<bookmark branch="hid/modules/scalc/ui/headerfootercontent/comboLB_DEFINED" id="bm_id0609200910173918" localize="false"/>
 <h2 id="par_idN10811">Header/Footer</h2>
-      <paragraph xml-lang="en-US" id="par_idN10815" role="paragraph"><ahelp hid=".">Select a predefined header or footer from the list.</ahelp></paragraph>
-<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/headerfootercontent/buttonBTN_TEXT" id="bm_id3144766" localize="false"/>
+      <paragraph id="par_idN10815" role="paragraph"><ahelp hid=".">Select a predefined header or footer from the list.</ahelp></paragraph>
+<bookmark branch="hid/modules/scalc/ui/headerfootercontent/buttonBTN_TEXT" id="bm_id3144766" localize="false"/>
 <h2 id="hd_id3154729">Text attributes</h2>
-      <paragraph xml-lang="en-US" id="par_id3150717" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/buttonBTN_TEXT">Opens a dialog to assign formats to new or selected text.</ahelp> The <emph>Text Attributes</emph> dialog contains the tab pages <link href="text/shared/01/05020100.xhp"><emph>Font</emph></link>, <link href="text/shared/01/05020200.xhp"><emph>Font Effects</emph></link> and <link href="text/shared/01/05020500.xhp"><emph>Font Position</emph></link>.</paragraph>
+      <paragraph id="par_id3150717" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/buttonBTN_TEXT">Opens a dialog to assign formats to new or selected text.</ahelp> The <emph>Text Attributes</emph> dialog contains the tab pages <link href="text/shared/01/05020100.xhp"><emph>Font</emph></link>, <link href="text/shared/01/05020200.xhp"><emph>Font Effects</emph></link> and <link href="text/shared/01/05020500.xhp"><emph>Font Position</emph></link>.</paragraph>
       <table id="tbl_id3149018">
          <tablerow>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_id3159266" role="paragraph">
-<image id="img_id3156386" src="sc/res/text.png" width="0.1874in" height="0.1665in"><alt xml-lang="en-US" id="alt_id3156386">Icon</alt></image></paragraph>
+               <paragraph id="par_id3159266" role="paragraph">
+<image id="img_id3156386" src="cmd/sc_text.svg" width="1cm" height="1cm"><alt id="alt_id3156386">Icon Text Attributes</alt></image></paragraph>
             </tablecell>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_id3155336" role="paragraph">Text Attributes</paragraph>
+               <paragraph id="par_id3155336" role="paragraph">Text Attributes</paragraph>
             </tablecell>
          </tablerow>
       </table>
 
-<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/headerfootercontent/buttonBTN_FILE" id="bm_id3154020" localize="false"/>
+<bookmark branch="hid/modules/scalc/ui/headerfootercontent/buttonBTN_FILE" id="bm_id3154020" localize="false"/>
 <h2 id="hd_id3145792">File Name </h2>
-      <paragraph xml-lang="en-US" id="par_id3150206" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/buttonBTN_FILE">Inserts a file name placeholder in the selected area.</ahelp> Click to insert the title. Long-click <comment>UFI: this is still a long-click</comment>to select either title, file name or path/file name from the submenu. If a title has not be assigned (see <emph>File - Properties</emph>), the file name will be inserted instead.</paragraph>
+      <paragraph id="par_id3150206" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/buttonBTN_FILE">Inserts a file name placeholder in the selected area.</ahelp> Click to insert the title. Long-click <comment>UFI: this is still a long-click</comment>to select either title, file name or path/file name from the submenu. If a title has not be assigned (see <emph>File - Properties</emph>), the file name will be inserted instead.</paragraph>
       <table id="tbl_id3149529">
          <tablerow>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_id3150369" role="paragraph">
-<image id="img_id3150518" src="res/folderop.png" width="0.1665in" height="0.1252in"><alt xml-lang="en-US" id="alt_id3150518">Icon</alt></image></paragraph>
+               <paragraph id="par_id3150369" role="paragraph"><image id="img_id3150518" src="cmd/sc_open.svg" width="1cm" height="1cm"><alt id="alt_id3150518">Icon Folder</alt></image></paragraph>
             </tablecell>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_id3154487" role="paragraph">File Name</paragraph>
+               <paragraph id="par_id3154487" role="paragraph">File Name</paragraph>
             </tablecell>
          </tablerow>
       </table>
 
-<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/headerfootercontent/buttonBTN_TABLE" id="bm_id3149408" localize="false"/>
+<bookmark branch="hid/modules/scalc/ui/headerfootercontent/buttonBTN_TABLE" id="bm_id3149408" localize="false"/>
 <h2 id="hd_id3155812">Sheet Name</h2>
-      <paragraph xml-lang="en-US" id="par_id3148842" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/buttonBTN_TABLE">Inserts a placeholder in the selected header/footer area, which is replaced by the sheet name in the header/footer of the actual document.</ahelp></paragraph>
+      <paragraph id="par_id3148842" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/buttonBTN_TABLE">Inserts a placeholder in the selected header/footer area, which is replaced by the sheet name in the header/footer of the actual document.</ahelp></paragraph>
       <table id="tbl_id3159174">
          <tablerow>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_id3146870" role="paragraph">
-<image id="img_id3148870" src="sc/res/table.png" width="0.2228in" height="0.2228in"><alt xml-lang="en-US" id="alt_id3148870">Icon</alt></image></paragraph>
+               <paragraph id="par_id3146870" role="paragraph"><image id="img_id3148870" src="cmd/sc_inserttable.svg" width="1cm" height="1cm"><alt id="alt_id3148870">Icon Sheet Name</alt></image></paragraph>
             </tablecell>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_id3147071" role="paragraph">Sheet Name</paragraph>
+               <paragraph id="par_id3147071" role="paragraph">Sheet Name</paragraph>
             </tablecell>
          </tablerow>
       </table>
 
-<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/headerfootercontent/buttonBTN_PAGE" id="bm_id3153288" localize="false"/>
+<bookmark branch="hid/modules/scalc/ui/headerfootercontent/buttonBTN_PAGE" id="bm_id3153288" localize="false"/>
 <h2 id="hd_id3144768">Page</h2>
-      <paragraph xml-lang="en-US" id="par_id3154960" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/buttonBTN_PAGE">Inserts a placeholder in the selected header/footer area, which is replaced by page numbering. This allows continuous page numbering in a document.</ahelp></paragraph>
+      <paragraph id="par_id3154960" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/buttonBTN_PAGE">Inserts a placeholder in the selected header/footer area, which is replaced by page numbering. This allows continuous page numbering in a document.</ahelp></paragraph>
       <table id="tbl_id3153246">
          <tablerow>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_id3151304" role="paragraph">
-<image id="img_id3155386" src="sc/res/page.png" width="0.2228in" height="0.2228in"><alt xml-lang="en-US" id="alt_id3155386">Icon</alt></image></paragraph>
+               <paragraph id="par_id3151304" role="paragraph"><image id="img_id3155386" src="cmd/sc_insertpagenumberfield.svg" width="1cm" height="1cm"><alt id="alt_id3155386">Icon</alt></image></paragraph>
             </tablecell>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_id3150048" role="paragraph">Page</paragraph>
+               <paragraph id="par_id3150048" role="paragraph">Page</paragraph>
             </tablecell>
          </tablerow>
       </table>
 
-<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/headerfootercontent/buttonBTN_PAGES" id="bm_id3153012" localize="false"/>
+<bookmark branch="hid/modules/scalc/ui/headerfootercontent/buttonBTN_PAGES" id="bm_id3153012" localize="false"/>
 <h2 id="hd_id3146962">Pages</h2>
-      <paragraph xml-lang="en-US" id="par_id3153812" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/buttonBTN_PAGES">Inserts a placeholder in the selected header/footer area, which is replaced by the total number of pages in the document.</ahelp></paragraph>
+      <paragraph id="par_id3153812" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/buttonBTN_PAGES">Inserts a placeholder in the selected header/footer area, which is replaced by the total number of pages in the document.</ahelp></paragraph>
       <table id="tbl_id3154737">
          <tablerow>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_id3149315" role="paragraph">
-<image id="img_id3155757" src="sc/res/pages.png" width="0.2228in" height="0.2228in"><alt xml-lang="en-US" id="alt_id3155757">Icon</alt></image></paragraph>
+               <paragraph id="par_id3149315" role="paragraph"><image id="img_id3155757" src="cmd/sc_insertpagecountfield.svg" width="1cm" height="1cm"><alt id="alt_id3155757">Icon Pages</alt></image></paragraph>
             </tablecell>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_id3147499" role="paragraph">Pages</paragraph>
+               <paragraph id="par_id3147499" role="paragraph">Pages</paragraph>
             </tablecell>
          </tablerow>
       </table>
 
-<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/headerfootercontent/buttonBTN_DATE" id="bm_id3150438" localize="false"/>
+<bookmark branch="hid/modules/scalc/ui/headerfootercontent/buttonBTN_DATE" id="bm_id3150438" localize="false"/>
 <h2 id="hd_id3149050">Date</h2>
-      <paragraph xml-lang="en-US" id="par_id3153960" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/buttonBTN_DATE">Inserts a placeholder in the selected header/footer area, which is replaced by the current date which will be repeated in the header/footer on each page of the document.</ahelp></paragraph>
+      <paragraph id="par_id3153960" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/buttonBTN_DATE">Inserts a placeholder in the selected header/footer area, which is replaced by the current date which will be repeated in the header/footer on each page of the document.</ahelp></paragraph>
       <table id="tbl_id3147406">
          <tablerow>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_id3147299" role="paragraph">
-<image id="img_id3150394" src="sc/res/date.png" width="0.2228in" height="0.2228in"><alt xml-lang="en-US" id="alt_id3150394">Icon</alt></image></paragraph>
+               <paragraph id="par_id3147299" role="paragraph"><image id="img_id3150394" src="cmd/sc_datefield.svg" width="1cm" height="1cm"><alt id="alt_id3150394">Icon Date</alt></image></paragraph>
             </tablecell>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_id3150540" role="paragraph">Date</paragraph>
+               <paragraph id="par_id3150540" role="paragraph">Date</paragraph>
             </tablecell>
          </tablerow>
       </table>
 
-<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/headerfootercontent/buttonBTN_TIME" id="bm_id3147412" localize="false"/>
+<bookmark branch="hid/modules/scalc/ui/headerfootercontent/buttonBTN_TIME" id="bm_id3147412" localize="false"/>
 <h2 id="hd_id3147610">Time</h2>
-      <paragraph xml-lang="en-US" id="par_id3145638" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/buttonBTN_TIME">Inserts a placeholder in the selected header/footer area, which is replaced by the current time in the header/footer on each page of the document.</ahelp></paragraph>
+      <paragraph id="par_id3145638" role="paragraph"><ahelp hid="modules/scalc/ui/headerfootercontent/buttonBTN_TIME">Inserts a placeholder in the selected header/footer area, which is replaced by the current time in the header/footer on each page of the document.</ahelp></paragraph>
       <table id="tbl_id3157875">
          <tablerow>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_id3153122" role="paragraph">
-<image id="img_id3146884" src="sc/res/time.png" width="0.2228in" height="0.2228in"><alt xml-lang="en-US" id="alt_id3146884">Icon</alt></image></paragraph>
+               <paragraph id="par_id3153122" role="paragraph"><image id="img_id3146884" src="cmd/sc_timefield.svg" width="1cm" height="1cm"><alt id="alt_id3146884">Icon Time</alt></image></paragraph>
             </tablecell>
             <tablecell>
-               <paragraph xml-lang="en-US" id="par_id3157904" role="paragraph">Time</paragraph>
+               <paragraph id="par_id3157904" role="paragraph">Time</paragraph>
             </tablecell>
          </tablerow>
       </table>
diff --git a/source/text/scalc/main0104.xhp b/source/text/scalc/main0104.xhp
index 94e096428b..b15607ebe9 100644
--- a/source/text/scalc/main0104.xhp
+++ b/source/text/scalc/main0104.xhp
@@ -52,7 +52,8 @@
 <embed href="text/scalc/01/InsertCurrentTime.xhp#inserttime"/>
 <embed href="text/scalc/01/FieldMenu.xhp#fieldmenu"/>
 
-<embed href="text/scalc/01/02120000.xhp#headers_footers"/>
+<embed href="text/scalc/01/02120100.xhp#headerfooter"/>
+
 <embed href="text/shared/menu/insert_form_control.xhp#form_control_submenu"/>
 <embed href="text/shared/01/addsignatureline.xhp#addsignaturelineh1"/>
 </body>
-- 
cgit