org.apache.poi.hemf.hemfplus.record
Class HemfPlusHeader
java.lang.Object
org.apache.poi.hemf.hemfplus.record.HemfPlusHeader
- All Implemented Interfaces:
- HemfPlusRecord
@Internal
public class HemfPlusHeader
- extends java.lang.Object
- implements HemfPlusRecord
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HemfPlusHeader
public HemfPlusHeader()
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 idflags
- 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.