Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD

## 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
`BMP` Windows Bitmap (.bmp)
`DIB` Device independent bitmap
`EMF` Extended windows meta file
`EPS` Encapsulated Postscript (.eps)
`GIF` GIF image format
`JPEG` JPEG format
`PICT` Mac PICT format
`PNG` PNG format
`TIFF` Tag Image File (.tiff)
`WDP` Microsoft Windows Media Photo image (.wdp)
`WMF` Windows Meta File
`WPG` WordPerfect graphics (.wpg)

Field Summary
`java.lang.String` | `contentType`
`java.lang.String` | `extension`
`int` | `nativeId`
`int` | `ooxmlId`

Method Summary
`static PictureData.PictureType` | `forNativeID(int nativeId)`
`static PictureData.PictureType` | `forOoxmlID(int ooxmlId)`
`static PictureData.PictureType` | `valueOf(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.

Methods inherited from class java.lang.Enum
`clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

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)

Field Detail

### nativeId

    public final int nativeId

### ooxmlId

    public final int ooxmlId

### contentType

    public final java.lang.String contentType

### extension

    public final java.lang.String extension

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 name
    `java.lang.NullPointerException` - if the argument is null

### forNativeID

    public static PictureData.PictureType forNativeID(int nativeId)

### forOoxmlID

    public static PictureData.PictureType forOoxmlID(int ooxmlId)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD

Copyright 2017 The Apache Software Foundation or its licensors, as applicable.