incubator-odf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r794944 - /websites/staging/odftoolkit/trunk/content/odftoolkit/simple/PackageLayer.html
Date Fri, 26 Aug 2011 20:30:23 GMT
Author: buildbot
Date: Fri Aug 26 20:30:23 2011
New Revision: 794944

Log:
Staging update by buildbot

Modified:
    websites/staging/odftoolkit/trunk/content/odftoolkit/simple/PackageLayer.html

Modified: websites/staging/odftoolkit/trunk/content/odftoolkit/simple/PackageLayer.html
==============================================================================
--- websites/staging/odftoolkit/trunk/content/odftoolkit/simple/PackageLayer.html (original)
+++ websites/staging/odftoolkit/trunk/content/odftoolkit/simple/PackageLayer.html Fri Aug
26 20:30:23 2011
@@ -21,7 +21,7 @@
 
 <link href="/odftoolkit/css/odf.css" rel="stylesheet" type="text/css">
 
-<title></title>
+<title>Package Layer</title>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
 </head>
@@ -77,108 +77,147 @@
   </div>
   <div id="contenta">
   
-    
-    <p>==Package Description==</p>
-<p>The Simple Java API for ODF focuses on the high level methods development. It has
three layers:
-<em>'''Feature Layer''' provides convenient methods for features in ODF documents,
for example, table, style, metadata. It has several packages, e.g. ''org.odftoolkit.simple.table'',
''org.odftoolkit.simple.presentation''. Each package is either related with a specific document
type or related with a common feature.
-</em>'''Document Layer''' has classes defined for each document type, for example,
TextDocument, PresentationDocument, SpreadsheetDocument. The root package is in this layer.
-*'''Business Layer''' provides more high level methods which are driven from business scenarios.
These methods are not related with a document type nor a common feature. The package ''org.odftoolkit.simple.common''
package is in this layer.</p>
-<p>Following diagram shows the structure of Simple Java API for ODF. The yellow boxes
represent packages. The root package is ''org.odftoolkit.simple''. The other packages are
under the root package, and the name has eliminated ''org.odftoolkit.simple''.</p>
-<p>[[image:simple_odf_structure.jpg]]</p>
-<p>==<span id="APIchanges">API changes from ODFDOM</span>==</p>
-<p>The Simple Java API has corresponding classes for the document layer of ODFDOM.
Follow table shows the mapping between ODFDOM and Simple Java API.</p>
-<p>Note: The first column "ODFDOM Package" is relative to "org.odftoolkit.odfdom",
and the third column "Simple Package" is relative to "org.odftoolkit.simple".</p>
-<p>{|- border="1"
-!ODFDOM Package
-!ODFDOM Class
-!Simple Package
-!Simple Class
-|-
-|doc
-|OdfDocument
-|(root)
-|Document
-|-
-|
-|OdfTextDocument
-|
-|TextDocument
-|-
-|
-|OdfSpreadsheetDocument
-|
-|SpreadsheetDocument
-|-
-|
-|OdfPresentationDocument
-|
-|PresentationDocument
-|-
-|
-|OdfChartDocument
-|
-|ChartDocument
-|-
-|
-|OdfGraphicsDocument
-|
-|GraphicsDocument
-|-
-|doc.table
-|OdfTable
-|table
-|Table
-|-
-|
-|OdfTableRow
-|
-|Row
-|-
-|
-|OdfTableColumn
-|
-|Column
-|-
-|
-|OdfTableCell
-|
-|Cell
-|-
-|
-|OdfTableCellRange
-|
-|CellRange
-|-
-|doc.presentation
-|OdfSlide
-|presentation
-|Slide
-|-
-|
-|OdfPresentationNotes
-|
-|Notes
-|-
-|incubator.meta
-|OdfOfficeMeta
-|meta
-|Meta
-|-
-|
-|OdfMetaDocumentStatistic
-|
-|DocumentStatistic
-|-
-|incubator.search
-|
-|common.navigation
-|
-|-
-|incubator.doc.text
-|
-|common
-|
-|}</p>
+    <h1 class="title">Package Layer</h1>
+    <h2 id="package_description">Package Description</h2>
+<p>The Simple Java API for ODF focuses on the high level methods development. 
+It has three layers:</p>
+<ol>
+<li><strong>Feature Layer</strong> provides convenient methods for features
in ODF documents, for example, table, style, metadata. It has several
+    packages, e.g. <em>org.odftoolkit.simple.table</em>,
+    ''org.odftoolkit.simple.presentation''. Each package is either
+    related with a specific document type or related with a common
+    feature.</li>
+<li><strong>Document Layer</strong> has classes defined for each document
type, for example, TextDocument, PresentationDocument,
+    SpreadsheetDocument. The root package is in this layer.</li>
+<li><strong>Business Layer</strong> provides more high level methods which
are driven from business scenarios. These methods are not related with a
+    document type nor a common feature. The package
+    <em>org.odftoolkit.simple.common</em> package is in this layer.</li>
+</ol>
+<p>Following diagram shows the structure of Simple Java API for ODF. The yellow 
+boxes represent packages. The root package is <em>org.odftoolkit.simple</em>.
The 
+other packages are under the root package, and the name has eliminated 
+<em>org.odftoolkit.simple</em>.</p>
+<p><img alt="Layers of ODF Toolkit" src="simple_odf_structure.jpg" /></p>
+<h2 id="api_changes_from_odfdom">API changes from ODFDOM</h2>
+<p>The Simple Java API has corresponding classes for the document layer of 
+ODFDOM. Follow table shows the mapping between ODFDOM and Simple Java API.</p>
+<p>Note: The first column "ODFDOM Package" is relative to 
+"org.odftoolkit.odfdom", and the third column "Simple Package" is relative 
+to "org.odftoolkit.simple".</p>
+<table>
+<thead>
+<tr>
+<th>ODFDOM Package</th>
+<th>ODFDOM Class</th>
+<th>Simple Package</th>
+<th>Simple Class</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td />
+<td>OdfTextDocument</td>
+<td>TextDocument</td>
+<td />
+</tr>
+<tr>
+<td />
+<td>OdfPresentationDocument</td>
+<td />
+<td>PresentationDocument</td>
+</tr>
+<tr>
+<td />
+<td>OdfChartDocument</td>
+<td />
+<td>ChartDocument</td>
+</tr>
+<tr>
+<td />
+<td>OdfGraphicsDocument</td>
+<td />
+<td>GraphicsDocument</td>
+</tr>
+<tr>
+<td />
+<td>OdfTableRow</td>
+<td />
+<td />
+</tr>
+<tr>
+<td />
+<td>OdfTableColumn</td>
+<td />
+<td />
+</tr>
+<tr>
+<td />
+<td>OdfTableCell</td>
+<td />
+<td />
+</tr>
+<tr>
+<td />
+<td>OdfTableCellRange</td>
+<td />
+<td />
+</tr>
+<tr>
+<td />
+<td>OdfMetaDocumentStatistic</td>
+<td />
+<td />
+</tr>
+<tr>
+<td>OdfPresentationNotes</td>
+<td />
+<td />
+<td />
+</tr>
+<tr>
+<td>OdfSpreadsheetDocument</td>
+<td />
+<td>SpreadsheetDocument</td>
+<td />
+</tr>
+<tr>
+<td>doc</td>
+<td>OdfDocument</td>
+<td>(root)</td>
+<td>Document</td>
+</tr>
+<tr>
+<td>doc.presentation</td>
+<td>OdfSlide</td>
+<td>presentation</td>
+<td />
+</tr>
+<tr>
+<td>doc.table</td>
+<td>OdfTable</td>
+<td>table</td>
+<td>Table</td>
+</tr>
+<tr>
+<td>incubator.doc.text</td>
+<td />
+<td />
+<td />
+</tr>
+<tr>
+<td>incubator.meta</td>
+<td>OdfOfficeMeta</td>
+<td>meta</td>
+<td />
+</tr>
+<tr>
+<td>incubator.search</td>
+<td />
+<td />
+<td />
+</tr>
+</tbody>
+</table>
   </div>
 
   <div id="footera">



Mime
View raw message