incubator-odf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robw...@apache.org
Subject svn commit: r802774 - in /websites/production/odftoolkit: ./ content/odftoolkit/simple/demo/demo7.html
Date Tue, 17 Jan 2012 00:35:09 GMT
Author: robweir
Date: Tue Jan 17 00:35:08 2012
New Revision: 802774

Log:
Publishing merge to odftoolkit site by robweir

Modified:
    websites/production/odftoolkit/   (props changed)
    websites/production/odftoolkit/content/odftoolkit/simple/demo/demo7.html

Propchange: websites/production/odftoolkit/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Jan 17 00:35:08 2012
@@ -1 +1 @@
-/websites/staging/odftoolkit/trunk:794771-802729
+/websites/staging/odftoolkit/trunk:794771-802773

Modified: websites/production/odftoolkit/content/odftoolkit/simple/demo/demo7.html
==============================================================================
--- websites/production/odftoolkit/content/odftoolkit/simple/demo/demo7.html (original)
+++ websites/production/odftoolkit/content/odftoolkit/simple/demo/demo7.html Tue Jan 17 00:35:08
2012
@@ -121,7 +121,7 @@ There are two methods in the class, <cod
 </pre></div>
 
 
-<p>Below is the source code of method <code>createFieldTemplate()</code>.
The basic process is find the variable content and replace it with a field. We use <code>FixedDateField</code>,
<code>UserVariableField</code>, <code>ConditionField</code> and <code>HiddenTextField</code>
in this method. Simple ODF API provides more types of fields. For more information, please
reference the <a href="../javadoc/index.html">Javadoc</a> or <a href="../cookbook/index.html">CookBook</a>.<br
/>
+<p>Below is the source code of method <code>createFieldTemplate()</code>.
The basic process is find the variable content and replace it with a field. We use <code>FixedDateField</code>,
<code>UserVariableField</code>, <code>ConditionField</code> and <code>HiddenTextField</code>
in this method. Simple ODF API provides more types of fields. For more information, please
reference the <a href="../document/javadoc/index.html">Javadoc</a> or <a href="../document/cookbook/index.html">CookBook</a>.<br
/>
 </p>
 <div class="codehilite"><pre><span class="n">public</span> <span
class="n">static</span> <span class="n">void</span> <span class="n">createFieldTemplate</span><span
class="p">()</span> <span class="n">throws</span> <span class="n">Exception</span>
<span class="p">{</span>
     <span class="n">TextDocument</span> <span class="n">sampleDocument</span>
<span class="o">=</span> <span class="n">TextDocument</span><span
class="o">.</span><span class="n">loadDocument</span><span class="p">(</span><span
class="s">&quot;Tom&#39;s Offer.odt&quot;</span><span class="p">);</span>



Mime
View raw message