incubator-odf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fh...@apache.org
Subject svn commit: r1450055 - in /incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook: Forms.mdtext Text Document.mdtext
Date Tue, 26 Feb 2013 07:15:00 GMT
Author: fhopf
Date: Tue Feb 26 07:15:00 2013
New Revision: 1450055

URL: http://svn.apache.org/r1450055
Log:
fixed formatting issues in cookbook

Modified:
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Forms.mdtext
    incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Text Document.mdtext

Modified: incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Forms.mdtext
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Forms.mdtext?rev=1450055&r1=1450054&r2=1450055&view=diff
==============================================================================
--- incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Forms.mdtext (original)
+++ incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Forms.mdtext Tue
Feb 26 07:15:00 2013
@@ -1,21 +1,3 @@
-Title:
-Notice:    Licensed to the Apache Software Foundation (ASF) under one
-           or more contributor license agreements.  See the NOTICE file
-           distributed with this work for additional information
-           regarding copyright ownership.  The ASF licenses this file
-           to you under the Apache License, Version 2.0 (the
-           "License"); you may not use this file except in compliance
-           with the License.  You may obtain a copy of the License at
-           .
-             http://www.apache.org/licenses/LICENSE-2.0
-           .
-           Unless required by applicable law or agreed to in writing,
-           software distributed under the License is distributed on an
-           "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-           KIND, either express or implied.  See the License for the
-           specific language governing permissions and limitations
-           under the License.
-
 <strong><a href="../index.html">Documents</a></strong> > <strong><a
href="index.html">Cookbook</a></strong> ><strong><a href="Forms.html">Forms</a></strong>
 <div class="navigation">
  <ul>
@@ -293,3 +275,4 @@ Notice:    Licensed to the Apache Softwa
   <li><a href="#">top</a></li>
  </ul>
 </div>
+<link type="text/css" rel="stylesheet" href="cookbook.css"/>

Modified: incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Text Document.mdtext
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Text%20Document.mdtext?rev=1450055&r1=1450054&r2=1450055&view=diff
==============================================================================
--- incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Text Document.mdtext
(original)
+++ incubator/odf/site/trunk/content/odftoolkit/simple/document/cookbook/Text Document.mdtext
Tue Feb 26 07:15:00 2013
@@ -52,11 +52,9 @@ Also we can change the mode of one text 
 		<span class='javaclass'>TextDocument</span> src = <span class='javaclass'>TextDocument</span>.loadDocument("SourceDocument.odt");
 		<span class='javaclass'>TextDocument</span> target = <span class='javaclass'>TextDocument</span>.loadDocument("TargetDocument.odt");
 		<span class='javaclass'>Paragraph</span> p1 = target.getParagraphByIndex(0,
<span class='basic'>true</span>);
-
-	    <span class='comments'>	// insert contents before p1 and copy styles</span>
+<span class='comments'>	       // insert contents before p1 and copy styles</span>
 		target.insertContentFromDocumentBefore(src, p1, <span class='basic'>true</span>);
-	
-	   <span class='comments'>	// insert contents after p1 and don't copy styles</span>
+<span class='comments'>	       // insert contents after p1 and don't copy styles</span>
 		target.insertContentFromDocumentAfter(src, p1, <span class='basic'>false</span>);
 </pre>
 <br/><br/><strong><a href="#Paragraph" >Paragraph</a></strong>



Mime
View raw message