@interface PTAnnot : NSObject
{
void *swigCPtr;
BOOL swigCMemOwn;
}
- (void*)getCptr;
- (instancetype)initWithCptr: (void*) cptr;
- (void)setSwigCMemOwn: (BOOL) own;
- (void)dealloc;
+ (PTAnnot*)Create: (PTSDFDoc*)doc type: (PTAnnotType)type pos: (PTPDFRect*)pos;
- (BOOL)IsValid;
- (PTObj*)GetSDFObj;
- (PTAnnotType)GetType;
- (PTPDFRect*)GetRect;
- (PTPDFRect*)GetVisibleContentBox;
- (BOOL)IsMarkup;
- (void)SetRect: (PTPDFRect*)pos;
- (PTPage*)GetPage;
- (void)SetPage: (PTPage*)page;
- (PTObj*)GetUniqueID;
- (void)SetUniqueID: (NSString *)id id_buf_sz: (int)id_buf_sz;
- (PTDate*)GetDate;
- (void)SetDate: (PTDate*)date;
- (BOOL)GetFlag: (PTAnnotFlag)flag;
- (void)SetFlag: (PTAnnotFlag)flag value: (BOOL)value;
- (PTObj*)GetTriggerAction: (PTAnnotActionTriggerEvent)trigger;
- (PTBorderStyle*)GetBorderStyle;
- (void)SetBorderStyle: (PTBorderStyle*)bs oldStyleOnly: (BOOL)oldStyleOnly;
- (PTObj*)GetAppearance: (PTAnnotationState)annot_state app_state: (NSString *)app_state;
- (void)SetAppearance: (PTObj*)app_stream annot_state: (PTAnnotationState)annot_state app_state: (NSString *)app_state;
- (void)RemoveAppearance: (PTAnnotationState)annot_state app_state: (NSString *)app_state;
- (void)Flatten: (PTPage*)page;
- (NSString *)GetActiveAppearanceState;
- (void)SetActiveAppearanceState: (NSString *)astate;
- (PTColorPt*)GetColorAsRGB;
- (PTColorPt*)GetColorAsCMYK;
- (PTColorPt*)GetColorAsGray;
- (int)GetColorCompNum;
- (void)SetColor: (PTColorPt*)col numcomp: (int)numcomp;
- (int)GetStructParent;
- (void)SetStructParent: (int)parkeyval;
- (PTObj*)GetOptionalContent;
- (void)SetOptionalContent: (PTObj*)content;
- (void)SetContents: (NSString*)contents;
- (NSString*)GetContents;
- (int)GetRotation;
- (void)SetRotation: (int)angle;
- (void)RefreshAppearance;
- (void)Resize: (PTPDFRect*)newrect;
+ (PTAnnot*)CreateInternal: (unsigned long long)impl;
- (unsigned long long)GetHandleInternal;
- (instancetype)initWithD: (PTObj*)d;
@end
string userid
This entry is also used to identify the user who added the annotation.
timestamp on each of the annotations that are saved.