org.apache.poi.hemf.hemfplus.record
Class HemfPlusHeader

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

@Internal
public class HemfPlusHeader
extends java.lang.Object
implements HemfPlusRecord


Constructor Summary
HemfPlusHeader()
           
 
Method Summary
 long getEmfPlusFlags()
           
 int getFlags()
           
 long getLogicalDpiX()
           
 long getLogicalDpiY()
           
 HemfPlusRecordType getRecordType()
           
 long getVersion()
           
 void init(byte[] dataBytes, int recordId, int flags)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HemfPlusHeader

public HemfPlusHeader()
Method Detail

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 java.io.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:
java.io.IOException

getVersion

public long getVersion()

getEmfPlusFlags

public long getEmfPlusFlags()

getLogicalDpiX

public long getLogicalDpiX()

getLogicalDpiY

public long getLogicalDpiY()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2017 The Apache Software Foundation or its licensors, as applicable.