Class WMF

All Implemented Interfaces:
PictureData

public final class WMF extends Metafile
Represents a WMF (Windows Metafile) picture data.
  • Constructor Details

    • WMF

      public WMF()
  • Method Details

    • getData

      public byte[] getData()
      Description copied from interface: PictureData
      Returns the binary data of this Picture
      Returns:
      picture data
    • setData

      public void setData(byte[] data) throws IOException
      Description copied from interface: PictureData
      Sets the binary picture data
      Parameters:
      data - picture data
      Throws:
      IOException
    • getType

      public PictureData.PictureType getType()
      Returns:
      the picture type
    • getSignature

      public int getSignature()
      WMF signature is either 0x2160 or 0x2170
      Specified by:
      getSignature in class HSLFPictureData
    • setSignature

      public void setSignature(int signature)
      Sets the WMF signature - either 0x2160 or 0x2170
      Specified by:
      setSignature in class HSLFPictureData