|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.ReportObject
com.crystaldecisions.sdk.occa.report.definition.GraphicObject
public abstract class GraphicObject
This object is used to set the properties of the graphic for your report object. You cannot
add an IGraphicObject to the report. RAS currently only supports adding
IBlobFieldObject object(s) to a report. Note that you can only copy an
IPictureObject object from one report to another; you cannot add an
IPictureObject object from a file. When possible, use the IGraphicObject
interface.
| Constructor Summary | |
|---|---|
GraphicObject()
|
|
| 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 |
getOriginalHeight()
Returns the original height of the graphic. |
int |
getOriginalWidth()
Returns the original width of the graphic. |
IPictureFormat |
getPictureFormat()
Returns the format of the graphic. |
double |
getXscaling()
Returns the horizontal scaling of the graphic. |
double |
getYscaling()
Returns the vertical scaling of the graphic. |
boolean |
hasContent(java.lang.Object srcObject)
|
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 |
setOriginalHeight(int height)
Sets the original height of the graphic. |
void |
setOriginalWidth(int width)
Sets the original width of the graphic. |
void |
setPictureFormat(IPictureFormat pictureFormat)
Sets the format of the graphic. |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only. |
| Methods inherited from class com.crystaldecisions.sdk.occa.report.definition.ReportObject |
|---|
getBorder, getBorderMargins, getFormat, getFormula, getHeight, getImageKey, getKind, getLeft, getLinkedURI, getName, getReplacementConditionFormulas, getReportPartBookmark, getSectionCode, getSectionName, getTop, getTranslatableObject, getTranslatableString, getTranslatableStringIds, getTranslatableStringLabelResourceID, getVersion, getWidth, setBorder, setFormat, setHeight, setKind, setLeft, setLinkedURI, setName, setReplacementConditionFormulas, setReportPartBookmark, setSectionCode, setSectionName, setTop, setTranslatableString, setVersion, setWidth |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.crystaldecisions.sdk.occa.report.definition.IReportObject |
|---|
getBorder, getBorderMargins, getFormat, getHeight, getKind, getLeft, getLinkedURI, getName, getReplacementConditionFormulas, getReportPartBookmark, getSectionCode, getSectionName, getTop, getWidth, setBorder, setFormat, setHeight, setLeft, setLinkedURI, setName, setReplacementConditionFormulas, setReportPartBookmark, setSectionCode, setSectionName, setTop, setWidth |
| Constructor Detail |
|---|
public GraphicObject()
| Method Detail |
|---|
public java.lang.Object clone(boolean deepClone)
clone in class ReportObject
public void copyTo(java.lang.Object destObject,
boolean deepCopy)
copyTo in class ReportObject
public java.lang.Object createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
ReportObjectFor internal use only.
createMember in class ReportObject
public void endElement(java.lang.String eleName,
java.util.Map objState)
ReportObjectFor internal use only.
endElement in class ReportObjectpublic IPictureFormat getPictureFormat()
IGraphicObjectReturns the format of the graphic.
getPictureFormat in interface IGraphicObjectIPictureFormat object that specifies the format of the graphic.public int getOriginalWidth()
IGraphicObjectReturns the original width of the graphic.
getOriginalWidth in interface IGraphicObjectint that specifies the original width of the graphic.public int getOriginalHeight()
IGraphicObjectReturns the original height of the graphic.
getOriginalHeight in interface IGraphicObjectint that specifies the original height of the graphic.public boolean hasContent(java.lang.Object srcObject)
hasContent in class ReportObject
public void readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
ReportObjectFor internal use only.
readElement in class ReportObject
public void save(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
ReportObjectFor internal use only.
save in class ReportObjectjava.io.IOException
public void save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
throws java.io.IOException
ReportObjectFor internal use only.
save in class ReportObjectjava.io.IOException
public void saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
ReportObjectFor internal use only.
saveContents in class ReportObjectjava.io.IOExceptionpublic void setPictureFormat(IPictureFormat pictureFormat)
IGraphicObjectSets the format of the graphic.
setPictureFormat in interface IGraphicObjectpictureFormat - a IPictureFormat object that specifies the format of the graphic.public void setOriginalWidth(int width)
IGraphicObjectSets the original width of the graphic.
setOriginalWidth in interface IGraphicObjectwidth - An int that specifies the original width of the graphic.public void setOriginalHeight(int height)
IGraphicObjectSets the original height of the graphic.
setOriginalHeight in interface IGraphicObjectheight - An int that specifies the original height of the graphic.
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
ReportObjectFor internal use only.
startElement in class ReportObjectpublic double getXscaling()
IGraphicObjectReturns the horizontal scaling of the graphic.
getXscaling in interface IGraphicObjectdouble that specifies the horizontal scaling of the graphic.public double getYscaling()
IGraphicObjectReturns the vertical scaling of the graphic.
getYscaling in interface IGraphicObjectdouble that specifies the vertical scaling of the graphic.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||