Package org.apache.poi.sl.usermodel
Enum PictureData.PictureType
- java.lang.Object
-
- java.lang.Enum<PictureData.PictureType>
-
- org.apache.poi.sl.usermodel.PictureData.PictureType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PictureData.PictureType>
- Enclosing interface:
- PictureData
public static enum PictureData.PictureType extends java.lang.Enum<PictureData.PictureType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BMPWindows Bitmap (.bmp)CLIENTclient defined blip type - native-id 32 to 255CMYKJPEGJPEG in the YCCK or CMYK color space.DIBDevice independent bitmapEMFExtended windows meta fileEPSEncapsulated Postscript (.eps)ERRORPicture type error - specific to escher bse recordGIFGIF image formatJPEGJPEG formatPICTMac PICT formatPNGPNG formatSVGScalable vector graphics (.svg) - supported by Office 2016 and higherTIFFTag Image File (.tiff)UNKNOWNUnknown picture type - specific to escher bse recordWDPMicrosoft Windows Media Photo image (.wdp)WMFWindows Meta FileWPGWordPerfect graphics (.wpg)
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringcontentTypejava.lang.StringextensionintnativeIdintooxmlId
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PictureData.PictureTypeforNativeID(int nativeId)static PictureData.PictureTypeforOoxmlID(int ooxmlId)static PictureData.PictureTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PictureData.PictureType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMF
public static final PictureData.PictureType EMF
Extended windows meta file
-
WMF
public static final PictureData.PictureType WMF
Windows Meta File
-
PICT
public static final PictureData.PictureType PICT
Mac PICT format
-
JPEG
public static final PictureData.PictureType JPEG
JPEG format
-
PNG
public static final PictureData.PictureType PNG
PNG format
-
DIB
public static final PictureData.PictureType DIB
Device independent bitmap
-
GIF
public static final PictureData.PictureType GIF
GIF image format
-
TIFF
public static final PictureData.PictureType TIFF
Tag Image File (.tiff)
-
EPS
public static final PictureData.PictureType EPS
Encapsulated Postscript (.eps)
-
BMP
public static final PictureData.PictureType BMP
Windows Bitmap (.bmp)
-
WPG
public static final PictureData.PictureType WPG
WordPerfect graphics (.wpg)
-
WDP
public static final PictureData.PictureType WDP
Microsoft Windows Media Photo image (.wdp)
-
SVG
public static final PictureData.PictureType SVG
Scalable vector graphics (.svg) - supported by Office 2016 and higher
-
UNKNOWN
public static final PictureData.PictureType UNKNOWN
Unknown picture type - specific to escher bse record
-
ERROR
public static final PictureData.PictureType ERROR
Picture type error - specific to escher bse record
-
CMYKJPEG
public static final PictureData.PictureType CMYKJPEG
JPEG in the YCCK or CMYK color space.
-
CLIENT
public static final PictureData.PictureType CLIENT
client defined blip type - native-id 32 to 255
-
-
Method Detail
-
values
public static PictureData.PictureType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PictureData.PictureType c : PictureData.PictureType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PictureData.PictureType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNativeID
public static PictureData.PictureType forNativeID(int nativeId)
-
forOoxmlID
public static PictureData.PictureType forOoxmlID(int ooxmlId)
-
-