public interface AnnotationConverter
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 viewerId)
Used to pass the ID of the viewer that requested the annotations to the converter.
|
void setSession(javax.servlet.http.HttpSession session)
session
- the sessionvoid setEmpty(boolean empty)
empty
- true if the document has no annotationsvoid setDocumentInfos(OpenDocumentBean openDocumentBean)
openDocumentBean
- the bean containing information about the opened documentbyte[] convert(String original, String ixosAnnotationsIni, int ixosPage) throws ConvertAnnotationException
original
- original annotations represented as StringixosAnnotationsIni
- IXOS annotationsixosPage
- IXOS page numberConvertAnnotationException
- when converting the annotations failedvoid setViewerId(String viewerId)
viewerId
- ID of the viewervoid setDimension(int width, int height)
width
- Widthheight
- HeightCopyright © 2021 Hyland Software Germany GmbH. All rights reserved.