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

All Superinterfaces:
IClone
All Known Subinterfaces:
IParagraphFieldElement, IParagraphTextElement
All Known Implementing Classes:
ParagraphElement, ParagraphFieldElement, ParagraphTextElement

public interface IParagraphElement
extends IClone

This interface is used to specify the paragraph elements. This object provides a base class for different kinds of elements in a paragraph, which can be ParagraphTextElement objects or ParagraphFieldElement objects.

Font color persists at the ParagraphElement level.


Method Summary
 int getCharacterSpacing()
           Returns the amount of space that is set between characters.
 IFontColor getFontColor()
           Returns the font and color properties for the paragraph element.
 ParagraphElementKind getKind()
           Returns the paragraph element kind.
 void setCharacterSpacing(int characterSpacing)
           Sets the amount of space that is set between characters.
 void setFontColor(IFontColor fontColor)
           Sets the font and color properties for the paragraph element.
 void setKind(ParagraphElementKind kind)
           Sets the paragraph element kind.
 

Method Detail

getFontColor

IFontColor getFontColor()

Returns the font and color properties for the paragraph element.

Returns:
An IFontColor object that specifies the font and color properties for the paragraph element.

getKind

ParagraphElementKind getKind()

Returns the paragraph element kind.

Returns:
A ParagraphElementKind object that specifies the paragraph element kind.

setFontColor

void setFontColor(IFontColor fontColor)

Sets the font and color properties for the paragraph element.

Parameters:
fontColor - An IFontColor object that specifies the font and color properties for the paragraph element.

setKind

void setKind(ParagraphElementKind kind)

Sets the paragraph element kind.

Parameters:
kind - A ParagraphElementKind object that specifies the paragraph element kind.

getCharacterSpacing

int getCharacterSpacing()

Returns the amount of space that is set between characters.

Returns:
An int that specifies the amount of space that is set between characters.

setCharacterSpacing

void setCharacterSpacing(int characterSpacing)

Sets the amount of space that is set between characters.

Parameters:
characterSpacing - An int that specifies the amount of space that is set between characters.