forked from amazingfate/help
Replacement done with
find . -name \*.xhp -print0 |xargs -0 -P 0 perl -CS -pi -e \
's#(<link[^>]*?) +name *="[^"]*" *( [^>]+|) *>#$1$2>#g'
(note some inconsistencies with space between name and = and also having
empty value, and some more complicated expression to also clear up
double space before/after the attribute)
translation files will be prepped with:
find */helpcontent2 -name \*.po -print0 |xargs -0 -P 0 perl -CS -pi -e \
$'s#(<link[^>]*?) +name=(?:\\\\"[^"]*\\\\"|\'[^\']*\') *( [^>]+|) *(/?>)#$1$2$3#g unless /^#/'
(note that not all languages use the " as quote character for the
attributes, but that also single quotes appera in the po file. Hence
the use of the shell $'string' syntax to be able to quote ' as \'
It also requires to quote the backslash, so that it needs to be escaped
once for the shell, then another time for perl. Also don't work on
obsolete strings (those are prefixed with #~ in the po files)
Also note that <link..></link> gets turned into <link ../> during
translation extraction (along with removal of the space between the
attribute name and the value), so the pattern needs to be slightly
different here)
Change-Id: I95e53a08e6b0095cd894109ea0de154cc4859d8f
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143713
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
88 lines
5.8 KiB
XML
88 lines
5.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<helpdocument version="1.0">
|
|
<!--
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
-->
|
|
|
|
<meta>
|
|
<topic id="pdfexportsecurity" indexer="include" status="PUBLISH">
|
|
<title id="tit" xml-lang="en-US">PDF Export Security</title>
|
|
<filename>/text/shared/01/ref_pdf_export_security.xhp</filename>
|
|
</topic>
|
|
</meta>
|
|
<body>
|
|
<bookmark xml-lang="en-US" branch="index" id="bm_id241574100707591">
|
|
<bookmark_value>PDF export;security</bookmark_value>
|
|
</bookmark>
|
|
<section id="pdfexportsecurity">
|
|
<bookmark xml-lang="en-US" branch="hid/filter/ui/pdfsecuritypage/PdfSecurityPage" id="bm_id8720359" localize="false"/>
|
|
<bookmark xml-lang="en-US" branch="hid/filter/ui/pdfsecuritypage/@@nowidget@@" id="bm_id8720359" localize="false"/>
|
|
<h1 id="hd_id3068636"><variable id="pdfexportsecurityh1"><link href="text/shared/01/ref_pdf_export_security.xhp">Security</link></variable></h1>
|
|
<paragraph role="paragraph" id="par_id291574099537389">Specifies the security options of the exported PDF file.</paragraph>
|
|
</section>
|
|
<section id="howtoget">
|
|
<embed href="text/shared/00/00000401.xhp#exportpdfsecurity"/>
|
|
</section>
|
|
<embed href="text/shared/06/filter_screenshots.xhp#pdfsecuritypage"/>
|
|
<bookmark xml-lang="en-US" branch="hid/filter/ui/pdfsecuritypage/setpassword" id="bm_id8720358" localize="false"/>
|
|
<note id="par_id251619267385242">The document permission restrictions set by password will be observed only by PDF readers compliant with the version 1.5 of the format. Thus, in older PDF readers, the restrictions may have no effect.</note>
|
|
<h2 id="hd_id2927335">Set passwords</h2>
|
|
<paragraph id="par_id2107303" role="paragraph" xml-lang="en-US"><ahelp hid=".">Click to open a dialog where you enter the passwords.</ahelp></paragraph>
|
|
<paragraph id="par_id41123951" role="paragraph" xml-lang="en-US">You can specify a password needed to view the PDF. You can enter an optional password that allows the person viewing the PDF to edit and/or print the document.</paragraph>
|
|
|
|
<h2 id="hd_id7985168">Printing</h2>
|
|
<bookmark xml-lang="en-US" branch="hid/filter/ui/pdfsecuritypage/printnone" id="bm_id1476485" localize="false"/>
|
|
|
|
<h3 id="hd_id876186">Not permitted</h3>
|
|
<paragraph id="par_id3939634" role="paragraph" xml-lang="en-US"><ahelp hid=".">Printing the document is not permitted.</ahelp></paragraph>
|
|
<bookmark xml-lang="en-US" branch="hid/filter/ui/pdfsecuritypage/printlow" id="bm_id1693472" localize="false"/>
|
|
|
|
<h3 id="hd_id599688">Low resolution (150 dpi)</h3>
|
|
<paragraph id="par_id1371501" role="paragraph" xml-lang="en-US"><ahelp hid=".">The document can only be printed in low resolution (150 dpi). Not all PDF readers honor this setting.</ahelp></paragraph>
|
|
<bookmark xml-lang="en-US" branch="hid/filter/ui/pdfsecuritypage/printhigh" id="bm_id8849147" localize="false"/>
|
|
|
|
<h3 id="hd_id4661702">High resolution</h3>
|
|
<paragraph id="par_id7868892" role="paragraph" xml-lang="en-US"><ahelp hid=".">The document can be printed in high resolution.</ahelp></paragraph>
|
|
|
|
<h2 id="hd_id2188787">Changes</h2>
|
|
<bookmark xml-lang="en-US" branch="hid/filter/ui/pdfsecuritypage/changenone" id="bm_id8967253" localize="false"/>
|
|
|
|
<h3 id="hd_id5833307">Not permitted</h3>
|
|
<paragraph id="par_id7726676" role="paragraph" xml-lang="en-US"><ahelp hid=".">No changes of the content are permitted.</ahelp></paragraph>
|
|
<bookmark xml-lang="en-US" branch="hid/filter/ui/pdfsecuritypage/changeinsdel" id="bm_id53712" localize="false"/>
|
|
|
|
<h3 id="hd_id3729361">Inserting, deleting, and rotating pages</h3>
|
|
<paragraph id="par_id9573961" role="paragraph" xml-lang="en-US"><ahelp hid=".">Only inserting, deleting, and rotating pages is permitted.</ahelp></paragraph>
|
|
<bookmark xml-lang="en-US" branch="hid/filter/ui/pdfsecuritypage/changeform" id="bm_id8904385" localize="false"/>
|
|
|
|
<h3 id="hd_id7700430">Filling in form fields</h3>
|
|
<paragraph id="par_id1180455" role="paragraph" xml-lang="en-US"><ahelp hid=".">Only filling in form fields is permitted.</ahelp></paragraph>
|
|
<bookmark xml-lang="en-US" branch="hid/filter/ui/pdfsecuritypage/changecomment" id="bm_id677205" localize="false"/>
|
|
|
|
<h3 id="hd_id3405560">Commenting, filling in form fields</h3>
|
|
<paragraph id="par_id3409527" role="paragraph" xml-lang="en-US"><ahelp hid=".">Only commenting and filling in form fields is permitted.</ahelp></paragraph>
|
|
<bookmark xml-lang="en-US" branch="hid/filter/ui/pdfsecuritypage/changeany" id="bm_id4991607" localize="false"/>
|
|
|
|
<h3 id="hd_id7112338">Any except extracting pages</h3>
|
|
<paragraph id="par_id2855616" role="paragraph" xml-lang="en-US"><ahelp hid=".">All changes are permitted, except extracting pages.</ahelp></paragraph>
|
|
<bookmark xml-lang="en-US" branch="hid/filter/ui/pdfsecuritypage/enablecopy" id="bm_id7106845" localize="false"/>
|
|
|
|
<h2 id="hd_id841574111651138">Contents</h2>
|
|
|
|
<h3 id="hd_id2091433">Enable copying of content</h3>
|
|
<paragraph id="par_id5092318" role="paragraph" xml-lang="en-US"><ahelp hid=".">Select to enable copying of content to the clipboard.</ahelp></paragraph>
|
|
<bookmark xml-lang="en-US" branch="hid/filter/ui/pdfsecuritypage/enablea11y" id="bm_id3429059" localize="false"/>
|
|
|
|
<h3 id="hd_id9312417">Enable text access for accessibility tools</h3>
|
|
<paragraph id="par_id9089022" role="paragraph" xml-lang="en-US"><ahelp hid=".">Select to enable text access for accessibility tools.</ahelp></paragraph>
|
|
<section id="relatedtopics">
|
|
<embed href="text/shared/01/ref_pdf_export_digital_signature.xhp#relatedtopics"/>
|
|
</section>
|
|
</body>
|
|
</helpdocument>
|