Class WordToFoConverter

    • Constructor Detail

      • WordToFoConverter

        public WordToFoConverter​(org.w3c.dom.Document document)
        Creates new instance of WordToFoConverter. Can be used for output several HWPFDocuments into single FO document.
        Parameters:
        document - XML DOM Document used as XSL FO document. Shall support namespaces
      • WordToFoConverter

        public WordToFoConverter​(FoDocumentFacade foDocumentFacade)
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Java main() interface to interact with WordToFoConverter

        Usage: WordToFoConverter infile outfile

        Where infile is an input .doc file ( Word 97-2007) which will be rendered as XSL-FO into outfile
        Throws:
        java.lang.Exception
      • isOutputCharactersLanguage

        public boolean isOutputCharactersLanguage()
      • setOutputCharactersLanguage

        public void setOutputCharactersLanguage​(boolean outputCharactersLanguage)