Class WMF

  • All Implemented Interfaces:
    PictureData

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

      • WMF

        public WMF()
    • Method Detail

      • 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 java.io.IOException
        Description copied from interface: PictureData
        Sets the binary picture data
        Parameters:
        data - picture data
        Throws:
        java.io.IOException
      • getSignature

        public int getSignature()
        WMF signature is either 0x2160 or 0x2170
      • setSignature

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