|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.xls.core.spreadsheet.XlsObject
com.spire.xls.charts.ChartTextArea
public class ChartTextArea
this class create Xls test document Text Area
| Constructor Summary | |
|---|---|
ChartTextArea(IChartTextArea textarea,
XlsWorkbook book)
|
|
| Method Summary | |
|---|---|
java.awt.Font |
generateNativeFont()
Generates .Net font object corresponding to the current font. |
ChartBackgroundMode |
getBackgroundMode()
Display mode of the background. |
java.awt.Color |
getColor()
Gets font color. |
java.lang.String |
getDelimiter()
Delimeter. |
FontWrapper |
getFont()
Returns font impl for current font. |
java.lang.String |
getFontName()
Returns or sets the font name. |
IChartFrameFormat |
getFrameFormat()
Return format of the text area. |
HorizontalAlignType |
getHorizontalAlignType()
|
int |
getIndex()
Returns font index. |
ExcelColors |
getKnownColor()
Returns or sets the primary color of the object, as shown in the following table. |
java.lang.String |
getNumberFormat()
Gets or sets number format for the text area. |
int |
getNumberFormatIndex()
Gets index to the number format. |
OColor |
getOColor()
Returns textarea's color object. |
java.lang.Object |
getParent()
|
XlsWorkbook |
getParentWorkbook()
Returns parent workbook object. |
DataLabelPositionType |
getPosition()
Represents data labels position. |
boolean |
getShowLeaderLines()
Indicates whether Leader Lines is in data labels. |
double |
getSize()
Returns the size of the font. |
java.lang.String |
getStrikethroughType()
Strikethrough Type. |
java.lang.String |
getText()
Area's text. |
int |
getTextRotationAngle()
Text rotation angle. |
FontUnderlineType |
getUnderline()
Returns or sets the type of underline applied to the font. |
FontVertialAlignmentType |
getVerticalAlignment()
Gets / sets font vertical alignment. |
float |
getX()
|
float |
getY()
|
boolean |
hasBubbleSize()
Indicates whether buble size is in data labels. |
void |
hasBubbleSize(boolean value)
Indicates whether buble size is in data labels. |
boolean |
hasCategoryName()
Indicates whether category name is in data labels. |
void |
hasCategoryName(boolean value)
Indicates whether category name is in data labels. |
boolean |
hasDataLabels()
Indicates whether contain dataLabels . |
boolean |
hasLegendKey()
Indicates whether legend key is in data labels. |
void |
hasLegendKey(boolean value)
Indicates whether legend key is in data labels. |
boolean |
hasPercentage()
Indicates whether percentage is in data labels. |
void |
hasPercentage(boolean value)
Indicates whether percentage is in data labels. |
boolean |
hasSeriesName()
Indicates whether series name is in data labels. |
void |
hasSeriesName(boolean value)
Indicates whether series name is in data labels. |
boolean |
hasValue()
Indicates whether value is in data labels. |
void |
hasValue(boolean value)
Indicates whether value is in data labels. |
boolean |
isAutoColor()
Indicates whether color is automatically selected. |
boolean |
isAutoMode()
True if background is set to automatic. |
boolean |
isBold()
True if the font is bold. |
void |
isBold(boolean isBold)
True if the font is bold. |
boolean |
isItalic()
True if the font style is italic. |
void |
isItalic(boolean value)
True if the font style is italic. |
boolean |
isShowLabelPercent()
Indicates whether to show category label and value as percentage. |
void |
isShowLabelPercent(boolean value)
Indicates whether to show category label and value as percentage. |
boolean |
isStrikethrough()
True if the font is struck through with a horizontal line. |
void |
isStrikethrough(boolean value)
True if the font is struck through with a horizontal line. |
boolean |
isSubscript()
True if the font is formatted as subscript. |
void |
isSubscript(boolean value)
True if the font is formatted as subscript. |
boolean |
isSuperscript()
True if the font is formatted as superscript. |
void |
isSuperscript(boolean value)
True if the font is formatted as superscript. |
boolean |
isTrend()
Indicates if current text assign to trend object. |
void |
isTrend(boolean value)
Indicates if current text assign to trend object. |
void |
setBackgroundMode(ChartBackgroundMode value)
Display mode of the background. |
void |
setColor(java.awt.Color color)
Sets font color. |
void |
setDelimiter(java.lang.String value)
Delimeter. |
void |
setFont(ExcelFont font)
Sets internal font according to the font. |
void |
setFontName(java.lang.String value)
Returns or sets the font name. |
void |
setHorizontalAlignType(HorizontalAlignType value)
|
void |
setKnownColor(ExcelColors value)
Returns or sets the primary color of the object, as shown in the following table. |
void |
setNumberFormat(java.lang.String value)
Gets or sets number format for the text area. |
void |
setPosition(DataLabelPositionType value)
Represents data labels position. |
void |
setSize(double size)
Sets the size of the font. |
void |
setStrikethroughType(java.lang.String value)
Strikethrough Type. |
void |
setText(java.lang.String value)
Area's text. |
void |
setTextRotationAngle(int textRotationAngle)
Sets text rotation angle. |
void |
setUnderline(FontUnderlineType value)
Returns or sets the type of underline applied to the font. |
void |
setVerticalAlignment(FontVertialAlignmentType value)
Gets / sets font vertical alignment. |
void |
setX(float value)
|
void |
setY(float value)
|
| Methods inherited from class com.spire.xls.core.spreadsheet.XlsObject |
|---|
dispose |
| Methods inherited from interface com.spire.xls.core.IChartDataLabels |
|---|
setShowLeaderLines |
| Methods inherited from interface com.spire.xls.core.interfacess.IOptimizedUpdate |
|---|
beginUpdate, endUpdate |
| Constructor Detail |
|---|
public ChartTextArea(IChartTextArea textarea,
XlsWorkbook book)
| Method Detail |
|---|
public java.lang.String getText()
getText in interface IChartTextAreapublic void setText(java.lang.String value)
public int getTextRotationAngle()
getTextRotationAngle in interface IChartTextAreapublic void setTextRotationAngle(int textRotationAngle)
public IChartFrameFormat getFrameFormat()
getFrameFormat in interface IChartTextAreapublic ChartBackgroundMode getBackgroundMode()
getBackgroundMode in interface IChartTextAreapublic void setBackgroundMode(ChartBackgroundMode value)
public boolean isAutoMode()
isAutoMode in interface IChartTextAreapublic java.lang.Object getParent()
getParent in class XlsObjectpublic boolean isBold()
isBold in interface IFontpublic void isBold(boolean isBold)
isBold in interface IFontpublic ExcelColors getKnownColor()
getKnownColor in interface IFontpublic void setKnownColor(ExcelColors value)
setKnownColor in interface IFontpublic java.awt.Color getColor()
getColor in interface IFontpublic void setColor(java.awt.Color color)
setColor in interface IFontpublic boolean isItalic()
isItalic in interface IFontpublic void isItalic(boolean value)
isItalic in interface IFontpublic double getSize()
getSize in interface IFontpublic void setSize(double size)
setSize in interface IFontpublic boolean isStrikethrough()
isStrikethrough in interface IFontpublic void isStrikethrough(boolean value)
isStrikethrough in interface IFontpublic boolean isSubscript()
isSubscript in interface IFontpublic void isSubscript(boolean value)
isSubscript in interface IFontpublic java.lang.String getStrikethroughType()
getStrikethroughType in interface IFontpublic void setStrikethroughType(java.lang.String value)
setStrikethroughType in interface IFontpublic boolean isSuperscript()
isSuperscript in interface IFontpublic void isSuperscript(boolean value)
isSuperscript in interface IFontpublic FontUnderlineType getUnderline()
getUnderline in interface IFontpublic void setUnderline(FontUnderlineType value)
setUnderline in interface IFontpublic java.lang.String getFontName()
getFontName in interface IFontpublic void setFontName(java.lang.String value)
setFontName in interface IFontpublic FontVertialAlignmentType getVerticalAlignment()
getVerticalAlignment in interface IFontpublic void setVerticalAlignment(FontVertialAlignmentType value)
setVerticalAlignment in interface IFontpublic boolean isAutoColor()
isAutoColor in interface IFontpublic java.awt.Font generateNativeFont()
generateNativeFont in interface IFontpublic OColor getOColor()
public java.lang.String getDelimiter()
getDelimiter in interface IChartDataLabelspublic void setDelimiter(java.lang.String value)
setDelimiter in interface IChartDataLabelspublic boolean hasBubbleSize()
hasBubbleSize in interface IChartDataLabelspublic void hasBubbleSize(boolean value)
hasBubbleSize in interface IChartDataLabelspublic boolean hasCategoryName()
hasCategoryName in interface IChartDataLabelspublic void hasCategoryName(boolean value)
hasCategoryName in interface IChartDataLabelspublic boolean hasLegendKey()
hasLegendKey in interface IChartDataLabelspublic void hasLegendKey(boolean value)
hasLegendKey in interface IChartDataLabelspublic boolean hasPercentage()
hasPercentage in interface IChartDataLabelspublic void hasPercentage(boolean value)
hasPercentage in interface IChartDataLabelspublic boolean hasSeriesName()
hasSeriesName in interface IChartDataLabelspublic void hasSeriesName(boolean value)
hasSeriesName in interface IChartDataLabelspublic boolean hasValue()
hasValue in interface IChartDataLabelspublic void hasValue(boolean value)
hasValue in interface IChartDataLabelspublic DataLabelPositionType getPosition()
getPosition in interface IChartDataLabelspublic void setPosition(DataLabelPositionType value)
setPosition in interface IChartDataLabelspublic boolean getShowLeaderLines()
getShowLeaderLines in interface IChartDataLabelspublic java.lang.String getNumberFormat()
getNumberFormat in interface IChartDataLabelspublic void setNumberFormat(java.lang.String value)
setNumberFormat in interface IChartDataLabelspublic boolean hasDataLabels()
public HorizontalAlignType getHorizontalAlignType()
public void setHorizontalAlignType(HorizontalAlignType value)
public int getIndex()
public boolean isShowLabelPercent()
public void isShowLabelPercent(boolean value)
public boolean isTrend()
public void isTrend(boolean value)
public int getNumberFormatIndex()
public XlsWorkbook getParentWorkbook()
public float getX()
public void setX(float value)
public float getY()
public void setY(float value)
public void setFont(ExcelFont font)
font - Font to set.public FontWrapper getFont()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||