org.opencrx.kernel.utils.rtf
Class RTFTemplate
java.lang.Object
org.opencrx.kernel.utils.rtf.RTFTemplate
public class RTFTemplate
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RTFTemplate
public RTFTemplate()
throws IOException
- Throws:
IOException
readFrom
public void readFrom(Reader in,
boolean closeReader)
throws IOException
- Throws:
IOException
writeTo
public void writeTo(Writer out,
boolean closeWriter)
throws IOException
- Throws:
IOException
writeTo
public void writeTo(OutputStream out)
throws IOException
- Throws:
IOException
existBookmark
public boolean existBookmark(String name)
searchBookmark
public Bookmark searchBookmark(String name)
throws BookmarkNotFoundException
- Throws:
BookmarkNotFoundException
appendTableRow
public void appendTableRow(String bookmarkTableEnd)
throws BookmarkNotFoundException
- Throws:
BookmarkNotFoundException
setBookmarkContent
public void setBookmarkContent(String bookmark,
String text,
boolean removeBookmark)
throws BookmarkNotFoundException
- Throws:
BookmarkNotFoundException
setBookmarkContent
public void setBookmarkContent(String bookmark,
String text)
throws BookmarkNotFoundException
- Throws:
BookmarkNotFoundException
setBookmarkContent
public void setBookmarkContent(String bookmark,
Text textparts,
boolean removeBookmark)
throws BookmarkNotFoundException
- Throws:
BookmarkNotFoundException
setBookmarkContent
public void setBookmarkContent(String bookmark,
Text textparts)
throws BookmarkNotFoundException
- Throws:
BookmarkNotFoundException
setBookmarkCheckbox
public void setBookmarkCheckbox(String bookmark,
boolean value)
throws BookmarkNotFoundException,
BookmarkIsNotCheckboxException
- Throws:
BookmarkNotFoundException
BookmarkIsNotCheckboxException
getDocumentAsString
protected String getDocumentAsString()
getBookmarkNames
public List<String> getBookmarkNames()
This software is published under the BSD license. Copyright © 2003-2013, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.