fixed formatting issues in cookbook
diff --git a/content/odftoolkit/simple/document/cookbook/Forms.mdtext b/content/odftoolkit/simple/document/cookbook/Forms.mdtext
index 1d23395..abfab0c 100644
--- a/content/odftoolkit/simple/document/cookbook/Forms.mdtext
+++ b/content/odftoolkit/simple/document/cookbook/Forms.mdtext
@@ -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 @@
<li><a href="#">top</a></li>
</ul>
</div>
+<link type="text/css" rel="stylesheet" href="cookbook.css"/>
diff --git a/content/odftoolkit/simple/document/cookbook/Text Document.mdtext b/content/odftoolkit/simple/document/cookbook/Text Document.mdtext
index 23d41e4..8602d9b 100644
--- a/content/odftoolkit/simple/document/cookbook/Text Document.mdtext
+++ b/content/odftoolkit/simple/document/cookbook/Text Document.mdtext
@@ -52,11 +52,9 @@
<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>