public class StiTextInCells extends StiText
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.Object |
PropertyCellHeight |
protected static java.lang.Object |
PropertyCellWidth |
protected static java.lang.Object |
PropertyContinuousText |
protected static java.lang.Object |
PropertyHorSpacing |
protected static java.lang.Object |
PropertyVertSpacing |
font, PropertyAllowHtmlTags, PropertyAutoWidth, PropertyCanBreak, PropertyExportAsImage, PropertyMargins, PropertyNullValue, PropertyRenderTo, PropertyShrinkFontToFit, PropertyShrinkFontToFitMinimumSize, PropertyTextQuality, PropertyTypePropertyGlobalizedName, PropertyMaxNumberOfLines, PropertyOnlyText, PropertyProcessAt, PropertyProcessingDuplicates, text, totalValueHelpcanGrow, canShrink, componentPlacement, conditions, interaction, isRendered, page, parent, parentBookmark, PropertyComponentStyle, PropertyDelimiterComponent, PropertyDockable, PropertyInherited, PropertyLinked, PropertyLocked, PropertyMaxSize, PropertyMinSize, PropertyPlaceOnToolbox, PropertyRenderedCount, PropertyRestrictions, PropertySelectionTick, PropertyShowQuickButtons, PropertyUseParentStyles, top, widthpropertiesREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiTextInCells()
Creates a new StiTextInCells.
|
StiTextInCells(StiRectangle rect)
Creates a new StiTextInCells.
|
StiTextInCells(StiRectangle rect,
java.lang.String text)
Creates a new StiTextInCells.
|
| Modifier and Type | Method and Description |
|---|---|
void |
convert(StiUnit oldUnit,
StiUnit newUnit)
Converts a component out of one unit into another.
|
boolean |
getAllowHtmlTags()
Gets or sets value that indicates that this component allow Html tags in text.
|
float |
getAngle()
Gets or sets angle of a text rotation.
|
boolean |
getAutoWidth()
Gets or sets value indicates that this object can change width automatically.
|
boolean |
getCanGrow()
gets or sets a value which indicates that this object can grow.
|
boolean |
getCanShrink()
gets or sets value which indicates that this object can shrink.
|
float |
getCellHeight()
Gets or sets height of the cell.
|
float |
getCellWidth()
Gets or sets width of the cell.
|
boolean |
getContinuousText()
Gets or sets continuous text flag.
|
StiExcelValueExpression |
getExcelValue()
Gets or sets an expression used for export data to Excel.
|
float |
getHorSpacing()
Gets or sets horizontal spacing between cells.
|
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.
|
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 |
getRenderTo()
In the property specify the Text component in what the text that is out of the current Text
component bound will be continued to be output.
|
boolean |
getRightToLeft()
Gets or sets horizontal output direction.
|
boolean |
getShrinkFontToFit()
Gets or sets value that indicates that this component is descrease size of font to fit
content of component.
|
float |
getShrinkFontToFitMinimumSize()
Gets or sets value that indicates minimum font size for ShrinkFontToFit operation.
|
java.lang.String |
getTextForPaint() |
StiTextQuality |
getTextQuality()
Gets or sets value that indicates quality of text.
|
int |
getToolboxPosition()
Gets value to sort a position in the toolbox.
|
StiVertAlignment |
getVertAlignment()
Gets or sets the vertical alignment of an object.
|
float |
getVertSpacing()
Gets or sets vertical spacing between cells.
|
boolean |
getWordWrap()
Gets or sets word wrap.
|
boolean |
isExportAsImage(StiExportFormat format) |
void |
LoadFromJsonObject(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setAllowHtmlTags(boolean value) |
void |
setAngle(float value) |
void |
setAutoWidth(boolean value) |
void |
setCanGrow(boolean value) |
void |
setCanShrink(boolean value) |
void |
setCellHeight(float value) |
void |
setCellWidth(float value) |
void |
setContinuousText(boolean value) |
void |
setExcelValue(StiExcelValueExpression value) |
void |
setHorSpacing(float value) |
void |
setLinesOfUnderline(StiPenStyle value) |
void |
setMaxNumberOfLines(int value) |
void |
setProcessingDuplicates(StiProcessingDuplicatesType value) |
void |
setRenderTo(java.lang.String value) |
void |
setRightToLeft(boolean value) |
void |
setShrinkFontToFit(boolean value) |
void |
setShrinkFontToFitMinimumSize(float value) |
void |
setTextQuality(StiTextQuality value) |
void |
setVertAlignment(StiVertAlignment value) |
void |
setVertSpacing(float value) |
void |
setWordWrap(boolean value) |
static StiContainer |
splitByCells(StiTextInCells masterTextInCells,
StiComponent renderedComponent,
java.lang.String textString) |
static StiContainer |
splitByCells(StiTextInCells masterTextInCells,
StiComponent renderedComponent,
java.lang.String textString,
boolean measure) |
Break, clone, convertTextBorders, convertTextMargins, getActualFont, getActualFont, getActualFont, getActualSize, getAllStrings, getBorder, getBrush, getCanBreak, getClientRectangle, getComponentPlacement, getComponentStyle, getExcelDataValue, getExportAsImage, getFont, getFormat, getGetExcelValueEvent, getGuid, getHorAlignment, getIndicator, getMargins, getName, getNullValue, getString, getTagValue, getTextBrush, getTextFormat, getTextOptions, getType, getWYSIWYG, invokeEvents, InvokeRenderTo, measureString, OnGetExcelValue, packService, setBorder, setBrush, setCanBreak, setExcelDataValue, setExportAsImage, setFont, setFormat, setGetExcelValueEvent, setHorAlignment, setIndicator, setMargins, setNullValue, setString, setTextBrush, setTextFormat, setTextOptions, setType, setWYSIWYGcheckDuplicates, getComponentGuid, getEditable, getEvents, getGetValueEvent, getGlobalizedName, getHideZeros, getLinesOfUnderlining, getOnlyText, getProcessAt, getProcessAtEnd, getQuickInfo, getText, getTextInternal, getTextValue, GetTextWithoutZero, getTotalValueHelp, InvokeGetValue, InvokeTextProcess, OnGetValue, ProcessText, RestoreState, SaveState, saveState, setComponentGuid, setEditable, setGetValueEvent, setGlobalizedName, setHideZeros, setLinesOfUnderlining, setOnlyText, setProcessAt, setProcessAtEnd, SetText, setText, setText, setTextInternal, SetTextInternal, setTextValue, setTotalValueHelpaddSize, AllowPrintOn, applyConditions, canContainIn, CheckForParentComponent, clearAllStates, ClearAllStates, ClearContents, clone, ComponentToPage, ComponentToPage, ComponentToPage, convert, decrementTop, doBookmark, DoBookmark, DockToContainer, DockToContainer, doGetBookmark, DoOffsetRect, fillComponentPlacement, getAfterPrintEvent, getAlias, getAllowDelete, getAnchor, getBeforePrintEvent, getBookmark, getBookmarkValue, getBottom, getBuilder, getClickEvent, getComponentType, getConditions, getContainer, getCurrentBookmark, getDataBand, GetDataBand, getDefaultClientRectangle, getDelimiterComponent, getDisplayRectangle, getDisplayRectangle1, getDockable, getDockRegion, getDockRegion, getDockStyle, getDoubleClickEvent, getDrillDownParameters, getEnabled, getForceRedrawAll, getgetBookmarkEvent, getgetDrillDownReportEvent, getgetHyperlinkEvent, getgetTagEvent, getgetToolTipEvent, getGroupHeaderBand, GetGroupHeaderBand, getGrowToHeight, getHeight, getHighlightState, getHyperlink, getHyperlinkValue, getIgnoreNamingRule, getImage, getImage, getInherited, getInteraction, getInvalidateOnMouseOver, getIsCross, getIsDesigning, getIsEnabled, getIsEventEmpty, getIsExporting, getIsgetTagHandlerEmpty, getIsPrinting, getIsRendered, getIsSelected, getLeft, getLevel, getLinked, getLocked, getMaxSize, getMeasureGraphics, getMinSize, getMouseEnterEvent, getMouseLeaveEvent, getPage, getPaintRectangle, getPaintRectangle, getPaintRectangle, getParent, getParentBookmark, getPlaceOnToolbox, getPrintable, getPrintOn, getPriority, getRenderedCount, getReport, getRestrictions, getRight, getSelectionTick, getSelectRectangle, getServiceCategory, getServiceType, getShift, getShiftMode, getShowQuickButtons, getStates, getTag, getToolTip, getToolTipValue, getTop, getUseParentStyles, getWidth, incrementtTop, InternalRender, invert, InvokeAfterPrint, InvokeBeforePrint, InvokeBeginRender, InvokeClick, InvokeDoubleClick, InvokeEndRender, InvokegetBookmark, InvokegetDrillDownReport, InvokegetHyperlink, InvokegetTag, InvokegetToolTip, InvokeMouseEnter, InvokeMouseLeave, InvokePainted, invokePainting, isAutomaticDock, isDesigning, IsParentSelect, NewGuid, OnAfterPrint, OnBeforePrint, OnClick, OnDoubleClick, OngetBookmark, OngetDrillDownReport, OngetHyperlink, OngetTag, OngetToolTip, OnMouseEnter, OnMouseLeave, OnPainted, OnPainting, OnRemoveComponent, PageToComponent, PageToComponent, paint, PlacedOnColumnBand, Prepare, render, reset, Reset, restoreState, select, setAfterPrintEvent, setAlias, setAnchor, setBeforePrintEvent, setBookmark, setBookmarkValue, setClickEvent, setClientRectangle, setComponentPlacement, setComponentStyle, setConditions, setCurrentBookmark, setDelimiterComponent, setDirectDisplayRectangle, setDisplayRectangle, setDockable, setDockStyle, setDoubleClickEvent, setDrillDownParameters, setEnabled, setgetBookmarkEvent, setgetDrillDownReportEvent, setgetHyperlinkEvent, setgetTagEvent, setgetToolTipEvent, setGrowToHeight, setGuid, setHeight, setHeightProp, setHighlightState, setHyperlink, setHyperlinkValue, setIgnoreNamingRule, setInherited, setInteraction, setIsRendered, setIsSelected, setLeft, setLeftProp, setLinked, setLocked, setMaxSize, setMinSize, setMouseEnterEvent, setMouseLeaveEvent, setName, setPage, setPaintRectangle, setParent, setParentBookmark, setPlaceOnToolbox, setPrintable, setPrintOn, setRenderedCount, setReport, SetReportVariables, setRestrictions, setSelectionTick, setSelectRectangle, setShift, setShiftMode, setShowQuickButtons, setStates, setTag, setTagValue, setToolTip, setToolTipValue, setTop, setTopProp, setUseParentStyles, setWidth, setWidthProp, toString, UnPreparegetServiceNamegetProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, properties, setProperties, setServiceEnabledcleanReference, getReference, setReferenceequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetReference, setReferencegetImagegetImagegetPrintOn, setPrintOnprotected static java.lang.Object PropertyCellWidth
protected static java.lang.Object PropertyCellHeight
protected static java.lang.Object PropertyHorSpacing
protected static java.lang.Object PropertyVertSpacing
protected static java.lang.Object PropertyContinuousText
public StiTextInCells()
public StiTextInCells(StiRectangle rect)
rect - The rectangle describes size and position of the component.public StiTextInCells(StiRectangle rect, java.lang.String text)
rect - The rectangle describes sizes and position of the component.text - Text expression.public StiVertAlignment getVertAlignment()
StiTextgetVertAlignment in interface IStiVertAlignmentgetVertAlignment in class StiTextpublic void setVertAlignment(StiVertAlignment value)
setVertAlignment in interface IStiVertAlignmentsetVertAlignment in class StiTextpublic boolean isExportAsImage(StiExportFormat format)
isExportAsImage in interface IStiExportImageExtendedisExportAsImage in class StiTextpublic void convert(StiUnit oldUnit, StiUnit newUnit)
convert in interface IStiUnitConvertconvert in class StiComponentoldUnit - Old units.newUnit - New units.public boolean getAutoWidth()
StiTextgetAutoWidth in interface IStiAutoWidthgetAutoWidth in class StiTextpublic void setAutoWidth(boolean value)
setAutoWidth in interface IStiAutoWidthsetAutoWidth in class StiTextpublic boolean getCanGrow()
StiComponentgetCanGrow in interface IStiCanGrowgetCanGrow in class StiComponentpublic void setCanGrow(boolean value)
setCanGrow in interface IStiCanGrowsetCanGrow in class StiComponentpublic boolean getCanShrink()
StiComponentgetCanShrink in interface IStiCanShrinkgetCanShrink in class StiComponentpublic void setCanShrink(boolean value)
setCanShrink in interface IStiCanShrinksetCanShrink in class StiComponentpublic boolean getAllowHtmlTags()
StiTextgetAllowHtmlTags in class StiTextpublic void setAllowHtmlTags(boolean value)
setAllowHtmlTags in class StiTextpublic boolean getShrinkFontToFit()
StiTextgetShrinkFontToFit in class StiTextpublic void setShrinkFontToFit(boolean value)
setShrinkFontToFit in class StiTextpublic float getShrinkFontToFitMinimumSize()
StiTextgetShrinkFontToFitMinimumSize in class StiTextpublic void setShrinkFontToFitMinimumSize(float value)
setShrinkFontToFitMinimumSize in class StiTextpublic float getAngle()
StiTextpublic StiPenStyle getLinesOfUnderline()
StiSimpleTextgetLinesOfUnderline in interface IStiTextgetLinesOfUnderline in class StiSimpleTextpublic void setLinesOfUnderline(StiPenStyle value)
setLinesOfUnderline in interface IStiTextsetLinesOfUnderline in class StiSimpleTextpublic int getMaxNumberOfLines()
StiSimpleTextgetMaxNumberOfLines in interface IStiTextgetMaxNumberOfLines in class StiSimpleTextpublic void setMaxNumberOfLines(int value)
setMaxNumberOfLines in interface IStiTextsetMaxNumberOfLines in class StiSimpleTextpublic StiProcessingDuplicatesType getProcessingDuplicates()
StiSimpleTextgetProcessingDuplicates in interface IStiTextgetProcessingDuplicates in class StiSimpleTextpublic void setProcessingDuplicates(StiProcessingDuplicatesType value)
setProcessingDuplicates in interface IStiTextsetProcessingDuplicates in class StiSimpleTextpublic java.lang.String getRenderTo()
StiTextgetRenderTo in class StiTextpublic void setRenderTo(java.lang.String value)
setRenderTo in class StiTextpublic int getToolboxPosition()
getToolboxPosition in class StiTextpublic java.lang.String getLocalizedCategory()
getLocalizedCategory in class StiTextpublic java.lang.String getLocalizedName()
getLocalizedName in class StiTextpublic float getCellWidth()
public void setCellWidth(float value)
public float getCellHeight()
public void setCellHeight(float value)
public float getHorSpacing()
public void setHorSpacing(float value)
public float getVertSpacing()
public void setVertSpacing(float value)
public StiTextQuality getTextQuality()
StiTextgetTextQuality in class StiTextpublic void setTextQuality(StiTextQuality value)
setTextQuality in class StiTextpublic boolean getWordWrap()
getWordWrap in class StiTextpublic void setWordWrap(boolean value)
setWordWrap in class StiTextpublic final boolean getRightToLeft()
public final void setRightToLeft(boolean value)
public boolean getContinuousText()
public void setContinuousText(boolean value)
public StiExcelValueExpression getExcelValue()
StiTextgetExcelValue in class StiTextpublic void setExcelValue(StiExcelValueExpression value)
setExcelValue in class StiTextpublic static StiContainer splitByCells(StiTextInCells masterTextInCells, StiComponent renderedComponent, java.lang.String textString)
public static StiContainer splitByCells(StiTextInCells masterTextInCells, StiComponent renderedComponent, java.lang.String textString, boolean measure)
public java.lang.String getTextForPaint()
public JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiTextJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectLoadFromJsonObject in class StiTextJSONExceptionCopyright © 2019 Stimulsoft. All Rights Reserved.