|
|||||||||
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. |
void |
enumerateMembers(IMemberVisitor visitor)
|
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 |
---|
doControllerModification, getBorder, getBorderMargins, getControllableMixin, getFormat, getHeight, getKind, getLeft, getLinkedURI, getName, getReplacementConditionFormulas, getReportPartBookmark, getSectionCode, getSectionName, getTop, getVersion, getWidth, isDirectlyControllable, setBorder, setFormat, setHeight, setKind, setLeft, setLinkedURI, setName, setReplacementConditionFormulas, setReportPartBookmark, setSectionCode, setSectionName, setTop, 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)
ReportObject
For internal use only.
createMember
in class ReportObject
public void endElement(java.lang.String eleName, java.util.Map objState)
ReportObject
For internal use only.
endElement
in class ReportObject
public IPictureFormat getPictureFormat()
IGraphicObject
Returns the format of the graphic.
getPictureFormat
in interface IGraphicObject
IPictureFormat
object that specifies the format of the graphic.public int getOriginalWidth()
IGraphicObject
Returns the original width of the graphic.
getOriginalWidth
in interface IGraphicObject
int
that specifies the original width of the graphic.public int getOriginalHeight()
IGraphicObject
Returns the original height of the graphic.
getOriginalHeight
in interface IGraphicObject
int
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)
ReportObject
For internal use only.
readElement
in class ReportObject
public void save(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
ReportObject
For internal use only.
save
in class ReportObject
java.io.IOException
public void save(XMLWriter writer, java.lang.String sTag, XMLSerializationContext ctxt) throws java.io.IOException
ReportObject
For internal use only.
save
in class ReportObject
java.io.IOException
public void saveContents(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
ReportObject
For internal use only.
saveContents
in class ReportObject
java.io.IOException
public void setPictureFormat(IPictureFormat pictureFormat)
IGraphicObject
Sets the format of the graphic.
setPictureFormat
in interface IGraphicObject
pictureFormat
- a IPictureFormat
object that specifies the format of the graphic.public void setOriginalWidth(int width)
IGraphicObject
Sets the original width of the graphic.
setOriginalWidth
in interface IGraphicObject
width
- An int
that specifies the original width of the graphic.public void setOriginalHeight(int height)
IGraphicObject
Sets the original height of the graphic.
setOriginalHeight
in interface IGraphicObject
height
- 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)
ReportObject
For internal use only.
startElement
in class ReportObject
public double getXscaling()
IGraphicObject
Returns the horizontal scaling of the graphic.
getXscaling
in interface IGraphicObject
double
that specifies the horizontal scaling of the graphic.public double getYscaling()
IGraphicObject
Returns the vertical scaling of the graphic.
getYscaling
in interface IGraphicObject
double
that specifies the vertical scaling of the graphic.public void enumerateMembers(IMemberVisitor visitor)
enumerateMembers
in class ReportObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |