summaryrefslogtreecommitdiff
path: root/source/text/scalc/01/04050000.xhp
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2023-03-13 16:04:19 +0100
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-03-16 15:18:10 +0000
commit77cb682cd1b004e7247560e60f603a4bb0565b8d (patch)
tree5ff7d8bf5fcc8f9fe162b8ed05ca7eeaf21022ba /source/text/scalc/01/04050000.xhp
parent00567a452bb1e270dd2438dcc865359edba56c19 (diff)
convert plain paragraphs with role="heading" → h<level>
i.e. without child elements and also drop the language that was changed to implied in the dtd previously/defaults to en-US unless specified. This change doesn't affect translations, only the content of the paragraph/headings is extracted. done with: perl -CSD -pi -e 'BEGIN {$base = qr/role="heading"|level="(?<level>\d+)"|(?<id>id="[^"]+")/;} s#<paragraph(((\s+($base)){3})|(\s+($base|xml-lang="en-US")){4})>(?<body>[^<]+)</paragraph>#<h$+{level} $+{id}>$+{body}</h$+{level}>#g' (all permutations re order of attributes, and xml-lang="en-US" being optional / implied) Change-Id: I365a2bb983a3969af9390753fce7b7f3597c7b8b Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148795 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/scalc/01/04050000.xhp')
-rw-r--r--source/text/scalc/01/04050000.xhp24
1 files changed, 12 insertions, 12 deletions
diff --git a/source/text/scalc/01/04050000.xhp b/source/text/scalc/01/04050000.xhp
index 7f4eab60f5..e1c7556f93 100644
--- a/source/text/scalc/01/04050000.xhp
+++ b/source/text/scalc/01/04050000.xhp
@@ -32,43 +32,43 @@
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/insertsheet/InsertSheetDialog" id="bm_id3151384" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/insertsheet/@@nowidget@@" id="bm_id3151384" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/.uno:Insert" id="bm_id1669896" localize="false"/>
-<paragraph role="heading" id="hd_id3155629" xml-lang="en-US" level="1">Insert Sheet</paragraph>
+<h1 id="hd_id3155629">Insert Sheet</h1>
<paragraph role="paragraph" id="par_id3147264" xml-lang="en-US"><variable id="tabelleeinfuegentext"><ahelp hid=".uno:Insert">Defines the options to be used to insert a new sheet.</ahelp> You can create a new sheet, or insert an existing sheet from a file.
</variable></paragraph>
<section id="howtoget">
<embed href="text/scalc/00/00000404.xhp#eitab"/>
</section>
-<paragraph role="heading" id="hd_id3154684" xml-lang="en-US" level="2">Position</paragraph>
+<h2 id="hd_id3154684">Position</h2>
<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US">Specifies where the new sheet is to be inserted into your document.</paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/insertsheet/before" id="bm_id3155131" localize="false"/>
-<paragraph role="heading" id="hd_id3154123" xml-lang="en-US" level="3">Before current sheet</paragraph>
+<h3 id="hd_id3154123">Before current sheet</h3>
<paragraph role="paragraph" id="par_id3145787" xml-lang="en-US"><ahelp hid="modules/scalc/ui/insertsheet/before">Inserts a new sheet directly before the current sheet.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/insertsheet/after" id="bm_id3147434" localize="false"/>
-<paragraph role="heading" id="hd_id3155414" xml-lang="en-US" level="3">After current sheet</paragraph>
+<h3 id="hd_id3155414">After current sheet</h3>
<paragraph role="paragraph" id="par_id3145271" xml-lang="en-US"><ahelp hid="modules/scalc/ui/insertsheet/after">Inserts a new sheet directly after the current sheet.</ahelp></paragraph>
-<paragraph role="heading" id="hd_id3147428" xml-lang="en-US" level="2">Sheet</paragraph>
+<h2 id="hd_id3147428">Sheet</h2>
<paragraph role="paragraph" id="par_id3154012" xml-lang="en-US">Specifies whether a new sheet or an existing sheet is inserted into the document.</paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/insertsheet/new" id="bm_id3145750" localize="false"/>
-<paragraph role="heading" id="hd_id3147350" xml-lang="en-US" level="2">New sheet</paragraph>
+<h2 id="hd_id3147350">New sheet</h2>
<paragraph role="paragraph" id="par_id3149262" xml-lang="en-US"><ahelp hid="modules/scalc/ui/insertsheet/new">Creates a new sheet. Enter a sheet name in the <emph>Name</emph> field. Allowed characters are letters, numbers, spaces, and the underline character.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/insertsheet/countnf" id="bm_id3153157" localize="false"/>
-<paragraph role="heading" id="hd_id3155418" xml-lang="en-US" level="3">No. of sheets</paragraph>
+<h3 id="hd_id3155418">No. of sheets</h3>
<paragraph role="paragraph" id="par_id3148457" xml-lang="en-US"><ahelp hid="modules/scalc/ui/insertsheet/countnf">Specifies the number of sheets to be created.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/insertsheet/nameed" id="bm_id3154510" localize="false"/>
-<paragraph role="heading" id="hd_id3149379" xml-lang="en-US" level="3">Name</paragraph>
+<h3 id="hd_id3149379">Name</h3>
<paragraph role="paragraph" id="par_id3150718" xml-lang="en-US"><ahelp hid="modules/scalc/ui/insertsheet/nameed">Specifies the name of the new sheet.</ahelp></paragraph>
<embed href="text/scalc/guide/rename_table.xhp#rename_table"/>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/insertsheet/fromfile" id="bm_id3150328" localize="false"/>
-<paragraph role="heading" id="hd_id3155066" xml-lang="en-US" level="2">From File</paragraph>
+<h2 id="hd_id3155066">From File</h2>
<paragraph role="paragraph" id="par_id3153714" xml-lang="en-US"><ahelp hid="modules/scalc/ui/insertsheet/fromfile">Inserts a sheet from an existing file into the current document.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/insertsheet/browse" id="bm_id3150044" localize="false"/>
-<paragraph role="heading" id="hd_id3149020" xml-lang="en-US" level="3">Browse</paragraph>
+<h3 id="hd_id3149020">Browse</h3>
<paragraph role="paragraph" id="par_id3159267" xml-lang="en-US"><ahelp hid="modules/scalc/ui/insertsheet/browse">Opens a dialog for selecting a file.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/insertsheet/tables" id="bm_id3146314" localize="false"/>
-<paragraph role="heading" id="hd_id3149255" xml-lang="en-US" level="3">Available Sheets</paragraph>
+<h3 id="hd_id3149255">Available Sheets</h3>
<paragraph role="paragraph" id="par_id3155336" xml-lang="en-US"><ahelp hid="modules/scalc/ui/insertsheet/tables">If you selected a file by using the <emph>Browse</emph> button, the sheets contained in it are displayed in the list box. The file path is displayed below this box. Select the sheet to be inserted from the list box.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/insertsheet/link" id="bm_id3149814" localize="false"/>
-<paragraph role="heading" id="hd_id3145791" xml-lang="en-US" level="3">Link</paragraph>
+<h3 id="hd_id3145791">Link</h3>
<paragraph role="paragraph" id="par_id3152580" xml-lang="en-US"><ahelp hid="modules/scalc/ui/insertsheet/link">Select to insert the sheet as a link instead as a copy. The links can be updated to show the current contents.</ahelp></paragraph>
</body>
</helpdocument>