Package org.apache.poi.hemf.record
Class HemfHeader
java.lang.Object
org.apache.poi.hemf.record.HemfHeader
- All Implemented Interfaces:
HemfRecord
Extracts the full header from EMF files.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
long
getBytes()
long
int
long
long
long
long
long
long
long
long
init
(LittleEndianInputStream leis, long recordId, long recordSize) Init record from streamboolean
boolean
toString()
-
Constructor Details
-
HemfHeader
public HemfHeader()
-
-
Method Details
-
getBoundsRectangle
-
getFrameRectangle
-
getBytes
public long getBytes() -
getRecords
public long getRecords() -
getHandles
public int getHandles() -
getnDescription
public long getnDescription() -
getOffDescription
public long getOffDescription() -
getnPalEntries
public long getnPalEntries() -
isHasExtension1
public boolean isHasExtension1() -
getCbPixelFormat
public long getCbPixelFormat() -
getOffPixelFormat
public long getOffPixelFormat() -
getbOpenGL
public long getbOpenGL() -
isHasExtension2
public boolean isHasExtension2() -
getMicrometersX
public long getMicrometersX() -
getMicrometersY
public long getMicrometersY() -
toString
-
getRecordType
- Specified by:
getRecordType
in interfaceHemfRecord
-
init
Description copied from interface:HemfRecord
Init record from stream- Specified by:
init
in interfaceHemfRecord
- Parameters:
leis
- the little endian input stream- Returns:
- count of processed bytes
- Throws:
IOException
-