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)
AnnotationConverter
setSession
in interface AnnotationConverter
session
- the sessionpublic void setEmpty(boolean empty)
AnnotationConverter
setEmpty
in interface AnnotationConverter
empty
- true if the document has no annotationspublic void setDocumentInfos(OpenDocumentBean openDocumentBean)
AnnotationConverter
setDocumentInfos
in interface AnnotationConverter
openDocumentBean
- the bean containing information about the opened documentpublic byte[] convert(String original, String ixosAnnotationsIni, int ixosPage) throws ConvertAnnotationException
AnnotationConverter
convert
in interface AnnotationConverter
original
- original annotations represented as StringixosAnnotationsIni
- IXOS annotationsixosPage
- IXOS page numberConvertAnnotationException
- when converting the annotations failedpublic void setViewerId(String id)
AnnotationConverter
setViewerId
in interface AnnotationConverter
id
- ID of the viewerpublic void setDimension(int width, int height)
AnnotationConverter
setDimension
in interface AnnotationConverter
width
- Widthheight
- HeightCopyright © 2021 Hyland Software Germany GmbH. All rights reserved.