@Target(value={FIELD,TYPE}) @Retention(value=RUNTIME) @Inherited public @interface HeadFontStyle
限定符和类型 | 可选元素和说明 |
---|---|
boolean |
bold
Bold
|
int |
charset
Set character-set to use.
|
short |
color
The color for the font
|
short |
fontHeightInPoints
Height in the familiar unit of measure - points
|
String |
fontName
The name for the font (i.e.
|
boolean |
italic
Whether to use italics or not
|
boolean |
strikeout
Whether to use a strikeout horizontal line through the text or not
|
short |
typeOffset
Set normal,super or subscript.
|
byte |
underline
set type of text underlining to use
|
public abstract String fontName
public abstract short fontHeightInPoints
public abstract boolean strikeout
public abstract short color
Font.COLOR_NORMAL
,
Font.COLOR_RED
,
HSSFPalette.getColor(short)
,
IndexedColors
public abstract short typeOffset
Font.SS_NONE
,
Font.SS_SUPER
,
Font.SS_SUB
public abstract byte underline
Font.U_NONE
,
Font.U_SINGLE
,
Font.U_DOUBLE
,
Font.U_SINGLE_ACCOUNTING
,
Font.U_DOUBLE_ACCOUNTING
Copyright © 2018–2021 Alibaba Group. All rights reserved.