public class LaTeXUNOPublisher extends UNOPublisher
UNOPublisher.TargetFormat
xContext, xFrame
Constructor and Description |
---|
LaTeXUNOPublisher(com.sun.star.uno.XComponentContext xContext,
com.sun.star.frame.XFrame xFrame,
java.lang.String sAppName) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
filterFileName(java.lang.String sFileName)
Make a file name LaTeX friendly
|
java.io.File |
getBibTeXDirectory()
Get the directory containing the BibTeX files (as defined in the registry)
|
protected void |
postProcess(java.lang.String sURL,
UNOPublisher.TargetFormat format)
Postprocess the converted document with LaTeX and display the result
|
protected com.sun.star.beans.PropertyValue[] |
postProcessMediaProps(com.sun.star.beans.PropertyValue[] mediaProps)
Post process the filter data: Set bibliography options and
determine the backend and the BIBINPUTS directory
|
documentSaved, getTargetFileName, getTargetPath, getTargetURL, publish
public LaTeXUNOPublisher(com.sun.star.uno.XComponentContext xContext, com.sun.star.frame.XFrame xFrame, java.lang.String sAppName)
public java.io.File getBibTeXDirectory()
protected java.lang.String filterFileName(java.lang.String sFileName)
filterFileName
in class UNOPublisher
sFileName
- the original file nameprotected com.sun.star.beans.PropertyValue[] postProcessMediaProps(com.sun.star.beans.PropertyValue[] mediaProps)
postProcessMediaProps
in class UNOPublisher
mediaProps
- the media properties as set by the dialogprotected void postProcess(java.lang.String sURL, UNOPublisher.TargetFormat format)
postProcess
in class UNOPublisher
sURL
- URL of the converted documentformat
- the target format