org.apache.poi.hwmf.record
Class HwmfFont
java.lang.Object
org.apache.poi.hwmf.record.HwmfFont
public class HwmfFont
- extends java.lang.Object
The Font object specifies the attributes of a logical font
Nested Class Summary |
static class |
HwmfFont.WmfCharset
|
static class |
HwmfFont.WmfClipPrecision
ClipPrecision Flags specify clipping precision, which defines how to clip characters that are
partially outside a clipping region. |
static class |
HwmfFont.WmfFontFamilyClass
A property of a font that describes its general appearance. |
static class |
HwmfFont.WmfFontPitch
A property of a font that describes the pitch, of the characters. |
static class |
HwmfFont.WmfFontQuality
The output quality defines how carefully to attempt to match the logical font attributes to those of an actual
physical font. |
static class |
HwmfFont.WmfOutPrecision
The output precision defines how closely the output must match the requested font's height,
width, character orientation, escapement, pitch, and font type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HwmfFont
public HwmfFont()
init
public int init(LittleEndianInputStream leis)
throws java.io.IOException
- Throws:
java.io.IOException
getHeight
public int 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()
getCharSet
public HwmfFont.WmfCharset getCharSet()
getOutPrecision
public HwmfFont.WmfOutPrecision getOutPrecision()
getClipPrecision
public HwmfFont.WmfClipPrecision getClipPrecision()
getQuality
public HwmfFont.WmfFontQuality getQuality()
getPitchAndFamily
public int getPitchAndFamily()
getFamily
public HwmfFont.WmfFontFamilyClass getFamily()
getPitch
public HwmfFont.WmfFontPitch getPitch()
getFacename
public java.lang.String getFacename()
Copyright 2016 The Apache Software Foundation or
its licensors, as applicable.