Class HemfPlusHeader

java.lang.Object
org.apache.poi.hemf.hemfplus.record.HemfPlusHeader
All Implemented Interfaces:
HemfPlusRecord

@Internal public class HemfPlusHeader extends Object implements HemfPlusRecord
  • Constructor Details

    • HemfPlusHeader

      public HemfPlusHeader()
  • Method Details

    • getRecordType

      public HemfPlusRecordType getRecordType()
      Specified by:
      getRecordType in interface HemfPlusRecord
    • getFlags

      public int getFlags()
      Specified by:
      getFlags in interface HemfPlusRecord
    • init

      public void init(byte[] dataBytes, int recordId, int flags) throws IOException
      Specified by:
      init in interface HemfPlusRecord
      Parameters:
      dataBytes - these are the bytes that start after the id, flags, record size and go to the end of the record; they do not include any required padding at the end.
      recordId - record type id
      flags - flags
      Throws:
      IOException
    • getVersion

      public long getVersion()
    • getEmfPlusFlags

      public long getEmfPlusFlags()
    • getLogicalDpiX

      public long getLogicalDpiX()
    • getLogicalDpiY

      public long getLogicalDpiY()
    • toString

      public String toString()
      Overrides:
      toString in class Object