public class DocPara extends DocElement implements DocStyle
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGN_BOTTOM |
static int |
ALIGN_CENTER |
static int |
ALIGN_JUSTIFY |
static int |
ALIGN_JUSTIFY_ALL |
static int |
ALIGN_LEFT |
static int |
ALIGN_MIDDLE |
static int |
ALIGN_RIGHT |
static int |
ALIGN_TOP |
static int |
ALIGN_UNSET |
static int |
STYLE_BOLD |
static int |
STYLE_BOLDITALIC |
static int |
STYLE_ITALIC |
static int |
STYLE_NORMAL |
static int |
STYLE_UNDERLINE |
ELEMENT_TYPE_PARAGRAPH, ELEMENT_TYPE_TABLE, ELEMENT_TYPE_TABLECELL, ELEMENT_TYPE_TABLEROW| Constructor and Description |
|---|
DocPara() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAlign() |
String |
getBackColor() |
String |
getFontName() |
String |
getForeColor() |
String |
getFormat() |
Float |
getLeading() |
int |
getSize() |
Float |
getSpaceAfter() |
Float |
getSpaceBefore() |
int |
getStyle() |
String |
getText() |
String |
getType() |
static int |
parseStyle(String style) |
void |
setAlign(int align) |
void |
setBackColor(String backColor) |
void |
setFontName(String fontName) |
void |
setForeColor(String foreColor) |
void |
setFormat(String format) |
void |
setLeading(Float leading) |
void |
setSize(int size) |
void |
setSpaceAfter(Float spaceAfter) |
void |
setSpaceBefore(Float spaceBefore) |
void |
setStyle(int style) |
void |
setText(String text) |
void |
setType(String type) |
String |
toString() |
getId, setIdpublic static final int STYLE_NORMAL
public static final int STYLE_BOLD
public static final int STYLE_UNDERLINE
public static final int STYLE_ITALIC
public static final int STYLE_BOLDITALIC
public static final int ALIGN_UNSET
public static final int ALIGN_LEFT
public static final int ALIGN_CENTER
public static final int ALIGN_RIGHT
public static final int ALIGN_JUSTIFY
public static final int ALIGN_JUSTIFY_ALL
public static final int ALIGN_TOP
public static final int ALIGN_MIDDLE
public static final int ALIGN_BOTTOM
public String getFontName()
public void setFontName(String fontName)
public String getForeColor()
getForeColor in interface DocStylepublic void setForeColor(String foreColor)
setForeColor in interface DocStyleforeColor - the foreColor to setpublic String getBackColor()
getBackColor in interface DocStylepublic void setBackColor(String backColor)
setBackColor in interface DocStylebackColor - the backColor to setpublic int getStyle()
public void setStyle(int style)
public int getSize()
public void setSize(int size)
public String getText()
public void setText(String text)
public Float getSpaceBefore()
public void setSpaceBefore(Float spaceBefore)
public Float getSpaceAfter()
public void setSpaceAfter(Float spaceAfter)
public Float getLeading()
public void setLeading(Float leading)
public static int parseStyle(String style)
public String getFormat()
public void setFormat(String format)
public String getType()
public void setType(String type)
public int getAlign()
public void setAlign(int align)
align - the align to setpublic String toString()
toString in class DocElementCopyright © 2020 Fugerit. All rights reserved.