public class EmbeddedAnnotations extends Object
Constructor and Description |
---|
EmbeddedAnnotations() |
Modifier and Type | Method and Description |
---|---|
static Collection<EmbeddedAnnotation> |
get(Page page)
Returns an unmodifiable list of all embedded annotations of given page.
|
static String |
getText(EmbeddedAnnotation a) |
static boolean |
hasText(EmbeddedAnnotation a) |
static boolean |
isAnnotated(Document document)
Returns whether the given document is annotated.
|
static boolean |
isAnnotated(Page page)
Returns whether the given page is annotated.
|
public static Collection<EmbeddedAnnotation> get(Page page)
page
- the page the embedded annotations should be retrieved fromIllegalArgumentException
- if page is null
public static boolean isAnnotated(Document document)
document
- the document the annotation lookup should be done fortrue
if at least one page of the document has annotationsIllegalArgumentException
- if document is null
public static boolean isAnnotated(Page page)
page
- the page the annotation lookup should be done fortrue
if at least one annotation is contained in the pageIllegalArgumentException
- if page is null
public static boolean hasText(EmbeddedAnnotation a)
public static String getText(EmbeddedAnnotation a)
Copyright © 2024 levigo holding gmbh. All rights reserved.