![]() |
PDFix SDK
7.2.0
|
PdfTextAnnot class. More...
#include <pdfix.h>
Additional Inherited Members | |
![]() | |
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 bool | RefreshAppearance ()=0 |
Regenerates the appearance stream for the annotation. 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 |
virtual void | NotifyDidChange (const wchar_t *key, int err)=0 |
virtual bool | IsValid () const =0 |
virtual bool | IsMarkup () const =0 |
Tests whether an annotation is markup. More... | |
virtual bool | CanCopy ()=0 |
virtual bool | CanPaste (PdfPage *dest_page, const PdfPoint *center, void *data)=0 |
virtual void * | Copy ()=0 |
Copies annotation object data to a clipboard structure, from which it can be pasted. More... | |
virtual PdfAnnot * | Paste (PdfPage *dest_page, PdfPoint *center, void *data)=0 |
virtual void | DestroyClipboardData (void *data)=0 |
virtual int | GetStateFlags () const =0 |
Get the annotation state flags. More... | |
virtual bool | SetStateFlags (PdfStateFlags flags)=0 |
Set the annotation state flags. More... | |
virtual PdsDictionary * | GetPageObject ()=0 |
Get the annotation page object. More... | |
PdfTextAnnot class.
A text annotation represents a 'sticky note' attached to a point in the PDF document. When closed, the annotation appears as an icon; when open, it displays a pop-up window containing the text of the note in a font and size chosen by the viewer application. Text annotations do not scale and rotate with the page.