Interface IAutoTextContent
- All Superinterfaces:
org.eclipse.birt.report.engine.css.engine.CSSStylableElement
,IContent
,IElement
,IStyledElement
,ITextContent
Provides the interfaces for the AutoText Content.
AutoText Content is created at the start of the process, but the text value is set at the end of the process. The typical implementation of AutoText is total page of report.
The following types of the AutoText content are predefined:
TOTAL_PAGE
PAGE_NUMBER
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
property: page number keystatic final int
property: page variable keystatic final int
property: total page keystatic final int
property: unfiltered page number keystatic final int
property: unfiltered total page keyFields inherited from interface org.eclipse.birt.report.engine.content.IContent
AUTOTEXT_CONTENT, CELL_CONTENT, CONTAINER_CONTENT, DATA_CONTENT, DOCUMENT_EXTENSION, FOREIGN_CONTENT, GROUP_CONTENT, IMAGE_CONTENT, LABEL_CONTENT, LAYOUT_EXTENSION, LIST_BAND_CONTENT, LIST_CONTENT, LIST_GROUP_CONTENT, PAGE_CONTENT, REPORT_CONTENT, ROW_CONTENT, SERIALIZE_CONTENT, TABLE_BAND_CONTENT, TABLE_CONTENT, TABLE_GROUP_CONTENT, TEXT_CONTENT
-
Method Summary
Methods inherited from interface org.eclipse.birt.report.engine.css.engine.CSSStylableElement
getComputedStyle, getCSSEngine, getStyle
Methods inherited from interface org.eclipse.birt.report.engine.content.IContent
accept, cloneContent, getACL, getAltText, getAltTextKey, getBookmark, getContentType, getExtension, getExtensions, getGenerateBy, getHeight, getHelpText, getHyperlinkAction, getInlineStyle, getInstanceID, getName, getReportContent, getResultSet, getTOC, getUserProperties, getWidth, getX, getY, hasChildren, isDirectionRTL, isLastChild, isRTL, readContent, setACL, setAltText, setAltTextKey, setBookmark, setExtension, setExtensions, setGenerateBy, setHasChildren, setHeight, setHelpText, setHyperlinkAction, setInlineStyle, setInstanceID, setLastChild, setName, setReportContent, setTOC, setUserProperties, setWidth, setX, setY, writeContent
Methods inherited from interface org.eclipse.birt.report.engine.content.IElement
getChildren, getParent, setParent
Methods inherited from interface org.eclipse.birt.report.engine.content.IStyledElement
getComputedStyle, getStyle, getStyleClass, setStyleClass
Methods inherited from interface org.eclipse.birt.report.engine.content.ITextContent
getText, setText
-
Field Details
-
TOTAL_PAGE
static final int TOTAL_PAGEproperty: total page key- See Also:
-
PAGE_NUMBER
static final int PAGE_NUMBERproperty: page number key- See Also:
-
UNFILTERED_TOTAL_PAGE
static final int UNFILTERED_TOTAL_PAGEproperty: unfiltered total page key- See Also:
-
UNFILTERED_PAGE_NUMBER
static final int UNFILTERED_PAGE_NUMBERproperty: unfiltered page number key- See Also:
-
PAGE_VARIABLE
static final int PAGE_VARIABLEproperty: page variable key- See Also:
-
-
Method Details
-
setType
void setType(int type) Set the type of the AutoText Content. This type must be one of the predefines.- Parameters:
type
- the type of the AutoText content.
-
getType
int getType()Get the type of the AutoText Content. The return value must be on of the predefines.- Returns:
- the type of the AutoText content
-