public abstract class Metafile extends HSLFPictureData
| Modifier and Type | Class and Description |
|---|---|
static class |
Metafile.Header
A structure which represents a 34-byte header preceding the compressed metafile data
|
PictureData.PictureTypeCHECKSUM_SIZE| Modifier | Constructor and Description |
|---|---|
protected |
Metafile(EscherContainerRecord recordContainer,
EscherBSERecord bse)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected static byte[] |
compress(byte[] bytes,
int offset,
int length) |
java.awt.Dimension |
getImageDimension()
Return the original image dimensions in points
(for formats supported by BufferedImage).
|
create, formatImageForSlideshow, getChecksum, getChecksum, getContentType, getGenericProperties, getHeader, getImageDimensionInPixels, getIndex, getOffset, getRawData, getSignature, getUID, getUIDInstanceCount, setData, setIndex, setOffset, setRawData, setSignature, setUIDInstanceCount, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetData, getTypegetGenericChildren, getGenericRecordType@Internal protected Metafile(EscherContainerRecord recordContainer, EscherBSERecord bse)
recordContainer - Record tracking all pictures. Should be attached to the slideshow that this picture is
linked to.bse - Record referencing this picture. Should be attached to the slideshow that this picture is linked to.protected static byte[] compress(byte[] bytes,
int offset,
int length)
public java.awt.Dimension getImageDimension()
PictureDataCopyright 2022 The Apache Software Foundation or its licensors, as applicable.