Class RtfExternalGraphic.FormatBase

    • Constructor Detail

      • FormatBase

        private FormatBase()
    • Method Detail

      • isFormat

        public static boolean isFormat​(byte[] data)
        Determines whether the image is in the according format.
        Parameters:
        data - Image
        Returns:
        true If according type\n false Other type
      • determineFormat

        public static RtfExternalGraphic.FormatBase determineFormat​(byte[] data)
        Determine image file format.
        Parameters:
        data - Image
        Returns:
        Image format class
      • getType

        public int getType()
        Get image type.
        Returns:
        Image format class
      • getRtfTag

        public java.lang.String getRtfTag()
        Get rtf tag.
        Returns:
        Rtf tag for image format.