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>
101 lines
5.7 KiB
XML
101 lines
5.7 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="textsharedexplorerdatabasemainxml" indexer="include" status="PUBLISH">
|
|
<title id="tit" xml-lang="en-US">%PRODUCTNAME Database</title>
|
|
<filename>/text/sdatabase/main.xhp</filename>
|
|
</topic>
|
|
</meta>
|
|
<body>
|
|
<section id="database">
|
|
<bookmark xml-lang="en-US" branch="index" id="bm_id8622089"><bookmark_value>databases;main page (Base)</bookmark_value>
|
|
<bookmark_value>$[officename] Base data sources</bookmark_value>
|
|
<bookmark_value>data sources;$[officename] Base</bookmark_value>
|
|
</bookmark><comment>mw changed "Base,..."</comment><h1 id="par_idN10579"><variable id="base"><link href="text/sdatabase/main.xhp">Using Databases in %PRODUCTNAME Base</link>
|
|
</variable></h1>
|
|
<embed href="text/shared/06/youtubevideos.xhp#whatisit"/>
|
|
<paragraph role="paragraph" id="par_idN107BD" xml-lang="en-US">In %PRODUCTNAME Base, you can access data that is stored in a wide variety of database file formats. %PRODUCTNAME Base natively supports some flat file database formats, such as the dBASE format. You can also use %PRODUCTNAME Base to connect to external relational databases, such as databases from MySQL or Oracle.</paragraph>
|
|
</section>
|
|
<paragraph role="paragraph" id="par_id5864131" xml-lang="en-US">The following database types are read-only types in %PRODUCTNAME Base. From within %PRODUCTNAME Base it is not possible to change the database structure or to edit, insert, and delete database records for these database types:</paragraph>
|
|
<list type="unordered">
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_id8865016" xml-lang="en-US">Spreadsheet files</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_id3786736" xml-lang="en-US">Text files</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_id6747337" xml-lang="en-US">Address book data</paragraph>
|
|
</listitem>
|
|
</list>
|
|
<h2 id="par_idN107C0">Using a Database in %PRODUCTNAME</h2>
|
|
<list type="unordered">
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_idN10838" xml-lang="en-US">To create a new database file, choose <emph>File - New - Database</emph>.</paragraph>
|
|
</listitem>
|
|
</list>
|
|
<paragraph role="paragraph" id="par_idN1083B" xml-lang="en-US">The <link href="text/sdatabase/dabawiz01.xhp">Database Wizard</link> helps you to create a database file and to register a new database within %PRODUCTNAME.</paragraph>
|
|
<note id="par_idN107E7">The database file contains queries, reports, and forms for the database as well as a link to the database where the records are stored. Formatting information is also stored in the database file.</note>
|
|
<list type="unordered">
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_idN1084A" xml-lang="en-US">To open a database file, choose <emph>File - Open</emph>. In the <emph>File type</emph> list box, select to view only "Database documents". Select a database document and click <emph>Open</emph>.</paragraph>
|
|
</listitem>
|
|
</list>
|
|
<section id="relatedtopics">
|
|
<paragraph role="paragraph" id="par_idN1075F" xml-lang="en-US" localize="false">
|
|
<embedvar href="text/shared/guide/data_view.xhp#data_view"/>
|
|
</paragraph>
|
|
<paragraph role="paragraph" id="par_idN10767" xml-lang="en-US" localize="false">
|
|
<embedvar href="text/shared/guide/data_register.xhp#data_register"/>
|
|
</paragraph>
|
|
<paragraph role="paragraph" id="par_idN1076F" xml-lang="en-US" localize="false">
|
|
<embedvar href="text/shared/guide/data_new.xhp#data_new"/>
|
|
</paragraph>
|
|
<paragraph role="paragraph" id="par_idN10777" xml-lang="en-US" localize="false">
|
|
<embedvar href="text/shared/guide/data_tables.xhp#data_tables"/>
|
|
</paragraph>
|
|
<paragraph role="paragraph" id="par_idN1077F" xml-lang="en-US" localize="false">
|
|
<embedvar href="text/shared/guide/data_queries.xhp#data_queries"/>
|
|
</paragraph>
|
|
<paragraph role="paragraph" id="par_idN10787" xml-lang="en-US" localize="false">
|
|
<embedvar href="text/shared/guide/data_forms.xhp#data_forms"/>
|
|
</paragraph>
|
|
<paragraph role="paragraph" id="par_idN1078F" xml-lang="en-US" localize="false">
|
|
<embedvar href="text/shared/guide/data_reports.xhp#data_reports"/>
|
|
</paragraph>
|
|
<paragraph role="paragraph" id="par_id1311990" xml-lang="en-US" localize="false">
|
|
<embedvar href="text/shared/guide/data_im_export.xhp#data_im_export"/>
|
|
</paragraph>
|
|
<paragraph role="paragraph" id="par_idN10797" xml-lang="en-US" localize="false">
|
|
<embedvar href="text/shared/guide/database_main.xhp#database_main"/>
|
|
</paragraph>
|
|
<paragraph role="paragraph" id="par_idN107AD" xml-lang="en-US" localize="false">
|
|
<embedvar href="text/sdatabase/menubar.xhp#titletext"/>
|
|
</paragraph>
|
|
<paragraph role="paragraph" id="par_idN107BB" xml-lang="en-US" localize="false">
|
|
<embedvar href="text/sdatabase/toolbars.xhp#toolbars"/>
|
|
</paragraph>
|
|
<embed href="text/shared/04/01020000.xhp#DB_keys"/>
|
|
<paragraph role="paragraph" id="par_id6474806" xml-lang="en-US"><link href="https://wiki.documentfoundation.org/Database">Wiki page about Base</link></paragraph>
|
|
</section>
|
|
<embed href="text/swriter/main0000.xhp#helpabouthelp"/>
|
|
</body>
|
|
</helpdocument>
|