|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IIndentAndSpacingFormat
This interface is used to set the indent and spacing for your report object.
This interface is used to format ReportObjects
that contain text; that is,
it formats how text lines and paragraphs are indented and spaced. This object is used by
the TextObject
's Paragraph
objects as well as the StringFieldFormat
, which
provides formatting for a FieldObject
when it displays textual information.
Method Summary | |
---|---|
int |
getFirstLineIndent()
Returns the distance between the left margin and the first indented line. |
int |
getLeftIndent()
Returns the size of the paragraph indentation. |
double |
getLineSpacing()
Returns the measure of the line spacing (this measure depends on the type). |
LineSpacingType |
getLineSpacingType()
Returns the type of line spacing. |
int |
getRightIndent()
Returns the distance of the line that is indented from the right. |
void |
setFirstLineIndent(int firstLineIndent)
Sets the distance of the first line that is indented from the left margin. |
void |
setLeftIndent(int leftIndent)
Sets the size of the paragraph indentation. |
void |
setLineSpacing(double lineSpacing)
Sets the measure of the line spacing (this measure depends on the type). |
void |
setLineSpacingType(LineSpacingType lineSpacingType)
Sets the type of line spacing. |
void |
setRightIndent(int rightIndent)
Sets the distance of the line that is indented from the right. |
Method Detail |
---|
int getFirstLineIndent()
Returns the distance between the left margin and the first indented line.
int
that specifies the distance between the left
margin and the first indented line.int getLeftIndent()
Returns the size of the paragraph indentation. Note that this value is different
from the value returned by getFirstLineIndent()
.
int
that specifies the size of the paragraph's indent.double getLineSpacing()
Returns the measure of the line spacing (this measure depends on the type). The spacing type can either be double or in twips.
double
that specifies the measure of the line spacing.int getRightIndent()
Returns the distance of the line that is indented from the right.
int
that specifies the distance of the line that is indented
from the right.LineSpacingType getLineSpacingType()
Returns the type of line spacing.
LineSpacingType
object that specifies the type of line spacing.void setFirstLineIndent(int firstLineIndent)
Sets the distance of the first line that is indented from the left margin.
firstLineIndent
- An int
that specifies the distance of the first line that is indented
from the left margin.void setLeftIndent(int leftIndent)
Sets the size of the paragraph indentation. Note that this value is different
from the value returned by getFirstLineIndent()
.
leftIndent
- An int
that specifies the size of the paragraph's indent.void setLineSpacing(double lineSpacing)
Sets the measure of the line spacing (this measure depends on the type). The spacing type can either be double or in twips.
lineSpacing
- A double
that specifies the measure of the line spacing.void setRightIndent(int rightIndent)
Sets the distance of the line that is indented from the right.
rightIndent
- An int
that specifies the distance of the line that is indented
from the right.void setLineSpacingType(LineSpacingType lineSpacingType)
Sets the type of line spacing.
lineSpacingType
- A LineSpacingType
object that specifies the type of line spacing.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |