|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.PictureFormat
public class PictureFormat
This object is used to crop the graphic (by cropping any or all of the four sides of the
picture: the top, the bottom, the left, and/or the right). You can also add space to any of
the four sides by that specifies a negative value. When possible, use the IPictureFormat
interface.
Constructor Summary | |
---|---|
PictureFormat()
|
|
PictureFormat(IPictureFormat 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)
|
int |
getBottomCropping()
Returns the amount the bottom side of the graphic will be cropped. |
ControllableMixin |
getControllableMixin()
|
boolean |
getIsPreserveAspectRatio()
Returns the value of "IsPreserveAspectRatio" |
int |
getLeftCropping()
Returns the amount the left side of the graphic will be cropped. |
int |
getRightCropping()
Returns the amount the right side of the graphic will be cropped. |
int |
getTopCropping()
Returns the amount the top side of the graphic will be cropped. |
boolean |
hasContent(java.lang.Object srcPictureFormat)
|
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 |
setBottomCropping(int bottomCropping)
Sets the amount the bottom side of the graphic will be cropped. |
void |
setIsPreserveAspectRatio(boolean isPreserveAspectRatio)
Sets the value if the picture will preserve aspect ratio or not. |
void |
setLeftCropping(int leftCropping)
Sets the amount the left side of the graphic will be cropped. |
void |
setRightCropping(int rightCropping)
Sets the amount the right side of the graphic will be cropped. |
void |
setTopCropping(int topCropping)
Sets the amount the top side of the graphic will be cropped. |
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 PictureFormat(IPictureFormat src)
public PictureFormat()
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 getBottomCropping()
IPictureFormat
Returns the amount the bottom side of the graphic will be cropped. To add space to the bottom side of the graphic (instead of cropping space), specify a negative value.
getBottomCropping
in interface IPictureFormat
int
that specifies the amount the bottom side of the graphic will be
cropped.public int getLeftCropping()
IPictureFormat
Returns the amount the left side of the graphic will be cropped. To add space to the left side of the graphic (instead of cropping space), specify a negative value.
getLeftCropping
in interface IPictureFormat
int
that specifies the amount the left side of the graphic will be
cropped.public int getRightCropping()
IPictureFormat
Returns the amount the right side of the graphic will be cropped. To add space to the right side of the graphic (instead of cropping space), specify a negative value.
getRightCropping
in interface IPictureFormat
int
that specifies the amount the right side of the graphic will be
cropped.public int getTopCropping()
IPictureFormat
Returns the amount the top side of the graphic will be cropped. To add space to the top side of the graphic (instead of cropping space), specify a negative value.
getTopCropping
in interface IPictureFormat
int
that specifies the amount the top side of the graphic will be
cropped.public boolean getIsPreserveAspectRatio()
IPictureFormat
Returns the value of "IsPreserveAspectRatio"
getIsPreserveAspectRatio
in interface IPictureFormat
boolean
that specifies if the picture will preserve aspect ratiopublic boolean hasContent(java.lang.Object srcPictureFormat)
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 setBottomCropping(int bottomCropping)
IPictureFormat
Sets the amount the bottom side of the graphic will be cropped. To add space to the bottom side of the graphic (instead of cropping space), specify a negative value.
setBottomCropping
in interface IPictureFormat
bottomCropping
- An int
that specifies the amount the bottom side of the graphic will be
cropped.public void setLeftCropping(int leftCropping)
IPictureFormat
Sets the amount the left side of the graphic will be cropped. To add space to the left side of the graphic (instead of cropping space), specify a negative value.
setLeftCropping
in interface IPictureFormat
leftCropping
- An int
that specifies the amount the left side of the graphic will be
cropped.public void setRightCropping(int rightCropping)
IPictureFormat
Sets the amount the right side of the graphic will be cropped. To add space to the right side of the graphic (instead of cropping space), specify a negative value.
setRightCropping
in interface IPictureFormat
rightCropping
- An int
that specifies the amount the right side of the graphic will be
cropped.public void setTopCropping(int topCropping)
IPictureFormat
Sets the amount the top side of the graphic will be cropped. To add space to the top side of the graphic (instead of cropping space), specify a negative value.
setTopCropping
in interface IPictureFormat
topCropping
- An int
that specifies the amount the top side of the graphic will be
cropped.public void setIsPreserveAspectRatio(boolean isPreserveAspectRatio)
IPictureFormat
Sets the value if the picture will preserve aspect ratio or not.
setIsPreserveAspectRatio
in interface IPictureFormat
isPreserveAspectRatio
- An boolean
that specifies the graphic will preserve aspect
ratio or not.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 ControllableMixin getControllableMixin()
public void doControllerModification(java.lang.Object newObject)
public boolean isDirectlyControllable()
public void enumerateMembers(IMemberVisitor visitor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |