public class JadiceAnnotationConverter extends Object implements AnnotationConverter
| Constructor and Description |
|---|
JadiceAnnotationConverter() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
convert(String original,
String ixosAnnotationsIni,
int ixosPage)
Converts the annotations to the desired format.
|
void |
setDimension(int width,
int height)
Set document dimension.
|
void |
setDocumentInfos(OpenDocumentBean openDocumentBean)
Used to pass information about the document to the converter.
|
void |
setEmpty(boolean empty)
Used to notify the converter that the document has no annotations.
|
void |
setSession(javax.servlet.http.HttpSession session)
Passes the current session to the converter, if it is available.
|
void |
setViewerId(String id)
Used to pass the ID of the viewer that requested the annotations to the converter.
|
public void setSession(javax.servlet.http.HttpSession session)
AnnotationConvertersetSession in interface AnnotationConvertersession - the sessionpublic void setEmpty(boolean empty)
AnnotationConvertersetEmpty in interface AnnotationConverterempty - true if the document has no annotationspublic void setDocumentInfos(OpenDocumentBean openDocumentBean)
AnnotationConvertersetDocumentInfos in interface AnnotationConverteropenDocumentBean - the bean containing information about the opened documentpublic byte[] convert(String original, String ixosAnnotationsIni, int ixosPage) throws ConvertAnnotationException
AnnotationConverterconvert in interface AnnotationConverteroriginal - original annotations represented as StringixosAnnotationsIni - IXOS annotationsixosPage - IXOS page numberConvertAnnotationException - when converting the annotations failedpublic void setViewerId(String id)
AnnotationConvertersetViewerId in interface AnnotationConverterid - ID of the viewerpublic void setDimension(int width,
int height)
AnnotationConvertersetDimension in interface AnnotationConverterwidth - Widthheight - HeightCopyright © 2016 SAPERION AG. All rights reserved.