public class HemfFont extends HwmfFont
| Modifier and Type | Class and Description | 
|---|---|
| protected static interface  | HemfFont.LogFontDetails | 
| protected static class  | HemfFont.LogFontExDv | 
| protected static class  | HemfFont.LogFontPanose | 
HwmfFont.WmfClipPrecision, HwmfFont.WmfFontQuality, HwmfFont.WmfOutPrecision| Modifier and Type | Field and Description | 
|---|---|
| protected HemfFont.LogFontDetails | details | 
| protected java.lang.String | fullname | 
| protected java.lang.String | script | 
| protected java.lang.String | style | 
charSet, clipPrecision, escapement, facename, family, height, italic, orientation, outPrecision, pitch, pitchAndFamily, quality, strikeOut, underline, weight, width| Constructor and Description | 
|---|
| HemfFont() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Map<java.lang.String,java.util.function.Supplier<?>> | getGenericProperties() | 
| int | init(LittleEndianInputStream leis,
    long recordSize) | 
| protected int | readString(LittleEndianInputStream leis,
          java.lang.StringBuilder sb,
          int limit) | 
| void | setHeight(double height) | 
| void | setItalic(boolean italic) | 
| void | setStrikeOut(boolean strikeOut) | 
| void | setTypeface(java.lang.String typeface)Sets the font name | 
| void | setUnderline(boolean underline) | 
| void | setWeight(int weight) | 
| java.lang.String | toString() | 
getCharset, getClipPrecision, getEscapement, getFamily, getHeight, getOrientation, getOutPrecision, getPitch, getPitchAndFamily, getQuality, getTypeface, getWeight, getWidth, initDefaults, isItalic, isStrikeOut, isUnderline, readStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFacets, getIndex, getPanose, setCharset, setFamily, setIndex, setPanose, setPitchgetGenericChildren, getGenericRecordTypeprotected java.lang.String fullname
protected java.lang.String style
protected java.lang.String script
protected HemfFont.LogFontDetails details
public int init(LittleEndianInputStream leis, long recordSize) throws java.io.IOException
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordgetGenericProperties in class HwmfFontpublic void setHeight(double height)
public void setWeight(int weight)
public void setItalic(boolean italic)
public void setUnderline(boolean underline)
public void setStrikeOut(boolean strikeOut)
public void setTypeface(java.lang.String typeface)
FontInfotypeface - the full name of the font, when null removes the font definition -
    removal is implementation specificprotected int readString(LittleEndianInputStream leis, java.lang.StringBuilder sb, int limit)
readString in class HwmfFontCopyright 2022 The Apache Software Foundation or its licensors, as applicable.