summaryrefslogtreecommitdiff
path: root/source/text/swriter/mailmergetoolbar.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/swriter/mailmergetoolbar.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/swriter/mailmergetoolbar.xhp')
-rw-r--r--source/text/swriter/mailmergetoolbar.xhp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/text/swriter/mailmergetoolbar.xhp b/source/text/swriter/mailmergetoolbar.xhp
index 8a140c1809..1517641e4a 100644
--- a/source/text/swriter/mailmergetoolbar.xhp
+++ b/source/text/swriter/mailmergetoolbar.xhp
@@ -41,7 +41,7 @@
<embed href="text/swriter/01/mailmerge00.xhp#mailmerge"/>
<bookmark xml-lang="en-US" branch="hid/.uno:MailMergeCurrentEntry" id="bm_id9046601" localize="false"/>
-<paragraph role="heading" id="par_idN10559" xml-lang="en-US" level="2">(Recipient number)</paragraph>
+<h2 id="par_idN10559">(Recipient number)</h2>
<paragraph role="paragraph" id="par_idN1055A" xml-lang="en-US"><ahelp hid=".">Enter the address record number of a recipient to preview the mail merge document for the recipient.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:MailMergeFirstEntry" id="bm_id735801" localize="false"/>
@@ -51,11 +51,11 @@
<paragraph role="paragraph" id="par_idN10604" xml-lang="en-US"><ahelp hid=".">Use the browse buttons to scroll through the address records.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:MailMergeExcludeEntry" id="bm_id108340" localize="false"/>
-<paragraph role="heading" id="par_idN1055D" xml-lang="en-US" level="2">Exclude recipient</paragraph>
+<h2 id="par_idN1055D">Exclude recipient</h2>
<paragraph role="paragraph" id="par_idN10561" xml-lang="en-US"><ahelp hid=".">Excludes the current recipient from this mail merge.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/.uno:MailMergeCreateDocuments" id="bm_id1743827" localize="false"/>
-<paragraph role="heading" id="par_idN10564" xml-lang="en-US" level="2">Edit Individual Documents</paragraph>
+<h2 id="par_idN10564">Edit Individual Documents</h2>
<paragraph role="paragraph" id="par_idN10556" xml-lang="en-US"><ahelp hid=".">Creates a single merged document with page breaks between each recipient.</ahelp> The names and the addresses of the recipients are contained in the document, which can be customized as needed.</paragraph>
<embed href="text/swriter/01/mm_savemergeddoc.xhp#save_merged_document"/>