[PATCH] Committer: timo <timo at iera.de> new file: wiki-to-help/HHC/htmlhelp.reg new file: wiki-to-help/HHC/install_hhc.sh new file: wiki-to-help/convert.py new file: wiki-to-help/test2.xml

timo timo at pc1.org
Fri Jul 1 07:56:18 PDT 2011


My files contain a list of its dependencies in their heads.
HHC/install_hhc.sh should be run first. convert.py converts test2.xml into several formats to test/
---
 helpcontent2/wiki-to-help/HHC/htmlhelp.reg   |   12 +
 helpcontent2/wiki-to-help/HHC/install_hhc.sh |   60 ++++
 helpcontent2/wiki-to-help/convert.py         |  133 +++++++++
 helpcontent2/wiki-to-help/test2.xml          |  381 ++++++++++++++++++++++++++
 4 files changed, 586 insertions(+), 0 deletions(-)
 create mode 100644 helpcontent2/wiki-to-help/HHC/htmlhelp.reg
 create mode 100755 helpcontent2/wiki-to-help/HHC/install_hhc.sh
 create mode 100755 helpcontent2/wiki-to-help/convert.py
 create mode 100644 helpcontent2/wiki-to-help/test2.xml

diff --git a/helpcontent2/wiki-to-help/HHC/htmlhelp.reg b/helpcontent2/wiki-to-help/HHC/htmlhelp.reg
new file mode 100644
index 0000000..e38e0ef
--- /dev/null
+++ b/helpcontent2/wiki-to-help/HHC/htmlhelp.reg
@@ -0,0 +1,12 @@
+REGEDIT4
+
+[HKEY_CURRENT_USER\Software\Wine]
+"Version"="win2k"
+
+[HKEY_CURRENT_USER\Software\Wine\AppDefaults\hhc.exe\DllOverrides]
+"itircl"="native"
+"itss"="native"
+
+[HKEY_CURRENT_USER\Software\Wine\AppDefaults\hhw.exe\DllOverrides]
+"itircl"="native"
+"itss"="native"
diff --git a/helpcontent2/wiki-to-help/HHC/install_hhc.sh b/helpcontent2/wiki-to-help/HHC/install_hhc.sh
new file mode 100755
index 0000000..ba93c78
--- /dev/null
+++ b/helpcontent2/wiki-to-help/HHC/install_hhc.sh
@@ -0,0 +1,60 @@
+#!/bin/bash -e
+# -e  Exit immediately if a command exits with a non-zero status.
+
+# This installs Microsofts HHC (HTML Help Compiler)
+# Copyright 2011 Timo Richter and others.
+# Licensed under GNU GPLv3
+# Depends on: wine, wget, cabextract
+#
+# Usage of HHC: wine c:\\htmlhelp\\hhc.exe c:\\test\\htmlhelp.hhp
+#
+# Changes:  Set installation directory to c:\htmlhelp
+#           Copy also itcc.dll, this is neccessary
+#           No execution of htmlhelp.exe installer needed
+#           Abortion of install if anything fails, e.g. the download of HHC.
+#
+
+echo "Please wait"
+
+cd "$(dirname "$0")" # cd to path of this script
+
+
+WINEPREFIX=${WINEPREFIX:=$HOME/.wine}
+test -d "$WINEPREFIX" || wineprefixcreate 2>> /dev/null
+HHDIR="${WINEPREFIX}/dosdevices/c:/htmlhelp"
+mkdir "$HHDIR"
+
+# Setup the registry
+# Set Wine's Windows version to Windows 2000 (or above), and add an override to use the native itss.dll, both via winecfg.
+wine regedit htmlhelp.reg
+
+cd "$HHDIR"
+
+# Install HTML Help Workshop
+wget -O htmlhelp.exe 'http://go.microsoft.com/fwlink/?LinkId=14188'
+cabextract -F hhc.exe htmlhelp.exe
+cabextract -F HHA.dll htmlhelp.exe
+
+# Install ITSS.DLL
+cabextract -F hhupd.exe htmlhelp.exe
+cabextract -F itircl.dll hhupd.exe
+cabextract -F itss.dll hhupd.exe
+cabextract -F itcc.dll htmlhelp.exe
+cp -a itircl.dll "$WINEPREFIX/drive_c/windows/system32/"
+cp -a itcc.dll "$WINEPREFIX/drive_c/windows/system32/"
+cp -a itss.dll "$WINEPREFIX/drive_c/windows/system32/"
+wine regsvr32 'C:\WINDOWS\SYSTEM32\itcc.dll'
+wine regsvr32 'C:\WINDOWS\SYSTEM32\itircl.dll'
+wine regsvr32 'C:\WINDOWS\SYSTEM32\itss.dll'
+
+# Install MFC40.DLL
+wget -N http://activex.microsoft.com/controls/vc/mfc40.cab
+cabextract -F mfc40.exe mfc40.cab
+cabextract -F mfc40.dll mfc40.exe
+cp -a mfc40.dll "$WINEPREFIX/drive_c/windows/system32/"
+
+echo
+echo Done.
+
+exit 0
+
diff --git a/helpcontent2/wiki-to-help/convert.py b/helpcontent2/wiki-to-help/convert.py
new file mode 100755
index 0000000..5e3e400
--- /dev/null
+++ b/helpcontent2/wiki-to-help/convert.py
@@ -0,0 +1,133 @@
+#!/usr/bin/env python
+"""
+Convert an XML-Dump to platformspecific help files.
+Copyright 2011 Timo Richter
+Licensed under GNU GPLv3
+
+This program depends on:
+mwlib
+python
+python-lxml
+xsltproc
+Microsoft HHC: http://go.microsoft.com/fwlink/?LinkId=14188
+
+
+"""
+
+import xml.dom.minidom as minidom
+import subprocess, tempfile, os, shutil
+
+class Wine(object):
+    #driveletter="j:" #final
+
+    def __init__(self,workingDir,driveletter):
+        """ Setup the wine environment. Granting access so that wine is able 
+        to output files to @workingDir.
+        @workingDir will be accessable via @driveletter
+        E.g. Wine("/tmp/dir","j:") """
+        homedir = os.path.expanduser('~')
+        wineprefix=os.path.join(homedir,".wine")
+        drive=os.path.join(wineprefix,"dosdevices",driveletter)
+        if os.path.exists(drive):
+            driveBak = drive+".bak"
+            shutil.move(drive,driveBak)
+        os.symlink(workingDir,drive)
+        self.drive = drive
+        self.driveBak = driveBak
+
+    def ex(self,*cmd):
+        """ execute something with wine """
+        cmd = [elem for elem in cmd]
+        cmd = ["/usr/bin/wine"]+cmd
+        r= (subprocess.Popen(cmd).wait())
+        return r
+        
+    def __call__(self,*cmd):
+        return self.ex(*cmd)
+
+    def __del__(self):
+        if hasattr(self,'driveBak'):
+            os.remove(self.drive)
+            shutil.move(self.driveBak,self.drive)
+        
+
+
+
+class Main(object):
+    workingDir = "./test" # final
+    mwpath='/usr/local/bin/' # final
+    style='/usr/share/xml/docbook/stylesheet/docbook-xsl/htmlhelp/htmlhelp.xsl' # final
+
+    tmp=None
+
+    def ex(self,*cmd):
+        """ 
+        Execute a program
+        @cmd Command, args
+        @return boolean True if succeed
+        """
+        cmd = [elem for elem in cmd]
+        print cmd
+        return (subprocess.Popen(cmd).wait() == 0)
+
+    def __init__(self):
+        self.tmp = tempfile.mkdtemp()
+
+        self.workingDir = os.path.abspath(self.workingDir)
+        self.style = os.path.abspath(self.style)
+
+        self.wine = Wine(self.tmp,"j:")
+        self.convert("test2.xml",self.workingDir)
+
+    def convert(self,source,dest):
+        """
+        Create the converted files.
+        @source XML-Dump-file
+        @dest Directory for output
+        """
+        tmp = self.tmp
+        try:
+            os.mkdir(dest)
+        except OSError:
+            pass
+
+        names = self.getArtNames(source)
+        self.ex(self.mwpath+"mw-buildcdb","--input",source,"--output",tmp) \
+        and self.ex(
+            self.mwpath+"mw-render","--config=%s/wikiconf.txt"%(tmp),
+            "-w","docbook","-o",tmp+"/docbook.xml",*names) \
+        and (shutil.copy(tmp+'/docbook.xml',dest) or True) \
+        and self.ex("/usr/bin/xsltproc","--nonet","--novalid","-o",tmp+'/',self.style,tmp+'/docbook.xml') \
+        and (self.wine("c:\\htmlhelp\\hhc.exe","j:\\htmlhelp.hhp") or True) \
+        and (shutil.copy(tmp+'/htmlhelp.chm',dest) or True)
+
+        #names = " ".join(getArtNames(source))
+        #bash = "mw-buildcdb --input '%s' --output '%s'" % (source, tmp)
+        #bash += " && mw-render --config='%s/wikiconf.txt' -w docbook -o '%s/docbook.xml'" % (tmp,dest)
+        #bash += 
+        #xsltproc --nonet --novalid work/docbook -o work/
+        #wine c:\\htmlhelp\\hhc.exe c:\\test\\htmlhelp.hhp
+        #self.ex(bash)
+
+    def __del__(self):
+        shutil.rmtree(self.tmp) # remove temp files
+        pass
+
+    def getArtNames(self,filename):
+        """ 
+        Get Article Names
+        Reads all title tags from an xml file and returns a list of all titles.
+        @filename XML-file
+        @return List of Strings
+        """
+        dom=minidom.parse(filename)
+        elements=dom.getElementsByTagName("title")
+        names=[]
+        for element in elements:
+            name=element.childNodes[0].data
+            names.append(name)
+        return names
+
+if __name__ == '__main__':
+    Main()
+
diff --git a/helpcontent2/wiki-to-help/test2.xml b/helpcontent2/wiki-to-help/test2.xml
new file mode 100644
index 0000000..ad0af7d
--- /dev/null
+++ b/helpcontent2/wiki-to-help/test2.xml
@@ -0,0 +1,381 @@
+<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.4/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.4/ http://www.mediawiki.org/xml/export-0.4.xsd" version="0.4" xml:lang="en">
+  <siteinfo>
+    <sitename>LibreOffice Help</sitename>
+    <base>http://gimli/Main_Page</base>
+    <generator>MediaWiki 1.16.0</generator>
+    <case>first-letter</case>
+    <namespaces>
+      <namespace key="-2" case="first-letter">Media</namespace>
+      <namespace key="-1" case="first-letter">Special</namespace>
+      <namespace key="0" case="first-letter" />
+      <namespace key="1" case="first-letter">Talk</namespace>
+      <namespace key="2" case="first-letter">User</namespace>
+      <namespace key="3" case="first-letter">User talk</namespace>
+      <namespace key="4" case="first-letter">LibreOffice Help</namespace>
+      <namespace key="5" case="first-letter">LibreOffice Help talk</namespace>
+      <namespace key="6" case="first-letter">File</namespace>
+      <namespace key="7" case="first-letter">File talk</namespace>
+      <namespace key="8" case="first-letter">MediaWiki</namespace>
+      <namespace key="9" case="first-letter">MediaWiki talk</namespace>
+      <namespace key="10" case="first-letter">Template</namespace>
+      <namespace key="11" case="first-letter">Template talk</namespace>
+      <namespace key="12" case="first-letter">Help</namespace>
+      <namespace key="13" case="first-letter">Help talk</namespace>
+      <namespace key="14" case="first-letter">Category</namespace>
+      <namespace key="15" case="first-letter">Category talk</namespace>
+    </namespaces>
+  </siteinfo>
+  <page>
+    <title>Main Page</title>
+    <id>1</id>
+    <revision>
+      <id>120128</id>
+      <timestamp>2011-02-17T21:54:02Z</timestamp>
+      <contributor>
+        <username>Kendy</username>
+        <id>2</id>
+      </contributor>
+      <comment>Added Basic help.</comment>
+      <text xml:space="preserve">{{OrigLang|Welcome to {{ProductName}} Help!}}
+Thank you for using the [http://www.documentfoundation.org/download/ {{ProductName}}] application help. Press F1 whenever you need help using the {{ProductName}} software, and you will be redirected to this site.  Alternatively, you can install an off-line version of the help in your native language.
+
+If you only want to browse the help, please use the following entry points for easier navigation:
+
+* [[Writer/Welcome_to_the_Writer_Help|{{ProductName}} Writer]] (text processing)
+* [[Calc/Welcome_to_the_Calc_Help|{{ProductName}} Calc]] (spreadsheets)
+* [[Impress/Welcome_to_the_Impress_Help|{{ProductName}} Impress]] (presentations)
+* [[Draw/Welcome_to_the_Draw_Help|{{ProductName}} Draw]] (drawing)
+* [[Common/Database_1|{{ProductName}} Base]] (database processing)
+* [[Math/Welcome_to_the_Math_Help|{{ProductName}} Math]] (formula editing)
+* [[Basic/Basic_Help|{{ProductName}} Basic]] (programming using the Basic language)
+
+== How to Participate ==
+
+At the moment, we are still fine-tuning the tools converting the off-line help to the on-line form.  Later, you will be able to participate, and improve the help pages.  The plans are described in [http://wiki.documentfoundation.org/Development/Wikihelp The Document Foundation wiki].
+
+Consult the [http://meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.</text>
+    </revision>
+  </page>
+  <page>
+    <title>Swriter/.uno:GraphicFilterSolarize</title>
+    <id>2</id>
+    <redirect />
+    <revision>
+      <id>43159</id>
+      <timestamp>2010-12-17T15:23:21Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Redirected page to [[Common/Graphic Filter Bar#bm id3154910]]</comment>
+      <text xml:space="preserve">#REDIRECT [[Common/Graphic_Filter_Bar#bm_id3154910]]</text>
+    </revision>
+  </page>
+  <page>
+    <title>Swriter/59886</title>
+    <id>3</id>
+    <redirect />
+    <revision>
+      <id>43160</id>
+      <timestamp>2010-12-17T15:23:21Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Redirected page to [[Common/Presentation Wizard Page 1#bm id3155136]]</comment>
+      <text xml:space="preserve">#REDIRECT [[Common/Presentation_Wizard_Page_1#bm_id3155136]]</text>
+    </revision>
+  </page>
+  <page>
+    <title>Swriter/704807947</title>
+    <id>4</id>
+    <redirect />
+    <revision>
+      <id>43161</id>
+      <timestamp>2010-12-17T15:23:22Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Redirected page to [[Common/Accessibility#bm id3153881]]</comment>
+      <text xml:space="preserve">#REDIRECT [[Common/Accessibility#bm_id3153881]]</text>
+    </revision>
+  </page>
+  <page>
+    <title>Swriter/.uno:SelectTable</title>
+    <id>5</id>
+    <redirect />
+    <revision>
+      <id>43162</id>
+      <timestamp>2010-12-17T15:23:22Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Redirected page to [[Writer/Table#bm id3954588]]</comment>
+      <text xml:space="preserve">#REDIRECT [[Writer/Table#bm_id3954588]]</text>
+    </revision>
+  </page>
+  <page>
+    <title>Swriter/859636226</title>
+    <id>6</id>
+    <redirect />
+    <revision>
+      <id>43163</id>
+      <timestamp>2010-12-17T15:23:23Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Redirected page to [[Common/Address Data Source#bm id611896]]</comment>
+      <text xml:space="preserve">#REDIRECT [[Common/Address_Data_Source#bm_id611896]]</text>
+    </revision>
+  </page>
+  <page>
+    <title>Swriter/546685977</title>
+    <id>7</id>
+    <redirect />
+    <revision>
+      <id>43164</id>
+      <timestamp>2010-12-17T15:23:24Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Redirected page to [[Common/General 2#bm id3145750]]</comment>
+      <text xml:space="preserve">#REDIRECT [[Common/General_2#bm_id3145750]]</text>
+    </revision>
+  </page>
+  <page>
+    <title>Swriter/1417988121</title>
+    <id>8</id>
+    <redirect />
+    <revision>
+      <id>43165</id>
+      <timestamp>2010-12-17T15:23:24Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Redirected page to [[Writer/Caption#bm id7607959]]</comment>
+      <text xml:space="preserve">#REDIRECT [[Writer/Caption#bm_id7607959]]</text>
+    </revision>
+  </page>
+  <page>
+    <title>Swriter/34666</title>
+    <id>9</id>
+    <redirect />
+    <revision>
+      <id>43166</id>
+      <timestamp>2010-12-17T15:23:25Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Redirected page to [[Common/Euro Converter Wizard#bm id3152960]]</comment>
+      <text xml:space="preserve">#REDIRECT [[Common/Euro_Converter_Wizard#bm_id3152960]]</text>
+    </revision>
+  </page>
+  <page>
+    <title>Swriter/54892</title>
+    <id>10</id>
+    <redirect />
+    <revision>
+      <id>43167</id>
+      <timestamp>2010-12-17T15:23:25Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Redirected page to [[Writer/Define Bibliography Entry#bm id3149689]]</comment>
+      <text xml:space="preserve">#REDIRECT [[Writer/Define_Bibliography_Entry#bm_id3149689]]</text>
+    </revision>
+  </page>
+  <page>
+    <title>Common/Size/da</title>
+    <id>87185</id>
+    <revision>
+      <id>131455</id>
+      <timestamp>2011-03-01T17:57:01Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Created page with &quot;{{Lang|Størrelse}} &lt;div id=&quot;bm_id3153391&quot;&gt;&lt;/div&gt; Sæt skriftstørrelsen for den markerede tekst.  Åbn genvejsmenu - vælg '''Størrelse'''&quot;</comment>
+      <text xml:space="preserve">{{Lang|Størrelse}}
+&lt;div id=&quot;bm_id3153391&quot;&gt;&lt;/div&gt;
+Sæt skriftstørrelsen for den markerede tekst.
+
+Åbn genvejsmenu - vælg '''Størrelse'''</text>
+    </revision>
+  </page>
+  <page>
+    <title>Common/Size/zh-TW</title>
+    <id>87186</id>
+    <revision>
+      <id>131456</id>
+      <timestamp>2011-03-01T17:57:02Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Created page with &quot;{{Lang|大小}} &lt;div id=&quot;bm_id3153391&quot;&gt;&lt;/div&gt; 設定所選文字的字型大小。  右鍵功能表'''「大小」'''&quot;</comment>
+      <text xml:space="preserve">{{Lang|大小}}
+&lt;div id=&quot;bm_id3153391&quot;&gt;&lt;/div&gt;
+設定所選文字的字型大小。
+
+右鍵功能表'''「大小」'''</text>
+    </revision>
+  </page>
+  <page>
+    <title>Common/Size/zh-CN</title>
+    <id>87187</id>
+    <revision>
+      <id>131457</id>
+      <timestamp>2011-03-01T17:57:03Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Created page with &quot;{{Lang|大小}} &lt;div id=&quot;bm_id3153391&quot;&gt;&lt;/div&gt; 设置选定文字的字体大小。  打开上下文菜单 - 选择'''大小'''&quot;</comment>
+      <text xml:space="preserve">{{Lang|大小}}
+&lt;div id=&quot;bm_id3153391&quot;&gt;&lt;/div&gt;
+设置选定文字的字体大小。
+
+打开上下文菜单 - 选择'''大小'''</text>
+    </revision>
+  </page>
+  <page>
+    <title>Common/Size/ko</title>
+    <id>87188</id>
+    <revision>
+      <id>131458</id>
+      <timestamp>2011-03-01T17:57:04Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Created page with &quot;{{Lang|크기}} &lt;div id=&quot;bm_id3153391&quot;&gt;&lt;/div&gt; 선택한 텍스트의 글꼴 크기를 설정합니다.  '''크기''' 콘텍스트 메뉴&quot;</comment>
+      <text xml:space="preserve">{{Lang|크기}}
+&lt;div id=&quot;bm_id3153391&quot;&gt;&lt;/div&gt;
+선택한 텍스트의 글꼴 크기를 설정합니다.
+
+'''크기''' 콘텍스트 메뉴</text>
+    </revision>
+  </page>
+  <page>
+    <title>Common/Creating a New Database/sv</title>
+    <id>87189</id>
+    <revision>
+      <id>131459</id>
+      <timestamp>2011-03-01T17:57:05Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Created page with &quot;{{Lang|Skapa en ny databas}} &lt;div id=&quot;bm_id6911526&quot;&gt;&lt;/div&gt; &lt;!-- mw deleted &quot;creating;&quot; --&gt;#Välj '''Arkiv - Nytt - Databas'''.&lt;br/&gt;&lt;br/&gt;Då öppnas [[Common/Database_Wizard/sv|Da...&quot;</comment>
+      <text xml:space="preserve">{{Lang|Skapa en ny databas}}
+&lt;div id=&quot;bm_id6911526&quot;&gt;&lt;/div&gt;
+&lt;!-- mw deleted &quot;creating;&quot; --&gt;#Välj '''Arkiv - Nytt - Databas'''.&lt;br/&gt;&lt;br/&gt;Då öppnas [[Common/Database_Wizard/sv|Databasguiden]] där du skapar en ny databasfil.&lt;br/&gt;
+#I Databasguiden väljer du typ av databas och du kan välja att öppna Tabellguiden som nästa guide.&lt;br/&gt;&lt;br/&gt;I [[Common/Table_Wizard/sv|Tabellguiden]] får du hjälp med att infoga en tabell i den nya databasfilen.&lt;br/&gt;
+
+{{RelatedTopics|[[Common/Database_1/sv|Använda databaser i {{ProductName}} Base]]
+
+[[Common/Database_Overview/sv|Databasöversikt]]
+
+}}</text>
+    </revision>
+  </page>
+  <page>
+    <title>Common/Creating a New Database/da</title>
+    <id>87190</id>
+    <revision>
+      <id>131460</id>
+      <timestamp>2011-03-01T17:57:06Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Created page with &quot;{{Lang|Oprette en ny Database}} &lt;div id=&quot;bm_id6911526&quot;&gt;&lt;/div&gt; &lt;!-- mw deleted &quot;creating;&quot; --&gt;#Vælg '''Filer - Ny(t) - Database'''.&lt;br/&gt;&lt;br/&gt;Dette åbner [[Common/Database_Wizard...&quot;</comment>
+      <text xml:space="preserve">{{Lang|Oprette en ny Database}}
+&lt;div id=&quot;bm_id6911526&quot;&gt;&lt;/div&gt;
+&lt;!-- mw deleted &quot;creating;&quot; --&gt;#Vælg '''Filer - Ny(t) - Database'''.&lt;br/&gt;&lt;br/&gt;Dette åbner [[Common/Database_Wizard/da|Databaseguiden]], hvor du kan oprette en ny databasefil.&lt;br/&gt;
+#I Databaseguiden vælges typen af database og vælg indstillingen for at åbne Tabelguiden som den næste guide.&lt;br/&gt;&lt;br/&gt;[[Common/Table_Wizard/da|Tabelguiden]] hjælper dig med at tilføje en tabel til den nye databasefil.&lt;br/&gt;
+
+{{RelatedTopics|[[Common/Database_1/da|Brug af databaser i {{ProductName}} Base]]
+
+[[Common/Database_Overview/da|Databaseoversigt]]
+
+}}</text>
+    </revision>
+  </page>
+  <page>
+    <title>Common/Creating a New Database/zh-TW</title>
+    <id>87191</id>
+    <revision>
+      <id>131461</id>
+      <timestamp>2011-03-01T17:57:07Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Created page with &quot;{{Lang|建立新的資料庫}} &lt;div id=&quot;bm_id6911526&quot;&gt;&lt;/div&gt; &lt;!-- mw deleted &quot;creating;&quot; --&gt;#選擇 '''[檔案] - [開啟新檔] - [資料庫]'''。&lt;br/&gt;&lt;br/&gt;這會開啟[[Common...&quot;</comment>
+      <text xml:space="preserve">{{Lang|建立新的資料庫}}
+&lt;div id=&quot;bm_id6911526&quot;&gt;&lt;/div&gt;
+&lt;!-- mw deleted &quot;creating;&quot; --&gt;#選擇 '''[檔案] - [開啟新檔] - [資料庫]'''。&lt;br/&gt;&lt;br/&gt;這會開啟[[Common/Database_Wizard/zh-TW|資料庫精靈]],您可在其中建立新的資料庫檔案。&lt;br/&gt;
+#在「資料庫精靈」中,選取資料庫類型,然後選取要開啟「表格精靈」作為下一個精靈的選項。&lt;br/&gt;&lt;br/&gt;[[Common/Table_Wizard/zh-TW|表格精靈]]可協助您在新的資料庫檔案中增加表格。&lt;br/&gt;
+
+{{RelatedTopics|[[Common/Database_1/zh-TW|在 {{ProductName}} Base 中使用資料庫]]
+
+[[Common/Database_Overview/zh-TW|資料庫簡介]]
+
+}}</text>
+    </revision>
+  </page>
+  <page>
+    <title>Common/Creating a New Database/zh-CN</title>
+    <id>87192</id>
+    <revision>
+      <id>131462</id>
+      <timestamp>2011-03-01T17:57:08Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Created page with &quot;{{Lang|创建新数据库}} &lt;div id=&quot;bm_id6911526&quot;&gt;&lt;/div&gt; &lt;!-- mw deleted &quot;creating;&quot; --&gt;#选择'''文件 - 新建 - 数据库'''。&lt;br/&gt;&lt;br/&gt;这样可打开[[Common/Database_Wiz...&quot;</comment>
+      <text xml:space="preserve">{{Lang|创建新数据库}}
+&lt;div id=&quot;bm_id6911526&quot;&gt;&lt;/div&gt;
+&lt;!-- mw deleted &quot;creating;&quot; --&gt;#选择'''文件 - 新建 - 数据库'''。&lt;br/&gt;&lt;br/&gt;这样可打开[[Common/Database_Wizard/zh-CN|数据库向导]],利用该向导可创建新的数据库文件。&lt;br/&gt;
+#在“数据库向导”中,选择数据库类型,然后选择此选项打开作为下一向导的“表格向导”。&lt;br/&gt;&lt;br/&gt;[[Common/Table_Wizard/zh-CN|表格向导]]可帮助您在新数据库文件中添加表格。&lt;br/&gt;
+
+{{RelatedTopics|[[Common/Database_1/zh-CN|在 {{ProductName}} Base 中使用数据库]]
+
+[[Common/Database_Overview/zh-CN|数据源摘要]]
+
+}}</text>
+    </revision>
+  </page>
+  <page>
+    <title>Common/Creating a New Database/ko</title>
+    <id>87193</id>
+    <revision>
+      <id>131463</id>
+      <timestamp>2011-03-01T17:57:09Z</timestamp>
+      <contributor>
+        <username>WikiSysop</username>
+        <id>1</id>
+      </contributor>
+      <comment>Created page with &quot;{{Lang|새 데이터베이스 만들기}} &lt;div id=&quot;bm_id6911526&quot;&gt;&lt;/div&gt; &lt;!-- mw deleted &quot;creating;&quot; --&gt;#'''파일 - 새로 만들기 - 데이터베이스'''를 선택합니다.&lt;b...&quot;</comment>
+      <text xml:space="preserve">{{Lang|새 데이터베이스 만들기}}
+&lt;div id=&quot;bm_id6911526&quot;&gt;&lt;/div&gt;
+&lt;!-- mw deleted &quot;creating;&quot; --&gt;#'''파일 - 새로 만들기 - 데이터베이스'''를 선택합니다.&lt;br/&gt;&lt;br/&gt;새 데이터베이스 파일을 만들 수 있는 [[Common/Database_Wizard/ko|데이터베이스 마법사]]가 열립니다.&lt;br/&gt;
+#데이터베이스 마법사에서 데이터베이스 유형을 선택한 다음 테이블 마법사를 다음 마법사로 여는 옵션을 선택합니다.&lt;br/&gt;&lt;br/&gt;[[Common/Table_Wizard/ko|테이블 마법사]]를 사용하면 새 데이터베이스 파일에 테이블을 추가할 수 있습니다.&lt;br/&gt;
+
+{{RelatedTopics|[[Common/Database_1/ko|{{ProductName}} Base에서 데이터베이스 사용]]
+
+[[Common/Database_Overview/ko|데이터베이스 개요]]
+
+}}</text>
+    </revision>
+  </page>
+</mediawiki>
-- 
1.7.5.3


--=-MiHBLfzWqNugqkWUUzVj--



More information about the LibreOffice mailing list