Package org.apache.poi.hemf.record.emf
Class HemfHeader
java.lang.Object
org.apache.poi.hemf.record.emf.HemfHeader
- All Implemented Interfaces:
GenericRecord,HemfRecord
Extracts the full header from EMF files.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.poi.hemf.record.emf.HemfRecord
HemfRecord.RenderBounds -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglonggetBytes()longintlonglonglonglonginit(LittleEndianInputStream leis, long recordSize, long recordId) Init record from streambooleanbooleantoString()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildrenMethods inherited from interface org.apache.poi.hemf.record.emf.HemfRecord
calcBounds, draw, getGenericRecordType, setHeader
-
Constructor Details
-
HemfHeader
public HemfHeader()
-
-
Method Details
-
getBoundsRectangle
-
getFrameRectangle
-
getBytes
public long getBytes() -
getRecords
public long getRecords() -
getHandles
public int getHandles() -
getDescription
-
getNPalEntries
public long getNPalEntries() -
isHasExtension1
public boolean isHasExtension1() -
getCbPixelFormat
public long getCbPixelFormat() -
getOffPixelFormat
public long getOffPixelFormat() -
getbOpenGL
public long getbOpenGL() -
isHasExtension2
public boolean isHasExtension2() -
getDeviceDimension
-
getMilliDimension
-
getMicroDimension
-
toString
-
getEmfRecordType
- Specified by:
getEmfRecordTypein interfaceHemfRecord
-
init
Description copied from interface:HemfRecordInit record from stream- Specified by:
initin interfaceHemfRecord- Parameters:
leis- the little endian input streamrecordSize- the size limit for this recordrecordId- the id of theHemfRecordType- Returns:
- count of processed bytes
- Throws:
IOException- when the inputstream is malformed
-
getGenericProperties
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-