public final class TeXify
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static short |
DVIPS |
Backend format dvips (postscript)
|
static short |
GENERIC |
Backend format generic (dvi)
|
static short |
PDFTEX |
Backend format pdfTeX (pdf)
|
static short |
XETEX |
Backend format XeTeX (also pdf, usually)
|
Constructor | Description |
---|---|
TeXify(com.sun.star.uno.XComponentContext xContext) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
process(java.io.File file,
java.lang.String sBibinputs,
short nBackend,
boolean bView) |
Process a document
|
public static final short GENERIC
public static final short DVIPS
public static final short PDFTEX
public static final short XETEX
public boolean process(java.io.File file, java.lang.String sBibinputs, short nBackend, boolean bView) throws java.io.IOException
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 viewerjava.io.IOException
- if the document cannot be read