Class HwmfFont

    • Constructor Detail

      • HwmfFont

        public HwmfFont()
    • Method Detail

      • init

        public int init​(LittleEndianInputStream leis,
                        long recordSize)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • initDefaults

        public void initDefaults()
      • getHeight

        public double getHeight()
      • getWidth

        public int getWidth()
      • getEscapement

        public int getEscapement()
      • getOrientation

        public int getOrientation()
      • getWeight

        public int getWeight()
      • isItalic

        public boolean isItalic()
      • isUnderline

        public boolean isUnderline()
      • isStrikeOut

        public boolean isStrikeOut()
      • getPitchAndFamily

        public int getPitchAndFamily()
      • getPitch

        public FontPitch getPitch()
        Specified by:
        getPitch in interface FontInfo
        Returns:
        the font pitch or null if unsupported
      • getTypeface

        public java.lang.String getTypeface()
        Specified by:
        getTypeface in interface FontInfo
        Returns:
        the full name of the font, i.e. font family + type face
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getGenericProperties

        public java.util.Map<java.lang.String,​java.util.function.Supplier<?>> getGenericProperties()
        Specified by:
        getGenericProperties in interface GenericRecord