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>
104 lines
6.9 KiB
XML
104 lines
6.9 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="redaction" indexer="include" status="PUBLISH">
|
|
<title id="tit" xml-lang="en-US">Redaction</title>
|
|
<filename>/text/shared/guide/redaction.xhp</filename>
|
|
</topic>
|
|
</meta>
|
|
<body>
|
|
<bookmark xml-lang="en-US" branch="index" id="bm_id821562797360035">
|
|
<bookmark_value>spreadsheet; redacting contents</bookmark_value>
|
|
<bookmark_value>presentations; redacting contents</bookmark_value>
|
|
<bookmark_value>text documents; redacting contents</bookmark_value>
|
|
<bookmark_value>redaction</bookmark_value>
|
|
</bookmark>
|
|
<section id="redaction01">
|
|
<bookmark id="bm_id981562795247716" xml-lang="en-US" branch="hid/.uno:RedactDoc" localize="false"/>
|
|
<h1 id="hd_id171562795247717"><variable id="redaction_h1"><link href="text/shared/guide/redaction.xhp">Redaction</link></variable></h1>
|
|
<paragraph id="par_id471562795247717" role="paragraph" xml-lang="en-US"><variable id="redaction_desc"><ahelp hid=".">Redacting documents blocks out words or portions of a document for authorized use or viewing.</ahelp></variable></paragraph>
|
|
</section>
|
|
<paragraph role="paragraph" id="par_id291647277725275">Redaction protects sensitive information and helps enterprises and organizations to comply with regulations on confidentiality or privacy.</paragraph>
|
|
<section id="howtoget">
|
|
<paragraph role="paragraph" id="par_id961562795751821">Choose <menuitem>Tools - Redact</menuitem></paragraph>
|
|
</section>
|
|
<h2 id="hd_id281562795791927">How redaction works in %PRODUCTNAME?</h2>
|
|
<paragraph role="paragraph" id="par_id791562795799809">The current document is exported to a drawing document edited in %PRODUCTNAME Draw. The redacted text or contents is removed from the drawing document and replaced by the redaction block of pixels, preventing any attempt to restore or copy the original contents. The redacted drawing document is often exported to PDF for publication or sharing.</paragraph>
|
|
<paragraph role="paragraph" id="par_id671562795811658">When redacting, the redaction shapes are transparent and in gray so the user can see what is being redacted.</paragraph>
|
|
<note id="par_id81562795822462">The source document (text, spreadsheet or presentation) is not affected by redaction and can continue to be edited.</note>
|
|
<tip id="par_id411562795827608">Save and share the in-redaction copies of the document with peers either in the modifiable (drawing) or the verbatim (PDF) format at your option.</tip>
|
|
<h2 id="hd_id221562796409113">The redaction toolbar</h2>
|
|
<paragraph role="paragraph" id="par_id441562796415026">The redaction toolbar consist of four tools</paragraph>
|
|
<table id="tab_id31562796423552">
|
|
<tablerow>
|
|
<tablecell>
|
|
<paragraph id="par_id691562796423552" role="paragraph">
|
|
<image src="cmd/sc_rect.svg" id="img_id41562796484514" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id151562796484514">Rectangle Redaction tool icon</alt></image>
|
|
</paragraph>
|
|
</tablecell>
|
|
<tablecell>
|
|
<paragraph id="par_id731562796423552" role="paragraph">The <emph>Rectangle Redaction</emph> tool is used to mark the content for redaction by drawing transparent rectangles covering the content. Use the handles to resize the redaction rectangle. </paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
</table>
|
|
<table id="tab_id491562796560552">
|
|
<tablerow>
|
|
<tablecell>
|
|
<paragraph id="par_id401562796560552" role="paragraph">
|
|
<image src="cmd/sc_freeline_unfilled.svg" id="img_id4156296484514" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id15152796484514">Freeform Redaction tool icon</alt></image>
|
|
</paragraph>
|
|
</tablecell>
|
|
<tablecell>
|
|
<paragraph id="par_id641562796560552" role="paragraph">The <emph>Freeform Redaction</emph> tool allows the user to mark the content for redaction by drawing free-form lines or polygons covering the content.</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
</table>
|
|
<table id="tab_id921562796701222">
|
|
<tablerow>
|
|
<tablecell>
|
|
<paragraph id="par_id961562796701222" role="paragraph">
|
|
<image src="cmd/sc_redactedexportwhite.svg" id="img_id4156296484514" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id15152796484514">White Redacted Export tool icon</alt></image>
|
|
<image src="cmd/sc_redactedexportblack.svg" id="img_id4156296484514" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id15152796484514">Black Redacted Export tool icon</alt></image>
|
|
</paragraph>
|
|
</tablecell>
|
|
<tablecell>
|
|
<paragraph id="par_id231562796701222" role="paragraph">The <emph>Redacted Export</emph> button box has two options:</paragraph>
|
|
<list type="unordered">
|
|
<listitem>
|
|
<paragraph id="par_id551562796791417" role="listitem"><emph>Redacted Export (Black)</emph>: finalize your document by converting the semitransparent redaction shapes to opaque black and export as pixels in the PDF file.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph id="par_id191562796822685" role="listitem"><emph>Redacted Export (White)</emph>: finalize your document by converting the semitransparent redaction shapes to opaque white shapes, and export as pixels in the PDF file.</paragraph>
|
|
</listitem>
|
|
</list>
|
|
</tablecell>
|
|
</tablerow>
|
|
</table>
|
|
<table id="tab_id151562796947231">
|
|
<tablerow>
|
|
<tablecell>
|
|
<paragraph id="par_id961562796947231" role="paragraph">
|
|
<image src="cmd/sc_exportdirecttopdf.svg" id="img_id4156296484514" width="1cm" height="1cm"><alt xml-lang="en-US" id="alt_id15152796484514">Direct Export to PDF icon</alt></image>
|
|
</paragraph>
|
|
</tablecell>
|
|
<tablecell>
|
|
<paragraph id="par_id901562796947232" role="paragraph"><emph>Direct Export to PDF</emph>: Makes an in-redaction copy of the document in PDF to share as a verbatim copy for review</paragraph>
|
|
</tablecell>
|
|
</tablerow>
|
|
</table>
|
|
<section id="relatedtopics">
|
|
<embed href="text/shared/guide/auto_redact.xhp#autoredact_h1"/>
|
|
<embed href="text/shared/01/ref_pdf_export.xhp#ref_pdf_export"/>
|
|
</section>
|
|
</body>
|
|
</helpdocument>
|