incubator-odf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From devin...@apache.org
Subject svn commit: r1165581 [1/2] - /incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/
Date Tue, 06 Sep 2011 09:51:14 GMT
Author: devinhan
Date: Tue Sep  6 09:51:13 2011
New Revision: 1165581

URL: http://svn.apache.org/viewvc?rev=1165581&view=rev
Log:
update cookbook

Added:
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/index.html
Modified:
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Cell Range.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Cell.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Charts.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Column and Row.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Fields.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate Cell Range.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate Cell.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate Columns and Rows.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate Metadata.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate Presentation.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate Slide.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate Table.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate Text Document.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate TextSearch.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Presentation Document.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Slide.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Style Handling.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Table.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Text Document.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/TextExtractor.html
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/index.mdtext

Modified: incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Cell Range.html
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Cell%20Range.html?rev=1165581&r1=1165580&r2=1165581&view=diff
==============================================================================
--- incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Cell Range.html (original)
+++ incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Cell Range.html Tue Sep  6 09:51:13 2011
@@ -1,40 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Cell Range</title>
- <link type="text/css" rel="stylesheet" href="cookbook.css"/>
-<link rel="stylesheet" href="../images/style.css" type="text/css" />
-<script type="text/javascript">
-
-var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-22366020-1']);
-_gaq.push(['_trackPageview']);
-
-(function() {
-var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-})();
-
-</script>
-</head>
-<body>
-<div id="page" align="center">
-<div id="content" style="width:920px" class="contentpanel">
-<div id="topheader">
-<div class="topright"> </div>
-</div>
-<div id="menu">
-<div align="left" class="smallwhitetext"> <a href="../index.html" class="home"> </a> <a href="../downloads.html" class="download"></a> <a href="../documents.html" class="document"></a> <a href="../demo/index.html" class="sample"> </a> </div>
-</div>
-<div id="subcontent" align ="left">
-<div align="left" class="titletext"> <span >
-<a href="../documents.html">Documents</a> > 
-<a href="index.html">Cookbook</a> ><a href="Cell Range.html">Cell Range</a>
-</span>
-</div>
+<strong><a href="../index.html">Documents</a></strong> > <strong><a href="index.html">Cookbook</a></strong> ><strong><a href="Cell Range.html">Cell Range</a></strong>
 <div class="navigation">
  <ul>
   <li><a href="Cell.html">previous</a></li>
@@ -42,11 +6,8 @@ var s = document.getElementsByTagName('s
  </ul>
 </div>
 <br/>
-<div class="contenttitle" id="Get CellRange">
-<br/>
-<a href="#Get CellRange" >Get CellRange</a>
+<strong><a href="#Get CellRange" >Get CellRange</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 You can get cell range by providing start and end index of the column and row,or just provide start and end address of the cell(if you are using the spreadsheet.)
 </div>
@@ -54,11 +15,8 @@ You can get cell range by providing star
 	    <span class='javaclass'>CellRange</span> cellRange = table.getCellRangeByPosition(1, 0, 2, 0);<br/>
 	    <span class='javaclass'>CellRange</span> cellRangeAdd = table.getCellRangeByPosition("$E1","$E6");<br/>
 </pre>
-<br/><div class="contenttitle" id="Merge Text Table">
-<br/>
-<a href="#Merge Text Table" >Merge Text Table</a>
+<br/><strong><a href="#Merge Text Table" >Merge Text Table</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 The code below merges all of the selected cells into one:
 </div>
@@ -67,11 +25,8 @@ The code below merges all of the selecte
 	    <span class='javaclass'>CellRange</span> cellrange = table1.getCellRangeByPosition(0, 0, table1.getColumnCount()-1, table1.getRowCount()-1);<br/>
 	    cellRange.merge();<br/>
 </pre>
-<br/><div class="contenttitle" id="Merge Text Column">
-<br/>
-<a href="#Merge Text Column" >Merge Text Column</a>
+<br/><strong><a href="#Merge Text Column" >Merge Text Column</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 The code below shows how to merge the cells of the first column into one :
 </div>
@@ -80,11 +35,8 @@ The code below shows how to merge the ce
 	    	<span class='javaclass'>CellRange</span> firstColumn = table1.getCellRangeByPosition(0, 0, 0, table1.getRowCount()-1);<br/>
 	    	firstColumn.merge();<br/>
 </pre>
-<br/><div class="contenttitle" id="Merge Text Row">
-<br/>
-<a href="#Merge Text Row" >Merge Text Row</a>
+<br/><strong><a href="#Merge Text Row" >Merge Text Row</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 The code below shows how to merge the cells of the first 2 rows into one :
 </div>
@@ -94,11 +46,8 @@ The code below shows how to merge the ce
     	        <span class='javaclass'>CellRange</span> firstTwoRow = table1.getCellRangeByPosition(0, 0, table1.getColumnCount()-1, 1);<br/>
     	        firstTwoRow.merge();<br/>
 </pre>
-<br/><div class="contenttitle" id="Merge SpreadSheet">
-<br/>
-<a href="#Merge SpreadSheet" >Merge SpreadSheet</a>
+<br/><strong><a href="#Merge SpreadSheet" >Merge SpreadSheet</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 Merge a spreadsheet's cell is the same as text document.Especially,when getting the cell range of spreadsheet,you can use special address instead of index.
 </div>
@@ -116,10 +65,3 @@ Merge a spreadsheet's cell is the same a
   <li><a href="#">top</a></li>
  </ul>
 </div>
-<br/>
-</div>
-<div id="footer" class="smallgraytext"> <a href="../index.html">Home</a> | <a href="../index.html">About Us</a> | <a href="mailto:Daisy@odftoolkit.org">Contact Us</a> </div>
-</div>
-</div>
-</body>
-</html>

Modified: incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Cell.html
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Cell.html?rev=1165581&r1=1165580&r2=1165581&view=diff
==============================================================================
--- incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Cell.html (original)
+++ incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Cell.html Tue Sep  6 09:51:13 2011
@@ -1,40 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Cell</title>
- <link type="text/css" rel="stylesheet" href="cookbook.css"/>
-<link rel="stylesheet" href="../images/style.css" type="text/css" />
-<script type="text/javascript">
-
-var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-22366020-1']);
-_gaq.push(['_trackPageview']);
-
-(function() {
-var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-})();
-
-</script>
-</head>
-<body>
-<div id="page" align="center">
-<div id="content" style="width:920px" class="contentpanel">
-<div id="topheader">
-<div class="topright"> </div>
-</div>
-<div id="menu">
-<div align="left" class="smallwhitetext"> <a href="../index.html" class="home"> </a> <a href="../downloads.html" class="download"></a> <a href="../documents.html" class="document"></a> <a href="../demo/index.html" class="sample"> </a> </div>
-</div>
-<div id="subcontent" align ="left">
-<div align="left" class="titletext"> <span >
-<a href="../documents.html">Documents</a> > 
-<a href="index.html">Cookbook</a> ><a href="Cell.html">Cell</a>
-</span>
-</div>
+<strong><a href="../index.html">Documents</a></strong> > <strong><a href="index.html">Cookbook</a></strong> ><strong><a href="Cell.html">Cell</a></strong>
 <div class="navigation">
  <ul>
   <li><a href="Column and Row.html">previous</a></li>
@@ -42,11 +6,8 @@ var s = document.getElementsByTagName('s
  </ul>
 </div>
 <br/>
-<div class="contenttitle" id="Get Cell">
-<br/>
-<a href="#Get Cell" >Get Cell</a>
+<strong><a href="#Get Cell" >Get Cell</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 If you want to get the specified cell in a table,you can use the getCellByPosition method of Table.
 </div>
@@ -83,11 +44,8 @@ The code below shows how you can do that
 	 <span class='javaclass'>Row</span> row1=cell.getTableRow();<br/>
 	 <span class='javaclass'>Column</span> column1=cell.getTableColumn();<br/>
 </pre>
-<br/><div class="contenttitle" id="Control Cell Attributes">
-<br/>
-<a href="#Control Cell Attributes" >Control Cell Attributes</a>
+<br/><strong><a href="#Control Cell Attributes" >Control Cell Attributes</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 Use the getStyleName() method you can get the style name of the cell.
 </div>
@@ -182,11 +140,8 @@ RemoveContent remove all of the cell whi
 	   cell.removeContent();<br/>
 	   cell.removeTextContent();<br/>
 </pre>
-<br/><div class="contenttitle" id="Get&Set Cell Value Type">
-<br/>
-<a href="#Get&Set Cell Value Type" >Get&Set Cell Value Type</a>
+<br/><strong><a href="#Get&Set Cell Value Type" >Get&Set Cell Value Type</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 	 The cell value can have different types,for the setValueType method:	 the parameter can be 	 <ul><li>"boolean"</li>	 <li>"currency"</li>	 <li>"date"</li>	 <li>"float"</li>         <li>"percentage"</li>	 <li>"string"</li>	 <li>"time"</li>	 <li>"void"</li>	 </ul>	 If the parameter type is not a valid cell type, an IllegalArgumentException will be thrown.
 </div>
@@ -197,11 +152,8 @@ RemoveContent remove all of the cell whi
 <br/><div class="bodytext">
 For the following getXXXValue() method:it gets the cell value as xxx type.An IllegalArgumentException will be thrown if the cell type is not xxx.
 </div>
-<div class="contenttitle2" id="Get&Set boolean type Cell">
-<br/>
 <a href="#Get&Set boolean type Cell" >Get&Set boolean type Cell</a>
 <hr/>
-</div>
 <div class="bodytext">
 	For setBooleanValue method:it sets the cell value as a boolean and sets the value type to be boolean.
 </div>
@@ -209,11 +161,8 @@ For the following getXXXValue() method:i
 	   <span class='basic'>boolean</span> booleanValue=cell.getBooleanValue();<br/>
 	   cell.setBooleanValue(booleanValue);<br/>
 </pre>
-<br/><div class="contenttitle2" id="Get&Set currency type Cell">
-<br/>
-<a href="#Get&Set currency type Cell" >Get&Set currency type Cell</a>
+<br/><a href="#Get&Set currency type Cell" >Get&Set currency type Cell</a>
 <hr/>
-</div>
 <div class="bodytext">
 For the following getting methods,if the value type is not "currency", an IllegalArgumentException will be thrown.
 </div>
@@ -231,38 +180,26 @@ You can also set currency value and curr
 	   cell.setCurrencyValue(100.00, "<span class='javaclass'>USD</span>");<br/>
 	   cell.setCurrencyFormat("$", "$#,##0.00");<br/>
 </pre>
-<br/><div class="contenttitle2" id="Get&Set date type Cell">
-<br/>
-<a href="#Get&Set date type Cell" >Get&Set date type Cell</a>
+<br/><a href="#Get&Set date type Cell" >Get&Set date type Cell</a>
 <hr/>
-</div>
 <br/><pre class='code' id="code18">
 	   <span class='javaclass'>Calendar</span> dateValue=cell.getDateValue(); <br/>
 	   cell.setDateValue(<span class='modifier'>new</span> <span class='javaclass'>GregorianCalendar</span>(2010,5,1));<br/>
 </pre>
-<br/><div class="contenttitle2" id="Get&Set float type Cell">
-<br/>
-<a href="#Get&Set float type Cell" >Get&Set float type Cell</a>
+<br/><a href="#Get&Set float type Cell" >Get&Set float type Cell</a>
 <hr/>
-</div>
 <br/><pre class='code' id="code19">
 	  <span class='basic'>double</span> floatValue=cell.getDoubleValue();  <br/>
 	  cell.setDoubleValue(<span class='modifier'>new</span> <span class='javaclass'>Double</span>(22.99f));<br/>
 </pre>
-<br/><div class="contenttitle2" id="Get&Set percentage type Cell">
-<br/>
-<a href="#Get&Set percentage type Cell" >Get&Set percentage type Cell</a>
+<br/><a href="#Get&Set percentage type Cell" >Get&Set percentage type Cell</a>
 <hr/>
-</div>
 <br/><pre class='code' id="code20">
 	  <span class='basic'>double</span> percentageValue=cell.getPercentageValue();<br/>
 	  cell.setPercentageValue(0.89);<br/>
 </pre>
-<br/><div class="contenttitle2" id="Get&Set string type Cell">
-<br/>
-<a href="#Get&Set string type Cell" >Get&Set string type Cell</a>
+<br/><a href="#Get&Set string type Cell" >Get&Set string type Cell</a>
 <hr/>
-</div>
 <div class="bodytext">
 If the cell type is not string, the display text will be returned.
 </div>
@@ -270,11 +207,8 @@ If the cell type is not string, the disp
 	  <span class='javaclass'>String</span> stringValue=cell.getStringValue();   <br/>
 	  cell.setStringValue("simple");<br/>
 </pre>
-<br/><div class="contenttitle2" id="Deal with the Time Value">
-<br/>
-<a href="#Deal with the Time Value" >Deal with the Time Value</a>
+<br/><a href="#Deal with the Time Value" >Deal with the Time Value</a>
 <hr/>
-</div>
 <div class="bodytext">
 If you want to get the string type of time value,you can format it:
 </div>
@@ -283,11 +217,8 @@ If you want to get the string type of ti
 	  <span class='javaclass'>SimpleDateFormat</span> simpleFormat = <span class='modifier'>new</span> <span class='javaclass'>SimpleDateFormat</span>("'<span class='javaclass'>PT</span>'<span class='javaclass'>HH</span>'H'mm'M'ss'S'");<br/>
           <span class='javaclass'>String</span>  timeString= simpleFormat.format(cell.getTimeValue().getTime());<br/>
 </pre>
-<br/><div class="contenttitle2" id="Something about Display Text">
-<br/>
-<a href="#Something about Display Text" >Something about Display Text</a>
+<br/><a href="#Something about Display Text" >Something about Display Text</a>
 <hr/>
-</div>
 <div class="bodytext">
           Please note the display text in ODF viewer might be different from the value set by this method,	  because the displayed text in ODF viewer is calculated and set by editor. 
 </div>
@@ -295,11 +226,8 @@ If you want to get the string type of ti
 	  <span class='javaclass'>String</span> displayText=cell.getDisplayText();<br/>
 	  cell.setDisplayText(displayText);<br/>
 </pre>
-<br/><div class="contenttitle" id="Set image">
-<br/>
-<a href="#Set image" >Set image</a>
+<br/><strong><a href="#Set image" >Set image</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 		From version 0.5.5, we support high level APIs for images.	    You can use following codes to set an image to a cell.
 </div>
@@ -325,10 +253,3 @@ If you want to get the string type of ti
   <li><a href="#">top</a></li>
  </ul>
 </div>
-<br/>
-</div>
-<div id="footer" class="smallgraytext"> <a href="../index.html">Home</a> | <a href="../index.html">About Us</a> | <a href="mailto:Daisy@odftoolkit.org">Contact Us</a> </div>
-</div>
-</div>
-</body>
-</html>

Modified: incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Charts.html
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Charts.html?rev=1165581&r1=1165580&r2=1165581&view=diff
==============================================================================
--- incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Charts.html (original)
+++ incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Charts.html Tue Sep  6 09:51:13 2011
@@ -1,40 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Charts</title>
- <link type="text/css" rel="stylesheet" href="cookbook.css"/>
-<link rel="stylesheet" href="../images/style.css" type="text/css" />
-<script type="text/javascript">
-
-var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-22366020-1']);
-_gaq.push(['_trackPageview']);
-
-(function() {
-var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-})();
-
-</script>
-</head>
-<body>
-<div id="page" align="center">
-<div id="content" style="width:920px" class="contentpanel">
-<div id="topheader">
-<div class="topright"> </div>
-</div>
-<div id="menu">
-<div align="left" class="smallwhitetext"> <a href="../index.html" class="home"> </a> <a href="../downloads.html" class="download"></a> <a href="../documents.html" class="document"></a> <a href="../demo/index.html" class="sample"> </a> </div>
-</div>
-<div id="subcontent" align ="left">
-<div align="left" class="titletext"> <span >
-<a href="../documents.html">Documents</a> > 
-<a href="index.html">Cookbook</a> ><a href="Charts.html">Charts</a>
-</span>
-</div>
+<strong><a href="../index.html">Documents</a></strong> > <strong><a href="index.html">Cookbook</a></strong> ><strong><a href="Charts.html">Charts</a></strong>
 <div class="navigation">
  <ul>
   <li><a href="Cell Range.html">previous</a></li>
@@ -42,19 +6,13 @@ var s = document.getElementsByTagName('s
  </ul>
 </div>
 <br/>
-<div class="contenttitle" id="Overview">
-<br/>
-<a href="#Overview" >Overview</a>
+<strong><a href="#Overview" >Overview</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 	    Since 0.6, Simple ODF provides methods to manipulate charts in text document, spreadsheet document and presentation document.		You can create, update and delete charts with these methods.
 </div>
-<div class="contenttitle" id="Create charts">
-<br/>
-<a href="#Create charts" >Create charts</a>
+<strong><a href="#Create charts" >Create charts</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 		We all know, a chart is associated with a table. In order to create a chart, you must determine the data set of this chart.		The data set can be a cell range of a table, for example:
 </div>
@@ -114,11 +72,8 @@ var s = document.getElementsByTagName('s
 		chart = slide.createChart("<span class='javaclass'>Count</span> of <span class='javaclass'>Visits</span>", spreadsheetDoc,<br/>
 				cellRange, <span class='basic'>true</span>, <span class='basic'>true</span>, <span class='basic'>false</span>, <span class='basic'>null</span>);<br/>
 </pre>
-<br/><div class="contenttitle" id="Update charts">
-<br/>
-<a href="#Update charts" >Update charts</a>
+<br/><strong><a href="#Update charts" >Update charts</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 		You can update charts properties, for example, the title, axis title, chart type, whether to apply 3D effect, whether to use legend with API.		For example:
 </div>
@@ -135,11 +90,8 @@ var s = document.getElementsByTagName('s
 <br/><pre class='code' id="code8">
 		chart.setChartData(<span class='modifier'>new</span> <span class='javaclass'>DataSet</span>(<span class='javaclass'>CellRangeAddressList</span>.valueOf("A.A1:A.C4"), spreadsheetDoc, true, true, true));<br/>
 </pre>
-<br/><div class="contenttitle" id="Get and delete charts">
-<br/>
-<a href="#Get and delete charts" >Get and delete charts</a>
+<br/><strong><a href="#Get and delete charts" >Get and delete charts</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 		You can get charts by title e.g.
 </div>
@@ -174,10 +126,3 @@ var s = document.getElementsByTagName('s
   <li><a href="#">top</a></li>
  </ul>
 </div>
-<br/>
-</div>
-<div id="footer" class="smallgraytext"> <a href="../index.html">Home</a> | <a href="../index.html">About Us</a> | <a href="mailto:Daisy@odftoolkit.org">Contact Us</a> </div>
-</div>
-</div>
-</body>
-</html>

Modified: incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Column and Row.html
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Column%20and%20Row.html?rev=1165581&r1=1165580&r2=1165581&view=diff
==============================================================================
--- incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Column and Row.html (original)
+++ incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Column and Row.html Tue Sep  6 09:51:13 2011
@@ -1,40 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Column and Row</title>
- <link type="text/css" rel="stylesheet" href="cookbook.css"/>
-<link rel="stylesheet" href="../images/style.css" type="text/css" />
-<script type="text/javascript">
-
-var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-22366020-1']);
-_gaq.push(['_trackPageview']);
-
-(function() {
-var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-})();
-
-</script>
-</head>
-<body>
-<div id="page" align="center">
-<div id="content" style="width:920px" class="contentpanel">
-<div id="topheader">
-<div class="topright"> </div>
-</div>
-<div id="menu">
-<div align="left" class="smallwhitetext"> <a href="../index.html" class="home"> </a> <a href="../downloads.html" class="download"></a> <a href="../documents.html" class="document"></a> <a href="../demo/index.html" class="sample"> </a> </div>
-</div>
-<div id="subcontent" align ="left">
-<div align="left" class="titletext"> <span >
-<a href="../documents.html">Documents</a> > 
-<a href="index.html">Cookbook</a> ><a href="Column and Row.html">Column and Row</a>
-</span>
-</div>
+<strong><a href="../index.html">Documents</a></strong> > <strong><a href="index.html">Cookbook</a></strong> ><strong><a href="Column and Row.html">Column and Row</a></strong>
 <div class="navigation">
  <ul>
   <li><a href="Table.html">previous</a></li>
@@ -42,11 +6,8 @@ var s = document.getElementsByTagName('s
  </ul>
 </div>
 <br/>
-<div class="contenttitle" id="Get Column/Row">
-<br/>
-<a href="#Get Column/Row" >Get Column/Row</a>
+<strong><a href="#Get Column/Row" >Get Column/Row</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 The class Column/Row represents the column/row of table.To get all the columns or rows you can use the getColumnList or getRowList of the table instance.
 </div>
@@ -91,11 +52,8 @@ Yes,you can ask the column/row instance 
 	<span class='javaclass'>Row</span> previousRow=row.getPreviousRow();<br/>
 	<span class='javaclass'>Row</span> nextRow=row.getNextRow();<br/>
 </pre>
-<br/><div class="contenttitle" id="Append or Insert Column/Row">
-<br/>
-<a href="#Append or Insert Column/Row" >Append or Insert Column/Row</a>
+<br/><strong><a href="#Append or Insert Column/Row" >Append or Insert Column/Row</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 You can add a column to the end or insert many columns before the specified index
 </div>
@@ -116,11 +74,8 @@ What can I do if I want to insert a colu
 	<span class='javaclass'>List</span>&lt;<span class='javaclass'>Column</span>&gt; cols = table.insertColumnsBefore(1, 2);<br/>
 	<span class='javaclass'>List</span>&lt;<span class='javaclass'>Row</span>&gt; newRows = table.insertRowsBefore(0, 2);<br/>
 </pre>
-<br/><div class="contenttitle" id="Remove Columns/Rows">
-<br/>
-<a href="#Remove Columns/Rows" >Remove Columns/Rows</a>
+<br/><strong><a href="#Remove Columns/Rows" >Remove Columns/Rows</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 You can delete a number of columns/rows by index
 </div>
@@ -134,11 +89,8 @@ The code below remove 1 column whose ind
 	table.removeColumnsByIndex(2, 1);<br/>
 	table.removeRowsByIndex(1, 2);<br/>
 </pre>
-<br/><div class="contenttitle" id="Set Column/Row">
-<br/>
-<a href="#Set Column/Row" >Set Column/Row</a>
+<br/><strong><a href="#Set Column/Row" >Set Column/Row</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 If you want to change the width of the column or the height of the row,you can use it like this:
 </div>
@@ -157,10 +109,3 @@ If the second parameter of row's setHeig
   <li><a href="#">top</a></li>
  </ul>
 </div>
-<br/>
-</div>
-<div id="footer" class="smallgraytext"> <a href="../index.html">Home</a> | <a href="../index.html">About Us</a> | <a href="mailto:Daisy@odftoolkit.org">Contact Us</a> </div>
-</div>
-</div>
-</body>
-</html>

Modified: incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Fields.html
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Fields.html?rev=1165581&r1=1165580&r2=1165581&view=diff
==============================================================================
--- incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Fields.html (original)
+++ incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Fields.html Tue Sep  6 09:51:13 2011
@@ -1,40 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Fields</title>
- <link type="text/css" rel="stylesheet" href="cookbook.css"/>
-<link rel="stylesheet" href="../images/style.css" type="text/css" />
-<script type="text/javascript">
-
-var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-22366020-1']);
-_gaq.push(['_trackPageview']);
-
-(function() {
-var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-})();
-
-</script>
-</head>
-<body>
-<div id="page" align="center">
-<div id="content" style="width:920px" class="contentpanel">
-<div id="topheader">
-<div class="topright"> </div>
-</div>
-<div id="menu">
-<div align="left" class="smallwhitetext"> <a href="../index.html" class="home"> </a> <a href="../downloads.html" class="download"></a> <a href="../documents.html" class="document"></a> <a href="../demo/index.html" class="sample"> </a> </div>
-</div>
-<div id="subcontent" align ="left">
-<div align="left" class="titletext"> <span >
-<a href="../documents.html">Documents</a> > 
-<a href="index.html">Cookbook</a> ><a href="Fields.html">Fields</a>
-</span>
-</div>
+<strong><a href="../index.html">Documents</a></strong> > <strong><a href="index.html">Cookbook</a></strong> ><strong><a href="Fields.html">Fields</a></strong>
 <div class="navigation">
  <ul>
   <li><a href="TextExtractor.html">previous</a></li>
@@ -42,11 +6,8 @@ var s = document.getElementsByTagName('s
  </ul>
 </div>
 <br/>
-<div class="contenttitle" id="Variable Field">
-<br/>
-<a href="#Variable Field" >Variable Field</a>
+<strong><a href="#Variable Field" >Variable Field</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 			You can use the following code to create a variable field, and set the value.
 </div>
@@ -63,11 +24,8 @@ var s = document.getElementsByTagName('s
 			simpleVariableField.updateField("user variable content", null);<br/>
 			simpleVariableField.displayField(paragraph.getOdfElement());<br/>
 </pre>
-<br/><div class="contenttitle" id="Condition Field">
-<br/>
-<a href="#Condition Field" >Condition Field</a>
+<br/><strong><a href="#Condition Field" >Condition Field</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 			Following code can be used to create a condition field.
 </div>
@@ -76,11 +34,8 @@ var s = document.getElementsByTagName('s
 			<span class='javaclass'>ConditionField</span> conditionField = <span class='javaclass'>Fields</span>.createConditionField(newParagraph.getOdfElement(), "test_con_variable == \"true\"",<br/>
 					"trueText", "falseText");<br/>
 </pre>
-<br/><div class="contenttitle" id="Hidden Field">
-<br/>
-<a href="#Hidden Field" >Hidden Field</a>
+<br/><strong><a href="#Hidden Field" >Hidden Field</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 			Following code can be used to create a hidden field.
 </div>
@@ -88,11 +43,8 @@ var s = document.getElementsByTagName('s
 			newParagraph = doc.addParagraph("<span class='javaclass'>Hide</span> <span class='javaclass'>Text</span> <span class='javaclass'>Field</span> <span class='javaclass'>Test</span>:");<br/>
 			conditionField = <span class='javaclass'>Fields</span>.createHiddenTextField(newParagraph.getOdfElement(), "test_con_variable == \"true\"", "hiddenText");<br/>
 </pre>
-<br/><div class="contenttitle" id="Cross Reference Field">
-<br/>
-<a href="#Cross Reference Field" >Cross Reference Field</a>
+<br/><strong><a href="#Cross Reference Field" >Cross Reference Field</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 			Following code can be used to create a reference field.
 </div>
@@ -107,22 +59,16 @@ var s = document.getElementsByTagName('s
 <br/><pre class='code' id="code5">
 			referenceField.appendReferenceTo(doc.addParagraph("<span class='javaclass'>User</span> <span class='javaclass'>Reference</span> <span class='javaclass'>Field</span>:").getOdfElement(), <span class='javaclass'>ReferenceField</span>.<span class='javaclass'>DisplayType</span>.<span class='javaclass'>TEXT</span>);<br/>
 </pre>
-<br/><div class="contenttitle" id="Chapter Field">
-<br/>
-<a href="#Chapter Field" >Chapter Field</a>
+<br/><strong><a href="#Chapter Field" >Chapter Field</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 			Following code can be used to create a chapter field.
 </div>
 <br/><pre class='code' id="code6">
 			<span class='javaclass'>ChapterField</span> chapterField = <span class='javaclass'>Fields</span>.createChapterField(doc.addParagraph("<span class='javaclass'>Chapter</span>:").getOdfElement());<br/>
 </pre>
-<br/><div class="contenttitle" id="Title and Subject Field">
-<br/>
-<a href="#Title and Subject Field" >Title and Subject Field</a>
+<br/><strong><a href="#Title and Subject Field" >Title and Subject Field</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 			Following code can be used to create a title field.
 </div>
@@ -135,11 +81,8 @@ var s = document.getElementsByTagName('s
 <br/><pre class='code' id="code8">
 			<span class='javaclass'>SubjectField</span> subjectField = <span class='javaclass'>Fields</span>.createSubjectField(doc.addParagraph("<span class='javaclass'>The</span> <span class='javaclass'>Subject</span>:").getOdfElement());<br/>
 </pre>
-<br/><div class="contenttitle" id="Author Field">
-<br/>
-<a href="#Author Field" >Author Field</a>
+<br/><strong><a href="#Author Field" >Author Field</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 			Following code can be used to create a author initial field and a author name field.
 </div>
@@ -147,11 +90,8 @@ var s = document.getElementsByTagName('s
 			<span class='javaclass'>AuthorField</span> authorField = <span class='javaclass'>Fields</span>.createAuthorInitialsField(doc.addParagraph("<span class='javaclass'>The</span> initials of the author :").getOdfElement());<br/>
 			authorField = <span class='javaclass'>Fields</span>.createAuthorNameField(doc.addParagraph("<span class='javaclass'>Author</span>:").getOdfElement());<br/>
 </pre>
-<br/><div class="contenttitle" id="Page Number Field">
-<br/>
-<a href="#Page Number Field" >Page Number Field</a>
+<br/><strong><a href="#Page Number Field" >Page Number Field</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 			Following code can be used to create a current page number field.
 </div>
@@ -167,11 +107,8 @@ var s = document.getElementsByTagName('s
 			numberField = <span class='javaclass'>Fields</span>.createPreviousPageNumberField(doc.addParagraph("<span class='javaclass'>Previous</span> <span class='javaclass'>Page</span> <span class='javaclass'>Number</span>:").getOdfElement());<br/>
 			numberField = <span class='javaclass'>Fields</span>.createNextPageNumberField(doc.addParagraph("<span class='javaclass'>Next</span> <span class='javaclass'>Page</span> <span class='javaclass'>Number</span>:").getOdfElement());<br/>
 </pre>
-<br/><div class="contenttitle" id="Page Number Field">
-<br/>
-<a href="#Page Number Field" >Page Number Field</a>
+<br/><strong><a href="#Page Number Field" >Page Number Field</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 			Following code can be used to create a page count field, and set the number format.
 </div>
@@ -179,11 +116,8 @@ var s = document.getElementsByTagName('s
 			<span class='javaclass'>PageCountField</span> countField = <span class='javaclass'>Fields</span>.createPageCountField(doc.addParagraph("<span class='javaclass'>Page</span> <span class='javaclass'>Count</span>:").getOdfElement());<br/>
 			countField.setNumberFormat(<span class='javaclass'>NumberFormat</span>.UPPERCASE_LATIN_ALPHABET);<br/>
 </pre>
-<br/><div class="contenttitle" id="Date Field">
-<br/>
-<a href="#Date Field" >Date Field</a>
+<br/><strong><a href="#Date Field" >Date Field</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 			Following code can be used to create a date field, and set the format.
 </div>
@@ -191,11 +125,8 @@ var s = document.getElementsByTagName('s
 			<span class='javaclass'>DateField</span> dateField = <span class='javaclass'>Fields</span>.createDateField(doc.addParagraph("<span class='javaclass'>Date</span>:").getOdfElement());<br/>
 			dateField.formatDate("yy-<span class='javaclass'>MM</span>-dd");<br/>
 </pre>
-<br/><div class="contenttitle" id="Time Field">
-<br/>
-<a href="#Time Field" >Time Field</a>
+<br/><strong><a href="#Time Field" >Time Field</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 			Following code can be used to create a time field, and set the format.
 </div>
@@ -211,10 +142,3 @@ var s = document.getElementsByTagName('s
   <li><a href="#">top</a></li>
  </ul>
 </div>
-<br/>
-</div>
-<div id="footer" class="smallgraytext"> <a href="../index.html">Home</a> | <a href="../index.html">About Us</a> | <a href="mailto:Daisy@odftoolkit.org">Contact Us</a> </div>
-</div>
-</div>
-</body>
-</html>

Modified: incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate Metadata.html
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate%20Metadata.html?rev=1165581&r1=1165580&r2=1165581&view=diff
==============================================================================
--- incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate Metadata.html (original)
+++ incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate Metadata.html Tue Sep  6 09:51:13 2011
@@ -1,40 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Manipulate Metadata</title>
- <link type="text/css" rel="stylesheet" href="cookbook.css"/>
-<link rel="stylesheet" href="../images/style.css" type="text/css" />
-<script type="text/javascript">
-
-var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-22366020-1']);
-_gaq.push(['_trackPageview']);
-
-(function() {
-var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-})();
-
-</script>
-</head>
-<body>
-<div id="page" align="center">
-<div id="content" style="width:920px" class="contentpanel">
-<div id="topheader">
-<div class="topright"> </div>
-</div>
-<div id="menu">
-<div align="left" class="smallwhitetext"> <a href="../index.html" class="home"> </a> <a href="../downloads.html" class="download"></a> <a href="../documents.html" class="document"></a> <a href="../demo/index.html" class="sample"> </a> </div>
-</div>
-<div id="subcontent" align ="left">
-<div align="left" class="titletext"> <span >
-<a href="../documents.html">Documents</a> > 
-<a href="index.html">Cookbook</a> ><a href="Manipulate Metadata.html">Manipulate Metadata</a>
-</span>
-</div>
+<strong><a href="../index.html">Documents</a></strong> > <strong><a href="index.html">Cookbook</a></strong> ><strong><a href="Manipulate Metadata.html">Manipulate Metadata</a></strong>
 <div class="navigation">
  <ul>
   <li><a href="Fields.html">previous</a></li>
@@ -42,19 +6,13 @@ var s = document.getElementsByTagName('s
  </ul>
 </div>
 <br/>
-<div class="contenttitle" id="Overview">
-<br/>
-<a href="#Overview" >Overview</a>
+<strong><a href="#Overview" >Overview</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
      This <a href="">Meta</a> API supports to access and set document metadata. It covers the metadata definitions in <a href="http:docs.oasis-open.org/office/v1.2/cd05/OpenDocument-v1.2-cd05-part1.html#a_4_Metadata">ODF Specification 1.2 Committee Draft05</a>
 </div>
-<div class="contenttitle" id="Get Meta object">
-<br/>
-<a href="#Get Meta object" >Get Meta object</a>
+<strong><a href="#Get Meta object" >Get Meta object</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
      First you load an ODF text document(for example),then get the meta file DOM and then use the meta DOM to create an instance of     the Meta. Use Meta you can access all the supported elements.
 </div>
@@ -63,11 +21,8 @@ var s = document.getElementsByTagName('s
 	<span class='javaclass'>OdfFileDom</span> metadom = doc.getMetaDom();<br/>
 	<span class='javaclass'>Meta</span> metadata = <span class='modifier'>new</span> <span class='javaclass'>Meta</span>(metadom);<br/>
 </pre>
-<br/><div class="contenttitle" id="Access metadata">
-<br/>
-<a href="#Access metadata" >Access metadata</a>
+<br/><strong><a href="#Access metadata" >Access metadata</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
      After creating the Meta instance,you can use it to manipulate the metadata:     for example, you can set a value for the &lt;meta:generator&gt; like this:
 </div>
@@ -83,11 +38,8 @@ var s = document.getElementsByTagName('s
       keywords.remove("java");<br/>
       metadata.setKeywords(keywords);<br/>
 </pre>
-<br/><div class="contenttitle" id="Access the user defined element">
-<br/>
-<a href="#Access the user defined element" >Access the user defined element</a>
+<br/><strong><a href="#Access the user defined element" >Access the user defined element</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
     To manipulate the user defined data,you should get the list of their names,and then use the names to     update the data or its datatype or delete the whole user defined data.    you can use the setUserDefinedData(String name, String type, String value) method to update data,if the    name not exists in the document,the method will add the new user defined data.
 </div>
@@ -109,11 +61,8 @@ var s = document.getElementsByTagName('s
 <span class='comments'>      //get the data value</span>
       <span class='javaclass'>String</span> dataValue=metadata.getUserDefinedDataValue(key);    <br/>
 </pre>
-<br/><div class="contenttitle" id="Access the document statistics">
-<br/>
-<a href="#Access the document statistics" >Access the document statistics</a>
+<br/><strong><a href="#Access the document statistics" >Access the document statistics</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
     if you want to access the document statistics,you should get a DocumentStatistic instance,    if the return is null,it means that this ODF document doesn't have any document statistic information,you should    create a document statistics object.
 </div>
@@ -134,10 +83,3 @@ var s = document.getElementsByTagName('s
   <li><a href="#">top</a></li>
  </ul>
 </div>
-<br/>
-</div>
-<div id="footer" class="smallgraytext"> <a href="../index.html">Home</a> | <a href="../index.html">About Us</a> | <a href="mailto:Daisy@odftoolkit.org">Contact Us</a> </div>
-</div>
-</div>
-</body>
-</html>

Modified: incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate TextSearch.html
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate%20TextSearch.html?rev=1165581&r1=1165580&r2=1165581&view=diff
==============================================================================
--- incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate TextSearch.html (original)
+++ incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Manipulate TextSearch.html Tue Sep  6 09:51:13 2011
@@ -1,40 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Manipulate TextSearch</title>
- <link type="text/css" rel="stylesheet" href="cookbook.css"/>
-<link rel="stylesheet" href="../images/style.css" type="text/css" />
-<script type="text/javascript">
-
-var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-22366020-1']);
-_gaq.push(['_trackPageview']);
-
-(function() {
-var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-})();
-
-</script>
-</head>
-<body>
-<div id="page" align="center">
-<div id="content" style="width:920px" class="contentpanel">
-<div id="topheader">
-<div class="topright"> </div>
-</div>
-<div id="menu">
-<div align="left" class="smallwhitetext"> <a href="../index.html" class="home"> </a> <a href="../downloads.html" class="download"></a> <a href="../documents.html" class="document"></a> <a href="../demo/index.html" class="sample"> </a> </div>
-</div>
-<div id="subcontent" align ="left">
-<div align="left" class="titletext"> <span >
-<a href="../documents.html">Documents</a> > 
-<a href="index.html">Cookbook</a> ><a href="Manipulate TextSearch.html">Manipulate TextSearch</a>
-</span>
-</div>
+<strong><a href="../index.html">Documents</a></strong> > <strong><a href="index.html">Cookbook</a></strong> ><strong><a href="Manipulate TextSearch.html">Manipulate TextSearch</a></strong>
 <div class="navigation">
  <ul>
   <li><a href="Style Handling.html">previous</a></li>
@@ -42,11 +6,8 @@ var s = document.getElementsByTagName('s
  </ul>
 </div>
 <br/>
-<div class="contenttitle" id="TextNavigation">
-<br/>
-<a href="#TextNavigation" >TextNavigation</a>
+<strong><a href="#TextNavigation" >TextNavigation</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 		First an ODF text document is needed to test the navigation operation. The following codes shows two main functions of TextNavigation		:hasNext() and getCurrentItem(). The first parameter of the TextNavigation constructor is the matched pattern String, and the second is		the navigation scope.
 </div>
@@ -62,16 +23,10 @@ var s = document.getElementsByTagName('s
 			<span class='javaclass'>System</span>.out.println(item1);<br/>
 		}		<br/>
 </pre>
-<br/><div class="contenttitle" id="TextSelection">
-<br/>
-<a href="#TextSelection" >TextSelection</a>
+<br/><strong><a href="#TextSelection" >TextSelection</a></strong>
 <hr/>
-</div>
-<div class="contenttitle2" id="Get Index/Text of TextSelection">
-<br/>
 <a href="#Get Index/Text of TextSelection" >Get Index/Text of TextSelection</a>
 <hr/>
-</div>
 <div class="bodytext">
 		Run the following codes will get the text content of the searched String "good" and the corresponding index in 		the text document.
 </div>
@@ -85,11 +40,8 @@ var s = document.getElementsByTagName('s
 			<span class='javaclass'>System</span>.out.println(searchedIndex);<br/>
 		}		<br/>
 </pre>
-<br/><div class="contenttitle2" id="Cut String">
-<br/>
-<a href="#Cut String" >Cut String</a>
+<br/><a href="#Cut String" >Cut String</a>
 <hr/>
-</div>
 <div class="bodytext">
 		To cut some specified string in a text document, you can do like the following codes which		cut off all the String "day" in the document.
 </div>
@@ -100,11 +52,8 @@ var s = document.getElementsByTagName('s
 			item.cut();	<br/>
 		}		<br/>
 </pre>
-<br/><div class="contenttitle2" id="Paste String">
-<br/>
-<a href="#Paste String" >Paste String</a>
+<br/><a href="#Paste String" >Paste String</a>
 <hr/>
-</div>
 <div class="bodytext">
 		The following codes paste the string "change" both at the front and at the end of the string "good",		by using the function pasteAtFrontOf() and pasteAtEndOf().
 </div>
@@ -124,11 +73,8 @@ var s = document.getElementsByTagName('s
 			pastesource.pasteAtEndOf(item);<br/>
 		}<br/>
 </pre>
-<br/><div class="contenttitle2" id="Replace String">
-<br/>
-<a href="#Replace String" >Replace String</a>
+<br/><a href="#Replace String" >Replace String</a>
 <hr/>
-</div>
 <div class="bodytext">
 The following codes replace all the string "replacesource" with the string "replacedest" in the text document.
 </div>
@@ -140,11 +86,8 @@ The following codes replace all the stri
 			item.replaceWith("replacedest");<br/>
 		}		<br/>
 </pre>
-<br/><div class="contenttitle2" id="Add Reference to String">
-<br/>
-<a href="#Add Reference to String" >Add Reference to String</a>
+<br/><a href="#Add Reference to String" >Add Reference to String</a>
 <hr/>
-</div>
 <div class="bodytext">
 		To add reference for a string, you can do like the following codes. Here 		function addHref is used, the parameter of it is an URL object. The codes add network address		"http:www.ibm.com" to the string "network".
 </div>
@@ -156,11 +99,8 @@ The following codes replace all the stri
 			item.addHref(<span class='modifier'>new</span> <span class='javaclass'>URL</span>("http://www.ibm.com"));<br/>
 		}<br/>
 </pre>
-<br/><div class="contenttitle2" id="Add Comment">
-<br/>
-<a href="#Add Comment" >Add Comment</a>
+<br/><a href="#Add Comment" >Add Comment</a>
 <hr/>
-</div>
 <div class="bodytext">
 		Adding comment is a useful function when review document, such as spell check and security check. 		You can do it like the following codes. Here, function addComment is used, the first parameter is 		the comment content, the second parameter is the comment author. The codes add a spell suggestion 		before the string "natwork".
 </div>
@@ -171,11 +111,8 @@ The following codes replace all the stri
 			selection.addComment("<span class='javaclass'>Please</span> change 'natwork' with 'network'.",	"<span class='javaclass'>SpellChecker</span>");<br/>
 		}<br/>
 </pre>
-<br/><div class="contenttitle" id="FieldSelection">
-<br/>
-<a href="#FieldSelection" >FieldSelection</a>
+<br/><strong><a href="#FieldSelection" >FieldSelection</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 		Field Selection is a decorator class of TextSelection, which help user replace a text content with field.		Following code can be used to search the document content, and replace with a simple field.
 </div>
@@ -216,11 +153,8 @@ The following codes replace all the stri
 		<span class='javaclass'>VariableField</span> userVariableField = <span class='javaclass'>Fields</span>.createUserVariableField(doc, "selection_user_variable", "test");<br/>
 		fieldSelection.replaceWithVariableField(userVariableField);<br/>
 </pre>
-<br/><div class="contenttitle" id="TextStyleNavigation">
-<br/>
-<a href="#TextStyleNavigation" >TextStyleNavigation</a>
+<br/><strong><a href="#TextStyleNavigation" >TextStyleNavigation</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 		Similar with TextNavigation, TextStyleNavigation has two main functions: getCurrentItem() and		hasNext() which is shown in the following codes. The input parameter of TextStyleNavigation constructor		is a map of OdfStyleProperty, so here a TreeMap "searchProps" which contains the Style properties is used		to construct the TextStyleNavigation object.
 </div>
@@ -243,10 +177,3 @@ The following codes replace all the stri
   <li><a href="#">top</a></li>
  </ul>
 </div>
-<br/>
-</div>
-<div id="footer" class="smallgraytext"> <a href="../index.html">Home</a> | <a href="../index.html">About Us</a> | <a href="mailto:Daisy@odftoolkit.org">Contact Us</a> </div>
-</div>
-</div>
-</body>
-</html>

Modified: incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Presentation Document.html
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Presentation%20Document.html?rev=1165581&r1=1165580&r2=1165581&view=diff
==============================================================================
--- incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Presentation Document.html (original)
+++ incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Presentation Document.html Tue Sep  6 09:51:13 2011
@@ -1,40 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Presentation Document</title>
- <link type="text/css" rel="stylesheet" href="cookbook.css"/>
-<link rel="stylesheet" href="../images/style.css" type="text/css" />
-<script type="text/javascript">
-
-var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-22366020-1']);
-_gaq.push(['_trackPageview']);
-
-(function() {
-var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-})();
-
-</script>
-</head>
-<body>
-<div id="page" align="center">
-<div id="content" style="width:920px" class="contentpanel">
-<div id="topheader">
-<div class="topright"> </div>
-</div>
-<div id="menu">
-<div align="left" class="smallwhitetext"> <a href="../index.html" class="home"> </a> <a href="../downloads.html" class="download"></a> <a href="../documents.html" class="document"></a> <a href="../demo/index.html" class="sample"> </a> </div>
-</div>
-<div id="subcontent" align ="left">
-<div align="left" class="titletext"> <span >
-<a href="../documents.html">Documents</a> > 
-<a href="index.html">Cookbook</a> ><a href="Presentation Document.html">Presentation Document</a>
-</span>
-</div>
+<strong><a href="../index.html">Documents</a></strong> > <strong><a href="index.html">Cookbook</a></strong> ><strong><a href="Presentation Document.html">Presentation Document</a></strong>
 <div class="navigation">
  <ul>
   <li><a href="Text Document.html">previous</a></li>
@@ -42,11 +6,8 @@ var s = document.getElementsByTagName('s
  </ul>
 </div>
 <br/>
-<div class="contenttitle" id="Create Presentation Document">
-<br/>
-<a href="#Create Presentation Document" >Create Presentation Document</a>
+<strong><a href="#Create Presentation Document" >Create Presentation Document</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 Let's create an empty presentation document first. The following codes generates an empty presentation document with one slide:
 </div>
@@ -60,11 +21,8 @@ We can also create a presentation templa
 <br/><pre class='code' id="code1">
                     <span class='javaclass'>PresentationDocument</span> documentTmp=<span class='javaclass'>PresentationDocument</span>.newPresentationTemplateDocument();			    <br/>
 </pre>
-<br/><div class="contenttitle" id="Get Presentation Document">
-<br/>
-<a href="#Get Presentation Document" >Get Presentation Document</a>
+<br/><strong><a href="#Get Presentation Document" >Get Presentation Document</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 We can get the existing presentation Document by using the loadDocument function like follows: 
 </div>
@@ -82,11 +40,8 @@ Here the slides of the documents "presen
 		    presentationmodel=(<span class='javaclass'>PresentationDocument</span>)<span class='javaclass'>PresentationDocument</span>.loadDocument("presentation.odp");<br/>
 	            document.appendPresentation(presentationmodel);	       <br/>
 </pre>
-<br/><div class="contenttitle" id="Change Presentation Mode">
-<br/>
-<a href="#Change Presentation Mode" >Change Presentation Mode</a>
+<br/><strong><a href="#Change Presentation Mode" >Change Presentation Mode</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 We can switch the mode presentation documents by using the following codes. Here the first one convert the presentation document to a template, and the second one convert the template to a normal presentation document.
 </div>
@@ -102,10 +57,3 @@ We can switch the mode presentation docu
   <li><a href="#">top</a></li>
  </ul>
 </div>
-<br/>
-</div>
-<div id="footer" class="smallgraytext"> <a href="../index.html">Home</a> | <a href="../index.html">About Us</a> | <a href="mailto:Daisy@odftoolkit.org">Contact Us</a> </div>
-</div>
-</div>
-</body>
-</html>

Modified: incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Slide.html
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Slide.html?rev=1165581&r1=1165580&r2=1165581&view=diff
==============================================================================
--- incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Slide.html (original)
+++ incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Slide.html Tue Sep  6 09:51:13 2011
@@ -1,40 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Slide</title>
- <link type="text/css" rel="stylesheet" href="cookbook.css"/>
-<link rel="stylesheet" href="../images/style.css" type="text/css" />
-<script type="text/javascript">
-
-var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-22366020-1']);
-_gaq.push(['_trackPageview']);
-
-(function() {
-var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-})();
-
-</script>
-</head>
-<body>
-<div id="page" align="center">
-<div id="content" style="width:920px" class="contentpanel">
-<div id="topheader">
-<div class="topright"> </div>
-</div>
-<div id="menu">
-<div align="left" class="smallwhitetext"> <a href="../index.html" class="home"> </a> <a href="../downloads.html" class="download"></a> <a href="../documents.html" class="document"></a> <a href="../demo/index.html" class="sample"> </a> </div>
-</div>
-<div id="subcontent" align ="left">
-<div align="left" class="titletext"> <span >
-<a href="../documents.html">Documents</a> > 
-<a href="index.html">Cookbook</a> ><a href="Slide.html">Slide</a>
-</span>
-</div>
+<strong><a href="../index.html">Documents</a></strong> > <strong><a href="index.html">Cookbook</a></strong> ><strong><a href="Slide.html">Slide</a></strong>
 <div class="navigation">
  <ul>
   <li><a href="Presentation Document.html">previous</a></li>
@@ -42,11 +6,8 @@ var s = document.getElementsByTagName('s
  </ul>
 </div>
 <br/>
-<div class="contenttitle" id="Add Slide">
-<br/>
-<a href="#Add Slide" >Add Slide</a>
+<strong><a href="#Add Slide" >Add Slide</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 If you want to add new slide to the presentation document, you can use the following codes:
 </div>
@@ -57,11 +18,8 @@ Here the SlideLayout is the layout model
                 <span class='javaclass'>PresentationDocument</span> document=<span class='javaclass'>PresentationDocument</span>.newPresentationDocument();	        			<br/>
 		document.newSlide(1, "new slide", <span class='javaclass'>SlideLayout</span>.TITLE_ONLY);<br/>
 </pre>
-<br/><div class="contenttitle" id="Get Slide">
-<br/>
-<a href="#Get Slide" >Get Slide</a>
+<br/><strong><a href="#Get Slide" >Get Slide</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 You can get the slide through the index in the presentation document, like follows:
 </div>
@@ -87,11 +45,8 @@ Also you can get the number of the slide
 <br/><pre class='code' id="code4">
 		<span class='basic'>int</span> numSlide=document.getSlideCount();<br/>
 </pre>
-<br/><div class="contenttitle" id="Set/Get Slide Name/Index">
-<br/>
-<a href="#Set/Get Slide Name/Index" >Set/Get Slide Name/Index</a>
+<br/><strong><a href="#Set/Get Slide Name/Index" >Set/Get Slide Name/Index</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 If you want to set a new name for a slide, you can use the following two methods:
 </div>
@@ -106,11 +61,8 @@ If you want to know the index and the na
 		<span class='basic'>int</span> slideIndex=slide.getSlideIndex();<br/>
 		<span class='javaclass'>String</span> slideName=slide.getSlideName();<br/>
 </pre>
-<br/><div class="contenttitle" id="Copy Slide">
-<br/>
-<a href="#Copy Slide" >Copy Slide</a>
+<br/><strong><a href="#Copy Slide" >Copy Slide</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 You can copy a slide in the presentation document from one position to another by using the following codes:
 </div>
@@ -131,11 +83,8 @@ Here the first parameter of copyForeignS
 		 documentmodel=(<span class='javaclass'>PresentationDocument</span>)<span class='javaclass'>PresentationDocument</span>.loadDocument("presentation.odp");<br/>
 		 document.copyForeignSlide(1, documentmodel, 2);<br/>
 </pre>
-<br/><div class="contenttitle" id="Move/Delete Slide">
-<br/>
-<a href="#Move/Delete Slide" >Move/Delete Slide</a>
+<br/><strong><a href="#Move/Delete Slide" >Move/Delete Slide</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 To move one slide to another position of this presentation position, you can use the following codes:
 </div>
@@ -152,11 +101,8 @@ You can delete the slide either by throu
 		document.deleteSlideByIndex(1);<br/>
 		document.deleteSlideByName("third slide");<br/>
 </pre>
-<br/><div class="contenttitle" id="Add Text to Slide">
-<br/>
-<a href="#Add Text to Slide" >Add Text to Slide</a>
+<br/><strong><a href="#Add Text to Slide" >Add Text to Slide</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 	  You can set the text content of a slide with text box API since version 0.5.	  Below codes will get the title text box of a slide, set the text content,	  and then get the outline text box, set the list content.
 </div>
@@ -175,11 +121,8 @@ To add some text, you can first get the 
 		<span class='javaclass'>Notes</span> note=slide.getNotesPage();<br/>
 		note.addText("text notes");<br/>
 </pre>
-<br/><div class="contenttitle" id="Add Image to Slide">
-<br/>
-<a href="#Add Image to Slide" >Add Image to Slide</a>
+<br/><strong><a href="#Add Image to Slide" >Add Image to Slide</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 To add an image to slide, you can use below codes to simply add the image to the last slide of the presentation document.
 </div>
@@ -206,10 +149,3 @@ Or you can use following code to add an 
   <li><a href="#">top</a></li>
  </ul>
 </div>
-<br/>
-</div>
-<div id="footer" class="smallgraytext"> <a href="../index.html">Home</a> | <a href="../index.html">About Us</a> | <a href="mailto:Daisy@odftoolkit.org">Contact Us</a> </div>
-</div>
-</div>
-</body>
-</html>

Modified: incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Style Handling.html
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Style%20Handling.html?rev=1165581&r1=1165580&r2=1165581&view=diff
==============================================================================
--- incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Style Handling.html (original)
+++ incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Style Handling.html Tue Sep  6 09:51:13 2011
@@ -1,40 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Style Handling</title>
- <link type="text/css" rel="stylesheet" href="cookbook.css"/>
-<link rel="stylesheet" href="../images/style.css" type="text/css" />
-<script type="text/javascript">
-
-var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-22366020-1']);
-_gaq.push(['_trackPageview']);
-
-(function() {
-var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-})();
-
-</script>
-</head>
-<body>
-<div id="page" align="center">
-<div id="content" style="width:920px" class="contentpanel">
-<div id="topheader">
-<div class="topright"> </div>
-</div>
-<div id="menu">
-<div align="left" class="smallwhitetext"> <a href="../index.html" class="home"> </a> <a href="../downloads.html" class="download"></a> <a href="../documents.html" class="document"></a> <a href="../demo/index.html" class="sample"> </a> </div>
-</div>
-<div id="subcontent" align ="left">
-<div align="left" class="titletext"> <span >
-<a href="../documents.html">Documents</a> > 
-<a href="index.html">Cookbook</a> ><a href="Style Handling.html">Style Handling</a>
-</span>
-</div>
+<strong><a href="../index.html">Documents</a></strong> > <strong><a href="index.html">Cookbook</a></strong> ><strong><a href="Style Handling.html">Style Handling</a></strong>
 <div class="navigation">
  <ul>
   <li><a href="Charts.html">previous</a></li>
@@ -42,19 +6,13 @@ var s = document.getElementsByTagName('s
  </ul>
 </div>
 <br/>
-<div class="contenttitle" id="Overview">
-<br/>
-<a href="#Overview" >Overview</a>
+<strong><a href="#Overview" >Overview</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 Style handling methods provide convenient methods to set font and borders.
 </div>
-<div class="contenttitle" id="Font handling">
-<br/>
-<a href="#Font handling" >Font handling</a>
+<strong><a href="#Font handling" >Font handling</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 		The most simple method to define font settings is to create a font		object, and set it to a cell object.		The below code snippet defines a font object to describe "Arial"		italic font with size "12pt" and black color,		and then set it to a cell. The font will work for western characters		by default.
 </div>
@@ -75,11 +33,8 @@ Style handling methods provide convenien
 		<span class='javaclass'>StyleTypeDefinitions</span>.<span class='javaclass'>FontStyle</span> fontStyle = theFont.getFontStyle();<br/>
 		<span class='javaclass'>Color</span> fontColor = theFont.getColor();<br/>
 </pre>
-<br/><div class="contenttitle" id="Advanced font handling">
-<br/>
-<a href="#Advanced font handling" >Advanced font handling</a>
+<br/><strong><a href="#Advanced font handling" >Advanced font handling</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 		<i>CellStyleHandler</i> can help you to achieve advanced functions.		In Open Document Format, there can be different font settings for		different script types. 		For example, a font setting for English characters and another font		setting for Chinese characters.		If you want to define the font setting for other script types, you		can reference to below codes.		The below code snippet defines a font for Chinese characters.
 </div>
@@ -95,11 +50,8 @@ Style handling methods provide convenien
 		<span class='javaclass'>Font</span> chineseFont = styleHandler.getFont(<span class='javaclass'>Document</span>.<span class='javaclass'>ScriptType</span>.<span class='javaclass'>CJK</span>);<br/>
 		<span class='javaclass'>Font</span> complexFont = styleHandler.getFont(<span class='javaclass'>Document</span>.<span class='javaclass'>ScriptType</span>.<span class='javaclass'>CTL</span>);<br/>
 </pre>
-<br/><div class="contenttitle" id="Border handling">
-<br/>
-<a href="#Border handling" >Border handling</a>
+<br/><strong><a href="#Border handling" >Border handling</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 		The most simple way to set border is to create a border object and		then set it to a cell object.		Below code snippet illustrates how to set a cell object with four		borders.
 </div>
@@ -141,10 +93,3 @@ Style handling methods provide convenien
   <li><a href="#">top</a></li>
  </ul>
 </div>
-<br/>
-</div>
-<div id="footer" class="smallgraytext"> <a href="../index.html">Home</a> | <a href="../index.html">About Us</a> | <a href="mailto:Daisy@odftoolkit.org">Contact Us</a> </div>
-</div>
-</div>
-</body>
-</html>

Modified: incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Table.html
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Table.html?rev=1165581&r1=1165580&r2=1165581&view=diff
==============================================================================
--- incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Table.html (original)
+++ incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Table.html Tue Sep  6 09:51:13 2011
@@ -1,40 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Table</title>
- <link type="text/css" rel="stylesheet" href="cookbook.css"/>
-<link rel="stylesheet" href="../images/style.css" type="text/css" />
-<script type="text/javascript">
-
-var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-22366020-1']);
-_gaq.push(['_trackPageview']);
-
-(function() {
-var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-})();
-
-</script>
-</head>
-<body>
-<div id="page" align="center">
-<div id="content" style="width:920px" class="contentpanel">
-<div id="topheader">
-<div class="topright"> </div>
-</div>
-<div id="menu">
-<div align="left" class="smallwhitetext"> <a href="../index.html" class="home"> </a> <a href="../downloads.html" class="download"></a> <a href="../documents.html" class="document"></a> <a href="../demo/index.html" class="sample"> </a> </div>
-</div>
-<div id="subcontent" align ="left">
-<div align="left" class="titletext"> <span >
-<a href="../documents.html">Documents</a> > 
-<a href="index.html">Cookbook</a> ><a href="Table.html">Table</a>
-</span>
-</div>
+<strong><a href="../index.html">Documents</a></strong> > <strong><a href="index.html">Cookbook</a></strong> ><strong><a href="Table.html">Table</a></strong>
 <div class="navigation">
  <ul>
   <li><a href="Slide.html">previous</a></li>
@@ -42,19 +6,13 @@ var s = document.getElementsByTagName('s
  </ul>
 </div>
 <br/>
-<div class="contenttitle" id="Overview">
-<br/>
-<a href="#Overview" >Overview</a>
+<strong><a href="#Overview" >Overview</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
  This <a href="">Table</a> API supports to manipulate tables in text and spreadsheet documents. It covers the table definition in <a href="http:docs.oasis-open.org/office/v1.2/cd05/OpenDocument-v1.2-cd05-part1.html#a_9_Tables">ODF Specification 1.2 Committee Draft05</a>
 </div>
-<div class="contenttitle" id="Create Table">
-<br/>
-<a href="#Create Table" >Create Table</a>
+<strong><a href="#Create Table" >Create Table</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 Let's create an empty table first.By default,the code below create a table with 5 columns and 2 rows.
 </div>
@@ -92,11 +50,8 @@ You can also fill table with string valu
      	<span class='javaclass'>Table</span> table4 = <span class='javaclass'>Table</span>.newTable(document, rowlabels, columnlabels, stringData);<br/>
      	table4.setTableName("stringTable");<br/>
 </pre>
-<br/><div class="contenttitle" id="Find Table">
-<br/>
-<a href="#Find Table" >Find Table</a>
+<br/><strong><a href="#Find Table" >Find Table</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 To get all the tables in the document,you can do like this:
 </div>
@@ -109,22 +64,16 @@ If you want to get a single table,you ca
 <br/><pre class='code' id="code5">
         <span class='javaclass'>Table</span> emptyTable=document.getTableByName("table1");<br/>
 </pre>
-<br/><div class="contenttitle" id="Delete Table">
-<br/>
-<a href="#Delete Table" >Delete Table</a>
+<br/><strong><a href="#Delete Table" >Delete Table</a></strong>
 <hr/>
-</div>
 <br/><pre class='code' id="code6">
         <span class='javaclass'>Table</span> table = document.getTableByName("<span class='javaclass'>DeletedTable</span>");<br/>
         <span class='control'>if</span> (table != <span class='basic'>null</span>) {<br/>
      	table.remove();<br/>
         }<br/>
 </pre>
-<br/><div class="contenttitle" id="Set Table">
-<br/>
-<a href="#Set Table" >Set Table</a>
+<br/><strong><a href="#Set Table" >Set Table</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 You can set or update table name,which can be regarded as table identifier in a document.
 </div>
@@ -158,10 +107,3 @@ Each table in the document has a protect
   <li><a href="#">top</a></li>
  </ul>
 </div>
-<br/>
-</div>
-<div id="footer" class="smallgraytext"> <a href="../index.html">Home</a> | <a href="../index.html">About Us</a> | <a href="mailto:Daisy@odftoolkit.org">Contact Us</a> </div>
-</div>
-</div>
-</body>
-</html>

Modified: incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Text Document.html
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Text%20Document.html?rev=1165581&r1=1165580&r2=1165581&view=diff
==============================================================================
--- incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Text Document.html (original)
+++ incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Text Document.html Tue Sep  6 09:51:13 2011
@@ -1,40 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Text Document</title>
- <link type="text/css" rel="stylesheet" href="cookbook.css"/>
-<link rel="stylesheet" href="../images/style.css" type="text/css" />
-<script type="text/javascript">
-
-var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-22366020-1']);
-_gaq.push(['_trackPageview']);
-
-(function() {
-var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-})();
-
-</script>
-</head>
-<body>
-<div id="page" align="center">
-<div id="content" style="width:920px" class="contentpanel">
-<div id="topheader">
-<div class="topright"> </div>
-</div>
-<div id="menu">
-<div align="left" class="smallwhitetext"> <a href="../index.html" class="home"> </a> <a href="../downloads.html" class="download"></a> <a href="../documents.html" class="document"></a> <a href="../demo/index.html" class="sample"> </a> </div>
-</div>
-<div id="subcontent" align ="left">
-<div align="left" class="titletext"> <span >
-<a href="../documents.html">Documents</a> > 
-<a href="index.html">Cookbook</a> ><a href="Text Document.html">Text Document</a>
-</span>
-</div>
+<strong><a href="../index.html">Documents</a></strong> > <strong><a href="index.html">Cookbook</a></strong> ><strong><a href="Text Document.html">Text Document</a></strong>
 <div class="navigation">
  <ul>
   <li><a href="Manipulate Metadata.html">previous</a></li>
@@ -42,19 +6,13 @@ var s = document.getElementsByTagName('s
  </ul>
 </div>
 <br/>
-<div class="contenttitle" id="Overview">
-<br/>
-<a href="#Overview" >Overview</a>
+<strong><a href="#Overview" >Overview</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 Till now, we support high level APIs to manipulate text document, paragraph, section, list, footer, header, textbox and span.
 </div>
-<div class="contenttitle" id="Generate TextDocument">
-<br/>
-<a href="#Generate TextDocument" >Generate TextDocument</a>
+<strong><a href="#Generate TextDocument" >Generate TextDocument</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 		There are typically four kinds of Text Documents with different modes can be generated: text document,		master document, template document and web document.
 </div>
@@ -75,11 +33,8 @@ The following codes generates an empty t
 	    <span class='javaclass'>TextDocument</span> documentMedia1=<span class='javaclass'>TextDocument</span>.newTextDocument(<span class='javaclass'>OdfMediaType</span>.TEXT_MASTER);<br/>
 	    <span class='javaclass'>TextDocument</span> documentMedia2=<span class='javaclass'>TextDocument</span>.newTextMasterDocument();<br/>
 </pre>
-<br/><div class="contenttitle" id="Get TextDocument">
-<br/>
-<a href="#Get TextDocument" >Get TextDocument</a>
+<br/><strong><a href="#Get TextDocument" >Get TextDocument</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 	    We can get the existing Text Document by using the loadDocument function like follows.	    The loadDocument function has four kinds of parameters: File, InputStream, OdfPackageDocument and	    String. Here the one with string parameter is used as an example.
 </div>
@@ -92,11 +47,8 @@ Also we can change the mode of one text 
 <br/><pre class='code' id="code3">
 	    document2.changeMode(<span class='javaclass'>OdfMediaType</span>.TEXT_WEB);<br/>
 </pre>
-<br/><div class="contenttitle" id="Paragraph">
-<br/>
-<a href="#Paragraph" >Paragraph</a>
+<br/><strong><a href="#Paragraph" >Paragraph</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 	    To add a new paragraph to a text document, the following codes can be used,	    the first one add an empty paragraph to the end of the document, and the second one	    add a new paragraph with the corresponding texts to the document.
 </div>
@@ -155,11 +107,8 @@ The following code is to add a comment a
 <span class='comments'>		// applyHeading(), heading level is 3.</span>
 		para1.applyHeading(<span class='basic'>true</span>, 3);<br/>
 </pre>
-<br/><div class="contenttitle" id="Section">
-<br/>
-<a href="#Section" >Section</a>
+<br/><strong><a href="#Section" >Section</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 	    From version 0.4, we support high level APIs for section. 	    You can use the following code to get a section by name:
 </div>
@@ -200,11 +149,8 @@ The following code is to add a comment a
 <br/><pre class='code' id="code16">
 		aSection.remove();<br/>
 </pre>
-<br/><div class="contenttitle" id="List">
-<br/>
-<a href="#List" >List</a>
+<br/><strong><a href="#List" >List</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 	    From version 0.4, we support high level APIs for list.		You can use the following code to create a list. The two methods are same.
 </div>
@@ -348,11 +294,8 @@ The following code is to add a comment a
 <br/><pre class='code' id="code34">
 		item.addList();<br/>
 </pre>
-<br/><div class="contenttitle" id="Header and Footer">
-<br/>
-<a href="#Header and Footer" >Header and Footer</a>
+<br/><strong><a href="#Header and Footer" >Header and Footer</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 	    From version 0.4.5, we support high level APIs for footer and header.		You can use the following code to get the header and footer. 
 </div>
@@ -381,11 +324,8 @@ The following code is to add a comment a
 		cellByPosition.setFont(myFont);<br/>
 		cellByPosition.setCellBackgroundColor(<span class='javaclass'>Color</span>.<span class='javaclass'>YELLOW</span>);<br/>
 </pre>
-<br/><div class="contenttitle" id="Text Box">
-<br/>
-<a href="#Text Box" >Text Box</a>
+<br/><strong><a href="#Text Box" >Text Box</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 	    From version 0.5, we support high level APIs for text box.		Below codes will create a text box and add it to the text 		document with a paragraph as the anchor position.		The FrameRectangle specifies an area and the position of this text box.
 </div>
@@ -419,11 +359,8 @@ The following code is to add a comment a
 <br/><pre class='code' id="code42">
 		paragraph.removeTextbox(myBox);<br/>
 </pre>
-<br/><div class="contenttitle" id="Image">
-<br/>
-<a href="#Image" >Image</a>
+<br/><strong><a href="#Image" >Image</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 	    From version 0.5.5, we support high level APIs for images.		Below codes will create a image and add it to a document with a paragraph as the anchor position.
 </div>
@@ -455,11 +392,8 @@ The following code is to add a comment a
 		handler.setHorizontalRelative(<span class='javaclass'>HorizontalRelative</span>.<span class='javaclass'>PAGE</span>);<br/>
 		handler.setVerticalRelative(<span class='javaclass'>VerticalRelative</span>.<span class='javaclass'>PAGE</span>);<br/>
 </pre>
-<br/><div class="contenttitle" id="Span">
-<br/>
-<a href="#Span" >Span</a>
+<br/><strong><a href="#Span" >Span</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 	    From version 0.5.5, we support high level APIs for span.		You can create a span based on a text selection.		With span, you can set a different style to this small unit.
 </div>
@@ -477,11 +411,8 @@ The following code is to apply a hyperli
 <br/><pre class='code' id="code48">
 		span.applyHyperlink(<span class='modifier'>new</span> <span class='javaclass'>URI</span>("ftp://ftpserver"));<br/>
 </pre>
-<br/><div class="contenttitle" id="Page Break">
-<br/>
-<a href="#Page Break" >Page Break</a>
+<br/><strong><a href="#Page Break" >Page Break</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 	    From version 0.6.5, we support page break feature.		You can add page break at the end of text document or after a reference paragraph.		It may help you well format your document.
 </div>
@@ -501,10 +432,3 @@ The following code is to apply a hyperli
   <li><a href="#">top</a></li>
  </ul>
 </div>
-<br/>
-</div>
-<div id="footer" class="smallgraytext"> <a href="../index.html">Home</a> | <a href="../index.html">About Us</a> | <a href="mailto:Daisy@odftoolkit.org">Contact Us</a> </div>
-</div>
-</div>
-</body>
-</html>

Modified: incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/TextExtractor.html
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/TextExtractor.html?rev=1165581&r1=1165580&r2=1165581&view=diff
==============================================================================
--- incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/TextExtractor.html (original)
+++ incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/TextExtractor.html Tue Sep  6 09:51:13 2011
@@ -1,40 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>TextExtractor</title>
- <link type="text/css" rel="stylesheet" href="cookbook.css"/>
-<link rel="stylesheet" href="../images/style.css" type="text/css" />
-<script type="text/javascript">
-
-var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-22366020-1']);
-_gaq.push(['_trackPageview']);
-
-(function() {
-var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-})();
-
-</script>
-</head>
-<body>
-<div id="page" align="center">
-<div id="content" style="width:920px" class="contentpanel">
-<div id="topheader">
-<div class="topright"> </div>
-</div>
-<div id="menu">
-<div align="left" class="smallwhitetext"> <a href="../index.html" class="home"> </a> <a href="../downloads.html" class="download"></a> <a href="../documents.html" class="document"></a> <a href="../demo/index.html" class="sample"> </a> </div>
-</div>
-<div id="subcontent" align ="left">
-<div align="left" class="titletext"> <span >
-<a href="../documents.html">Documents</a> > 
-<a href="index.html">Cookbook</a> ><a href="TextExtractor.html">TextExtractor</a>
-</span>
-</div>
+<strong><a href="../index.html">Documents</a></strong> > <strong><a href="index.html">Cookbook</a></strong> ><strong><a href="TextExtractor.html">TextExtractor</a></strong>
 <div class="navigation">
  <ul>
   <li><a href="Manipulate TextSearch.html">previous</a></li>
@@ -42,11 +6,8 @@ var s = document.getElementsByTagName('s
  </ul>
 </div>
 <br/>
-<div class="contenttitle" id="Get Text">
-<br/>
-<a href="#Get Text" >Get Text</a>
+<strong><a href="#Get Text" >Get Text</a></strong>
 <hr/>
-</div>
 <div class="bodytext">
 		TextExtractor provides a method to get the display text of a single element. EditableTextExtractor is a sub class of TextExtractor. 		It provides a method to return all the text that the user can typically edit in a document, including text in cotent.xml, 		header and footer in styles.xml, meta data in meta.xml. 
 </div>
@@ -75,10 +36,3 @@ var s = document.getElementsByTagName('s
   <li><a href="#">top</a></li>
  </ul>
 </div>
-<br/>
-</div>
-<div id="footer" class="smallgraytext"> <a href="../index.html">Home</a> | <a href="../index.html">About Us</a> | <a href="mailto:Daisy@odftoolkit.org">Contact Us</a> </div>
-</div>
-</div>
-</body>
-</html>



Mime
View raw message