summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2024-09-07 08:07:36 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2024-09-07 18:57:48 +0200
commitb9174d7844e4e6df7820b63fd62c9c1eb70752d3 (patch)
treeed66e0d756dae865a32412f5c4504143c2477b80
parent970df2d1be6b52393668f2554c2f6cdf1f2f05dc (diff)
tdf#162607 Remove dup's in hid2file.js, pdf export
+ fixed bad bookmark + refactor Change-Id: I48f2395c9b1b667333f81f2d6ced11d0cb6efae8 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/172991 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--source/text/shared/01/ref_pdf_export.xhp12
-rw-r--r--source/text/shared/01/ref_pdf_export_general.xhp2
2 files changed, 7 insertions, 7 deletions
diff --git a/source/text/shared/01/ref_pdf_export.xhp b/source/text/shared/01/ref_pdf_export.xhp
index 7e92e06b49..5c195f321f 100644
--- a/source/text/shared/01/ref_pdf_export.xhp
+++ b/source/text/shared/01/ref_pdf_export.xhp
@@ -20,7 +20,7 @@
<meta>
<topic id="textshared01ref_pdf_exportxml" indexer="include">
- <title id="tit" xml-lang="en-US">Export as PDF</title>
+ <title id="tit">Export as PDF</title>
<filename>/text/shared/01/ref_pdf_export.xhp</filename>
</topic>
</meta>
@@ -28,16 +28,16 @@
<body>
<section id="pdf_export">
-<bookmark xml-lang="en-US" branch="index" id="bm_id3149532">
+<bookmark branch="index" id="bm_id3149532">
<bookmark_value>PDF;export</bookmark_value>
<bookmark_value>portable document format</bookmark_value>
<bookmark_value>exporting;to PDF</bookmark_value>
</bookmark>
<comment>MW made "PDF export a two level entry"</comment><comment>UFI: write guide and move bookmarks there</comment>
-<bookmark xml-lang="en-US" branch="hid/.uno:ExportToPDF" id="bm_id2491692" localize="false"/>
+<bookmark branch="hid/.uno:ExportToPDF" id="bm_id2491692" localize="false"/>
<h1 id="hd_id3149532"><variable id="ref_pdf_export"><link href="text/shared/01/ref_pdf_export.xhp">Export as PDF</link></variable></h1>
-<paragraph id="par_id3154044" role="paragraph" xml-lang="en-US"><variable id="export"><ahelp hid=".">Saves the current file to Portable Document Format (PDF) version 1.4.</ahelp> A PDF file can be viewed and printed on any platform with the original formatting intact, provided that supporting software is installed.</variable></paragraph>
+<paragraph id="par_id3154044" role="paragraph"><variable id="export"><ahelp hid=".">Saves the current file to Portable Document Format (PDF) version 1.4.</ahelp> A PDF file can be viewed and printed on any platform with the original formatting intact, provided that supporting software is installed.</variable></paragraph>
</section>
<section id="howtoget">
@@ -51,8 +51,8 @@
<embed href="text/shared/01/ref_pdf_export_security.xhp#pdfexportsecurity"/>
<embed href="text/shared/01/ref_pdf_export_digital_signature.xhp#pdfexportdigitalsignature"/>
-<bookmark xml-lang="en-US" branch="hid/filter/ui/pdflinkspage/export" id="bm_id5594042" localize="false"/>
+<bookmark branch="hid/filter/ui/pdflinkspage/export" id="bm_id5594042" localize="false"/>
<h2 id="hd_id3150507">Export button</h2>
-<paragraph id="par_id3146975" role="paragraph" xml-lang="en-US"><ahelp hid=".">Exports the current file in PDF format.</ahelp></paragraph>
+<paragraph id="par_id3146975" role="paragraph"><ahelp hid=".">Exports the current file in PDF format.</ahelp></paragraph>
</body>
</helpdocument>
diff --git a/source/text/shared/01/ref_pdf_export_general.xhp b/source/text/shared/01/ref_pdf_export_general.xhp
index db0a463cdc..9421f0d020 100644
--- a/source/text/shared/01/ref_pdf_export_general.xhp
+++ b/source/text/shared/01/ref_pdf_export_general.xhp
@@ -48,7 +48,7 @@
<h3 id="hd_id3147043">Selection</h3>
<paragraph id="par_id3150774" role="paragraph"><ahelp hid="filter/ui/pdfgeneralpage/selection">Exports the current selection.</ahelp></paragraph>
- <bookmark branch="hid/filter/ui/pdfgeneralpage/usereferencexobject" id="bm_id141574106719731" localize="false"/>
+ <bookmark branch="hid/filter/ui/pdfgeneralpage/viewpdf" id="bm_id141574106719731" localize="false"/>
<h3 id="hd_id871574106145581">View PDF after export</h3>
<paragraph role="paragraph" id="par_id631574106701788">Open the exported document in the system default PDF viewer.</paragraph>