Class LaTeXUNOPublisher

java.lang.Object
org.openoffice.da.comp.w2lcommon.filter.UNOPublisher
org.openoffice.da.comp.writer2latex.LaTeXUNOPublisher

public class LaTeXUNOPublisher extends UNOPublisher
  • Constructor Details

    • LaTeXUNOPublisher

      public LaTeXUNOPublisher(com.sun.star.uno.XComponentContext xContext, com.sun.star.frame.XFrame xFrame, String sAppName)
  • Method Details

    • getBibTeXDirectory

      public File getBibTeXDirectory()
      Get the directory containing the BibTeX files (as defined in the registry)
      Returns:
      the directory
    • filterFileName

      protected String filterFileName(String sFileName)
      Make a file name LaTeX friendly
      Overrides:
      filterFileName in class UNOPublisher
      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:
      postProcessMediaProps in class UNOPublisher
      Parameters:
      mediaProps - the media properties as set by the dialog
      Returns:
      the updated media properties
    • postProcess

      protected void postProcess(String sURL, UNOPublisher.TargetFormat format)
      Postprocess the converted document with LaTeX and display the result
      Overrides:
      postProcess in class UNOPublisher
      Parameters:
      sURL - URL of the converted document
      format - the target format