Class HemfFont

java.lang.Object
org.apache.poi.hwmf.record.HwmfFont
org.apache.poi.hemf.record.emf.HemfFont
All Implemented Interfaces:
FontInfo, GenericRecord

public class HemfFont extends HwmfFont
  • Constructor Details

    • HemfFont

      public HemfFont()
  • Method Details

    • init

      public int init(LittleEndianInputStream leis, long recordSize) throws IOException
      Overrides:
      init in class HwmfFont
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class HwmfFont
    • getGenericProperties

      public Map<String,Supplier<?>> getGenericProperties()
      Specified by:
      getGenericProperties in interface GenericRecord
      Overrides:
      getGenericProperties in class HwmfFont
    • setHeight

      public void setHeight(double height)
    • setWeight

      public void setWeight(int weight)
    • setItalic

      public void setItalic(boolean italic)
    • setUnderline

      public void setUnderline(boolean underline)
    • setStrikeOut

      public void setStrikeOut(boolean strikeOut)
    • setTypeface

      public void setTypeface(String typeface)
      Description copied from interface: FontInfo
      Sets the font name
      Parameters:
      typeface - the full name of the font, when null removes the font definition - removal is implementation specific