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>
111 lines
7.3 KiB
XML
111 lines
7.3 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/.
|
|
*
|
|
* 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 .
|
|
-->
|
|
|
|
<meta>
|
|
<topic id="textsharedoptionenjavaxml" indexer="include" status="PUBLISH">
|
|
<title xml-lang="en-US" id="tit">Advanced</title>
|
|
<filename>/text/shared/optionen/java.xhp</filename>
|
|
</topic>
|
|
</meta>
|
|
|
|
<body>
|
|
|
|
|
|
<section id="advanced">
|
|
<bookmark xml-lang="en-US" branch="hid/cui/ui/optadvancedpage/OptAdvancedPage" id="bm_id6882839" localize="false"/>
|
|
<bookmark xml-lang="en-US" branch="hid/cui/ui/optadvancedpage/@@nowidget@@" id="bm_id6882839" localize="false"/>
|
|
<bookmark xml-lang="en-US" branch="hid/cui/ui/optionsdialog/help" id="bm_id30195" localize="false"/>
|
|
<bookmark xml-lang="en-US" branch="index" id="bm_id4077578">
|
|
<bookmark_value>Java;setting options</bookmark_value>
|
|
<bookmark_value>experimental features</bookmark_value>
|
|
<bookmark_value>unstable options</bookmark_value>
|
|
<bookmark_value>expert configuration;setting options</bookmark_value>
|
|
</bookmark>
|
|
|
|
|
|
<h1 id="par_idN10558"><link href="text/shared/optionen/java.xhp">Advanced</link></h1>
|
|
<paragraph id="par_idN10568" role="paragraph" xml-lang="en-US">Specifies the support options for Java applications in %PRODUCTNAME, including which Java Runtime Environment (JRE) to use. It also specifies whether to use experimental (unstable) features such as macro recording and access expert configuration.</paragraph>
|
|
</section>
|
|
|
|
<section id="howtoget">
|
|
<embed href="text/shared/00/00000406.xhp#advanced"/>
|
|
</section>
|
|
|
|
<embed href="text/shared/06/optionen_screenshots.xhp#optionadvancedialog"/>
|
|
<embed href="text/shared/00/00000001.xhp#optionsbuttonwarn01"/>
|
|
<h2 id="par_idN1056B">Java options</h2>
|
|
<bookmark xml-lang="en-US" branch="hid/cui/ui/optadvancedpage/javaenabled" id="bm_id68828391" localize="false"/>
|
|
<note id="par_id181614855578590">The current list of %PRODUCTNAME modules and resources that depends on Java is available <link href="https://wiki.documentfoundation.org/Faq/General/015">in the wiki</link>.</note>
|
|
<h3 id="par_idN1057F">Use a Java runtime environment</h3>
|
|
<paragraph id="par_idN10583" role="paragraph" xml-lang="en-US"><ahelp hid="cui/ui/optadvancedpage/javaenabled">Allows you to run Java applications in %PRODUCTNAME.</ahelp> When a Java application attempts to access your hard drive, a prompt opens.<comment>UFI: moved this para here from Security tab page</comment></paragraph>
|
|
<switch select="sys">
|
|
<case select="WIN">
|
|
<tip id="par_id881614855922649">Make sure to install a JRE compatible with the %PRODUCTNAME architecture: 64-bit JRE for 64-bit %PRODUCTNAME and 32-bit JRE for 32-bit %PRODUCTNAME.</tip>
|
|
</case>
|
|
<default></default>
|
|
</switch>
|
|
<bookmark xml-lang="en-US" branch="hid/cui/ui/optadvancedpage/javas" id="bm_id6775719" localize="false"/>
|
|
<h3 id="par_idN10610">Java runtime environments (JRE) already installed:</h3>
|
|
<paragraph id="par_idN10614" role="paragraph" xml-lang="en-US"><ahelp hid="cui/ui/optadvancedpage/javas">Select the JRE that you want to use. On some systems, you must wait a minute until the list gets populated. On some systems, you must restart %PRODUCTNAME to use your changed setting.</ahelp> The path to the JRE is displayed beneath the list box.</paragraph>
|
|
<paragraph role="paragraph" id="par_id431600889434242">You can override the default JRE of the operating system with one of the following alternatives:</paragraph>
|
|
<list type="unordered">
|
|
<listitem>
|
|
<paragraph id="par_id191600889458048" role="listitem">By setting the environment variable <literal>JAVA_HOME</literal>,</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph id="par_id131600889466713" role="listitem">By adding a JRE to the <literal>$PATH</literal> variable,</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph id="par_id501600889473339" role="listitem">By providing the configuration file <switchinline select="sys">
|
|
<caseinline select="MAC"><literal>javasettings_macOS_X86_64.xml</literal></caseinline>
|
|
<caseinline select="WIN"><literal>javasettings_Windows_X86_64.xml</literal></caseinline>
|
|
<caseinline select="UNIX"><literal>javasettings_Linux_X86_64.xml</literal></caseinline>
|
|
<defaultinline><literal>javasettings_${_OS}_${_ARCH}.xml</literal></defaultinline>
|
|
</switchinline> in the folder <literal><instdir>/presets/config</literal>.
|
|
</paragraph>
|
|
</listitem>
|
|
</list>
|
|
<bookmark xml-lang="en-US" branch="hid/cui/ui/optadvancedpage/add" id="bm_id5543382" localize="false"/>
|
|
|
|
<h3 id="par_idN105A5">Add</h3>
|
|
<paragraph id="par_idN10635" role="paragraph" xml-lang="en-US"><ahelp hid="cui/ui/optadvancedpage/add">Add a path to the root folder of a JRE on your computer.</ahelp> The path is set in the following dialog.<comment>UFI: #i38927#</comment></paragraph>
|
|
<bookmark xml-lang="en-US" branch="hid/cui/ui/optadvancedpage/parameters" id="bm_id1588793" localize="false"/>
|
|
|
|
<h3 id="par_idN105A9">Parameters</h3>
|
|
<paragraph id="par_idN10657" role="paragraph" xml-lang="en-US"><ahelp hid="cui/ui/optadvancedpage/parameters">Opens the <link href="text/shared/optionen/javaparameters.xhp">Java Start Parameters</link> dialog.</ahelp></paragraph>
|
|
<bookmark xml-lang="en-US" branch="hid/cui/ui/optadvancedpage/classpath" id="bm_id5799127" localize="false"/>
|
|
|
|
<h3 id="par_idN105AD">Class Path</h3>
|
|
<paragraph id="par_idN10686" role="paragraph" xml-lang="en-US"><ahelp hid="cui/ui/optadvancedpage/classpath">Opens the <link href="text/shared/optionen/javaclasspath.xhp">Class Path</link> dialog.</ahelp></paragraph>
|
|
|
|
<h2 id="hd_id3148618">Optional Features</h2>
|
|
|
|
<h3 id="hd_id3148619"><ahelp hid="cui/ui/optadvancedpage/experimental">Enable experimental features</ahelp></h3>
|
|
<paragraph id="par_id3156344" role="paragraph" xml-lang="en-US">Enables features that are not yet complete or may contain known bugs. The list of these features is different version by version, or even it can be empty.</paragraph>
|
|
|
|
<h3 id="hd_id3148610"><ahelp hid="cui/ui/optadvancedpage/macrorecording">Enable macro recording</ahelp></h3>
|
|
<paragraph id="par_id3156345" role="paragraph" xml-lang="en-US">Enables macro recording. The <link href="text/shared/guide/macro_recording.xhp"><item type="menuitem">Tools - Macros - Record Macro</item></link> menu item is available.</paragraph>
|
|
|
|
<h2 id="hd_id0609201521211497"><link href="text/shared/optionen/expertconfig.xhp">Expert Configuration</link></h2>
|
|
<paragraph id="par_id0609201521444658" role="paragraph" xml-lang="en-US"><ahelp hid="cui/ui/optadvancedpage/expertconfig">Opens the Expert Configuration dialog for advanced settings and configuration of %PRODUCTNAME.</ahelp></paragraph>
|
|
</body>
|
|
|
|
</helpdocument>
|