Class TeXify
- java.lang.Object
-
- org.openoffice.da.comp.writer4latex.TeXify
-
public final class TeXify extends java.lang.Object
This class builds LaTeX documents into DVI, Postscript or PDF and displays the result.
-
-
Constructor Summary
Constructors Constructor Description TeXify(com.sun.star.uno.XComponentContext xContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
process(java.io.File file, java.lang.String sBibinputs, short nBackend, boolean bView)
Process a document
-
-
-
Field Detail
-
GENERIC
public static final short GENERIC
Backend format generic (dvi)- See Also:
- Constant Field Values
-
DVIPS
public static final short DVIPS
Backend format dvips (postscript)- See Also:
- Constant Field Values
-
PDFTEX
public static final short PDFTEX
Backend format pdfTeX (pdf)- See Also:
- Constant Field Values
-
XETEX
public static final short XETEX
Backend format XeTeX (also pdf, usually)- See Also:
- Constant Field Values
-
-
Method Detail
-
process
public boolean process(java.io.File file, java.lang.String sBibinputs, short nBackend, boolean bView) throws java.io.IOException
Process a document- Parameters:
file
- the LaTeX file to processsBibinputs
- value for the BIBINPUTS environment variable (or null if it should not be extended)nBackend
- the desired backend format (generic, dvips, pdftex)bView
- set the true if the result should be displayed in the viewer- Returns:
- true if the first LaTeX run was successful
- Throws:
java.io.IOException
- if the document cannot be read
-
-