incubator-odf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From devin...@apache.org
Subject svn commit: r803785 - in /websites/production/odftoolkit: ./ content/odftoolkit/odfdom/index.html content/odftoolkit/simple/index.html
Date Thu, 02 Feb 2012 08:51:37 GMT
Author: devinhan
Date: Thu Feb  2 08:51:36 2012
New Revision: 803785

Log:
Publishing merge to odftoolkit site by devinhan

Modified:
    websites/production/odftoolkit/   (props changed)
    websites/production/odftoolkit/content/odftoolkit/odfdom/index.html
    websites/production/odftoolkit/content/odftoolkit/simple/index.html

Propchange: websites/production/odftoolkit/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Feb  2 08:51:36 2012
@@ -1 +1 @@
-/websites/staging/odftoolkit/trunk:794771-803781
+/websites/staging/odftoolkit/trunk:794771-803784

Modified: websites/production/odftoolkit/content/odftoolkit/odfdom/index.html
==============================================================================
--- websites/production/odftoolkit/content/odftoolkit/odfdom/index.html (original)
+++ websites/production/odftoolkit/content/odftoolkit/odfdom/index.html Thu Feb  2 08:51:36
2012
@@ -83,6 +83,18 @@
     <p>ODFDOM is a free OpenDocument Format (ODF) library. Its purpose is to provide
an easy common way to create, access and manipulate ODF files, without requiring detailed
knowledge of the ODF specification. It is designed to provide the ODF developer community
with an easy lightwork programming API portable to any object-oriented language. </p>
 <p>The current reference implementation is written in Java.</p>
 <p>To learn more about the project's architecture, refer to the <a href="ProjectOverview.html">project
overview</a> and the <a href="Layers.html">ODFDOM Layers</a> section.</p>
+<h2 id="quickstart">Quickstart</h2>
+<p>Put the odfdom.jar file in your classpath. You will need <a href="http://xml.apache.org/dist/xerces-j/">Apache
Xerces-J</a> as XML parser and DOM implementation as well. Start with the following
sample code to create a simple text document.  <br />
+</p>
+<div class="codehilite"><pre><span class="sr">//</span> <span
class="n">Create</span> <span class="n">a</span> <span class="n">text</span>
<span class="n">document</span> <span class="n">from</span> <span
class="n">a</span> <span class="n">standard</span> <span class="n">template</span>
<span class="p">(</span><span class="n">empty</span> <span class="n">documents</span>
<span class="n">within</span> <span class="n">the</span> <span
class="n">JAR</span><span class="p">)</span>  
+<span class="n">OdfTextDocument</span> <span class="n">odt</span>
<span class="o">=</span> <span class="n">OdfTextDocument</span><span
class="o">.</span><span class="n">newTextDocument</span><span class="p">();</span>
 
+<span class="sr">//</span> <span class="n">Append</span> <span
class="n">text</span> <span class="n">to</span> <span class="n">the</span>
<span class="n">end</span> <span class="n">of</span> <span class="n">the</span>
<span class="n">document</span><span class="o">.</span>   
+<span class="n">odt</span><span class="o">.</span><span class="n">addText</span><span
class="p">(</span><span class="s">&quot;This is my very first ODF test&quot;</span><span
class="p">);</span>  
+<span class="sr">//</span> <span class="n">Save</span> <span class="n">document</span>
 
+<span class="n">odt</span><span class="o">.</span><span class="n">save</span><span
class="p">(</span><span class="s">&quot;MyFilename.odt&quot;</span><span
class="p">);</span>
+</pre></div>
+
+
 <h2 id="the-earlier-release">The Earlier Release</h2>
 <p><strong>ODFDOM 0.8.7</strong></p>
 <p>ODFDOM 0.8.7 was on Feb 16th 2011. Major enhancements are coming with this version:
    <br />
@@ -109,24 +121,12 @@
 </li>
 </ul>
 <p>For information on working with the source code, please refer to <a href="Development.html">the
development section</a>. </p>
-<h2 id="quickstart">Quickstart</h2>
-<p>Put the odfdom.jar file in your classpath. You will need <a href="http://xml.apache.org/dist/xerces-j/">Apache
Xerces-J</a> as XML parser and DOM implementation as well. Start with the following
sample code to create a simple text document.  <br />
-</p>
-<div class="codehilite"><pre><span class="sr">//</span> <span
class="n">Create</span> <span class="n">a</span> <span class="n">text</span>
<span class="n">document</span> <span class="n">from</span> <span
class="n">a</span> <span class="n">standard</span> <span class="n">template</span>
<span class="p">(</span><span class="n">empty</span> <span class="n">documents</span>
<span class="n">within</span> <span class="n">the</span> <span
class="n">JAR</span><span class="p">)</span>  
-<span class="n">OdfTextDocument</span> <span class="n">odt</span>
<span class="o">=</span> <span class="n">OdfTextDocument</span><span
class="o">.</span><span class="n">newTextDocument</span><span class="p">();</span>
 
-<span class="sr">//</span> <span class="n">Append</span> <span
class="n">text</span> <span class="n">to</span> <span class="n">the</span>
<span class="n">end</span> <span class="n">of</span> <span class="n">the</span>
<span class="n">document</span><span class="o">.</span>   
-<span class="n">odt</span><span class="o">.</span><span class="n">addText</span><span
class="p">(</span><span class="s">&quot;This is my very first ODF test&quot;</span><span
class="p">);</span>  
-<span class="sr">//</span> <span class="n">Save</span> <span class="n">document</span>
 
-<span class="n">odt</span><span class="o">.</span><span class="n">save</span><span
class="p">(</span><span class="s">&quot;MyFilename.odt&quot;</span><span
class="p">);</span>
-</pre></div>
-
-
 <h2 id="documentation">Documentation</h2>
 <p>A good starting point is reading <a href="ProjectOverview.html">the project
overview</a> and <a href="Layers.html">the ODFDOM Layers</a> will help you
to get an overview over the ODFDOM package structure. </p>
 <p>Javadocs are <a href="http://odfdom.odftoolkit.org/0.8.7/odfdom/apidocs/">viewable
online</a> or <a href="https://oss.sonatype.org/content/groups/public/org/odftoolkit/odfdom-java/">downloadable
as bundle</a> from the official Maven repository.</p>
 <p>There are <a href="http://www.langintro.com/odfdom_tutorials/">David's ODFDOM
tutorials</a>. You'll find an introduction as well as sample code for creating text
and spreadsheet documents. (Note: The tutorials might not yet be adapted to the latest version).</p>
 <p>When meeting with questions, check if <a href="FrequentQuestions.html">FAQs</a>
can help you.</p>
-<p><strong>How to Participate</strong></p>
+<h2 id="how-to-participate">How to Participate</h2>
 <p>There are many ways to participate and we're always looking for contributors. Just
on the Apache ODF Toolkit Project and afterwards watch this project. Then you may want to
start with reading and posting on the <a href="mailto:odf-users@incubator.apache.org">mailing
lists</a> or report bugs or write documentation.</p>
 <p>If you're a developer, just dive into <a href="Development.html">the development
section</a>. Here you find information on where to access the source code and how to
set up a build environment.</p>
 <p>You can contact us by IRC "<a href="irc://irc.freenode.org/odfdom">irc://irc.freenode.org/odfdom</a>".</p>

Modified: websites/production/odftoolkit/content/odftoolkit/simple/index.html
==============================================================================
--- websites/production/odftoolkit/content/odftoolkit/simple/index.html (original)
+++ websites/production/odftoolkit/content/odftoolkit/simple/index.html Thu Feb  2 08:51:36
2012
@@ -80,17 +80,7 @@
   <div id="contenta">
   
     <h1 class="title">Apache ODF Toolkit(Incubating) - Simple API </h1>
-    <h2 id="news">News!</h2>
-<p><strong>Simple API Release 0.6.6</strong></p>
-<p>We are pleased to announce the release of Simple API version 0.6.6 on Auguest 12th.
The improvements in this version include:</p>
-<ul>
-<li>Two critical bugs in the Navigation API are fixed, as well as several other issues.
<br />
-</li>
-<li>Page columns, a page layout feature in text documents, are supported. </li>
-<li>Unit test coverage rate increased. This work improves the stability of our API.</li>
-</ul>
-<p>You can download it <a href="downloads.html">here</a>. The full release
notes can be found <a href="document/ReleaseNotes.html">here</a>. </p>
-<h2 id="what-is-simple-api">What is Simple API?</h2>
+    <h2 id="what-is-simple-api">What is Simple API?</h2>
 <p>Simple API, also called Simple Java API for ODF, is a sub-project of ODF Toolkit
Union. This is an <strong>easy-to-use</strong>, <strong>high-level</strong>
Java API for creating, modifying and extracting data from <a href="http://en.wikipedia.org/wiki/OpenDocument">Open
Document Format (ODF)</a> documents. It is written in pure Java and does not require
users to install any document editor on their systems. It is a high level abstraction of the
lower-level <a href="../odfdom/index.html">ODFDOM API</a>.</p>
 <h2 id="what-can-i-do-with-simple-api">What can I do with Simple API?</h2>
 <p>We provide lots of interesting demos to show the ability of Simple API. You can
see the <a href="demo/index.html">demo page</a>.</p>



Mime
View raw message