Files
help/source/text/shared/01/classificationdialog.xhp
Ilmari Lauhakangas 7e42394ecb tdf#152323 drop name attribute from <link> elements
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>
2022-12-07 17:39:02 +00:00

82 lines
7.0 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="page_topic" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Classification Dialog</title>
<filename>/text/shared/01/classificationdialog.xhp</filename>
</topic>
</meta>
<body>
<bookmark id="bm_id891623159004193" xml-lang="en-US" branch="hid/svx/ui/classificationdialog/AdvancedDocumentClassificationDialog" localize="false"/>
<bookmark id="bm_id891623159002193" xml-lang="en-US" branch="hid/svx/ui/classificationdialog/@@nowidget@@" localize="false"/>
<bookmark xml-lang="en-US" branch="index" id="bm_id481623178809365">
<bookmark_value>classification;contents</bookmark_value>
<bookmark_value>classification;licenses</bookmark_value>
<bookmark_value>classification;part numbers</bookmark_value>
<bookmark_value>classification;markings</bookmark_value>
<bookmark_value>classification;paragraph</bookmark_value>
<bookmark_value>paragraph;classification</bookmark_value>
</bookmark>
<section id="classificationdialog">
<h1 id="hd_id21623159004194"><variable id="classdialogh1"><link href="text/shared/01/classificationdialog.xhp">Document and Paragraph Classification Dialog</link></variable></h1>
</section>
<paragraph role="paragraph" id="par_id461623164674397">Applies classification policy to the current document or paragraph. The dialog helps to assemble the classification policy terms of the document or paragraph by using predefined classification terms or by entering custom classification terms. The dialog display several lists of predefined items, which are loaded from the <link href="text/shared/guide/classification.xhp#configfile">BAILS-xml TSCP policy file</link>.</paragraph>
<section id="howtoget">
<paragraph role="paragraph" id="par_id201623197455516">Enable the <emph>TSCP Classification</emph> toolbar in <menuitem>View - Toolbars - TSCP Classification</menuitem> and click on the <menuitem>Manage Document Classification</menuitem> or <menuitem>Manage Paragraph Classification</menuitem> buttons.</paragraph>
</section>
<h2 id="hd_id831623165018680">Content</h2>
<paragraph role="paragraph" id="par_id301623172724879">The <emph>Content</emph> text box displays the classification text created by the dialog and displays the existing document or paragraph classification terms. You can add your own terms in addition to the existing text in the box and the classification terms from the <link href="text/shared/guide/classification.xhp#configfile">classification policy configuration file</link>.</paragraph>
<h3 id="hd_id951623171171522">Bold icon (document classification only)</h3>
<paragraph role="paragraph" id="par_id931623171330037">Apply bold character formatting to the document or paragraph classification terms.</paragraph>
<h3 id="hd_id921623171177576">Sign Paragraph (paragraph classification only)</h3>
<paragraph role="paragraph" id="par_id431623171280325">Opens the Select Certification dialog box to choose the certificate to use to sign the paragraph.</paragraph>
<h2 id="hd_id391623165024206">Recently used</h2>
<paragraph role="paragraph" id="par_id451623170670589">List the recently used classification terms.</paragraph>
<h2 id="hd_id511623165030442">Classification</h2>
<paragraph role="paragraph" id="par_id891623168935957">The Classification list contains the translated elements of the Business Authorization Identification and Labeling Scheme (BAILS). The %PRODUCTNAME defaults are:</paragraph>
<embed href="text/shared/guide/classification.xhp#levellist"/>
<h2 id="hd_id461623165035145">International</h2>
<paragraph role="paragraph" id="par_id21623168943133">The International list are the elements of the BAILS, not localized. The default is:</paragraph>
<list type="unordered">
<listitem>
<paragraph id="par_id030820161747135421" role="ul_item" xml-lang="en-US" localize="false"><emph>Non-Business</emph></paragraph>
</listitem>
<listitem>
<paragraph id="par_id030820161747132341" role="ul_item" xml-lang="en-US" localize="false"><emph>General Business</emph></paragraph>
</listitem>
<listitem>
<paragraph id="par_id030820161747139845" role="ul_item" xml-lang="en-US" localize="false"><emph>Confidential</emph></paragraph>
</listitem>
<listitem>
<paragraph id="par_id030820161747138519" role="ul_item" xml-lang="en-US" localize="false"><emph>Internal use only</emph></paragraph>
</listitem></list>
<note id="par_id411623172250101">The Classification and International drop-down lists are actually the same list. A change in one list changes the other.</note>
<h2 id="hd_id811623165656089">Marking</h2>
<paragraph role="paragraph" id="par_id41623173977713">Display a list of pre-existing markings available to be added to the Contents text box. Double click one entry to have it added to the contents text box at the cursor location. The markings are defined in the <link href="text/shared/guide/classification.xhp#configfile">classification policy configuration file</link>.</paragraph>
<h2 id="hd_id941623165039690">License</h2>
<paragraph role="paragraph" id="par_id1001623174051869">Displays the existing intellectual property licenses. Double click the license to have it displayed in the <emph>Part text</emph> box below. Click the <emph>Add</emph> button to place the license text in the <emph>Content</emph> box.The licenses are defined in the <link href="text/shared/guide/classification.xhp#configfile">classification policy configuration file</link>.</paragraph>
<h2 id="hd_id741623165044190">Part number</h2>
<paragraph role="paragraph" id="par_id191623174046018">Displays the existing intellectual property part numbers. Double click the part number to have it displayed in the <emph>Part text</emph> box below and click the <emph>Add</emph> button to place the part number in the <emph>Content</emph> text box. The part numbers are defined in the <link href="text/shared/guide/classification.xhp#configfile">classification policy configuration file</link>.</paragraph>
<h2 id="hd_id791623165049158">Part text:</h2>
<paragraph role="paragraph" id="par_id471623174526628">Use this box to enter contents to be added to the <emph>Content</emph> text box.</paragraph>
<h2 id="hd_id491623165052989">Add</h2>
<paragraph role="paragraph" id="par_id591623174559160">Click to add the contents of the <emph>Part text</emph> box to the <emph>Content</emph> box.</paragraph>
<note id="par_id571623174784742">Settings of the Classification dialog are part of the document custom properties.</note>
<section id="relatedtopics">
<embed href="text/shared/guide/classification.xhp#classdoc"/>
<embed href="text/shared/01/classificationbar.xhp#classbarh1"/>
<paragraph role="paragraph" id="par_id51623177298121"><link href="https://wiki.documentfoundation.org/TSCP-classification">Wiki page on document classification</link></paragraph>
</section>
</body>
</helpdocument>