|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.StiBase
com.stimulsoft.report.components.StiComponent
com.stimulsoft.report.components.simplecomponents.StiSimpleText
com.stimulsoft.report.components.simplecomponents.StiRichText
public class StiRichText
The class describes a component that allows to outtype RichText.
| Field Summary |
|---|
| Fields inherited from class com.stimulsoft.report.components.simplecomponents.StiSimpleText |
|---|
text, totalValueHelp |
| Fields inherited from class com.stimulsoft.report.components.StiComponent |
|---|
canGrow, canShrink, componentPlacement, conditions, currentPointer, expressions, interaction, isRendered, page, parent, parentBookmark, parentPointer, top, width |
| Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef |
|---|
REFERENCE_EMPTY, REFERENCE_REPORT |
| Constructor Summary | |
|---|---|
StiRichText()
Creates a new object of the type StiRichText. |
|
StiRichText(StiRectangle rect)
Creates a new component of the type StiRichText. |
|
StiRichText(StiRectangle rect,
java.lang.String text)
Creates a new component of the type StiRichText. |
|
| Method Summary | |
|---|---|
boolean |
Break(StiComponent dividedComponent,
double devideFactor,
StiRefObject<java.lang.Double> divideLine)
Divides content of components in two parts. |
java.lang.Object |
clone()
Creates a new object that is a copy of the current instance. |
StiRectangle |
convertTextMargins(StiRectangle rect,
boolean convert)
|
java.lang.String |
fixCyrillic(java.lang.String buffer)
|
StiSize |
getActualSize()
Initializes a new instance of the StiSize class from the specified dimensi. |
java.lang.String[] |
getAllStrings()
Returns array of the property names which can be localized. |
StiColor |
getBackColor()
Gets or sets a back color. |
StiBorder |
getBorder()
Gets or sets frame of the component. |
boolean |
getCanBreak()
Gets or sets value which indicates whether the component can or cannot break its contents on several pages. |
java.lang.String |
getDataColumn()
Gets or sets a name of the column that contains the RTF text. |
StiDataUrlExpression |
getDataUrl()
|
java.lang.String |
getDecodeText()
|
StiColor |
getDefaultColor()
Gets or sets default Color. |
java.awt.Font |
getDefaultFont()
Gets or sets default font. |
boolean |
getDetectUrls()
Gets or sets detection of urls. |
boolean |
getFullConvertExpression()
Gets or sets value which indicates that it is necessary to fully convert the expression to Rtf format. |
java.lang.String |
getGlobalizedName()
Gets or sets special identificator which will be used for report globalization. |
boolean |
getHideZeros()
Gets or sets value indicates that no need show zeroes. |
java.awt.Image |
getImage()
|
StiPenStyle |
getLinesOfUnderline()
Gets or sets value indicates that it is necessary to lines of underline. |
java.lang.String |
getLocalizedCategory()
Gets a localized name of the component category. |
java.lang.String |
getLocalizedName()
Gets a localized component name. |
StiMargins |
getMargins()
Gets or sets text margins. |
int |
getMaxNumberOfLines()
Gets or sets maximum number of lines which specify the limit of the height stretch. |
StiProcessingDuplicatesType |
getProcessingDuplicates()
Gets or sets value which indicates how report engine processes duplicated values. |
java.lang.String |
getRtfFromSource(java.lang.String dataUrlValue,
java.lang.String dataColumn)
|
java.lang.String |
getRtfText()
|
java.lang.String |
getString(java.lang.String propertyName)
Gets localized String from specified property name. |
int |
getToolboxPosition()
Gets value to sort a position in the toolbox. |
boolean |
getWordWrap()
Gets or sets word wrap. |
boolean |
getWysiwyg()
Gets or sets value which indicates that it is necessary to use the Wysiwyg mode of the rendering. |
void |
InvokeGetValue(StiComponent sender,
StiGetValueEventArgs e)
|
boolean |
isExportAsImage(StiExportFormat format)
|
void |
LoadFromJsonObject(JSONObject jObject)
|
static java.lang.String |
PackRtf(java.lang.String str)
Pack RTF text for save and compilation. |
java.lang.String |
SaveState()
Saves state of editable value. |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode)
|
void |
setBackColor(StiColor value)
|
void |
setBorder(StiBorder value)
|
void |
setCanBreak(boolean value)
|
void |
setDataColumn(java.lang.String value)
|
void |
setDataUrl(StiDataUrlExpression value)
|
void |
setDefaultColor(StiColor value)
|
void |
setDefaultFont(java.awt.Font value)
|
void |
setDetectUrls(boolean value)
|
void |
setFullConvertExpression(boolean value)
|
void |
setGlobalizedName(java.lang.String value)
|
void |
setHideZeros(boolean value)
|
void |
setImage(java.awt.Image value)
|
void |
setLinesOfUnderline(StiPenStyle value)
|
void |
setMargins(StiMargins value)
|
void |
setMaxNumberOfLines(int value)
|
void |
setProcessingDuplicates(StiProcessingDuplicatesType value)
|
void |
setString(java.lang.String propertyName,
java.lang.String value)
Sets localized String to specified property name. |
void |
setTextInternal(java.lang.String value)
Internal use only. |
void |
setWordWrap(boolean value)
|
void |
setWysiwyg(boolean value)
|
java.lang.String |
unpackRTF()
Unpack RFT (remove service symbols) |
| Methods inherited from class com.stimulsoft.report.components.simplecomponents.StiSimpleText |
|---|
checkDuplicates, getComponentGuid, getEditable, getEvents, getGetValueEvent, getLinesOfUnderlining, getOnlyText, getProcessAt, getProcessAtEnd, getQuickInfo, getText, getTextInternal, getTextValue, GetTextWithoutZero, getTotalValueHelp, InvokeRenderTo, InvokeTextProcess, ProcessText, RestoreState, saveState, setComponentGuid, setEditable, setGetValueEvent, setLinesOfUnderlining, setOnlyText, setProcessAt, setProcessAtEnd, SetText, setText, setText, SetTextInternal, setTextValue, setTotalValueHelp |
| Methods inherited from class com.stimulsoft.report.StiBase |
|---|
getName, getServiceName |
| Methods inherited from class com.stimulsoft.base.services.StiService |
|---|
getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, properties, setProperties, setServiceEnabled |
| Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject |
|---|
cleanReference, getReference, setReference |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImageExtended |
|---|
getImage |
| Methods inherited from interface com.stimulsoft.report.components.interfaces.IStiExportImage |
|---|
getImage |
| Constructor Detail |
|---|
public StiRichText()
public StiRichText(StiRectangle rect)
rect - The rectangle describes size and position of the component.
public StiRichText(StiRectangle rect,
java.lang.String text)
rect - The rectangle describes size and position of the component.text - Text expression| Method Detail |
|---|
public boolean isExportAsImage(StiExportFormat format)
isExportAsImage in interface IStiExportImageExtendedisExportAsImage in class StiComponentpublic boolean getCanBreak()
getCanBreak in interface IStiBreakablepublic void setCanBreak(boolean value)
setCanBreak in interface IStiBreakablepublic java.lang.Object clone()
clone in class StiSimpleText
public void setString(java.lang.String propertyName,
java.lang.String value)
setString in interface IStiGlobalizationProviderpublic java.lang.String getString(java.lang.String propertyName)
getString in interface IStiGlobalizationProviderpublic java.lang.String[] getAllStrings()
getAllStrings in interface IStiGlobalizationProviderpublic final StiBorder getBorder()
getBorder in interface IStiBorderpublic final void setBorder(StiBorder value)
setBorder in interface IStiBorderpublic final java.lang.String getGlobalizedName()
StiSimpleText
getGlobalizedName in interface IStiGlobalizedNamegetGlobalizedName in class StiSimpleTextpublic final void setGlobalizedName(java.lang.String value)
setGlobalizedName in interface IStiGlobalizedNamesetGlobalizedName in class StiSimpleTextpublic StiPenStyle getLinesOfUnderline()
StiSimpleText
getLinesOfUnderline in interface IStiTextgetLinesOfUnderline in class StiSimpleTextpublic void setLinesOfUnderline(StiPenStyle value)
setLinesOfUnderline in interface IStiTextsetLinesOfUnderline in class StiSimpleTextpublic boolean getHideZeros()
StiSimpleText
getHideZeros in interface IStiTextgetHideZeros in class StiSimpleTextpublic void setHideZeros(boolean value)
setHideZeros in interface IStiTextsetHideZeros in class StiSimpleTextpublic StiProcessingDuplicatesType getProcessingDuplicates()
StiSimpleText
getProcessingDuplicates in interface IStiTextgetProcessingDuplicates in class StiSimpleTextpublic void setProcessingDuplicates(StiProcessingDuplicatesType value)
setProcessingDuplicates in interface IStiTextsetProcessingDuplicates in class StiSimpleTextpublic int getMaxNumberOfLines()
StiSimpleText
getMaxNumberOfLines in interface IStiTextgetMaxNumberOfLines in class StiSimpleTextpublic void setMaxNumberOfLines(int value)
setMaxNumberOfLines in interface IStiTextsetMaxNumberOfLines in class StiSimpleTextpublic int getToolboxPosition()
getToolboxPosition in class StiComponentpublic java.lang.String getLocalizedName()
getLocalizedName in class StiBasepublic java.lang.String getLocalizedCategory()
getLocalizedCategory in class StiBase
public final StiRectangle convertTextMargins(StiRectangle rect,
boolean convert)
public final java.awt.Image getImage()
public final void setImage(java.awt.Image value)
public StiMargins getMargins()
public void setMargins(StiMargins value)
public final java.awt.Font getDefaultFont()
public final void setDefaultFont(java.awt.Font value)
public final StiColor getDefaultColor()
public final void setDefaultColor(StiColor value)
public boolean getWordWrap()
public void setWordWrap(boolean value)
public boolean getDetectUrls()
public void setDetectUrls(boolean value)
public final StiColor getBackColor()
getBackColor in interface IStiBackColorpublic final void setBackColor(StiColor value)
setBackColor in interface IStiBackColorpublic final java.lang.String getDataColumn()
public final void setDataColumn(java.lang.String value)
public final boolean getFullConvertExpression()
public final void setFullConvertExpression(boolean value)
public StiDataUrlExpression getDataUrl()
public void setDataUrl(StiDataUrlExpression value)
public final boolean getWysiwyg()
public final void setWysiwyg(boolean value)
public void setTextInternal(java.lang.String value)
setTextInternal in interface IStiTextsetTextInternal in class StiSimpleTextpublic java.lang.String SaveState()
StiSimpleText
SaveState in interface IStiEditableSaveState in class StiSimpleText
public boolean Break(StiComponent dividedComponent,
double devideFactor,
StiRefObject<java.lang.Double> divideLine)
IStiBreakable
Break in interface IStiBreakabledividedComponent - Component for store part of content.
public StiSize getActualSize()
StiComponent
getActualSize in class StiComponent
public void InvokeGetValue(StiComponent sender,
StiGetValueEventArgs e)
InvokeGetValue in class StiSimpleText
public java.lang.String getRtfFromSource(java.lang.String dataUrlValue,
java.lang.String dataColumn)
public java.lang.String unpackRTF()
value -
public java.lang.String fixCyrillic(java.lang.String buffer)
public static java.lang.String PackRtf(java.lang.String str)
str -
public java.lang.String getDecodeText()
public java.lang.String getRtfText()
public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiSimpleTextJSONException
public void LoadFromJsonObject(JSONObject jObject)
throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiSimpleTextJSONException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||