@Test public void createDefaultWidgetAnnotation() { PDAnnotation annotation = new PDAnnotationWidget(); assertEquals(COSName.ANNOT, annotation.getCOSObject().getItem(COSName.TYPE)); assertEquals(PDAnnotationWidget.SUB_TYPE, annotation.getCOSObject().getNameAsString(COSName.SUBTYPE)); }
@Override public COSDictionary getCOSObject() { return dictionary; }
PDAnnotation implements COSObjectable { @Override public COSDictionary getCOSObject() { return dictionary; } }
PDAnnotation implements COSObjectable { @Override public COSDictionary getCOSObject() { return dictionary; } PDAnnotation();  PDAnnotation(COSDictionary dict); }
PDAnnotation implements COSObjectable { @Override public COSDictionary getCOSObject() { return dictionary; } PDAnnotation();  PDAnnotation(COSDictionary dict); static PDAnnotation createAnnotation(COSBase base); PDRectangle getRectangle(); void setRectangle(PDRectangle rectangle); int getAnnotationFlags(); void setAnnotationFlags(int flags); @Override COSDictionary getCOSObject(); COSName getAppearanceState(); void setAppearanceState(String as); PDAppearanceDictionary getAppearance(); void setAppearance(PDAppearanceDictionary appearance); PDAppearanceStream getNormalAppearanceStream(); boolean isInvisible(); void setInvisible(boolean invisible); boolean isHidden(); void setHidden(boolean hidden); boolean isPrinted(); void setPrinted(boolean printed); boolean isNoZoom(); void setNoZoom(boolean noZoom); boolean isNoRotate(); void setNoRotate(boolean noRotate); boolean isNoView(); void setNoView(boolean noView); boolean isReadOnly(); void setReadOnly(boolean readOnly); boolean isLocked(); void setLocked(boolean locked); boolean isToggleNoView(); void setToggleNoView(boolean toggleNoView); String getContents(); void setContents(String value); String getModifiedDate(); void setModifiedDate(String m); String getAnnotationName(); void setAnnotationName(String nm); int getStructParent(); void setStructParent(int structParent); void setColor(PDColor c); PDColor getColor(); String getSubtype(); void setPage(PDPage page); PDPage getPage(); }
PDAnnotation implements COSObjectable { @Override public COSDictionary getCOSObject() { return dictionary; } PDAnnotation();  PDAnnotation(COSDictionary dict); static PDAnnotation createAnnotation(COSBase base); PDRectangle getRectangle(); void setRectangle(PDRectangle rectangle); int getAnnotationFlags(); void setAnnotationFlags(int flags); @Override COSDictionary getCOSObject(); COSName getAppearanceState(); void setAppearanceState(String as); PDAppearanceDictionary getAppearance(); void setAppearance(PDAppearanceDictionary appearance); PDAppearanceStream getNormalAppearanceStream(); boolean isInvisible(); void setInvisible(boolean invisible); boolean isHidden(); void setHidden(boolean hidden); boolean isPrinted(); void setPrinted(boolean printed); boolean isNoZoom(); void setNoZoom(boolean noZoom); boolean isNoRotate(); void setNoRotate(boolean noRotate); boolean isNoView(); void setNoView(boolean noView); boolean isReadOnly(); void setReadOnly(boolean readOnly); boolean isLocked(); void setLocked(boolean locked); boolean isToggleNoView(); void setToggleNoView(boolean toggleNoView); String getContents(); void setContents(String value); String getModifiedDate(); void setModifiedDate(String m); String getAnnotationName(); void setAnnotationName(String nm); int getStructParent(); void setStructParent(int structParent); void setColor(PDColor c); PDColor getColor(); String getSubtype(); void setPage(PDPage page); PDPage getPage();  }