|
|||||||||
| 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 |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
int |
getBottomCropping()
Returns the amount the bottom side of the graphic will be cropped. |
boolean |
getIsPreserveAspectRatio()
For internal use only |
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)
|
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)
For internal use only |
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()
IPictureFormatReturns 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 IPictureFormatint that specifies the amount the bottom side of the graphic will be
cropped.public int getLeftCropping()
IPictureFormatReturns 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 IPictureFormatint that specifies the amount the left side of the graphic will be
cropped.public int getRightCropping()
IPictureFormatReturns 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 IPictureFormatint that specifies the amount the right side of the graphic will be
cropped.public int getTopCropping()
IPictureFormatReturns 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 IPictureFormatint that specifies the amount the top side of the graphic will be
cropped.public boolean getIsPreserveAspectRatio()
IPictureFormat
getIsPreserveAspectRatio in interface IPictureFormatpublic 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.IOExceptionpublic void setBottomCropping(int bottomCropping)
IPictureFormatSets 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 IPictureFormatbottomCropping - An int that specifies the amount the bottom side of the graphic will be
cropped.public void setLeftCropping(int leftCropping)
IPictureFormatSets 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 IPictureFormatleftCropping - An int that specifies the amount the left side of the graphic will be
cropped.public void setRightCropping(int rightCropping)
IPictureFormatSets 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 IPictureFormatrightCropping - An int that specifies the amount the right side of the graphic will be
cropped.public void setTopCropping(int topCropping)
IPictureFormatSets 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 IPictureFormattopCropping - An int that specifies the amount the top side of the graphic will be
cropped.public void setIsPreserveAspectRatio(boolean isPreserveAspectRatio)
IPictureFormat
setIsPreserveAspectRatio in interface IPictureFormatpublic 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||