com.crystaldecisions.sdk.occa.report.definition
Interface IParagraphFieldElement

All Superinterfaces:
IClone, IParagraphElement
All Known Implementing Classes:
ParagraphFieldElement

public interface IParagraphFieldElement
extends IParagraphElement

This interface defines text from a field object. When a text object displays text, it can display static text, which is stored in a ParagraphTextElement object, or it can display text from a field object, which is what this object represents. That is, you can embed a field object within a text object by adding a ParagraphFieldElement to one of the TextObject object's paragraphs.


Method Summary
 java.lang.String getDataSource()
           Returns the data source.
 IFieldFormat getFieldFormat()
           Returns the field format.
 void setDataSource(java.lang.String dataSource)
           Sets the data source.
 void setFieldFormat(IFieldFormat fieldFormat)
           Sets the field format.
 
Methods inherited from interface com.crystaldecisions.sdk.occa.report.definition.IParagraphElement
getCharacterSpacing, getFontColor, getKind, setCharacterSpacing, setFontColor, setKind
 

Method Detail

getDataSource

java.lang.String getDataSource()

Returns the data source. The data source is equivalent to the field's FormulaForm.

Returns:
A String that specifies the data source. The data source is equivalent to the field's FormulaForm.

getFieldFormat

IFieldFormat getFieldFormat()

Returns the field format.

Returns:
An IFieldFormat object that specifies the field format.

setDataSource

void setDataSource(java.lang.String dataSource)

Sets the data source. The data source is equivalent to the field's FormulaForm.

Parameters:
dataSource - A String that specifies the data source. The data source is equivalent to the field's FormulaForm.

setFieldFormat

void setFieldFormat(IFieldFormat fieldFormat)

Sets the field format.

Parameters:
fieldFormat - An IFieldFormat object that specifies the field format.