Class TeXify
java.lang.Object
org.openoffice.da.comp.writer4latex.TeXify
This class builds LaTeX documents into DVI, Postscript or PDF and displays
the result.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
GENERIC
public static final short GENERICBackend format generic (dvi)- See Also:
-
DVIPS
public static final short DVIPSBackend format dvips (postscript)- See Also:
-
PDFTEX
public static final short PDFTEXBackend format pdfTeX (pdf)- See Also:
-
XETEX
public static final short XETEXBackend format XeTeX (also pdf, usually)- See Also:
-
-
Constructor Details
-
TeXify
public TeXify(com.sun.star.uno.XComponentContext xContext)
-
-
Method Details
-
process
public boolean process(File file, String sBibinputs, short nBackend, boolean bView) throws 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:
IOException
- if the document cannot be read
-