Class LaTeXUNOPublisher
java.lang.Object
org.openoffice.da.comp.w2lcommon.filter.UNOPublisher
org.openoffice.da.comp.writer2latex.LaTeXUNOPublisher
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openoffice.da.comp.w2lcommon.filter.UNOPublisher
UNOPublisher.TargetFormat -
Field Summary
Fields inherited from class org.openoffice.da.comp.w2lcommon.filter.UNOPublisher
xContext, xFrame -
Constructor Summary
ConstructorsConstructorDescriptionLaTeXUNOPublisher(com.sun.star.uno.XComponentContext xContext, com.sun.star.frame.XFrame xFrame, String sAppName) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringfilterFileName(String sFileName) Make a file name LaTeX friendlyGet the directory containing the BibTeX files (as defined in the registry)protected voidpostProcess(String sURL, UNOPublisher.TargetFormat format) Postprocess the converted document with LaTeX and display the resultprotected 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 directoryMethods inherited from class org.openoffice.da.comp.w2lcommon.filter.UNOPublisher
documentSaved, getTargetFileName, getTargetPath, getTargetURL, publish
-
Constructor Details
-
LaTeXUNOPublisher
public LaTeXUNOPublisher(com.sun.star.uno.XComponentContext xContext, com.sun.star.frame.XFrame xFrame, String sAppName)
-
-
Method Details
-
getBibTeXDirectory
Get the directory containing the BibTeX files (as defined in the registry)- Returns:
- the directory
-
filterFileName
Make a file name LaTeX friendly- Overrides:
filterFileNamein classUNOPublisher- Parameters:
sFileName- the original file name- Returns:
- the filtered file name
-
postProcessMediaProps
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- Overrides:
postProcessMediaPropsin classUNOPublisher- Parameters:
mediaProps- the media properties as set by the dialog- Returns:
- the updated media properties
-
postProcess
Postprocess the converted document with LaTeX and display the result- Overrides:
postProcessin classUNOPublisher- Parameters:
sURL- URL of the converted documentformat- the target format
-