incubator-odf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From devin...@apache.org
Subject svn commit: r1164403 - /incubator/odf/site/trunk/content/odftoolkit/simple/demo/demo10.mdtext
Date Fri, 02 Sep 2011 08:39:37 GMT
Author: devinhan
Date: Fri Sep  2 08:39:37 2011
New Revision: 1164403

URL: http://svn.apache.org/viewvc?rev=1164403&view=rev
Log:
clear tags

Modified:
    incubator/odf/site/trunk/content/odftoolkit/simple/demo/demo10.mdtext

Modified: incubator/odf/site/trunk/content/odftoolkit/simple/demo/demo10.mdtext
URL: http://svn.apache.org/viewvc/incubator/odf/site/trunk/content/odftoolkit/simple/demo/demo10.mdtext?rev=1164403&r1=1164402&r2=1164403&view=diff
==============================================================================
--- incubator/odf/site/trunk/content/odftoolkit/simple/demo/demo10.mdtext (original)
+++ incubator/odf/site/trunk/content/odftoolkit/simple/demo/demo10.mdtext Fri Sep  2 08:39:37
2011
@@ -14,7 +14,7 @@ This picture shows part of the generated
 
 There code of this demo is very clear. Firstly, we open the data source and create a text
document. Secondly, we create paragraph for each line. Thirdly, we set different style for
different content. Then we do spell and security check with the help of Navigation API. Comments
are given if suspicious words are found.  Finally, the new created document is saved.  
 
-            BufferedReader reader = new BufferedReader(new InputStreamReader(FormatParagraphDemo.class.getResourceAsStream("text.txt")));
+            BufferedReader reader = new BufferedReader(new InputStreamReader(this.class.getResourceAsStream("text.txt")));
     		String in = reader.readLine();
     		TextDocument doc = TextDocument.newTextDocument();
     		int lineCount = 0;



Mime
View raw message