public enum PictureType extends java.lang.Enum<PictureType>
Enum Constant and Description |
---|
BMP
Windows Bitmap (.bmp)
|
CLIENT
client defined blip type - native-id 32 to 255
|
CMYKJPEG
JPEG in the YCCK or CMYK color space.
|
DIB
Device independent bitmap
|
EMF
Extended windows meta file
|
EPS
Encapsulated Postscript (.eps)
|
ERROR
Picture type error - specific to escher bse record
|
GIF
GIF image format
|
JPEG
JPEG format
|
PICT
Mac PICT format
|
PNG
PNG format
|
SVG
Scalable vector graphics (.svg) - supported by Office 2016 and higher
|
TIFF
Tag Image File (.tiff)
|
UNKNOWN
Unknown picture type - specific to escher bse record
|
WDP
Microsoft Windows Media Photo image (.wdp)
|
WMF
Windows Meta File
|
WPG
WordPerfect graphics (.wpg)
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
contentType |
java.lang.String |
extension |
int |
ooxmlId |
Modifier and Type | Method and Description |
---|---|
static PictureType |
findByOoxmlId(int ooxmlId) |
java.lang.String |
getContentType() |
java.lang.String |
getExtension() |
int |
getOoxmlId() |
static PictureType |
valueOf(FileMagic fm) |
static PictureType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PictureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PictureType EMF
public static final PictureType WMF
public static final PictureType PICT
public static final PictureType JPEG
public static final PictureType PNG
public static final PictureType DIB
public static final PictureType GIF
public static final PictureType TIFF
public static final PictureType EPS
public static final PictureType BMP
public static final PictureType WPG
public static final PictureType WDP
public static final PictureType SVG
public static final PictureType UNKNOWN
public static final PictureType ERROR
public static final PictureType CMYKJPEG
public static final PictureType CLIENT
public final java.lang.String contentType
public final java.lang.String extension
public final int ooxmlId
public static PictureType[] values()
for (PictureType c : PictureType.values()) System.out.println(c);
public static PictureType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getContentType()
public java.lang.String getExtension()
public int getOoxmlId()
public static PictureType valueOf(FileMagic fm)
public static PictureType findByOoxmlId(int ooxmlId)
ooxmlId
- for PictureTypeCopyright 2022 The Apache Software Foundation or its licensors, as applicable.