incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r799485 [4/6] - in /websites/staging/ooo-site/trunk/content/xml/xmerge: ./ docbook/ docbook/images/ docs/ downloads/ plugins/ plugins/images/
Date Tue, 29 Nov 2011 21:39:18 GMT
Added: websites/staging/ooo-site/trunk/content/xml/xmerge/downloads/gedit.xml
==============================================================================
--- websites/staging/ooo-site/trunk/content/xml/xmerge/downloads/gedit.xml (added)
+++ websites/staging/ooo-site/trunk/content/xml/xmerge/downloads/gedit.xml Tue Nov 29 21:39:12 2011
@@ -0,0 +1,1079 @@
+<?xml version="1.0"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
+"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
+  <!ENTITY appversion "1.121.0">
+  <!ENTITY manrevision "2.1">
+  <!ENTITY date "June 2002">
+  <!ENTITY app "gedit">
+]>
+<!-- 
+      (Do not remove this comment block.)
+  Maintained by the GNOME Documentation Project
+  http://developer.GNOME.org/projects/gdp
+  Template version: 2.0 beta
+  Template last modified Jan 30, 2002
+-->
+<!-- =============Document Header ============================= -->
+<article id="index" lang="en">
+<!-- please do not change the id; for translations, change lang to -->
+<!-- appropriate code -->
+  <articleinfo> 
+	 <title>&app; Manual V&manrevision;</title>
+	 <copyright> 
+		<year>2002</year>
+		<holder>Sun Microsystems</holder> </copyright>
+	 <copyright> 
+		<year>2000</year>
+		<holder>Eric Baudais</holder> </copyright>
+
+<!-- translators: uncomment this:
+
+  <copyright>
+   <year>2002</year>
+   <holder>ME-THE-TRANSLATOR (Latin translation)</holder>
+  </copyright>
+
+   -->
+	 <publisher> 
+		<publishername> GNOME Documentation Project </publishername>
+	 </publisher>
+	 <authorgroup> 
+		<author> 
+		  <firstname>Sun </firstname>
+		  <surname>GNOME Documentation Team</surname> 
+		  <affiliation> 
+			 <orgname>Sun Microsystems</orgname>
+			 <address> <email>gdocteam@sun.com</email> </address>
+		  </affiliation>
+		</author>
+		<author> 
+		  <firstname>Eric</firstname>
+		  <surname>Baudais</surname> 
+		  <affiliation> 
+			 <orgname>GNOME Documentation Project</orgname>
+			 <address> <email>baudais@okstate.edu</email> </address>
+		  </affiliation>
+		</author> 
+<!-- This is appropriate place for other contributors: translators,
+      maintainers,  etc. Commented out by default.
+       <othercredit role="translator">
+	<firstname>Latin</firstname> 
+	<surname>Translator 1</surname> 
+	<affiliation> 
+	  <orgname>Latin Translation Team</orgname> 
+	  <address> <email>translator@gnome.org</email> </address> 
+	</affiliation>
+	<contrib>Latin translation</contrib>
+      </othercredit>
+-->
+	 </authorgroup>
+
+
+<!-- According to GNU FDL, revision history is mandatory if you are -->
+<!-- modifying/reusing someone else's document.  If not, you can omit it. -->
+	 <revhistory>
+<!-- Remember to remove the &manrevision; entity from the revision entries other
+   than the current revision. -->
+   		<revision> 
+		  <revnumber>&app; Manual V&manrevision;</revnumber>
+		  <date>&date;</date> 
+		  <revdescription> 
+			 <para role="author">Sun GNOME Documentation Team
+				<email>gdocteam@sun.com</email> </para>
+			 <para role="publisher">GNOME Documentation Project</para>
+		  </revdescription>
+		</revision>
+		<revision> 
+		  <revnumber>gedit Manual V2.0</revnumber>
+		  <date>March 2002</date> 
+		  <revdescription> 
+			 <para role="author">Sun GNOME Documentation Team
+				<email>gdocteam@sun.com</email> </para>
+			 <para role="publisher">GNOME Documentation Project</para>
+		  </revdescription>
+		</revision>
+		<revision> 
+		  <revnumber>gedit V1.0</revnumber>
+		  <date>2000</date> 
+		  <revdescription> 
+			 <para role="author">Eric Baudais <email>baudais@okstate.edu</email>
+				</para>
+			 <para role="publisher">GNOME Documentation Project</para>
+		  </revdescription>
+		</revision>
+	 </revhistory>
+	 <releaseinfo> This manual describes version &appversion; of &app;.
+		</releaseinfo>
+	 <legalnotice> 
+		<title>Feedback</title>
+		<para>To report a bug or make a suggestion regarding the &app; application or
+		this manual, follow the directions in the 
+		<ulink url="ghelp:gnome-feedback" type="help">GNOME Feedback Page</ulink>. 
+      </para>
+<!-- Translators may also add here feedback address for translations -->
+	 </legalnotice>
+  </articleinfo>
+  <indexterm><primary>gedit</primary></indexterm>
+
+<!-- ============= Document Body ============================= -->
+<!-- ============= Introduction ============================== -->
+  <sect1 id="gedit-intro"> 
+	 <title>Introduction</title>
+	 <para>The <application>&app;</application> application is a simple text
+		editor. You can use <application>&app;</application> to create and edit text
+		files. You can use <application>&app;</application> plugins to perform a
+		variety of tasks related to text-editing from within the
+		<application>&app;</application> window.</para>
+  </sect1>
+<!-- ============= Getting Started =========================== -->
+  <sect1 id="gedit-getting-started"> 
+	 <title>Getting Started</title>
+
+<!-- ============= To Start gedit ============================ -->
+	 <sect2 id="gedit-to-start"> 
+		<title>To Start &app;</title>
+		<para>You can start <application>&app;</application> in the following ways:</para>
+		<variablelist>
+    		<varlistentry>
+    		<term><guimenu>Applications</guimenu> menu</term>
+    		<listitem>
+    		<para>Choose 
+    		<menuchoice>
+    		<guisubmenu>Accessories</guisubmenu>
+    		<guimenuitem>Text Editor</guimenuitem>
+    		</menuchoice>. </para>
+    		</listitem>
+    		</varlistentry>
+    		<varlistentry>
+    		<term>Command line</term>
+    		<listitem>
+    		<para>Type <command>gedit</command>, then press <keycap>Return</keycap>.</para>
+    		</listitem>
+    		</varlistentry>
+    		</variablelist>
+	</sect2>
+	
+	<sect2 id="gedit-when-you-start">
+	
+		<title>When You Start &app;</title>	
+		<para>When you start <application>&app;</application>, the following window is displayed:</para>
+	
+		<figure id="gedit-window"> 
+		  <title>&app; Window</title>
+		  <screenshot> 
+			 <mediaobject> 
+				<imageobject> 
+				  <imagedata fileref="figures/gedit_window.png" format="PNG"/>
+					 </imageobject>
+				<textobject> <phrase>Screenshot of the gedit main window.</phrase>
+				</textobject> 
+			</mediaobject>
+		  </screenshot>
+		</figure>
+	
+		<para>The <application>&app;</application> window contains the following
+		  elements: </para>
+		<variablelist> 
+		  <varlistentry> <term>Menubar</term> 
+			 <listitem> 
+				<para>The menus on the menubar contain all of the commands you need
+				  to work with files in <application>&app;</application>.</para>
+			 </listitem>
+		  </varlistentry>
+		  <varlistentry> <term>Toolbar</term> 
+			 <listitem> 
+				<para> The toolbar contains a subset of the commands that you can
+				  access from the menubar.</para>
+			 </listitem>
+		  </varlistentry>
+		  <varlistentry> <term>Display area</term> 
+			 <listitem> 
+				<para> The display area contains the text of the file that you are
+				  editing. </para>
+			 </listitem>
+		  </varlistentry>
+		  <varlistentry> <term>Statusbar</term> 
+			 <listitem> 
+				<para>The statusbar displays information about current
+				  <application>&app;</application> activity and contextual information about the
+				  menu items. </para>
+			 </listitem>
+		  </varlistentry>
+		</variablelist>
+		<para>When you right-click in the <application>&app;</application>
+		  window, the application displays a popup menu. The popup menu contains the most
+		  common text editing commands. </para>
+	 </sect2>
+<!-- ============= To Open a File ============================= -->
+	 <sect2 id="gedit-open-file"> 
+		<title>To Open a File</title>
+		<para>To open a file, choose 
+		  <menuchoice> <guimenu>File</guimenu> <guimenuitem>Open</guimenuitem>
+			 </menuchoice>
+		  to display the <guilabel>Open File</guilabel> dialog. Select the file
+		  that you want to open, then click <guibutton>OK</guibutton>. The file is
+		  displayed in the <application>&app;</application> window. </para>
+		<para>You can open multiple files in <application>&app;</application>.
+		  The application displays one file at a time in the application window. The
+		  application adds a tab for each open file to the window. To display another
+		  open file, click on the tab that corresponds to the file. To create a new
+		  <application> &app;</application> window for each file that is open, drag the
+		  tab corresponding to each file to the desktop. You can also use the
+		  <guimenu>Documents</guimenu> menu to move between the open files.</para>
+		<para>The application records the paths and filenames of the last
+		  four files that you edited and displays the files as menu items on the <menuchoice>
+		  <guimenu>File</guimenu> <guisubmenu>Recent Files</guisubmenu> </menuchoice> menu. 
+		  </para>
+	 </sect2>
+<!-- ============= To Open Multiple Files from the Command Line ========= -->
+	 <sect2 id="gedit-run-from-cmd-line"> 
+		<title>To Open Multiple Files from a Command Line</title>
+		<para>You can run <application>&app;</application> from a command line
+		  and open a single file or multiple files. To open multiple files from a command
+		  line, type the following command, then press <keycap>Return</keycap>:</para>
+		<para><command>gedit <replaceable>file1.txt file2.txt file3.txt</replaceable></command></para>
+		<para>When the application starts, the files that you specified are
+		  displayed in the <application>&app;</application> window.</para>
+	 </sect2>
+  </sect1>
+<!-- ================ Usage ================================ -->
+  <sect1 id="gedit-usage"> 
+	 <title>Usage</title>
+
+<!-- ============= To Create a New File ======================== -->
+	 <sect2 id="gedit-create-new-file"> 
+		<title>To Create a New File</title>
+		<para>To create a new file, choose 
+		  <menuchoice> <guimenu>File</guimenu> <guimenuitem>New</guimenuitem>
+			 </menuchoice>. The application displays a new file in the
+		  <application>&app;</application> window.</para>
+	 </sect2>
+<!-- ============= To Save a File ============================== -->
+	 <sect2 id="gedit-save-file"> 
+		<title>To Save a File</title>
+		<para>You can save files in the following ways:</para>
+		<itemizedlist> 
+		  <listitem><para>To save changes to the current file, choose 
+				<menuchoice> <guimenu>File</guimenu>
+				  <guimenuitem>Save</guimenuitem> </menuchoice> or click <guibutton>Save</guibutton>
+				  on the toolbar. If the file does not have a filename, <application>&app;</application> 
+					 displays the <guilabel>Save As</guilabel> dialog. Enter a name for the file in the 
+<guilabel>Save
+				As</guilabel> dialog, then click <guibutton>OK</guibutton>.</para>
+		  </listitem>
+		  <listitem><para>To save a new file or to save an existing file under a new filename, choose 
+				<menuchoice> <guimenu>File</guimenu> <guimenuitem>Save
+				  As</guimenuitem> </menuchoice>. Enter a name for the file in the <guilabel>Save
+				As</guilabel> dialog box, then click <guibutton>OK</guibutton>. </para>
+		  </listitem>
+		  <listitem><para>To save all of the files that are currently open in
+				<application>&app;</application>, choose 
+				<menuchoice> <guimenu>File</guimenu> <guimenuitem>Save
+				  All</guimenuitem> </menuchoice>.</para>
+		  </listitem>
+		</itemizedlist>
+	 </sect2>
+<!-- ============= To Edit Text ================================ -->
+	 <sect2 id="gedit-edit-text"> 
+		<title>To Edit Text</title>
+		<para>You can edit the text of a file in the following ways:</para>
+		<itemizedlist> 
+		  <listitem><para>Type new text from the keyboard. </para>
+		  </listitem>
+		  <listitem><para>Use the <keycap>Delete</keycap> key to delete text.
+				</para>
+		  </listitem>
+		  <listitem><para>Use the <guimenuitem>Cut</guimenuitem>,
+				<guimenuitem>Copy</guimenuitem>, <guimenuitem>Paste</guimenuitem>, and
+				<guimenuitem>Delete</guimenuitem> menu items to edit text. </para>
+		  </listitem>
+		</itemizedlist>
+		<para>When you select text with the mouse,
+		  <application>&app;</application> automatically copies the selected text to a
+		  buffer. You can perform any of the following actions on the selected text:
+		  </para>
+		<itemizedlist> 
+		  <listitem><para>To delete the selected text from the file and move the
+				selected text to a buffer, choose 
+				<menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Cut</guimenuitem>
+				  </menuchoice>.</para>
+		  </listitem>
+		  <listitem><para>To permanently delete the selected text from the file, choose 
+				<menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Delete</guimenuitem>
+				  </menuchoice>.</para>
+		  </listitem>
+		  <listitem><para>To insert the contents of the buffer at the cursor
+				position, middle-click or choose 
+				<menuchoice> <guimenu>Edit</guimenu>
+				  <guimenuitem>Paste</guimenuitem> </menuchoice>. You must cut or copy text
+				before you can paste text into the file.</para>
+		  </listitem>
+		  <listitem><para>To select all of the text in a file, choose 
+				<menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Select
+				  All</guimenuitem> </menuchoice>. </para>
+		  </listitem>
+		</itemizedlist>
+	 </sect2>
+<!-- ============== To Undo or Redo Edits ====================== -->
+	 <sect2 id="gedit-undo-redo-edits"> 
+		<title>To Undo or Redo Edits</title>
+		<para>To undo an edit, choose 
+		  <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Undo</guimenuitem>
+			 </menuchoice>. To redo an edit, choose 
+		  <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Redo</guimenuitem>
+			 </menuchoice>. The number of previous edits that you can undo is determined by
+		  the <guilabel>Set limit on undo levels to</guilabel> setting in the
+		  <xref linkend="gedit-prefs-undo"/> tabbed section of the
+		  <guilabel>Preferences</guilabel> dialog. By default, the number of actions that you 
+		  can undo is 25.</para>
+	 </sect2>
+<!-- ============= To Find Text ================================ -->
+	 <sect2 id="gedit-find-text"> 
+		<title>To Find Text</title>
+		<para>To search a file for a string, perform the following steps:</para>
+		<orderedlist> 
+		  <listitem><para>Choose 
+				<menuchoice> <guimenu>Search</guimenu>
+				  <guimenuitem>Find</guimenuitem> </menuchoice>
+				to display the <guilabel>Find</guilabel> dialog.</para>
+		  </listitem>
+		  <listitem><para>Type the string that you want to find in the
+				<guilabel>Search for</guilabel> field.</para>
+		  </listitem>
+		  <listitem><para>Select one of the following options:</para>
+			 <itemizedlist> 
+				<listitem><para><guilabel>Search from the beginning of the
+					 document</guilabel></para>
+				</listitem>
+				<listitem><para><guilabel>Search from the cursor position
+					 </guilabel></para>
+				</listitem>
+			 </itemizedlist>
+		  </listitem>
+		  <listitem><para>Select the <guilabel>Case sensitive</guilabel> option
+				to only find occurrences of the string that match the case of the text that you
+				type. </para>
+		  </listitem>
+		  <listitem><para>Click <guibutton>Find</guibutton> to search the file
+				for the first occurrence of the string. If <application>&app;</application>
+				finds the string, the application moves the cursor to the string, and selects
+				the string.</para>
+		  </listitem>
+		  <listitem><para>To find the next occurrence of the string, click
+				<guibutton>Find Next</guibutton>.</para>
+		  </listitem>
+		  <listitem><para>To finish the search, click
+				<guibutton>Close</guibutton>. </para>
+		  </listitem>
+		</orderedlist>
+	 </sect2>
+<!-- ============= To Find and Replace Text =================== -->
+	 <sect2 id="gedit-find-replace-text"> 
+		<title>To Find and Replace Text</title>
+		<para>To search a file for a string, and replace the string with an
+		  alternative string, perform the following steps:</para>
+		<orderedlist> 
+		  <listitem><para>Choose 
+				<menuchoice> <guimenu>Search</guimenu>
+				  <guimenuitem>Replace</guimenuitem> </menuchoice>
+				to display the <guilabel>Replace</guilabel> dialog.</para>
+		  </listitem>
+		  <listitem><para>Type the string that you want to find in the
+				<guilabel>Search for</guilabel> field. </para>
+		  </listitem>
+		  <listitem><para>Type the string that you want to use to replace the
+				string that you find in the <guilabel>Replace with</guilabel> field.</para>
+		  </listitem>
+		  <listitem><para>Select one of the following options:</para>
+			 <itemizedlist> 
+				<listitem><para><guilabel>Search from the beginning of the
+					 document</guilabel></para>
+				</listitem>
+				<listitem><para><guilabel>Search from the cursor
+					 position</guilabel></para>
+				</listitem>
+			 </itemizedlist>
+		  </listitem>
+		  <listitem><para>Select the <guilabel>Case sensitive</guilabel> option
+				to only find occurrences of the string that match the case of the text that you
+				enter. </para>
+		  </listitem>
+		  <listitem><para>Click <guibutton>Find</guibutton> to search the file
+				for the first occurrence of the string. If <application>&app;</application>
+				finds the string, the application moves the cursor to the string, and selects
+				the string. </para>
+		  </listitem>
+		  <listitem><para>Click on <guibutton>Replace</guibutton> to replace the
+				occurrence of the string with the text that you typed in the <guilabel>Replace
+				with</guilabel> field. Click on <guibutton>Replace All</guibutton> to replace
+				all occurrences of the string.</para>
+		  </listitem>
+		  <listitem><para>To find the next occurrence of the string, click
+				<guibutton>Find Next</guibutton>.</para>
+		  </listitem>
+		  <listitem><para>To finish the search, click
+				<guibutton>Close</guibutton>. </para>
+		  </listitem>
+		</orderedlist>
+	 </sect2>
+<!-- ============= To Open a File from a URI ======================= -->
+	 <sect2 id="gedit-open-from-uri"> 
+		<title>To Open a File from a URI</title>
+		<para>To open a file from a Uniform Resource Identifier (URI), perform one of the following steps:</para>
+		<itemizedlist>
+		<listitem>
+		<para>Choose <menuchoice> <guimenu>File</guimenu> <guimenuitem>Open Location</guimenuitem> 
+		</menuchoice>
+to display the <guilabel>Open from URI</guilabel>
+dialog. Enter the URI of the 
+		file that you want to
+open, then click <guibutton>Open</guibutton>.</para>
+		</listitem>
+		<listitem>
+		<para>Type <command>gedit <replaceable>http://...</replaceable></command> at a command line, where
+		<replaceable>http://...</replaceable> is the URI of the file that you want to open, then press
+		<keycap>Return</keycap>.</para>
+		</listitem>
+		</itemizedlist>
+		<para>The application opens the file located at the URI in readonly mode.</para>
+	 </sect2>	 
+<!-- ============= To Pipe the Output of a Command to a File ======= -->
+	 <sect2 id="gedit-pipe-output"> 
+		<title>To Pipe the Output of a Command to a File</title>
+		<para>You can use <application>&app;</application> to pipe the output of
+		  a command to a text file. For example, to pipe the output of an <command>ls
+		  </command> command to a text file, type the following command, then press
+		  <keycap> Return</keycap>:</para>
+		<para><command>ls | gedit</command></para>
+		<para>The output of the <command>ls</command> command is displayed in a
+		  new text file in the <application>&app;</application> window.</para>
+		<para>Alternatively, you can use the Shell Output plugin to pipe command
+		  output to the current file. To use the Shell Output plugin, perform the
+		  following steps:</para>
+		<orderedlist> 
+		  <listitem><para>Load the Shell Output plugin. See <xref linkend="gedit-install-plugins"/> for 
+			information about how to load a plugin.</para>
+		  </listitem>
+
+		  <listitem><para>Choose 
+				<menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Insert Shell
+				  Output</guimenuitem> </menuchoice>
+				to display the <guilabel>Shell output</guilabel> dialog.
+				</para>
+		  </listitem>
+		  <listitem><para>Type the shell command that you want to execute in the
+				<guilabel>Shell command</guilabel> field.</para>
+		  </listitem>
+		  <listitem><para>Edit the <guilabel>Working directory</guilabel> field
+				if necessary. By default, the Shell Output plugin executes the command you
+				specify in the current directory.</para>
+		  </listitem>
+		  <listitem><para>Click <guibutton>Run</guibutton>. The Shell Output
+				plugin executes the command and inserts the text output into the current file.
+				</para>
+		  </listitem>
+		</orderedlist>
+	 </sect2>
+<!-- ============= To Go to a Specific Line ======================= -->
+	 <sect2 id="gedit-goto-line"> 
+		<title>To Go to a Specific Line</title>
+		<para>To go to a specific line in the current file, perform the following
+		  steps:</para>
+		<orderedlist> 
+		  <listitem><para>Choose 
+				<menuchoice> <guimenu>Search</guimenu> <guimenuitem>Goto
+				  Line</guimenuitem> </menuchoice>
+				to display the <guilabel>Goto line</guilabel> dialog.</para>
+		  </listitem>
+		  <listitem><para>Type the number of the line that you want to move the
+				cursor to in the <guilabel>Line number</guilabel> field.</para>
+		  </listitem>
+		  <listitem><para>Click <guibutton>Goto line</guibutton>. The application
+				moves the cursor to the line number that you specify.</para>
+		  </listitem>
+		</orderedlist>
+	 </sect2>
+	 <sect2 id="gedit-input-mode">
+		<title>To Change the Input Mode</title>
+		<para>To change the input mode, right-click in the text window, then select <guimenuitem>Input Methods</guimenuitem>. 
+		The <guimenuitem>Insert Unicode control character</guimenuitem> menu item provides character layout 
+		options that are useful for working with non-Latin character sets.</para>
+	 </sect2>
+<!-- ============= To Print a File ============================ -->
+	 <sect2 id="gedit-print-file"> 
+		<title>To Print a File</title>
+		<para>You can use <application>&app;</application> to perform the
+		  following print operations:</para>
+		<itemizedlist> 
+		  <listitem><para>Print a file to a printer. </para>
+		  </listitem>
+		  <listitem><para>Print the output of the print command to a file.</para>
+		  </listitem>
+		</itemizedlist>
+		<para>If you print to a file, <application>&app;</application> sends the
+		  output of the file to a pre-press format file. The most common pre-press
+		  formats are PostScript and Portable Document Format (PDF).</para>
+		  
+		<para>To preview the pages that you want to print, choose
+		<menuchoice> <guimenu>File</guimenu>
+		<guimenuitem>Print Preview</guimenuitem> </menuchoice>
+to display the <guilabel>gedit - Print Preview
+		</guilabel> dialog.</para>
+		  
+		<para>To print the current file to a printer or a file, choose 
+		<menuchoice> <guimenu>File</guimenu>
+		<guimenuitem>Print</guimenuitem> </menuchoice>
+		to display the <guilabel>Print</guilabel> dialog.</para>
+				
+		<para>The <guilabel>Print</guilabel> dialog allows you to specify the following
+		print options:</para>
+		
+		<sect3 id="print-dialog-job">
+		<title>Job Tabbed Section</title>
+		<variablelist>
+	 		<varlistentry> <term><guilabel>Print range</guilabel> </term> 
+			 <listitem> 
+				<para>Select one of the following options to determine how 
+				many pages to print:</para>
+				<itemizedlist>
+				<listitem>
+				<para><guilabel>All</guilabel></para>
+				<para>Select this option to print all of the pages in the file.</para>
+				</listitem>
+				<listitem>
+				<para><guilabel>Selection</guilabel></para>
+				<para>Select this option to print the selected text only. This option
+				is only available if you selected text.</para>
+				</listitem>
+								
+				</itemizedlist>
+				<para>Default: <guilabel>All</guilabel>.</para>
+			 </listitem>
+		  	</varlistentry>
+		  	<varlistentry> <term><guilabel>Copies</guilabel> </term> 
+			 <listitem> 
+				<para>Use this spin box to specify the number of copies of the file that
+				you want to print.</para>
+				<para>Default: 1.</para>
+			 </listitem>
+		  	</varlistentry>
+		  	<varlistentry> <term><guilabel>Collate</guilabel> </term> 
+			 <listitem> 
+				<para>If you are printing multiple copies of the file, select this option
+				to collate the printed copies.</para>
+				<para>Default: unselected.</para>
+			 </listitem>
+		  	</varlistentry>
+			</variablelist>
+		</sect3>
+		
+		<sect3 id="print-dialog-printer">
+		<title>Printer Tabbed Section</title>
+		<variablelist>
+	 		<varlistentry> <term><guilabel>Printer</guilabel> </term> 
+			 <listitem> 
+				<para>Use this drop-down list box to select the printer to which you want
+				to print the file.</para>
+				<para>Default: <guilabel>Gnome default printer</guilabel>.</para>
+			 </listitem>
+		  	</varlistentry>
+		  	<varlistentry> <term><guilabel>Settings</guilabel> </term> 
+			 <listitem> 
+				<para>Use this drop-down list box to select the printer settings. To configure
+				the printer, click <guibutton>Configure</guibutton>.</para>
+				<para>Default: Default.</para>
+			 </listitem>
+		  	</varlistentry>
+		  	<varlistentry> <term><guilabel>Location</guilabel> </term> 
+			 <listitem> 
+				<para>Use this drop-down list box to select the print destination. To print the
+				file to a printer, choose <guilabel>lpr</guilabel>. To print the file
+				to a print file, choose <guilabel>File</guilabel>. If you select <guilabel>File</guilabel>,
+				type the name of the output file in the text box provided.</para>
+				<para>Default: <guilabel>lpr</guilabel>.</para>
+			 </listitem>
+		  	</varlistentry>
+			</variablelist>
+		</sect3>
+		
+		<sect3 id="print-dialog-paper">
+		<title>Paper Tabbed Section</title>
+		<variablelist>
+	 		<varlistentry> <term><guilabel>Paper size</guilabel> </term> 
+			 <listitem> 
+				<para>Use this drop-down list box to select the size of the paper to 
+				which you want to print the file.</para>
+				<para>Default: <guilabel>A4</guilabel>.</para>
+			 </listitem>
+		  	</varlistentry>
+		  	<varlistentry> <term><guilabel>Width</guilabel> </term> 
+			 <listitem> 
+				<para>Use this spin box to specify the width of the paper. Use the
+				<guilabel>Centimeters</guilabel> drop-down list box to change the 
+				measurement unit for specifying the paper size.</para>
+				<para>Default: 21.00 centimeters.</para>
+			 </listitem>
+		  	</varlistentry>
+		  	<varlistentry> <term><guilabel>Height</guilabel> </term> 
+			 <listitem> 
+				<para>Use this spin box to specify the height of the paper.</para>
+				<para>Default: 29.70 centimeters.</para>
+			 </listitem>
+		  	</varlistentry>
+		  	<varlistentry> <term><guilabel>Page orientation</guilabel> </term> 
+			 <listitem> 
+				<para>Use this drop-down list box to select the page orientation.</para>
+				<para>Default: <guilabel>Portrait</guilabel>.</para>
+			 </listitem>
+		  	</varlistentry>
+		  	<varlistentry> <term><guilabel>Layout</guilabel> </term> 
+			 <listitem> 
+				<para>Use this drop-down list box to select the page layout. A preview
+				of each layout that you select is displayed in the <guilabel>Preview</guilabel>
+				area.</para>
+				<para>Default: <guilabel>Plain</guilabel>.</para>
+			 </listitem>
+		  	</varlistentry>
+		</variablelist>
+		</sect3>
+		
+	 </sect2>
+<!-- ============= To Use the gedit Plugins ========================= -->
+	 <sect2 id="gedit-use-plugins"> 
+		<title>To Use the &app; Plugins</title>
+		<para>A plugin is a supplementary program that enhances the functionality
+		  of an application. The <application>&app;</application> plugins enable you to
+		  perform a variety of functions related to text editing from within the
+		  <application> &app;</application> window. The following table lists the plugins
+		  that are available.</para>
+		<informaltable frame="topbot"> 
+		<tgroup cols="2"> 
+			<colspec colname="col1"/> 
+			<colspec colname="col2"/> 
+		<thead> 
+		<row valign="top">
+			<entry colname="col1" colsep="0" valign="top"><para>Plugin Name</para></entry>
+			<entry colname="col2" valign="top"><para>Purpose</para></entry> 
+		</row> 
+		</thead>
+		<tbody> 
+		<row valign="top"> 
+			<entry><para>ASCII table</para></entry> 
+			<entry><para>Displays a dialog that contains an ASCII table. You can use the ASCII table to insert characters into a file.</para></entry> 
+		</row>  
+		<row valign="top"> 
+			<entry><para>Compare files</para></entry> 
+			<entry><para>Compares two files and displays the differences between the files in a new <application>&app;</application> window.
+			This plugin uses the <application>diff</application> program to compare the files.</para></entry> 
+		</row>
+		<row valign="top"> 
+			<entry><para>CVS ChangeLog</para></entry> 
+			<entry><para>Opens the log messages associated with CVS commit commands.</para></entry> 
+		</row> 
+		<row valign="top">
+			<entry><para>Insert Date/Time</para></entry> 
+			<entry><para>Inserts the current date and time into a file.</para></entry> 
+		</row>
+		<row valign="top">
+			<entry><para>Shell Output</para></entry> 
+			<entry><para>Inserts the text output of a shell command into a file. </para></entry> 
+		</row> 
+		<row valign="top">
+			<entry><para>Tag list</para></entry> 
+			<entry><para>Displays a dialog that contains a list of common tags. You can use the dialog to 
+			insert a tag into a file. </para></entry> 
+		</row>
+		<row valign="top">
+			<entry><para>User name</para></entry> 
+			<entry><para>Inserts the username of the current user into the file. </para></entry> 
+		</row>
+		<row valign="top"> 
+			<entry><para>Word count</para></entry> 
+			<entry><para>Counts the number of lines, words, characters with spaces, characters without spaces, and bytes in the current file. The plugin
+			displays the results in a <guilabel>Word count</guilabel> window. </para></entry> 
+		</row> 
+ 
+	
+		</tbody> 
+		</tgroup>
+		</informaltable> 
+		</sect2>
+<!-- ============= To Load gedit Plugins ========================= -->
+	 <sect2 id="gedit-install-plugins"> 
+		<title>To Load &app; Plugins</title>
+		<para>To load <application>&app;</application> plugins, choose 
+		  <menuchoice> 
+		  <guimenu>Edit</guimenu>
+		  <guimenuitem>Plugin Manager</guimenuitem> 
+		  </menuchoice>. 
+		  The <guilabel>Plugin Manager</guilabel> dialog displays the following information:</para>
+		<itemizedlist> 
+		  <listitem><para>A list of the plugins that are available.</para>
+		  </listitem>
+		  <listitem><para>A <guibutton>Configure plugin</guibutton> button. You can use this button to open a 
+		  configuration dialog for the plugins that you can configure.</para>
+		  </listitem>
+		  <listitem><para>A brief description of each plugin. To display a description,
+		  select the plugin from the list of plugins.</para>
+		  </listitem>	
+		  <listitem><para>Details about the author of the plugin and the name of the module.</para>
+		  </listitem>	  
+		</itemizedlist>
+		<para>To load a plugin, select the check box next to the name of the plugin. The <application>&app;</application> application
+		adds the plugin to the appropriate <application>&app;</application> menu, as described in the following table.</para>
+		<informaltable frame="topbot"> 
+		<tgroup cols="2"> 
+		<colspec colname="col1"/> 
+		<colspec colname="col2"/> 
+		<thead> 
+		<row valign="top">
+			<entry colname="col1" colsep="0" valign="top"><para>Plugin Name</para></entry>
+			<entry colname="col2" valign="top"><para>Added to Menu</para></entry> 
+		</row> 
+		</thead>
+		<tbody> 
+		<row valign="top"> 
+			<entry><para>ASCII table</para></entry> 
+			<entry><para><menuchoice><guimenu>View</guimenu> <guimenuitem>ASCII Table</guimenuitem></menuchoice></para></entry> 
+		</row>  
+		<row valign="top"> 
+			<entry><para>Compare files</para></entry> 
+			<entry><para><menuchoice><guimenu>File</guimenu> <guimenuitem>Compare files</guimenuitem></menuchoice></para></entry> 
+		</row>
+		<row valign="top"> 
+			<entry><para>CVS ChangeLog</para></entry> 
+			<entry><para><menuchoice><guimenu>File</guimenu> <guimenuitem>Open CVS ChangeLogs</guimenuitem></menuchoice></para></entry> 
+		</row> 
+		<row valign="top"> 
+			<entry><para>Word count</para></entry> 
+			<entry><para><menuchoice><guimenu>Search</guimenu> <guimenuitem>Word Count</guimenuitem></menuchoice></para></entry> 
+		</row> 
+		<row valign="top">
+			<entry><para>Shell Output</para></entry> 
+			<entry><para><menuchoice><guimenu>Edit</guimenu> <guimenuitem>Insert Shell Output</guimenuitem></menuchoice></para></entry> 
+		</row> 
+		<row valign="top">
+			<entry><para>Tag list</para></entry> 
+			<entry><para><menuchoice><guimenu>View</guimenu> <guimenuitem>Tag List</guimenuitem></menuchoice></para></entry> 
+		</row>
+		<row valign="top">
+			<entry><para>Insert Date/Time</para></entry> 
+			<entry><para><menuchoice><guimenu>Edit</guimenu> <guimenuitem>Insert Date/Time</guimenuitem></menuchoice></para></entry> 
+		</row>
+		<row valign="top">
+			<entry><para>User name</para></entry> 
+			<entry><para><menuchoice><guimenu>Edit</guimenu> <guimenuitem>Insert User Name</guimenuitem></menuchoice></para></entry> 
+		</row> 
+		</tbody> 
+		</tgroup>
+		</informaltable> 
+
+		<para>To remove a plugin, deselect the check box next to the name of the plugin.</para>
+		<para>To close the <guilabel>Plugin Manager</guilabel> dialog,
+		  click <guibutton>Close</guibutton>.</para>
+	 </sect2>
+	 
+	 <sect2 id="gedit-customize-bars">
+	 <title>To Customize the Toolbar and Statusbar</title>
+	 
+	 <para>To display or hide the toolbar, choose <menuchoice> <guimenu>View</guimenu>
+		  <guimenuitem>Toolbar</guimenuitem> </menuchoice>. To customize how <application>&app;</application>
+		  displays the toolbar, choose <menuchoice> <guimenu>View</guimenu>
+		  <guisubmenu>Customize Toolbar</guisubmenu> </menuchoice>, then select one of the following 
+		  menu items:</para>
+		  <itemizedlist>
+		  <listitem>
+		  <para><guimenuitem>Desktop Default</guimenuitem>: display the default toolbar.</para>
+		  </listitem>
+		  <listitem>
+		  <para><guimenuitem>Icon</guimenuitem>: display icons only.</para>
+		  </listitem>
+		  <listitem>
+		  <para><guimenuitem>Icon and Text</guimenuitem>: display icons and text.</para>
+		  </listitem>
+		  </itemizedlist>
+	 <para>To display or hide the statusbar, choose <menuchoice> <guimenu>View</guimenu>
+		  <guimenuitem>Statusbar</guimenuitem> </menuchoice>. To customize how <application>&app;</application>
+		  displays the statusbar, choose <menuchoice> <guimenu>View</guimenu>
+		  <guisubmenu>Customize Statusbar</guisubmenu> </menuchoice>, then select one of the following 
+		  menu items:</para>
+		  <itemizedlist>
+		  <listitem>
+		  <para><guimenuitem>Show Cursor Position</guimenuitem>: display the line number
+		  and column number where the cursor is located.</para>
+		  <para>Default: selected.</para>
+		  </listitem>
+		  <listitem>
+		  <para><guimenuitem>Show Overwrite Mode</guimenuitem>: display the editing mode.
+		  If the editor is in insert mode, the statusbar contains the word INS. If the editor is in 
+		  overwrite mode, the statusbar contains the word OVR.</para>
+		  <para>Default: selected.</para>
+		  </listitem>
+		  </itemizedlist>
+	 
+	 </sect2>
+  </sect1>
+<!-- ============= Customization ============================= -->
+  <sect1 id="gedit-prefs"> 
+	 <title>Settings</title>
+	   
+	 <para>To configure <application>&app;</application>, choose 
+		<menuchoice> <guimenu>Edit</guimenu>
+		  <guimenuitem>Preferences</guimenuitem> </menuchoice>.</para>
+	 <para>The <guilabel>Preferences</guilabel> dialog contains the following
+		categories:</para>
+	 <itemizedlist> 
+		<listitem><para><xref linkend="gedit-prefs-editor"/></para>
+		</listitem>
+		<listitem><para><xref linkend="gedit-prefs-print"/></para>
+		</listitem>
+	 </itemizedlist>
+	 
+	 
+	 <sect2 id="gedit-prefs-editor">
+	 <title>Editor</title>
+	 <para>The <guilabel>Editor</guilabel> category is subdivided into the following 
+	 subcategories:</para>
+	 
+	 	<sect3 id="gedit-prefs-fontsandcolors">
+	 		<title>Fonts and Colors</title>
+	 		<variablelist> 
+		   <varlistentry> <term><guilabel>Use default theme font</guilabel> </term> 
+			 <listitem> 
+				<para>Select this option to use the default system font for the text in the <application>&app;</application> text window. </para>
+				<para>Default: unselected.</para>
+			 </listitem>
+		  	</varlistentry>			
+		   <varlistentry> <term><guilabel>Font used by the editor</guilabel> </term> 
+			 <listitem> 
+				<para>This field displays the font that <application>&app;</application> uses to display text. 
+				Click on the button to specify the font type, style, and size to use for text. </para>
+				<para>Default: Courier Medium 12 point.</para>
+			 </listitem>
+		  	</varlistentry>
+		   <varlistentry> <term><guilabel>Use default theme colors</guilabel> </term> 
+			 <listitem> 
+				<para>Select this option to use the default theme colors in the <application>&app;</application> text window. </para>
+				<para>Default: selected.</para>
+			 </listitem>
+		  	</varlistentry>			
+		  	<varlistentry> <term><guilabel>Text color</guilabel> </term> 
+			 <listitem> 
+				<para>Click on the <guibutton>Text color</guibutton> button to
+				  display the color selector dialog. Select a color to use to display text in the <application>&app;</application>
+				text window. </para>
+				<para>Default: black.</para>
+			 </listitem>
+		  	</varlistentry>
+		  	<varlistentry> <term><guilabel>Background color</guilabel> </term> 
+			 <listitem> 
+				<para>Click on the <guibutton>Background color</guibutton> button to
+				  display the color selector dialog. Select a background color for the <application>&app;</application>
+				text window. </para>
+				<para>Default: white.</para>
+			 </listitem>
+		  	</varlistentry>			
+		  	<varlistentry> <term><guilabel>Selected text color</guilabel> </term> 
+			 <listitem> 
+				<para>Click on the <guibutton>Selected text color</guibutton> button to
+				  display the color selector dialog. Select a color to use to display selected text.
+				</para>
+				<para>Default: white.</para>
+			 </listitem>
+		  	</varlistentry>
+		  	<varlistentry> <term><guilabel>Selection color</guilabel> </term> 
+			 <listitem> 
+				<para>Click on the <guibutton>Selection color</guibutton> button to
+				  display the color selector dialog. Select a background color to use to highlight a text selection.
+				  </para>
+				<para>Default: blue.</para>
+			 </listitem>
+		  	</varlistentry>			
+			</variablelist>
+		</sect3>
+	
+	 	<sect3 id="gedit-prefs-tabs">
+	 		<title>Tabs</title>
+			<variablelist>
+	 		<varlistentry> <term><guilabel>Set tabs width equivalent to</guilabel> </term> 
+			 <listitem> 
+				<para>Use this spin box to specify the width of the space that
+				  <application> &app;</application> inserts when you press the
+				  <keycap>Tab</keycap> key. </para>
+				<para>Default: 8 characters.</para>
+			 </listitem>
+		  	</varlistentry>
+			</variablelist>
+		</sect3>	 
+				
+	 	<sect3 id="gedit-prefs-wrapmode">
+	 		<title>Wrap Mode</title>
+			<variablelist>
+	 		<varlistentry> <term><guilabel>Wrap mode</guilabel> </term> 
+			 <listitem> 
+				<para>Select one of the following options to determine how 
+				<application>&app;</application> wraps text in the <application>&app;</application>
+				window:
+</para>
+				<itemizedlist>
+				<listitem>
+				<para><guilabel>Never wrap lines</guilabel></para>
+				<para>Select this option to never wrap lines. The text that you type is displayed in one line until you press 
+				<keycap>Return</keycap>.</para>
+				</listitem>
+				<listitem>
+				<para><guilabel>Wrap lines at word boundaries</guilabel></para>
+				<para>Select this option to wrap text onto the next line, at a word level, when you reach the text window boundary. </para>
+				</listitem>
+				<listitem>
+				<para><guilabel>Wrap lines at character boundaries</guilabel></para>
+				<para>Select this option to wrap text onto the next line, at a character level, when you reach the text window boundary.</para>
+				</listitem>								
+				</itemizedlist>
+				<para>Default: <guilabel>Wrap lines at character boundaries</guilabel>.</para>
+			 </listitem>
+		  	</varlistentry>
+			</variablelist>
+		</sect3>	 
+	 
+	 	<sect3 id="gedit-prefs-linenumbers">
+	 		<title>Line numbers</title>
+			<variablelist>
+	 		<varlistentry> <term><guilabel>Display line numbers</guilabel> </term> 
+			 <listitem> 
+				<para>Select this option to display lines numbers on the left side of the 
+				<application>&app;</application> window. </para>
+				<para>Default: unselected.</para>
+			 </listitem>
+		  	</varlistentry>
+			</variablelist>
+		</sect3>	 
+		
+	 	<sect3 id="gedit-prefs-save">
+	 		<title>Save</title>
+	 		<variablelist>
+	 		<varlistentry> <term><guilabel>Create a backup copy of files before saving</guilabel> </term> 
+			 <listitem> 
+				<para>Select this option create a backup copy of a file each time you save the file. The backup 
+				copy of the file has a <filename>.bak</filename> extension.</para>
+				<para>Default: unselected.</para>
+			 </listitem>
+		  	</varlistentry>
+	 		<varlistentry> <term><guilabel>Autosave current file every</guilabel> </term> 
+			 <listitem> 
+				<para>Select this option to automatically save the current file at regular intervals. Use the spin box
+				to specify the interval at which you want to save the file.</para>
+				<para>Default: unselected, 10 minutes.</para>
+			 </listitem>
+		  	</varlistentry>
+	 		<varlistentry> <term><guilabel>When saving</guilabel> </term> 
+			 <listitem> 
+				<para>Select one of the following save options:</para>
+				<itemizedlist>
+				<listitem>
+				<para><guilabel>Always use UTF-8 encoding (faster)</guilabel></para>
+				<para>Select this option to save files using UTF-8 bit encoding.</para>
+				</listitem>
+				<listitem>
+				<para><guilabel>Use current locale when possible</guilabel></para>
+				<para>Select this option to save files using the current locale. You can set up locales for
+				different input methods. </para>
+				</listitem>
+				<listitem>
+				<para><guilabel>Use current locale only if the file already uses it</guilabel></para>
+				<para>Select this option to save a file using the current locale if the file was already saved in the current locale.</para>
+				</listitem>								
+				</itemizedlist>
+				<para>Default: <guilabel>Always use UTF-8 encoding (faster)</guilabel></para>
+			 </listitem>
+		  	</varlistentry>
+			</variablelist>
+
+
+		</sect3>	 
+	 
+	 	<sect3 id="gedit-prefs-undo">
+	 		<title>Undo</title>
+	 		<variablelist>
+	 		<varlistentry> <term><guilabel>Set limit on undo levels to</guilabel> </term> 
+			 <listitem> 
+				<para>Select this option to set a limit on the number of editing actions that you 
+				can undo. Use the spin box to specify the maximum number of actions that you
+				can undo. </para>
+				<para>Default: selected, 25 actions.</para>
+			 </listitem>
+		  	</varlistentry>
+			</variablelist>
+		</sect3>
+	 		
+	 </sect2>	 
+	 
+	<sect2 id="gedit-prefs-print">
+	 <title>Print</title>
+	 <para>The <guilabel>Print</guilabel> category is subdivided into the following 
+	 subcategories:</para>
+	 
+	 	<sect3 id="gedit-prefs-page">
+	 		<title>Page</title>
+	 	<variablelist> 
+		  <varlistentry> <term><guilabel>Print page headers</guilabel> </term> 
+			 <listitem> 
+				<para>Select this option to include a header on each page that you
+				  print. You can not configure the header. </para>
+				<para>Default: selected.</para>
+			 </listitem>
+		  </varlistentry>
+		  <varlistentry> <term><guilabel>Wrap lines (at character boundaries)</guilabel> </term> 
+			 <listitem> 
+				<para>Select this option to automatically wrap text at a character level when you print
+				  a file. The application counts wrapped lines as one line for line numbering purposes.
+				  </para>
+				<para>Default: selected.</para>
+			 </listitem>
+		  </varlistentry>
+		  <varlistentry> <term><guilabel>Print line numbers every</guilabel>
+			 </term> 
+			 <listitem> 
+				<para>Select this option to include line numbers when you print a
+				  file. Use the spin box to specify how often to print the line numbers, for
+				  example every 5 lines, every 10 lines, and so on. </para>
+				<para>Default: unselected, 1 line.</para>
+			 </listitem>
+		  </varlistentry>
+		</variablelist>
+		</sect3>
+		
+		<sect3 id="gedit-prefs-fonts">
+	 		<title>Fonts</title>
+	 	<variablelist> 
+		  <varlistentry> <term><guilabel>Font used to print the body</guilabel> </term> 
+			 <listitem> 
+				<para>Click on this button to select the font to use to print the body text of a 
+				file.</para>
+				<para>Default: Courier 9.0.</para>
+			 </listitem>
+		  </varlistentry>
+		  <varlistentry> <term><guilabel>Font used to print headers</guilabel> </term> 
+			 <listitem> 
+				<para>Click on this button to select the font to use to print the headers in a 
+				file.  </para>
+				<para>Default: Helvetica 11.0.</para>
+			 </listitem>
+		  </varlistentry>
+		  <varlistentry> <term><guilabel>Font used to print line numbers</guilabel>
+			 </term> 
+			 <listitem> 
+				<para>Click on this button to select a font to use to print line numbers.</para>
+				<para>Default: Helvetica 8.0.</para>
+			 </listitem>
+		  </varlistentry>
+		</variablelist>
+		<para>To reset the fonts to the default fonts for printing a file from <application>&app;</application>
+		click on the <guibutton>Restore default fonts</guibutton> button.</para>
+		</sect3>
+		
+	 </sect2>	 
+	 	 	 
+	 
+ </sect1>
+</article>

Added: websites/staging/ooo-site/trunk/content/xml/xmerge/downloads/index.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/xml/xmerge/downloads/index.html (added)
+++ websites/staging/ooo-site/trunk/content/xml/xmerge/downloads/index.html Tue Nov 29 21:39:12 2011
@@ -0,0 +1,230 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+
+  	   
+  <meta http-equiv="CONTENT-TYPE"
+ content="text/html; charset=iso-8859-1">
+  <title>XMerge - Downloads section</title>
+     	 	   
+  <meta name="GENERATOR" content="StarOffice 6.0  (Solaris Sparc)">
+  	   
+  <meta name="CREATED" content="20020717;15440100">
+  	   
+  <meta name="CHANGED" content="20020718;17025700">
+
+
+</head>
+
+<body>
+  <div id="banner">
+    <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and Open Productivity Suite</div>
+  </div>
+  <div id="clear"></div>
+  
+  <div id="content">
+  
+    
+    
+   
+<h1>Available downloads</h1>
+   
+<h2>Mobile Device Support</h2>
+   
+<p>The Mobile Device Support Pack installs three separate sets of components 
+to your OpenOffice installation &#8211; the <a href="#XmlFilterAdapter">XmlFilterAdapator</a>, 
+the XMergeBridge and current set of available XMerge <a
+ href="http://xml.openoffice.org/xmerge/index.html#plug-ins">plugins</a>.</p>
+   
+<h3>Prerequisites</h3>
+   
+<ul>
+  	<li>The Mobile Device Support Pack is designed to work with OpenOffice 
+1.0.  	    It should also work with OpenOffice 642 and OpenOffice 643.  		It 
+has also been tested with StarOffice 6.0. There isn't currently a  		way to
+make it work with other builds. If there's a demand for supporting  		other 
+builds then we'll make the necessary updates. 		</li>
+  	<li>You must have JRE 1.4 or above installed for the installer to work.
+ 		<br>
+ You must have JRE 1.4 or above installed and configured for use with OpenOffice 
+to have access 		to the plugins within OpenOffice. </li>
+ 
+</ul>
+   
+<h3>Instructions</h3>
+   
+<ol>
+  	<li>     
+    <p>Download the <a
+ href="http://xml.openoffice.org/xmerge/downloads/XMergeInstall.jar">XMergeInstall.jar</a> 
+file.</p>
+  	</li>
+   <li>     
+    <p>For all installations ensure that you have completely quit 	OpenOffice 
+&#8211; this includes shutting down the quick-starter if 	it is running. Once the 
+installation starts, follow the instructions 	on screen.</p>
+  	</li>
+   <li>     
+    <p>Start the installation<br>
+     <b>Windows</b>: The 	XMergeInstall.jar files should be executable by 
+either 	double-clicking on it from Explorer or by typing <code>java -jar
+	XMergeInstall.jar</code> at the command line.<br>
+     <b>Unix</b>: Type 	<code>java -jar XMergeInstall.jar</code> (<b>Note</b>: 
+on Solaris 	2.6 and above, make the JAR file executable and type 	./XMergeInstall.jar 
+at the command line.)</p>
+  </li>
+ 
+</ol>
+  <a name="XmlFilterAdapter"> 
+<h3>About the XmlFilterAdapator</h3>
+ </a>  
+<p>OpenOffice filters make use of a generic filter specification called the 
+<code>XmlFilterAdaptor</code>. This implements many of the same interfaces 
+that most filters use, but it does not do any of the actual filtering itself. 
+The <code>XmlFilterAdaptor</code> can be used to instantiate a lower level 
+filter, and pass user defined data to it. Using this implementation, the user
+can specify a filtering module that can be instantiated by the <code>XmlFilterAdaptor</code>, 
+in order to carry out the filtering logic.</p>
+   
+<p>In order to maintain the pluginable nature of the XMerge framework, there 
+needs to be a bridge between the <code>XmlFilterAdaptor</code> and the XMerge 
+plugins, that will drive the plugins, without the requirement to change the 
+operation of the plugins themselves. This bridge is known as the XMergeBridge, 
+and is part of the XMerge project.</p>
+   
+<p>The XMergeInstaller installs the XmlFilterAdapater, the XMergeFilterBridge 
+and all available XMerge Plugins to your OpenOffice installation. Thereafter 
+the filters are accessible from the <b><font face="Arial, sans-serif">File|Open
+</font></b><font face="Thorndale">and <b><font
+ face="Arial, sans-serif">File|Save As </font></b>menu.<br>
+ </font></p>
+ 
+<h2><br>
+ </h2>
+ 
+<h2>ActiveSync Support</h2>
+ The ActiveSync XMerge Filter allows synchronisation of Writer and Calc documents 
+with a Microsoft Pocket PC device. &nbsp;This filter invokes XMerge from your
+OpenOffice/StarOffice installation.<br>
+ <br>
+ 
+<h3>Prerequisites</h3>
+ 
+<ul>
+   <li>XMerge<br>
+   </li>
+   <li>Java Runtime Environment 1.4</li>
+   <li>Windows 95 (with IE 4/5), Windows 98, Windows ME, Windows 2000, Windows 
+XP</li>
+   <li>ActiveSync 3.5</li>
+ 
+</ul>
+ The ActiveSync support requires an update to some of the XMerge code. &nbsp;If 
+you downloaded the Mobile Device Support Pack prior to the evening of 30th 
+July 2002, then you will need the update. &nbsp;An updated <code>xmerge.jar</code>
+file is included in the ActiveSync download. &nbsp;This file should be copied 
+in place of your current xmerge.jar.<br>
+ 
+<h3>Instructions</h3>
+ 
+<ol>
+   <li>Download the <a
+ href="http://xml.openoffice.org/xmerge/downloads/xmergesync.zip">xmergesync.zip</a> 
+file.<br>
+     <br>
+   </li>
+   <li>Disconnect your device from ActiveSync.<br>
+     <br>
+   </li>
+   <li>Unzip the two files in the archive. &nbsp;Copy the XMergeSync.dll
+file to a suitable location, e.g. <i>&lt;OO Installation Directory&gt;/program</i>.<br>
+     <br>
+   </li>
+   <li>At the command prompt, go to the directory in which you unpacked the 
+files and run the regutil.exe program giving it to the fully qualified path 
+of the XMergeSync.dll file.<br>
+     <br>
+     
+    <pre>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;C:\Temp&gt; regutil "C:\Program Files\OpenOffice\program\XMergeSync.dll"</pre>
+     <br>
+   </li>
+   <li>Reconnect your device to ActiveSync.<br>
+     <br>
+   </li>
+   <li>You may need to configure ActiveSync to convert the files. &nbsp;<br>
+     <br>
+     
+    <ul>
+       <li>Open the ActiveSync program on the desktop machine.<br>
+         <br>
+       </li>
+       <li>Open the Options dialog either by clicking on the icon or by <i>Tools 
+-&gt; Options</i>.<br>
+         <br>
+       </li>
+       <li>If you have a partnership setup, you will need to select the <i>Rules</i> 
+tab on the dialog. &nbsp;Then click the <i>Conversion Settings </i>button. 
+&nbsp;If not, then the <i>Rules </i>tab will be presented by default.<br>
+         <br>
+       </li>
+       <li>Click on the <i>Desktop to Device</i> tab and scroll down the
+list. &nbsp;You should see entries for the OpenOffice/StarOffice Spreadsheet
+and Text Documents in the list of file types. <br>
+         <br>
+ &nbsp; &nbsp; Select on the Spreadsheet entry and verify that the mobile 
+device type is set to <i>Pocket Excel Workbook</i>.<br>
+         <br>
+ &nbsp; &nbsp; Select on the Text Document entry and verify that the mobile 
+device type is set to <i>Pocket Word Document - Pocket PC</i>.<br>
+         <br>
+       </li>
+       <li>If the types are not set to convert then double click on the type 
+to bring up the <i>Edit Conversion Settings</i> dialog. &nbsp;Select the correct
+type from the drop-down list.</li>
+     
+    </ul>
+     <br>
+     <br>
+   </li>
+   <li>If you wish to convert Pocket PC documents to OpenOffice/StarOffice 
+equivalents automatically, repeat the procedure in step 6 on the <i>Device 
+to Desktop</i> tab for the <i>Pocket Excel Workbook</i> and <i>Pocket Word 
+Document - Pocket PC</i> file types.</li>
+ 
+</ol>
+ <br>
+     <br>
+ 
+
+
+  </div>
+
+  <div id="footera">
+    <div id="poweredbya">
+      <p><img src="/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	<a href="/contact.html">Contact Us</a> |
+	<a href="/terms.html">Terms of Use</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/xml/xmerge/downloads/smalldeviceSol.tar.gz
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/ooo-site/trunk/content/xml/xmerge/downloads/smalldeviceSol.tar.gz
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: websites/staging/ooo-site/trunk/content/xml/xmerge/downloads/sofftodocbook.xsl
==============================================================================
--- websites/staging/ooo-site/trunk/content/xml/xmerge/downloads/sofftodocbook.xsl (added)
+++ websites/staging/ooo-site/trunk/content/xml/xmerge/downloads/sofftodocbook.xsl Tue Nov 29 21:39:12 2011
@@ -0,0 +1,741 @@
+<?xml version='1.0' encoding="UTF-8"?>
+<!-- #  The Contents of this file are made available subject to the terms of
+ #  either of the following licenses
+ #
+ #         - GNU Lesser General Public License Version 2.1
+ #         - Sun Industry Standards Source License Version 1.1
+ #
+ #  Sun Microsystems Inc., October, 2000
+ #
+ #  GNU Lesser General Public License Version 2.1
+ #  =============================================
+ #  Copyright 2000 by Sun Microsystems, Inc.
+ #  901 San Antonio Road, Palo Alto, CA 94303, USA
+ #
+ #  This library is free software; you can redistribute it and/or
+ #  modify it under the terms of the GNU Lesser General Public
+ #  License version 2.1, as published by the Free Software Foundation.
+ #
+ #  This library is distributed in the hope that it will be useful,
+ #  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ #  Lesser General Public License for more details.
+ #
+ #  You should have received a copy of the GNU Lesser General Public
+ #  License along with this library; if not, write to the Free Software
+ #  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ #  MA  02111-1307  USA
+ #
+ #
+ #  Sun Industry Standards Source License Version 1.1
+ #  =================================================
+ #  The contents of this file are subject to the Sun Industry Standards
+ #  Source License Version 1.1 (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.openoffice.org/license.html.
+ #
+ #  Software provided under this License is provided on an "AS IS" basis,
+ #  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ #  WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ #  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ #  See the License for the specific provisions governing your rights and
+ #  obligations concerning the Software.
+ #
+ #  The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ #
+ #  Copyright: 2000 by Sun Microsystems, Inc.
+ #
+ #  All Rights Reserved.
+ #
+ #  Contributor(s): _______________________________________
+ #
+ #-->
+<xsl:stylesheet version="1.0" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:office="http://openoffice.org/2000/office" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script" xmlns:config="http://openoffice.org/2001/config" office:class="text" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="office meta  table number dc fo xlink chart math script xsl draw svg dr3d form
  config text style">
+<xsl:output method="xml" indent="yes" omit-xml-declaration="no"  />
+<!--<xsl:output method="xml" version="1.0" encoding="UTF-8" doctype-public="-//Sun Microsystems//DTD Simplified DocBook XML V1.0CR2-Based SupportDoc Subset
+V1.0//EN" doctype-system="file:///e:/temp/dtd/docbookx.dtd" />-->
+
+
+<xsl:variable name="varname">1</xsl:variable>
+
+<xsl:template match="/office:document">
+	<article>
+		<xsl:attribute name="lang"><xsl:value-of select="/office:document/office:meta/dc:language"/>
+		</xsl:attribute>
+		<xsl:apply-templates />
+	</article>
+</xsl:template>
+
+<xsl:template match="office:meta">
+	<xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="text:ordered-list">
+	<orderedlist>
+		<xsl:apply-templates/>
+	</orderedlist>
+</xsl:template>
+
+
+
+<xsl:template match="meta:editing-cycles">
+</xsl:template>
+
+<xsl:template match="meta:user-defined">
+</xsl:template>
+
+<xsl:template match="meta:editing-duration">
+</xsl:template>
+
+<xsl:template match="dc:language">
+</xsl:template>
+
+<xsl:template match="dc:date">
+	<!--<pubdate>
+		<xsl:value-of select="substring-before(.,'T')"/>
+	</pubdate>-->
+</xsl:template>
+
+<xsl:template match="meta:creation-date">
+</xsl:template>
+
+<xsl:template match="office:body">
+	<xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="office:styles">
+	<xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="office:script">
+</xsl:template>
+
+
+<xsl:template match="office:settings">
+</xsl:template>
+
+<xsl:template match="office:font-decls">
+</xsl:template>
+
+<xsl:template match="text:section">
+<xsl:choose>
+	<xsl:when test="@text:name='ArticleInfo'">
+		<articleinfo>
+			<title><xsl:value-of select="text:p[@text:style-name='Document Title']"/></title>
+			<subtitle><xsl:value-of select="text:p[@text:style-name='Document SubTitle']"/></subtitle>
+			<edition><xsl:value-of select="text:p/text:variable-set[@text:name='articleinfo.edition']"/></edition>
+			<xsl:for-each select="text:p/text:variable-set[substring-after(@text:name,'articleinfo.releaseinfo')]">
+				<releaseinfo>
+					<xsl:value-of select="."/>
+				</releaseinfo>
+			</xsl:for-each>
+			<xsl:call-template name="ArticleInfo"><xsl:with-param name="level" select="0"/></xsl:call-template>
+	
+		</articleinfo>
+	</xsl:when>
+	<xsl:when test="@text:name='Abstract'">
+		<abstract>
+			<xsl:apply-templates/>
+		</abstract>
+	</xsl:when>
+	<xsl:when test="@text:name='Appendix'">
+		<appendix>
+			<xsl:apply-templates/>
+		</appendix>
+	</xsl:when>
+	<xsl:otherwise>
+		<xsl:variable name="sectvar"><xsl:text>sect</xsl:text><xsl:value-of select="count(ancestor::text:section)+1"/></xsl:variable>	
+		<xsl:variable name="idvar"><xsl:text> id="</xsl:text><xsl:value-of select="@text:name"/><xsl:text>"</xsl:text></xsl:variable>
+		<xsl:text disable-output-escaping="yes">&lt;</xsl:text><xsl:value-of select="$sectvar"/><xsl:value-of select="$idvar"/><xsl:text  disable-output-escaping="yes">&gt;</xsl:text>
+			<xsl:apply-templates/>
+		<xsl:text disable-output-escaping="yes">&lt;/</xsl:text><xsl:value-of select="$sectvar"/><xsl:text  disable-output-escaping="yes">&gt;</xsl:text>
+	</xsl:otherwise>
+
+
+</xsl:choose>
+</xsl:template>
+
+<xsl:template name="ArticleInfo">
+	<xsl:param name="level"/>
+	<xsl:variable name="author"><xsl:value-of select="concat('articleinfo.author_','', $level)"/></xsl:variable>
+	<xsl:if test="text:p/text:variable-set[contains(@text:name, $author )]">
+		<xsl:call-template name="Author"><xsl:with-param name="AuthorLevel" select="0"/></xsl:call-template>
+		<xsl:call-template name="Copyright"><xsl:with-param name="CopyrightLevel" select="0"/></xsl:call-template>	
+	</xsl:if>	
+</xsl:template>
+
+<xsl:template name="Copyright">
+	<xsl:param name="CopyrightLevel"/>
+	
+	<xsl:variable name="Copyright"><xsl:value-of select="concat('articleinfo.copyright_','', $CopyrightLevel)"/></xsl:variable>
+	
+	<xsl:if test="text:p/text:variable-set[contains(@text:name,$Copyright)]">
+		<copyright>
+			<xsl:call-template name="Year">
+				<xsl:with-param name="CopyrightLevel" select="$CopyrightLevel"/>
+				<xsl:with-param name="YearlLevel" select="0"/>
+			</xsl:call-template>
+			<xsl:call-template name="Holder">
+				<xsl:with-param name="CopyrightLevel" select="$CopyrightLevel"/>
+				<xsl:with-param name="HolderlLevel" select="0"/>
+
+			</xsl:call-template>
+		</copyright>
+	</xsl:if>
+</xsl:template>
+
+
+<xsl:template name="Year">
+	<xsl:param name="CopyrightLevel"/>
+	<xsl:param name="YearLevel"/>
+	<xsl:variable name="Copyright"><xsl:value-of select="concat('articleinfo.copyright_','', $CopyrightLevel)"/></xsl:variable>
+<xsl:variable name="Year"><xsl:value-of select="concat($Copyright,'',concat('.year_','',$YearLevel))"/></xsl:variable>
+
+	<xsl:if test="text:p/text:variable-set[@text:name=$Year]">
+		<orgname>
+			<xsl:value-of select="text:p/text:variable-set[@text:name=$Year]"/>
+		</orgname>
+	</xsl:if>
+</xsl:template>
+
+
+<xsl:template name="Holder">
+	<xsl:param name="CopyrightLevel"/>
+	<xsl:param name="HolderLevel"/>
+	<xsl:variable name="Copyright"><xsl:value-of select="concat('articleinfo.copyright_','', $CopyrightLevel)"/></xsl:variable>
+<xsl:variable name="Holder"><xsl:value-of select="concat($Copyright,'',concat('.holder_','',$HolderLevel))"/></xsl:variable>
+
+	<xsl:if test="text:p/text:variable-set[@text:name=$Holder]">
+		<orgname>
+			<xsl:value-of select="text:p/text:variable-set[@text:name=$Holder]"/>
+		</orgname>
+	</xsl:if>
+</xsl:template>
+
+
+
+<xsl:template name="Author">
+	<xsl:param name="AuthorLevel"/>
+	<xsl:variable name="Author"><xsl:value-of select="concat('articleinfo.author_','', $AuthorLevel)"/></xsl:variable>	
+	<xsl:if test="text:p/text:variable-set[contains(@text:name, $Author )]">
+		<author>
+			<xsl:call-template name="Surname"><xsl:with-param name="AuthorLevel" select="$AuthorLevel"/><xsl:with-param name="SurnameLevel" select="0"/></xsl:call-template>
+			<xsl:call-template name="Firstname"><xsl:with-param name="AuthorLevel" select="$AuthorLevel"/><xsl:with-param name="FirstnameLevel" select="0"/></xsl:call-template>
+			<xsl:call-template name="Affiliation"><xsl:with-param name="AuthorLevel" select="$AuthorLevel"/><xsl:with-param name="AffilLevel" select="0"/></xsl:call-template>
+		</author>
+		<xsl:call-template name="Author"><xsl:with-param name="AuthorLevel" select="$AuthorLevel+1"/></xsl:call-template>
+	</xsl:if>	
+</xsl:template>
+
+
+<xsl:template name="Surname">
+	<xsl:param name="AuthorLevel"/>
+	<xsl:param name="SurnameLevel"/>
+	<xsl:variable name="Author"><xsl:value-of select="concat('articleinfo.author_','', $AuthorLevel)"/></xsl:variable>
+	<xsl:variable name="Surname"><xsl:value-of select="concat($Author,'',concat('.surname_','',$SurnameLevel))"/></xsl:variable>
+	<xsl:if test="text:p/text:variable-set[@text:name=$Surname]">
+		<surname>
+			<xsl:value-of select="text:p/text:variable-set[@text:name=$Surname]"/>
+		</surname>
+		<xsl:call-template name="Surname"><xsl:with-param name="AuthorLevel" select="$AuthorLevel"/>
+		<xsl:with-param name="SurnameLevel" select="SurnameLevel+1"/>
+		</xsl:call-template>
+
+	</xsl:if>
+</xsl:template>
+
+
+
+
+<xsl:template name="Firstname">
+	<xsl:param name="AuthorLevel"/>
+	<xsl:param name="FirstnameLevel"/>
+	<xsl:variable name="Author"><xsl:value-of select="concat('articleinfo.author_','', $AuthorLevel)"/></xsl:variable>
+	<xsl:variable name="Firstname"><xsl:value-of select="concat($Author,'',concat('.firstname_','',$FirstnameLevel))"/></xsl:variable>
+	<xsl:if test="text:p/text:variable-set[@text:name=$Firstname]">
+		<firstname>
+			<xsl:value-of select="text:p/text:variable-set[@text:name=$Firstname]"/>
+		</firstname>
+		<xsl:call-template name="Surname">
+			<xsl:with-param name="AuthorLevel" select="$AuthorLevel"/>
+			<xsl:with-param name="FirstnameLevel" select="FirstnameLevel+1"/>
+		</xsl:call-template>
+	</xsl:if>
+</xsl:template>
+
+
+
+<xsl:template name="Affiliation">
+	<xsl:param name="AuthorLevel"/>
+	<xsl:param name="AffilLevel"/>
+	<xsl:variable name="Author"><xsl:value-of select="concat('articleinfo.author_','', $AuthorLevel)"/></xsl:variable>
+	<xsl:variable name="Affil"><xsl:value-of select="concat($Author,'',concat('.affiliation_','',$AffilLevel))"/></xsl:variable>
+	<xsl:if test="text:p/text:variable-set[contains(@text:name,$Affil)]">
+		<affiliation>
+			<xsl:call-template name="Orgname">
+				<xsl:with-param name="AuthorLevel" select="$AuthorLevel"/>
+				<xsl:with-param name="AffilLevel" select="$AffilLevel"/><xsl:with-param name="OrgLevel" select="0"/>
+			</xsl:call-template>
+			<xsl:call-template name="Address">
+				<xsl:with-param name="AuthorLevel" select="$AuthorLevel"/>
+				<xsl:with-param name="AffilLevel" select="$AffilLevel"/><xsl:with-param name="AddressLevel" select="0"/>
+
+			</xsl:call-template>
+		</affiliation>
+	</xsl:if>
+</xsl:template>
+
+<xsl:template name="Orgname">
+	<xsl:param name="AuthorLevel"/>
+	<xsl:param name="AffilLevel"/>
+	<xsl:param name="OrgLevel"/>
+
+	<xsl:variable name="Author"><xsl:value-of select="concat('articleinfo.author_','', $AuthorLevel)"/></xsl:variable>
+<xsl:variable name="Affil"><xsl:value-of select="concat($Author,'',concat('.affiliation_','',$AffilLevel))"/></xsl:variable>
+	<xsl:variable name="Org"><xsl:value-of select="concat($Affil,'',concat('.orgname_','',$OrgLevel))"/></xsl:variable>
+
+	<xsl:if test="text:p/text:variable-set[@text:name=$Org]">
+		<orgname>
+			<xsl:value-of select="text:p/text:variable-set[@text:name=$Org]"/>
+		</orgname>
+	</xsl:if>
+</xsl:template>
+
+<xsl:template name="Address">
+	<xsl:param name="AuthorLevel"/>
+	<xsl:param name="AffilLevel"/>
+	<xsl:param name="AddressLevel"/>
+
+	<xsl:variable name="Author"><xsl:value-of select="concat('articleinfo.author_','', $AuthorLevel)"/></xsl:variable>
+<xsl:variable name="Affil"><xsl:value-of select="concat($Author,'',concat('.affiliation_','',$AffilLevel))"/></xsl:variable>
+	<xsl:variable name="Address"><xsl:value-of select="concat($Affil,'',concat('.address_','',$AddressLevel))"/></xsl:variable>
+
+	<xsl:if test="text:p/text:variable-set[@text:name=$Address]">
+		<address>
+			<xsl:value-of select="text:p/text:variable-set[@text:name=$Address]"/>
+		</address>
+	</xsl:if>
+</xsl:template>
+
+
+
+
+<xsl:template match="text:p[@text:style-name='Document Title']">
+</xsl:template>
+
+<xsl:template match="text:p[@text:style-name='Document SubTitle']">
+</xsl:template>
+
+
+<xsl:template match="text:p[@text:style-name='Section Title']">
+	<title>
+		<xsl:apply-templates/>
+	</title>
+</xsl:template>
+
+<xsl:template match="text:p[@text:style-name='Appendix Title']">
+	<title>
+		<xsl:apply-templates/>
+	</title>
+</xsl:template>
+
+
+<xsl:template match="text:p[@text:style-name='VarList Item']">
+	<xsl:if test="not(preceding-sibling::text:p[@text:style-name='VarList Item'])">
+		<xsl:text disable-output-escaping="yes">&lt;listitem&gt;</xsl:text>
+	</xsl:if>
+		<para>
+			<xsl:apply-templates/>
+		</para>
+	<xsl:if test="not(following-sibling::text:p[@text:style-name='VarList Item'])">
+		<xsl:text disable-output-escaping="yes">&lt;/listitem&gt;</xsl:text>
+	</xsl:if>
+</xsl:template>
+
+<xsl:template match="text:p[@text:style-name='VarList Term']">
+	<term>
+			<xsl:apply-templates/>
+	</term>
+</xsl:template>
+
+<xsl:template match="text:p[@text:style-name='Section1 Title']">
+	<title>
+		<xsl:apply-templates/>
+	</title>
+</xsl:template>
+
+
+<xsl:template match="text:p[@text:style-name='Section2 Title']">
+	<title>
+		<xsl:apply-templates/>
+	</title>
+</xsl:template>
+
+
+<xsl:template match="text:p[@text:style-name='Section3 Title']">
+	<title>
+		<xsl:apply-templates/>
+	</title>
+</xsl:template>
+
+<xsl:template match="text:footnote-citation">
+</xsl:template>
+
+<xsl:template match="text:p[@text:style-name='Mediaobject']">
+	<mediaobject>
+		<xsl:apply-templates/>
+	</mediaobject>
+</xsl:template>
+
+<xsl:template match="office:annotation/text:p">
+	<note>
+	<remark>
+		<xsl:apply-templates/>
+	</remark>
+	</note>
+</xsl:template>
+
+<!--<xsl:template match="meta:initial-creator">
+	<author>
+	<xsl:apply-templates />
+		</author>
+</xsl:template>-->
+
+<xsl:template match="table:table">
+	<xsl:choose>
+		<xsl:when test="following-sibling::text:p[@text:style-name='Table']">
+			<table frame="all">
+				 <xsl:attribute name="id">
+					<xsl:value-of select="@table:name"/>
+				</xsl:attribute>
+				<title>
+					<xsl:value-of select="following-sibling::text:p[@text:style-name='Table']"/>
+				</title>
+				<xsl:call-template name="generictable"/>
+			</table>
+		</xsl:when>
+		<xsl:otherwise>
+			<informaltable frame="all">
+				<xsl:call-template name="generictable"/>
+			</informaltable>
+		</xsl:otherwise>
+	</xsl:choose>
+</xsl:template>
+
+
+<xsl:template name="generictable">
+			<xsl:variable name="cells" select="count(descendant::table:table-cell)" ></xsl:variable>
+			<xsl:variable name="rows"><xsl:value-of select="count(descendant::table:table-row) "/></xsl:variable>
+			<xsl:variable name="cols"><xsl:value-of select="$cells div $rows"/></xsl:variable>
+			<xsl:variable name="numcols">
+			<xsl:choose>
+					<xsl:when test="child::table:table-column/@table:number-columns-repeated">
+							<xsl:value-of select="number(table:table-column/@table:number-columns-repeated+1)"/>
+					</xsl:when>
+					<xsl:otherwise >
+							<xsl:value-of select="$cols"/>
+					</xsl:otherwise>
+			</xsl:choose>
+		</xsl:variable>
+		<xsl:element name="tgroup">
+			<xsl:attribute name="cols">
+						<xsl:value-of select="$numcols"/>
+			</xsl:attribute>	
+			<xsl:call-template name="colspec"><xsl:with-param name="left" select="1" /></xsl:call-template>
+				<xsl:apply-templates/>
+		</xsl:element>
+</xsl:template>
+
+
+
+<xsl:template name="colspec">
+	<xsl:param name="left"/>
+	<xsl:if test="number($left &lt; ( table:table-column/@table:number-columns-repeated +2)  )">
+			<xsl:element name="colspec">
+				<xsl:attribute name="colnum"><xsl:value-of select="$left"/></xsl:attribute>
+				<xsl:attribute name="colname">c<xsl:value-of select="$left"/></xsl:attribute>
+			</xsl:element>
+			<xsl:call-template name="colspec"><xsl:with-param name="left" select="$left+1" /></xsl:call-template>
+	</xsl:if>
+</xsl:template>
+
+
+
+<xsl:template match="table:table-column">
+		<xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="table:table-header-rows">
+	<thead>
+		<xsl:apply-templates/>
+	</thead>	
+</xsl:template>
+
+<xsl:template match="table:table-header-rows/table:table-row">
+	<row>
+		<xsl:apply-templates />
+	</row>
+</xsl:template>
+
+<xsl:template match="table:table/table:table-row">
+	<xsl:if test="not(preceding-sibling::table:table-row)">
+		<xsl:text disable-output-escaping="yes">&lt;tbody&gt;</xsl:text>
+	</xsl:if>
+	<row>
+		<xsl:apply-templates />
+	</row>
+		<xsl:if test="not(following-sibling::table:table-row)">
+		<xsl:text disable-output-escaping="yes">&lt;/tbody&gt;</xsl:text>
+	</xsl:if>
+</xsl:template>
+
+<xsl:template match="table:table-cell">
+ <xsl:element name="entry">
+ 		<xsl:if test="@table:number-columns-spanned >'1'">
+			<xsl:attribute name="namest"><xsl:value-of select="concat('c',count(preceding-sibling::table:table-cell[not(@table:number-columns-spanned)]) +sum(preceding-sibling::table:table-cell/@table:number-columns-spanned)+1)"/></xsl:attribute>
+			<xsl:attribute name="nameend"><xsl:value-of select="concat('c',count(preceding-sibling::table:table-cell[not(@table:number-columns-spanned)]) +sum(preceding-sibling::table:table-cell/@table:number-columns-spanned)+ @table:number-columns-spanned)"/></xsl:attribute>
+		</xsl:if>
+		<xsl:apply-templates />
+	</xsl:element>
+</xsl:template>
+
+<xsl:template match="text:p">
+<xsl:choose>
+	<xsl:when test="@text:style-name='Table'">
+	</xsl:when>
+	<xsl:otherwise>
+		<para>		
+			<xsl:apply-templates/>
+		</para>
+	</xsl:otherwise>
+</xsl:choose>
+</xsl:template>
+
+<xsl:template match="text:unordered-list">
+	<xsl:if test="@text:style-name='Var List'">
+		<variablelist>
+			<xsl:apply-templates/>
+		</variablelist>
+	</xsl:if>
+	<xsl:if test="@text:style-name='UnOrdered List'">
+	<itemizedlist>
+		<title></title>
+		<xsl:apply-templates/>
+	</itemizedlist>
+	</xsl:if>
+</xsl:template>
+
+<xsl:template match="text:list-item">
+	<xsl:if test="parent::text:unordered-list/@text:style-name='Var List'">
+		<varlistentry>
+			<xsl:for-each select="text:p[@text:style-name='VarList Term']">
+						<xsl:apply-templates select="."/>
+			</xsl:for-each>
+		</varlistentry>
+	</xsl:if>
+	<xsl:if test="not(parent::text:unordered-list/@text:style-name='Var List')">
+		<listitem>
+			<xsl:apply-templates/>
+		</listitem>
+	</xsl:if>
+</xsl:template>
+
+
+
+
+
+<xsl:template match="dc:title">
+</xsl:template>
+
+<xsl:template match="dc:description">
+	<abstract><para>
+		<xsl:apply-templates/>
+		</para>
+	</abstract>
+</xsl:template>
+
+<xsl:template match="dc:subject">
+</xsl:template>
+
+
+<xsl:template match="meta:generator">
+</xsl:template>
+
+<xsl:template match="draw:plugin">
+<xsl:element name="audioobject">
+	<xsl:attribute name="fileref">
+		<xsl:value-of select="@xlink:href"/>
+	</xsl:attribute>
+	<xsl:attribute name="width">
+	</xsl:attribute>
+</xsl:element>
+</xsl:template>
+
+<xsl:template match="text:footnote">
+	<footnote>
+		<xsl:apply-templates/>
+	</footnote>
+</xsl:template>
+
+<xsl:template match="text:footnote-body">
+		<xsl:apply-templates/>
+</xsl:template>
+
+
+
+<xsl:template match="draw:image">
+<xsl:choose>
+	<xsl:when test="parent::text:p[@text:style-name='Mediaobject']">
+		<xsl:element name="imageobject">
+			<xsl:element name="imagedata">
+			<xsl:attribute name="fileref">
+				<xsl:value-of select="@xlink:href"/>
+			</xsl:attribute>
+			</xsl:element>
+			<xsl:element name="caption">
+				<xsl:value-of select="."/>
+			</xsl:element>
+		</xsl:element>
+	</xsl:when>
+	<xsl:otherwise>
+		<xsl:element name="inlinegraphic">
+			<xsl:attribute name="fileref">
+				<xsl:value-of select="@xlink:href"/>
+			</xsl:attribute>
+			<xsl:attribute name="width"></xsl:attribute>
+		</xsl:element>
+	</xsl:otherwise>
+</xsl:choose>
+</xsl:template>
+
+
+
+
+
+<xsl:template match="text:span">
+
+	<xsl:if test="./@text:style-name='GuiMenu'">
+		<xsl:element name="guimenu">
+			<xsl:value-of select="."/>	
+		</xsl:element>
+	</xsl:if>
+	<xsl:if test="./@text:style-name='GuiSubMenu'">
+		<xsl:element name="guisubmenu">
+			<xsl:value-of select="."/>	
+		</xsl:element>
+	</xsl:if>
+		<xsl:if test="@text:style-name='GuiMenuItem'">
+		<xsl:element name="guimenuitem">
+			<xsl:value-of select="."/>	
+		</xsl:element>
+	</xsl:if>
+	<xsl:if test="@text:style-name='GuiButton'">
+		<xsl:element name="guibutton">
+			<xsl:value-of select="."/>	
+		</xsl:element>
+	</xsl:if>
+		<xsl:if test="@text:style-name='GuiButton'">
+		<xsl:element name="guibutton">
+			<xsl:value-of select="."/>	
+		</xsl:element>
+	</xsl:if>
+	<xsl:if test="@text:style-name='GuiLabel'">
+		<xsl:element name="guilabel">
+			<xsl:value-of select="."/>	
+		</xsl:element>
+	</xsl:if>
+	<xsl:if test="@text:style-name='Emphasis'">
+		<xsl:element name="emphasis">
+			<xsl:value-of select="."/>	
+		</xsl:element>
+	</xsl:if>
+	<xsl:if test="@text:style-name='FileName'">
+		<xsl:element name="filename">
+			<xsl:value-of select="."/>	
+		</xsl:element>
+	</xsl:if>
+	<xsl:if test="@text:style-name='Application'">
+		<xsl:element name="application">
+			<xsl:value-of select="."/>	
+		</xsl:element>
+	</xsl:if>
+	<xsl:if test="@text:style-name='Command'">
+		<command>
+			<xsl:apply-templates/>
+		</command>
+	</xsl:if>
+	<xsl:if test="@text:style-name='SubScript'">
+		<subscript>
+			<xsl:apply-templates/>
+		</subscript>
+	</xsl:if>
+	<xsl:if test="@text:style-name='SuperScript'">
+		<superscript>
+			<xsl:apply-templates/>
+		</superscript>
+	</xsl:if>
+	<xsl:if test="@text:style-name='SystemItem'">
+		<systemitem>
+			<xsl:apply-templates/>
+		</systemitem>
+	</xsl:if>
+	<xsl:if test="@text:style-name='ComputerOutput'">
+		<computeroutput>
+			<xsl:apply-templates/>
+		</computeroutput>
+	</xsl:if>
+	<xsl:if test="@text:style-name='Highlight'">
+		<highlight>
+			<xsl:apply-templates/>
+		</highlight>
+	</xsl:if>
+		<xsl:if test="@text:style-name='KeyCap'">
+		<keycap>
+			<xsl:apply-templates/>
+		</keycap>
+	</xsl:if>
+	<xsl:if test="@text:style-name='KeySym'">
+		<xsl:element name="keysym">
+			<xsl:apply-templates/>
+		</xsl:element>
+	</xsl:if>
+	<xsl:if test="@text:style-name='KeyCombo'">
+		<keycombo>
+			<xsl:apply-templates/>
+		</keycombo>
+	</xsl:if>
+</xsl:template>
+
+
+<xsl:template match="text:a">
+	<xsl:choose>
+		<xsl:when test="contains(@xlink:href,'://')">
+			<xsl:element name="ulink">
+				<xsl:attribute name="url">
+					<xsl:value-of select="@xlink:href"/>
+				</xsl:attribute>
+				<xsl:apply-templates/>
+			</xsl:element>
+		</xsl:when>
+		<xsl:when test="not(contains(@xlink:href,'#'))">
+			<xsl:element name="olink">
+				<xsl:attribute name="targetdocent">
+					<xsl:value-of select="@xlink:href"/>
+				</xsl:attribute>
+				<xsl:apply-templates/>
+			</xsl:element>
+		</xsl:when>
+		<xsl:otherwise>
+		<xsl:variable name="linkvar" select="substring-after(@xlink:href,'#')"/>
+			<xsl:element name="link">
+				<xsl:attribute name="linkend">
+					<xsl:value-of select="substring-before($linkvar,'%')"/>	
+				</xsl:attribute>
+				<xsl:apply-templates/>
+			</xsl:element>
+		</xsl:otherwise>
+	</xsl:choose>
+</xsl:template>
+
+
+</xsl:stylesheet>
\ No newline at end of file



Mime
View raw message