| Modifier and Type | Field and Description |
|---|---|
| private String | field_11_font_name
possibly empty string never |
| private short | |
| private short | |
| private short | |
| private short | |
| private short | |
| private byte | |
| private byte | |
| private byte | |
| private byte | |
| private static final BitField | |
| private static final BitField | |
| private static final BitField | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| private static final BitField | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | cloneStyleFrom(FontRecord
the record to clone the properties from source)Clones all the font style information from another FontRecord, onto this one. |
| public FontRecord | copy()
Implements abstract org. Implements org.
|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public short | Returns: attribute - the bitmaskget the font attributes (see individual bit getters that reference this method) |
| public short | Returns: bw - a number between 100-1000 for the fonts "boldness"get the bold weight for this font (100-1000dec or 0x64-0x3e8). |
| public byte | |
| public short | |
| protected int | |
| public byte | |
| public short | |
| public String | |
| public Map | |
| public HSSFRecordTypes | getGenericRecordType()
Overrides default org. Implements abstract org.
|
| public short | getSid()
Implements abstract org. return the non static version of the id for this record. |
| public short | Returns: super or subscript optionget the type of super or subscript for the font |
| public byte | |
| public int | |
| public boolean | Returns: italics - whether the font is italics or notget whether the font is to be italics or not |
| public boolean | Returns: mac - whether to do that mac font outline thing or notwhether to use the mac outline font style thing (mac only) - Some mac person should comment this instead of me doing it (since I have no idea) |
| public boolean | Returns: mac - whether to do that mac font shadow thing or notwhether to use the mac shado font style thing (mac only) - Some mac person should comment this instead of me doing it (since I have no idea) |
| public boolean | Returns: strike - whether the font is stricken out or notget whether the font is to be stricken out or not |
| public boolean | Returns: true, if the properties matchthe record to compare with other)Does this FontRecord have all the same font properties as the supplied FontRecord? |
| public void | serialize(LittleEndianOutput
the output object out)Implements abstract org. Write the data content of this BIFF record. |
| public void | setAttributes(short
the bitmask to set attributes)set the font attributes (see individual bit setters that reference this method) |
| public void | setBoldWeight(short
- a number between 100-1000 for the fonts "boldness" bw)set the bold weight for this font (100-1000dec or 0x64-0x3e8). |
| public void | |
| public void | |
| public void | |
| public void | setFontHeight(short
fontheight (in points/20) height)sets the height of the font in 1/20th point units |
| public void | |
| public void | |
| public void | setMacoutline(boolean
- whether to do that mac font outline thing or not mac)whether to use the mac outline font style thing (mac only) - Some mac person should comment this instead of me doing it (since I have no idea) |
| public void | setMacshadow(boolean
- whether to do that mac font shadow thing or not mac)whether to use the mac shado font style thing (mac only) - Some mac person should comment this instead of me doing it (since I have no idea) |
| public void | setStrikeout(boolean
- whether the font is stricken out or not strike)set the font to be stricken out or not |
| public void | setSuperSubScript(short
super or subscript option sss)set the type of super or subscript for the font |
| public void |
| field_11_font_name | back to summary |
|---|---|
| private String field_11_font_name possibly empty string never | |
| field_1_font_height | back to summary |
|---|---|
| private short field_1_font_height | |
| field_2_attributes | back to summary |
|---|---|
| private short field_2_attributes | |
| field_3_color_palette_index | back to summary |
|---|---|
| private short field_3_color_palette_index | |
| field_4_bold_weight | back to summary |
|---|---|
| private short field_4_bold_weight | |
| field_5_super_sub_script | back to summary |
|---|---|
| private short field_5_super_sub_script | |
| field_6_underline | back to summary |
|---|---|
| private byte field_6_underline | |
| field_7_family | back to summary |
|---|---|
| private byte field_7_family | |
| field_8_charset | back to summary |
|---|---|
| private byte field_8_charset | |
| field_9_zero | back to summary |
|---|---|
| private byte field_9_zero | |
| italic | back to summary |
|---|---|
| private static final BitField italic | |
| macoutline | back to summary |
|---|---|
| private static final BitField macoutline | |
| macshadow | back to summary |
|---|---|
| private static final BitField macshadow | |
| sid | back to summary |
|---|---|
| public static final short sid | |
| SS_NONE | back to summary |
|---|---|
| public static final short SS_NONE | |
| SS_SUB | back to summary |
|---|---|
| public static final short SS_SUB | |
| SS_SUPER | back to summary |
|---|---|
| public static final short SS_SUPER | |
| strikeout | back to summary |
|---|---|
| private static final BitField strikeout | |
| U_DOUBLE | back to summary |
|---|---|
| public static final byte U_DOUBLE | |
| U_DOUBLE_ACCOUNTING | back to summary |
|---|---|
| public static final byte U_DOUBLE_ACCOUNTING | |
| U_NONE | back to summary |
|---|---|
| public static final byte U_NONE | |
| U_SINGLE | back to summary |
|---|---|
| public static final byte U_SINGLE | |
| U_SINGLE_ACCOUNTING | back to summary |
|---|---|
| public static final byte U_SINGLE_ACCOUNTING | |
| FontRecord | back to summary |
|---|---|
| public FontRecord() | |
| FontRecord | back to summary |
|---|---|
| public FontRecord(FontRecord other) | |
| FontRecord | back to summary |
|---|---|
| public FontRecord(RecordInputStream in) | |
| cloneStyleFrom | back to summary |
|---|---|
| public void cloneStyleFrom(FontRecord source) Clones all the font style information from another FontRecord, onto this one. This will then hold all the same font style options.
| |
| copy | back to summary |
|---|---|
| public FontRecord copy() Implements abstract org. Implements org.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getAttributes | back to summary |
|---|---|
| public short getAttributes() get the font attributes (see individual bit getters that reference this method)
| |
| getBoldWeight | back to summary |
|---|---|
| public short getBoldWeight() get the bold weight for this font (100-1000dec or 0x64-0x3e8). Default is 0x190 for normal and 0x2bc for bold
| |
| getCharset | back to summary |
|---|---|
| public byte getCharset() get the character set
| |
| getColorPaletteIndex | back to summary |
|---|---|
| public short getColorPaletteIndex() get the font's color palette index
| |
| getDataSize | back to summary |
|---|---|
| protected int getDataSize() Implements abstract org. | |
| getFamily | back to summary |
|---|---|
| public byte getFamily() get the font family (TODO)
| |
| getFontHeight | back to summary |
|---|---|
| public short getFontHeight() gets the height of the font in 1/20th point units
| |
| getFontName | back to summary |
|---|---|
| public String getFontName() get the name of the font
| |
| getGenericProperties | back to summary |
|---|---|
| public Map Implements org.
| |
| getGenericRecordType | back to summary |
|---|---|
| public HSSFRecordTypes getGenericRecordType() Overrides default org. Implements abstract org.
| |
| getSid | back to summary |
|---|---|
| public short getSid() Implements abstract org. Doc from org. return the non static version of the id for this record.
| |
| getSuperSubScript | back to summary |
|---|---|
| public short getSuperSubScript() get the type of super or subscript for the font | |
| getUnderline | back to summary |
|---|---|
| public byte getUnderline() get the type of underlining for the font
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isItalic | back to summary |
|---|---|
| public boolean isItalic() get whether the font is to be italics or not
| |
| isMacoutlined | back to summary |
|---|---|
| public boolean isMacoutlined() whether to use the mac outline font style thing (mac only) - Some mac person should comment this instead of me doing it (since I have no idea)
| |
| isMacshadowed | back to summary |
|---|---|
| public boolean isMacshadowed() whether to use the mac shado font style thing (mac only) - Some mac person should comment this instead of me doing it (since I have no idea)
| |
| isStruckout | back to summary |
|---|---|
| public boolean isStruckout() get whether the font is to be stricken out or not
| |
| sameProperties | back to summary |
|---|---|
| public boolean sameProperties(FontRecord other) Does this FontRecord have all the same font
properties as the supplied FontRecord?
Note that
| |
| serialize | back to summary |
|---|---|
| public void serialize(LittleEndianOutput out) Implements abstract org. Doc from org. Write the data content of this BIFF record. The 'ushort sid' and 'ushort size' header fields have already been written by the superclass.
The number of bytes written must equal the record size reported by
| |
| setAttributes | back to summary |
|---|---|
| public void setAttributes(short attributes) set the font attributes (see individual bit setters that reference this method)
| |
| setBoldWeight | back to summary |
|---|---|
| public void setBoldWeight(short bw) set the bold weight for this font (100-1000dec or 0x64-0x3e8). Default is 0x190 for normal and 0x2bc for bold
| |
| setCharset | back to summary |
|---|---|
| public void setCharset(byte charset) set the character set
| |
| setColorPaletteIndex | back to summary |
|---|---|
| public void setColorPaletteIndex(short cpi) set the font's color palette index
| |
| setFamily | back to summary |
|---|---|
| public void setFamily(byte f) set the font family (TODO)
| |
| setFontHeight | back to summary |
|---|---|
| public void setFontHeight(short height) sets the height of the font in 1/20th point units
| |
| setFontName | back to summary |
|---|---|
| public void setFontName(String fn) set the name of the font
| |
| setItalic | back to summary |
|---|---|
| public void setItalic(boolean italics) set the font to be italics or not
| |
| setMacoutline | back to summary |
|---|---|
| public void setMacoutline(boolean mac) whether to use the mac outline font style thing (mac only) - Some mac person should comment this instead of me doing it (since I have no idea)
| |
| setMacshadow | back to summary |
|---|---|
| public void setMacshadow(boolean mac) whether to use the mac shado font style thing (mac only) - Some mac person should comment this instead of me doing it (since I have no idea)
| |
| setStrikeout | back to summary |
|---|---|
| public void setStrikeout(boolean strike) set the font to be stricken out or not
| |
| setSuperSubScript | back to summary |
|---|---|
| public void setSuperSubScript(short sss) set the type of super or subscript for the font | |
| setUnderline | back to summary |
|---|---|
| public void setUnderline(byte u) set the type of underlining for the font
| |