Class MIFFile

java.lang.Object
org.apache.fop.render.mif.MIFElement
org.apache.fop.render.mif.MIFFile

public class MIFFile extends MIFElement
The MIF File. This organises the MIF File and the corresponding elements. The catalog elements are used to setup the resources that are referenced.
  • Field Details

    • colorCatalog

      protected MIFElement colorCatalog
      colorCatalog
    • pgfCatalog

      protected PGFElement pgfCatalog
      pgfCatalog
    • rulingCatalog

      protected RulingElement rulingCatalog
      rulingCatalog
    • pages

      protected List pages
      pages
  • Constructor Details

    • MIFFile

      public MIFFile()
      default constructor
  • Method Details

    • setup

      protected void setup()
      Do some setup. Currently adds some dummy values to the resources.
    • output

      public void output(OutputStream os) throws IOException
      Parameters:
      os - output stream
      Throws:
      IOException - if not caught
    • addPage

      public void addPage(MIFElement p)
      Parameters:
      p - a page element to add