Package writer2latex.latex
Class LaTeXDocumentPortion
java.lang.Object
writer2latex.latex.LaTeXDocumentPortion
This class represents a portion of a LaTeX document. A portion is any
number of lines, and may include subportions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd a string to the end of this portionAdd another portion to the end of this portionnl()
Add a newline to the end of this portiontoString()
Return the content of this LaTeXDocumentStream as a stringvoid
write
(OutputStreamWriter osw, int nLineLen, String sNewline) Write this portion to the output (note: nLineLen=0 means no wrap)
-
Constructor Details
-
LaTeXDocumentPortion
public LaTeXDocumentPortion(boolean bWrap)
-
-
Method Details
-
append
Add another portion to the end of this portion -
append
Add a string to the end of this portion -
nl
Add a newline to the end of this portion -
write
Write this portion to the output (note: nLineLen=0 means no wrap)- Throws:
IOException
-
toString
Return the content of this LaTeXDocumentStream as a string
-