Package org.apache.poi.hslf.blip
Class Metafile
- java.lang.Object
-
- org.apache.poi.hslf.usermodel.HSLFPictureData
-
- org.apache.poi.hslf.blip.Metafile
-
- All Implemented Interfaces:
PictureData
public abstract class Metafile extends HSLFPictureData
Represents a metafile picture which can be one of the following types: EMF, WMF, or PICT. A metafile is stored compressed using the ZIP deflate/inflate algorithm.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Metafile.Header
A structure which represents a 34-byte header preceding the compressed metafile data-
Nested classes/interfaces inherited from interface org.apache.poi.sl.usermodel.PictureData
PictureData.PictureType
-
-
Constructor Summary
Constructors Constructor Description Metafile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Dimension
getImageDimension()
Return the original image dimensions in points (for formats supported by BufferedImage).-
Methods inherited from class org.apache.poi.hslf.usermodel.HSLFPictureData
create, getChecksum, getChecksum, getContentType, getHeader, getImageDimensionInPixels, getIndex, getOffset, getRawData, getUID, setIndex, setOffset, setRawData, setSignature, write
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.poi.sl.usermodel.PictureData
getData, getType, setData
-
-
-
-
Method Detail
-
getImageDimension
public java.awt.Dimension getImageDimension()
Description copied from interface:PictureData
Return the original image dimensions in points (for formats supported by BufferedImage). Will return a Dimension with a default width of 200x200 if the format unsupported.
-
-