forked from amazingfate/help
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>
55 lines
3.3 KiB
XML
55 lines
3.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
<!--
|
|
* 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/.
|
|
*
|
|
* This file incorporates work covered by the following license notice:
|
|
*
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
* with this work for additional information regarding copyright
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
-->
|
|
|
|
|
|
|
|
<helpdocument version="1.0">
|
|
<meta>
|
|
<topic id="textshared01securitywarningxhp" indexer="include" status="PUBLISH">
|
|
<title id="tit" xml-lang="en-US">Security Warning</title>
|
|
<filename>/text/shared/01/securitywarning.xhp</filename>
|
|
</topic>
|
|
<history>
|
|
<created date="2004-08-26T12:21:34">UFI: Security Warning dialog on loading untrusted macro</created>
|
|
</history>
|
|
</meta>
|
|
<body>
|
|
<bookmark xml-lang="en-US" branch="index" id="bm_id6499832"><bookmark_value>security;warning dialogs with macros</bookmark_value>
|
|
<bookmark_value>macros;security warning dialog</bookmark_value>
|
|
</bookmark>
|
|
<bookmark xml-lang="en-US" branch="hid/SFX2_HID_WARNING_SECURITY_HYPERLINK" id="bm_id5382854" localize="false"/>
|
|
<bookmark xml-lang="en-US" branch="hid/uui/ui/macrowarnmedium/@@nowidget@@" id="bm_@@nowidget@@" localize="false"/>
|
|
<bookmark xml-lang="en-US" branch="hid/uui/ui/macrowarnmedium/MacroWarnMedium" id="bm_id7777947" localize="false"/>
|
|
<paragraph role="heading" id="par_idN1054D" xml-lang="en-US" level="1"><variable id="securitywarning"><link href="text/shared/01/securitywarning.xhp">Security Warning</link>
|
|
</variable></paragraph>
|
|
<paragraph role="paragraph" id="par_idN1056B" xml-lang="en-US">When you open a document that contains an unsigned macro, or a signed macro from an unknown source, the <emph>Security Warning</emph> dialog opens.</paragraph>
|
|
<paragraph role="paragraph" id="par_idN105FC" xml-lang="en-US"><ahelp hid=".">Enable or disable the macros. Choose <emph>%PRODUCTNAME - Security</emph> in the Options dialog box to set the options.</ahelp></paragraph>
|
|
<h2 id="par_idN1056E">View Signature</h2>
|
|
<paragraph role="paragraph" id="par_idN10572" xml-lang="en-US"><ahelp hid="uui/ui/macrowarnmedium/viewSignsButton">Opens a dialog where you can view the signature.</ahelp></paragraph>
|
|
<h2 id="par_idN10587">Always trust macros from this source</h2>
|
|
<paragraph role="paragraph" id="par_idN1058B" xml-lang="en-US"><ahelp hid="uui/ui/macrowarnmedium/alwaysTrustCheckbutton">Adds the current macro source to the list of <link href="text/shared/optionen/macrosecurity_ts.xhp">trusted sources</link>.</ahelp></paragraph>
|
|
<h2 id="par_idN1059C">Enable Macros</h2>
|
|
<paragraph role="paragraph" id="par_idN105A0" xml-lang="en-US"><ahelp hid="uui/ui/macrowarnmedium/ok">Allows macros in the document to run.</ahelp></paragraph>
|
|
<h2 id="par_idN105A3">Disable Macros</h2>
|
|
<paragraph role="paragraph" id="par_idN105A7" xml-lang="en-US"><ahelp hid="uui/ui/macrowarnmedium/cancel">Does not allow macros in the document to run.</ahelp></paragraph>
|
|
</body>
|
|
</helpdocument>
|