Class XFC

    • Constructor Detail

      • XFC

        public XFC()
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: FOProcessor
        Returns the name of the XSL-FO processor. This name is specified in the processor attribute of the processFO element in order to load the FO processor needed by the process command. Example: <processFO processor="XFC" file="doc.fo" to="doc.rtf"/>.
      • getDescription

        public String getDescription()
        Description copied from interface: FOProcessor
        Returns a short (possibly multi-line) description of the XSL-FO processor.
      • processFO

        public void processFO​(URL inURL,
                              File outFile,
                              String[] parameters,
                              Console console)
                       throws Exception
        Description copied from interface: FOProcessor
        Converts an XSL-FO file to another format.
        Parameters:
        inURL - the URL of the file containing XSL-FO
        outFile - file generated by the XSL-FO processor
        parameters - contains parameter name/parameter value pairs. These parameters, which are specific to each XSL-FO processor, are specified using the parameter child element of the processFO element. Example: <parameter name="outputEncoding">Cp1252</parameter>.
        console - used to report information, warnings and non-fatal errors
        Throws:
        Exception - if, for any reason, conversion cannot be completed