Package org.apache.poi.hemf.record.emf
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interfaceHemfFont.LogFontDetailsprotected static classHemfFont.LogFontExDvprotected static classHemfFont.LogFontPanose-
Nested classes/interfaces inherited from class org.apache.poi.hwmf.record.HwmfFont
HwmfFont.WmfClipPrecision, HwmfFont.WmfFontQuality, HwmfFont.WmfOutPrecision
-
-
Field Summary
Fields Modifier and Type Field Description protected HemfFont.LogFontDetailsdetailsprotected Stringfullnameprotected Stringscriptprotected Stringstyle-
Fields inherited from class org.apache.poi.hwmf.record.HwmfFont
charSet, clipPrecision, escapement, facename, family, height, italic, orientation, outPrecision, pitch, pitchAndFamily, quality, strikeOut, underline, weight, width
-
-
Constructor Summary
Constructors Constructor Description HemfFont()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Supplier<?>>getGenericProperties()intinit(LittleEndianInputStream leis, long recordSize)protected intreadString(LittleEndianInputStream leis, StringBuilder sb, int limit)voidsetHeight(double height)voidsetItalic(boolean italic)voidsetStrikeOut(boolean strikeOut)voidsetTypeface(String typeface)voidsetUnderline(boolean underline)voidsetWeight(int weight)StringtoString()-
Methods inherited from class org.apache.poi.hwmf.record.HwmfFont
getCharset, getClipPrecision, getEscapement, getFamily, getHeight, getOrientation, getOutPrecision, getPitch, getPitchAndFamily, getQuality, getTypeface, getWeight, getWidth, initDefaults, isItalic, isStrikeOut, isUnderline, readString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.fonts.FontInfo
getFacets, getIndex, getPanose, setCharset, setFamily, setIndex, setPanose, setPitch
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
-
-
-
Field Detail
-
fullname
protected String fullname
-
style
protected String style
-
script
protected String script
-
details
protected HemfFont.LogFontDetails details
-
-
Method Detail
-
init
public int init(LittleEndianInputStream leis, long recordSize) throws IOException
- Overrides:
initin classHwmfFont- Throws:
IOException
-
getGenericProperties
public Map<String,Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord- Overrides:
getGenericPropertiesin classHwmfFont
-
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)
-
readString
protected int readString(LittleEndianInputStream leis, StringBuilder sb, int limit)
- Overrides:
readStringin classHwmfFont
-
-