|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.IndentAndSpacingFormat
public class IndentAndSpacingFormat
This object is used to set the indent and spacing for your report object.
Use this object to format ReportObjects
objects 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. When possible,
use the IIndentAndSpacingFormat
interface.
Constructor Summary | |
---|---|
IndentAndSpacingFormat()
|
|
IndentAndSpacingFormat(IIndentAndSpacingFormat src)
|
Method Summary | |
---|---|
java.lang.Object |
clone(boolean deepClone)
|
void |
copyTo(java.lang.Object destObject,
boolean deepCopy)
|
java.lang.Object |
createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only. |
void |
doControllerModification(java.lang.Object newObject)
|
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
void |
enumerateMembers(IMemberVisitor visitor)
|
ControllableMixin |
getControllableMixin()
|
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. |
boolean |
hasContent(java.lang.Object srcIndentAndSpacingFormat)
|
boolean |
isDirectlyControllable()
|
void |
readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only. |
void |
save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
For internal use only. |
void |
save(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
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. |
boolean |
skipWritingIdenticalObject()
For internal use only. |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndentAndSpacingFormat(IIndentAndSpacingFormat src)
public IndentAndSpacingFormat()
Method Detail |
---|
public java.lang.Object clone(boolean deepClone)
public void copyTo(java.lang.Object destObject, boolean deepCopy)
public java.lang.Object createMember(java.lang.String eleName, org.xml.sax.Attributes attrs, XMLSerializationContext ctxt, java.util.Map objState, boolean[] bLoaded)
For internal use only.
public void endElement(java.lang.String eleName, java.util.Map objState)
For internal use only.
public int getFirstLineIndent()
IIndentAndSpacingFormat
Returns the distance between the left margin and the first indented line.
getFirstLineIndent
in interface IIndentAndSpacingFormat
int
that specifies the distance between the left
margin and the first indented line.public int getLeftIndent()
IIndentAndSpacingFormat
Returns the size of the paragraph indentation. Note that this value is different
from the value returned by IIndentAndSpacingFormat.getFirstLineIndent()
.
getLeftIndent
in interface IIndentAndSpacingFormat
int
that specifies the size of the paragraph's indent.public double getLineSpacing()
IIndentAndSpacingFormat
Returns the measure of the line spacing (this measure depends on the type). The spacing type can either be double or in twips.
getLineSpacing
in interface IIndentAndSpacingFormat
double
that specifies the measure of the line spacing.public LineSpacingType getLineSpacingType()
IIndentAndSpacingFormat
Returns the type of line spacing.
getLineSpacingType
in interface IIndentAndSpacingFormat
LineSpacingType
object that specifies the type of line spacing.public int getRightIndent()
IIndentAndSpacingFormat
Returns the distance of the line that is indented from the right.
getRightIndent
in interface IIndentAndSpacingFormat
int
that specifies the distance of the line that is indented
from the right.public boolean hasContent(java.lang.Object srcIndentAndSpacingFormat)
public void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
For internal use only.
public void save(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void save(XMLWriter writer, java.lang.String sTag, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void saveContents(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void setFirstLineIndent(int firstLineIndent)
IIndentAndSpacingFormat
Sets the distance of the first line that is indented from the left margin.
setFirstLineIndent
in interface IIndentAndSpacingFormat
firstLineIndent
- An int
that specifies the distance of the first line that is indented
from the left margin.public void setLeftIndent(int leftIndent)
IIndentAndSpacingFormat
Sets the size of the paragraph indentation. Note that this value is different
from the value returned by IIndentAndSpacingFormat.getFirstLineIndent()
.
setLeftIndent
in interface IIndentAndSpacingFormat
leftIndent
- An int
that specifies the size of the paragraph's indent.public void setLineSpacing(double lineSpacing)
IIndentAndSpacingFormat
Sets the measure of the line spacing (this measure depends on the type). The spacing type can either be double or in twips.
setLineSpacing
in interface IIndentAndSpacingFormat
lineSpacing
- A double
that specifies the measure of the line spacing.public void setLineSpacingType(LineSpacingType lineSpacingType)
IIndentAndSpacingFormat
Sets the type of line spacing.
setLineSpacingType
in interface IIndentAndSpacingFormat
lineSpacingType
- A LineSpacingType
object that specifies the type of line spacing.public void setRightIndent(int rightIndent)
IIndentAndSpacingFormat
Sets the distance of the line that is indented from the right.
setRightIndent
in interface IIndentAndSpacingFormat
rightIndent
- An int
that specifies the distance of the line that is indented
from the right.public boolean skipWritingIdenticalObject()
For internal use only.
public void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
For internal use only.
public void doControllerModification(java.lang.Object newObject)
public ControllableMixin getControllableMixin()
public boolean isDirectlyControllable()
public void enumerateMembers(IMemberVisitor visitor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |