@Internal public interface HemfRecord extends GenericRecord
| Modifier and Type | Method and Description |
|---|---|
default void |
draw(HemfGraphics ctx)
Draws the record, the default redirects to the parent WMF record drawing
|
HemfRecordType |
getEmfRecordType() |
default java.lang.Enum |
getGenericRecordType() |
long |
init(LittleEndianInputStream leis,
long recordSize,
long recordId)
Init record from stream
|
default void |
setHeader(HemfHeader header)
Sets the header reference, in case the record needs to refer to it
|
getGenericChildren, getGenericPropertiesHemfRecordType getEmfRecordType()
long init(LittleEndianInputStream leis, long recordSize, long recordId) throws java.io.IOException
leis - the little endian input streamrecordSize - the size limit for this recordrecordId - the id of the HemfRecordTypejava.io.IOException - when the inputstream is malformeddefault void draw(HemfGraphics ctx)
ctx - the drawing contextdefault void setHeader(HemfHeader header)
header - the emf headerdefault java.lang.Enum getGenericRecordType()
getGenericRecordType in interface GenericRecordCopyright 2020 The Apache Software Foundation or its licensors, as applicable.