|
|||||||||
| 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
com.crystaldecisions.sdk.occa.report.definition.PictureObject
public class PictureObject
This object is used to specify the particular graphic you wish to copy or modify in your
report object. When possible, use the IPictureObject interface.
| Nested Class Summary | |
|---|---|
static class |
PictureObject.PictureItem
For internal use only. |
| Constructor Summary | |
|---|---|
PictureObject()
|
|
PictureObject(IPictureObject 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 |
disconnect()
For internal use only. |
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
java.lang.String |
getGraphicLocation()
|
IConditionFormula |
getGraphicLocationFormula()
Returns the formula for the graphic location. |
java.lang.String |
getImageKey()
For internal use only. |
int |
getNPictures()
For internal use only. |
IByteArray |
getNthPictureData(int pictureIndex)
For internal use only. |
java.lang.String |
getNthPictureName(int pictureIndex)
For internal use only. |
IByteArray |
getPictureData()
Gets a byte array of the object's picture data. |
PictureType |
getPictureType()
Gets the format of the object's picture data. |
boolean |
hasContent(java.lang.Object srcPictureObject)
|
void |
insertPicture(int pictureIndex,
java.lang.String pictureName,
IByteArray pictureData)
For internal use only. |
boolean |
isConnected()
For internal use only. |
void |
readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only. |
void |
refresh()
For internal use only. |
void |
removeAllPictures()
For internal use only. |
void |
removeNthPicture(int pictureIndex)
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 |
setGraphicLocation(java.lang.String locationString)
|
void |
setGraphicLocationFormula(IConditionFormula locationFormula)
Sets the formula for the graphic location. |
void |
setNthPictureData(int pictureIndex,
java.lang.String pictureName,
IByteArray pictureData)
For internal use only. |
void |
setPictureData(IByteArray pictureData)
Sets the picture data. |
void |
setPictureType(PictureType pictureType)
Sets the format of the picture data. |
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.GraphicObject |
|---|
getOriginalHeight, getOriginalWidth, getPictureFormat, getXscaling, getYscaling, setOriginalHeight, setOriginalWidth, setPictureFormat |
| Methods inherited from class com.crystaldecisions.sdk.occa.report.definition.ReportObject |
|---|
getBorder, getBorderMargins, getFormat, getFormula, getHeight, 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.IGraphicObject |
|---|
getOriginalHeight, getOriginalWidth, getPictureFormat, getXscaling, getYscaling, setOriginalHeight, setOriginalWidth, setPictureFormat |
| 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 PictureObject(IPictureObject src)
public PictureObject()
| Method Detail |
|---|
public java.lang.Object clone(boolean deepClone)
clone in class GraphicObject
public void copyTo(java.lang.Object destObject,
boolean deepCopy)
copyTo in class GraphicObject
public java.lang.Object createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
createMember in class GraphicObject
public void endElement(java.lang.String eleName,
java.util.Map objState)
endElement in class GraphicObjectpublic PictureType getPictureType()
getPictureType in interface IPictureObjectPictureType object that specifies the file format of the picture.public IByteArray getPictureData()
getPictureData in interface IPictureObjectIByteArray containing the picture.public boolean hasContent(java.lang.Object srcPictureObject)
hasContent in class GraphicObject
public void readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
readElement in class GraphicObject
public void save(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
save in class GraphicObjectjava.io.IOException
public void save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
throws java.io.IOException
save in class GraphicObjectjava.io.IOException
public void saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
saveContents in class GraphicObjectjava.io.IOExceptionpublic void setPictureType(PictureType pictureType)
setPictureType in interface IPictureObjectpictureType - the file format of the picture datapublic void setPictureData(IByteArray pictureData)
setPictureData in interface IPictureObjectpictureData - a byte array containing the picture's data
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
startElement in class GraphicObjectpublic IConditionFormula getGraphicLocationFormula()
IPictureObjectReturns the formula for the graphic location.
getGraphicLocationFormula in interface IPictureObjectIConditionFormula object that specifies the formula for the graphic location.public void setGraphicLocationFormula(IConditionFormula locationFormula)
IPictureObjectSets the formula for the graphic location.
setGraphicLocationFormula in interface IPictureObjectlocationFormula - An IConditionFormula that specifies the formula for the graphic location.public java.lang.String getGraphicLocation()
public void setGraphicLocation(java.lang.String locationString)
public boolean isConnected()
public void disconnect()
public void refresh()
public int getNPictures()
IPictureSequenceObject
getNPictures in interface IPictureSequenceObjectpublic IByteArray getNthPictureData(int pictureIndex)
IPictureSequenceObject
getNthPictureData in interface IPictureSequenceObject
public void setNthPictureData(int pictureIndex,
java.lang.String pictureName,
IByteArray pictureData)
IPictureSequenceObject
setNthPictureData in interface IPictureSequenceObjectpublic java.lang.String getNthPictureName(int pictureIndex)
IPictureSequenceObject
getNthPictureName in interface IPictureSequenceObject
public void insertPicture(int pictureIndex,
java.lang.String pictureName,
IByteArray pictureData)
IPictureSequenceObject
insertPicture in interface IPictureSequenceObjectpublic void removeNthPicture(int pictureIndex)
IPictureSequenceObject
removeNthPicture in interface IPictureSequenceObjectpublic void removeAllPictures()
IPictureSequenceObject
removeAllPictures in interface IPictureSequenceObjectpublic java.lang.String getImageKey()
For internal use only.
getImageKey in class ReportObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||