![]() |
PDFix SDK
6.12.0
|
PdfMarkupAnnot class. More...
Public Member Functions | |
virtual int | GetContents (wchar_t *buffer, int len) const =0 |
virtual bool | SetContents (const wchar_t *contents)=0 |
virtual int | GetAuthor (wchar_t *buffer, int len) const =0 |
Gets the author of the markup annotation. More... | |
virtual bool | SetAuthor (const wchar_t *author)=0 |
Sets the author of the markup annotation. More... | |
virtual int | GetNumReplies () const =0 |
Both annotations must be on the same page of the document. More... | |
virtual PdfAnnot * | GetReply (int index)=0 |
Both annotations must be on the same page of the document. More... | |
virtual PdfAnnot * | AddReply (const wchar_t *author, const wchar_t *text)=0 |
Adds a new reply to the markup annotation. More... | |
![]() | |
virtual PdfAnnotSubtype | GetSubtype () const =0 |
Gets an annotation's subtype. More... | |
virtual PdfAnnotFlags | GetFlags () const =0 |
Gets an annotation's flags. More... | |
virtual bool | SetFlags (PdfAnnotFlags flags)=0 |
Sets an annotation's flags. More... | |
virtual void | GetAppearance (PdfAnnotAppearance *appearance)=0 |
Gets an annotation's appearance. More... | |
virtual PdsStream * | GetAppearanceXObject (PdfAnnotAppearanceMode mode)=0 |
Gets an annotation's appearance stream. More... | |
virtual bool | SetAppearanceFromXObject (PdsStream *xobj, PdfAnnotAppearanceMode mode)=0 |
Set an annotation's appearance from an XObject. More... | |
virtual void | GetBBox (PdfRect *bbox) const =0 |
Gets the annotation bounding box. More... | |
virtual bool | PointInAnnot (const PdfPoint *point) const =0 |
virtual bool | RectInAnnot (const PdfRect *rect) const =0 |
virtual PdsObject * | GetStructObject (bool struct_parent)=0 |
virtual PdsDictionary * | GetObject ()=0 |
Gets the annotation object dictionary. More... | |
virtual void | NotifyWillChange (const wchar_t *key)=0 |
Broadcasts a PDAnnotWillChange() notification. Clients must call this method before making any change to a custom annotation. More... | |
virtual void | NotifyDidChange (const wchar_t *key, int err)=0 |
Broadcasts a PDAnnotDidChange() notification. Clients must call this method after making any change to a custom annotation. More... | |
virtual bool | IsValid () const =0 |
virtual bool | IsMarkup () const =0 |
Tests whether an annotation is markup. More... | |
PdfMarkupAnnot class.
Markup annotations represent a markup annotation in a pdf document.
|
pure virtual |
Adds a new reply to the markup annotation.
author | The author of the reply. |
text | The content of the reply to add. |
|
pure virtual |
Gets the author of the markup annotation.
buffer | (filled by method) If the buffer is null function returns required length of string |
len | Length of a buffer to be filled in. |
|
pure virtual |
Gets the contents of the markup annotation. It's a text to be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation's contents in human - readable form. In either case, this text is useful when extracting the document's contents in support of accessibility to users with disabilities or for other purposes.
buffer | (filled by method) If the buffer is null function returns required length of string |
len | Length of a buffer to be filled in. |
|
pure virtual |
Both annotations must be on the same page of the document.
Gets the requested reply. Reply is a reference to another PdfAnnot object that was created
|
pure virtual |
Both annotations must be on the same page of the document.
Gets the requested reply. Reply is a reference to another PdfAnnot object that was created
|
pure virtual |
Sets the author of the markup annotation.
author | The content string to be set. |
|
pure virtual |
Sets the contents of the markup annotation. It's a text to be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation's contents in human - readable form. In either case, this text is useful when extracting the document's contents in support of accessibility to users with disabilities or for other purposes.
contens | The content string to be set. |