public class MSTAnnotationDocument
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Vector |
annotation |
MSTAnnotationPage[] |
m_AnnPages |
Constructor and Description |
---|
MSTAnnotationDocument(int pages)
creates an object of MSTAnnotationDocument.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CheckValidModca(java.io.InputStream annotationStream,
byte[] data) |
java.util.Vector |
getFilenetAnnotation(java.io.InputStream annStreamFilenetNet) |
MSTAnnotation[] |
getFilenetAnnotations(java.io.InputStream annStream,
java.lang.String string) |
void |
GetRevByte(byte[] pu8IntRev,
int nNum) |
void |
GetRevInt(byte[] pu8IntRev,
int nNum) |
void |
GetRevInt(byte[] pu8IntRev,
int nNum,
boolean abcd) |
void |
GetRevInt(byte[] pu8IntRev,
long nNum) |
int |
getWingRatio(MST.Annotations.MSTArrowProperty arrowAnnotation) |
MSTAnnotationDocument |
loadAnnotation(java.lang.String filePath)
Load annotation data from XML (i.e.
|
MSTAnnotationDocument |
loadAnnotation(java.lang.String filePath,
float nXResolution,
float nYResolution) |
void |
loadAnnotationset(java.io.InputStream annotationStream,
java.lang.String format,
int xRes,
int yRes) |
void |
loadFilenetAnnotation(java.io.InputStream annStream,
float nXResolution,
float nYResolution,
java.lang.String repo) |
static java.lang.String |
printBytes(byte[] array,
java.lang.String name) |
boolean |
saveAnnotationCM8(java.lang.String filePath,
MSTAnnotationDocument msAnnDoc,
float nXResolution,
float nYResolution) |
boolean |
saveFilenetAnnotation(java.lang.String filePath,
MSTAnnotationDocument msAnnDoc,
float nXResolution,
float nYResolution) |
boolean |
saveXMLAnnotation(java.lang.String filePath,
MSTAnnotationDocument msAnnDoc)
Save annotation data into XML (i.e.
|
void |
writeArrow(MST.Annotations.MSTArrowProperty arrowAnnotation) |
void |
writeCircleBox(MSTAnnotation pageAnnotation) |
void |
writeFilenetArrow(MST.Annotations.MSTArrowProperty Annotation,
java.lang.String filePath,
java.io.OutputStream outputStream) |
void |
writeFilenetCircle(MST.Annotations.MSTRectangleProperty Annotation,
java.lang.String filePath,
java.io.OutputStream outputStream) |
void |
writeFilenetHighlight(MST.Annotations.MSTRectangleProperty Annotation,
java.lang.String filePath,
java.io.OutputStream outputStream) |
void |
writeFilenetLine(MST.Annotations.MSTLineProperty lineAnnotation,
java.lang.String filePath,
java.io.OutputStream outputStream) |
void |
writeFilenetNote(MST.Annotations.MSTNoteProperty Annotation,
java.lang.String filePath,
java.io.OutputStream outputStream) |
void |
writeFilenetPen(MST.Annotations.MSTPenProperty Annotation,
java.lang.String filePath,
java.io.OutputStream outputStream) |
void |
writeFilenetPolygon(MST.Annotations.MSTPolygonProperty Annotation,
java.lang.String filePath,
java.io.OutputStream outputStream) |
void |
writeFilenetPolyline(MST.Annotations.MSTPolylineProperty Annotation,
java.lang.String filePath,
java.io.OutputStream outputStream) |
void |
writeFilenetRectangle(MST.Annotations.MSTRectangleProperty Annotation,
java.lang.String filePath,
java.io.OutputStream outputStream) |
void |
writeFilenetStamp(MST.Annotations.MSTStampProperty Annotation,
java.lang.String filePath,
java.io.OutputStream outputStream) |
void |
writeFilenetText(MST.Annotations.MSTTextProperty Annotation,
java.lang.String filePath,
java.io.OutputStream outputStream) |
int |
writeFont(java.awt.Font f,
int type) |
void |
writeLine(MST.Annotations.MSTLineProperty lineAnnotation) |
void |
writeNOP(java.awt.Rectangle rect,
int pagenumber) |
void |
writeNote(MST.Annotations.MSTNoteProperty noteAnnotation) |
void |
writePage_AnnotationNumber(int nPageNumber,
int nAnnNumber) |
void |
writePen(MST.Annotations.MSTPenProperty penAnnotation) |
void |
writeStamp(MST.Annotations.MSTStampProperty stampAnnotation) |
void |
writeText(MST.Annotations.MSTTextProperty textAnnotation) |
public MSTAnnotationPage[] m_AnnPages
public static java.util.Vector annotation
public MSTAnnotationDocument(int pages) throws MST.Annotations.MSTException
pages
- No of Pages of DocumentMST.Annotations.MSTException
public boolean saveXMLAnnotation(java.lang.String filePath, MSTAnnotationDocument msAnnDoc) throws MST.Annotations.MSTException
filePath
- Absolute path of file at which place user want to create annotation XMLmsAnnDoc
- MSTAnnotationDocument objectMST.Annotations.MSTException
public boolean saveFilenetAnnotation(java.lang.String filePath, MSTAnnotationDocument msAnnDoc, float nXResolution, float nYResolution)
public MSTAnnotationDocument loadAnnotation(java.lang.String filePath, float nXResolution, float nYResolution) throws java.io.IOException
java.io.IOException
public MSTAnnotationDocument loadAnnotation(java.lang.String filePath) throws MST.Annotations.MSTException
filePath
- Absolute path of file at which place user want to get annotation XMLMST.Annotations.MSTException
public void loadAnnotationset(java.io.InputStream annotationStream, java.lang.String format, int xRes, int yRes)
public boolean CheckValidModca(java.io.InputStream annotationStream, byte[] data)
public boolean saveAnnotationCM8(java.lang.String filePath, MSTAnnotationDocument msAnnDoc, float nXResolution, float nYResolution)
public void writeNOP(java.awt.Rectangle rect, int pagenumber)
public void writePage_AnnotationNumber(int nPageNumber, int nAnnNumber)
public void writeArrow(MST.Annotations.MSTArrowProperty arrowAnnotation)
public void GetRevInt(byte[] pu8IntRev, int nNum)
public void GetRevInt(byte[] pu8IntRev, long nNum)
public void GetRevByte(byte[] pu8IntRev, int nNum)
public void GetRevInt(byte[] pu8IntRev, int nNum, boolean abcd)
public int getWingRatio(MST.Annotations.MSTArrowProperty arrowAnnotation)
public void writeCircleBox(MSTAnnotation pageAnnotation)
public void writeLine(MST.Annotations.MSTLineProperty lineAnnotation)
public void writeNote(MST.Annotations.MSTNoteProperty noteAnnotation)
public void writePen(MST.Annotations.MSTPenProperty penAnnotation)
public void writeStamp(MST.Annotations.MSTStampProperty stampAnnotation)
public int writeFont(java.awt.Font f, int type)
public void writeText(MST.Annotations.MSTTextProperty textAnnotation)
public void writeFilenetLine(MST.Annotations.MSTLineProperty lineAnnotation, java.lang.String filePath, java.io.OutputStream outputStream)
public void writeFilenetArrow(MST.Annotations.MSTArrowProperty Annotation, java.lang.String filePath, java.io.OutputStream outputStream)
public void writeFilenetRectangle(MST.Annotations.MSTRectangleProperty Annotation, java.lang.String filePath, java.io.OutputStream outputStream)
public void writeFilenetHighlight(MST.Annotations.MSTRectangleProperty Annotation, java.lang.String filePath, java.io.OutputStream outputStream)
public void writeFilenetCircle(MST.Annotations.MSTRectangleProperty Annotation, java.lang.String filePath, java.io.OutputStream outputStream)
public void writeFilenetPen(MST.Annotations.MSTPenProperty Annotation, java.lang.String filePath, java.io.OutputStream outputStream)
public void writeFilenetStamp(MST.Annotations.MSTStampProperty Annotation, java.lang.String filePath, java.io.OutputStream outputStream)
public void writeFilenetNote(MST.Annotations.MSTNoteProperty Annotation, java.lang.String filePath, java.io.OutputStream outputStream)
public void writeFilenetText(MST.Annotations.MSTTextProperty Annotation, java.lang.String filePath, java.io.OutputStream outputStream)
public static java.lang.String printBytes(byte[] array, java.lang.String name)
public void loadFilenetAnnotation(java.io.InputStream annStream, float nXResolution, float nYResolution, java.lang.String repo)
public MSTAnnotation[] getFilenetAnnotations(java.io.InputStream annStream, java.lang.String string)
public java.util.Vector getFilenetAnnotation(java.io.InputStream annStreamFilenetNet)
public void writeFilenetPolygon(MST.Annotations.MSTPolygonProperty Annotation, java.lang.String filePath, java.io.OutputStream outputStream)
public void writeFilenetPolyline(MST.Annotations.MSTPolylineProperty Annotation, java.lang.String filePath, java.io.OutputStream outputStream)