...
Codeblock | ||
---|---|---|
| ||
/** * Returns the current annotation profile. * * @return Annotation profile */ protected AnnotationProfile getAnnotationProfile() { // AnnotationPageSegment holen, wenn vorhanden AnnotationProfile ap = AnnotationProfile.get(getPageView().getCurrentPage()); if (null == ap) { // Wenn nicht vorhanden, Annotationsprofil aus Dokument holen ap = AnnotationProfile.get(getPageView().getDocument()); } if (null == ap) { // Wenn nicht vorhanden, Standardannotationsprofil holen ap = AnnotationProfile.getDefaultProfile(); } return ap; } |