| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hwmf.record.HwmfFont
public class HwmfFont
The Font object specifies the attributes of a logical font
| Nested Class Summary | |
|---|---|
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.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.  | 
| Constructor Summary | |
|---|---|
HwmfFont()
 | 
|
| Method Summary | |
|---|---|
 FontCharset | 
getCharset()
 | 
 HwmfFont.WmfClipPrecision | 
getClipPrecision()
 | 
 int | 
getEscapement()
 | 
 FontFamily | 
getFamily()
 | 
 int | 
getHeight()
 | 
 java.lang.Integer | 
getIndex()
Get the index within the collection of Font objects  | 
 int | 
getOrientation()
 | 
 HwmfFont.WmfOutPrecision | 
getOutPrecision()
 | 
 FontPitch | 
getPitch()
 | 
 int | 
getPitchAndFamily()
 | 
 HwmfFont.WmfFontQuality | 
getQuality()
 | 
 java.lang.String | 
getTypeface()
 | 
 int | 
getWeight()
 | 
 int | 
getWidth()
 | 
 int | 
init(LittleEndianInputStream leis)
 | 
 boolean | 
isItalic()
 | 
 boolean | 
isStrikeOut()
 | 
 boolean | 
isUnderline()
 | 
 void | 
setCharset(FontCharset charset)
Sets the charset  | 
 void | 
setFamily(FontFamily family)
Sets the font family class  | 
 void | 
setIndex(int index)
Sets the index within the collection of Font objects  | 
 void | 
setPitch(FontPitch pitch)
Set the font pitch  | 
 void | 
setTypeface(java.lang.String typeface)
Sets the font name  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public HwmfFont()
| Method Detail | 
|---|
public int init(LittleEndianInputStream leis)
         throws java.io.IOException
java.io.IOExceptionpublic int getHeight()
public int getWidth()
public int getEscapement()
public int getOrientation()
public int getWeight()
public boolean isItalic()
public boolean isUnderline()
public boolean isStrikeOut()
public HwmfFont.WmfOutPrecision getOutPrecision()
public HwmfFont.WmfClipPrecision getClipPrecision()
public HwmfFont.WmfFontQuality getQuality()
public int getPitchAndFamily()
public FontFamily getFamily()
getFamily in interface FontInfopublic void setFamily(FontFamily family)
FontInfo
setFamily in interface FontInfofamily - the font family classpublic FontPitch getPitch()
getPitch in interface FontInfonull if unsupportedpublic void setPitch(FontPitch pitch)
FontInfo
setPitch in interface FontInfopitch - the font pitchpublic java.lang.Integer getIndex()
FontInfo
getIndex in interface FontInfopublic void setIndex(int index)
FontInfo
setIndex in interface FontInfoindex - the index within the collection of Font objectspublic java.lang.String getTypeface()
getTypeface in interface FontInfopublic void setTypeface(java.lang.String typeface)
FontInfo
setTypeface in interface FontInfotypeface - the full name of the font, when null removes the font definition -
    removal is implementation specificpublic FontCharset getCharset()
getCharset in interface FontInfopublic void setCharset(FontCharset charset)
FontInfo
setCharset in interface FontInfocharset - the charset
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||