Class Environment

All Implemented Interfaces:
PositionDependentRecord

public final class Environment extends PositionDependentRecordContainer
Environment, which contains lots of settings for the document.
Author:
Nick Burch
  • Constructor Details

    • Environment

      protected Environment(byte[] source, int start, int len)
      Set things up, and find our more interesting children
  • Method Details

    • getFontCollection

      public FontCollection getFontCollection()
      Returns the FontCollection of this Environment
    • getTxMasterStyleAtom

      public TxMasterStyleAtom getTxMasterStyleAtom()
    • getRecordType

      public long getRecordType()
      We are of type 1010
      Specified by:
      getRecordType in class Record
    • writeOut

      public void writeOut(OutputStream out) throws IOException
      Write the contents of the record back, so it can be written to disk
      Specified by:
      writeOut in class Record
      Throws:
      IOException