This documentation is deprecated and will no longer be updated. Please use the official documentation at vanillapdf.readthedocs.io.
Vanilla.PDF  2.3.0
Cross-platform toolkit for creating and modifying PDF documents
c_annotations.h
Go to the documentation of this file.
1#ifndef _C_ANNOTATIONS_H
2#define _C_ANNOTATIONS_H
3
7
8#ifdef __cplusplus
9extern "C"
10{
11#endif
12
83 typedef enum {
84
94
100
105
111
117
123
128
134
141
148
155
162
169
175
180
186
193
200
206
212
218
227
233
240
246
253
260 typedef enum {
311
322 VANILLAPDF_API error_type CALLING_CONVENTION Annotation_GetAnnotationType(AnnotationHandle* handle, AnnotationType* result);
323
327 VANILLAPDF_API error_type CALLING_CONVENTION Annotation_ToUnknown(AnnotationHandle* handle, IUnknownHandle** result);
328
332 VANILLAPDF_API error_type CALLING_CONVENTION Annotation_FromUnknown(IUnknownHandle* handle, AnnotationHandle** result);
333
339 VANILLAPDF_API error_type CALLING_CONVENTION Annotation_GetRect(AnnotationHandle* handle, RectangleHandle** result);
340
346 VANILLAPDF_API error_type CALLING_CONVENTION Annotation_SetRect(AnnotationHandle* handle, RectangleHandle* value);
347
353 VANILLAPDF_API error_type CALLING_CONVENTION Annotation_GetContents(AnnotationHandle* handle, LiteralStringObjectHandle** result);
354
360 VANILLAPDF_API error_type CALLING_CONVENTION Annotation_SetContents(AnnotationHandle* handle, LiteralStringObjectHandle* value);
361
367 VANILLAPDF_API error_type CALLING_CONVENTION Annotation_GetColor(AnnotationHandle* handle, ColorHandle** result);
368
374 VANILLAPDF_API error_type CALLING_CONVENTION Annotation_SetColor(AnnotationHandle* handle, ColorHandle* value);
375
381 VANILLAPDF_API error_type CALLING_CONVENTION Annotation_GetFlags(AnnotationHandle* handle, AnnotationFlags* result);
382
388 VANILLAPDF_API error_type CALLING_CONVENTION Annotation_SetFlags(AnnotationHandle* handle, AnnotationFlags value);
389
394 VANILLAPDF_API error_type CALLING_CONVENTION Annotation_Release(AnnotationHandle* handle);
395
408 VANILLAPDF_API error_type CALLING_CONVENTION TextAnnotation_Create(RectangleHandle* rect, TextAnnotationHandle** result);
409
417
421 VANILLAPDF_API error_type CALLING_CONVENTION TextAnnotation_GetAuthor(TextAnnotationHandle* handle, StringObjectHandle** result);
422
426 VANILLAPDF_API error_type CALLING_CONVENTION TextAnnotation_SetAuthor(TextAnnotationHandle* handle, StringObjectHandle* value);
427
431 VANILLAPDF_API error_type CALLING_CONVENTION TextAnnotation_GetModificationDate(TextAnnotationHandle* handle, DateHandle** result);
432
436 VANILLAPDF_API error_type CALLING_CONVENTION TextAnnotation_SetModificationDate(TextAnnotationHandle* handle, DateHandle* value);
437
441 VANILLAPDF_API error_type CALLING_CONVENTION TextAnnotation_GetCreationDate(TextAnnotationHandle* handle, DateHandle** result);
442
446 VANILLAPDF_API error_type CALLING_CONVENTION TextAnnotation_SetCreationDate(TextAnnotationHandle* handle, DateHandle* value);
447
451 VANILLAPDF_API error_type CALLING_CONVENTION TextAnnotation_ToBaseAnnotation(TextAnnotationHandle* handle, AnnotationHandle** result);
452
456 VANILLAPDF_API error_type CALLING_CONVENTION TextAnnotation_FromBaseAnnotation(AnnotationHandle* handle, TextAnnotationHandle** result);
457
461 VANILLAPDF_API error_type CALLING_CONVENTION TextAnnotation_Release(TextAnnotationHandle* handle);
462
474 VANILLAPDF_API error_type CALLING_CONVENTION HighlightAnnotation_Create(HighlightAnnotationHandle** result);
475
482
489
496
500 VANILLAPDF_API error_type CALLING_CONVENTION HighlightAnnotation_GetAuthor(HighlightAnnotationHandle* handle, StringObjectHandle** result);
501
506
511
516
520 VANILLAPDF_API error_type CALLING_CONVENTION HighlightAnnotation_GetCreationDate(HighlightAnnotationHandle* handle, DateHandle** result);
521
525 VANILLAPDF_API error_type CALLING_CONVENTION HighlightAnnotation_SetCreationDate(HighlightAnnotationHandle* handle, DateHandle* value);
526
531
536
540 VANILLAPDF_API error_type CALLING_CONVENTION HighlightAnnotation_Release(HighlightAnnotationHandle* handle);
541
556 VANILLAPDF_API error_type CALLING_CONVENTION FreeTextAnnotation_Create(RectangleHandle* rect, LiteralStringObjectHandle* contents, LiteralStringObjectHandle* defaultAppearance, FreeTextAnnotationHandle** result);
557
564
571
575 VANILLAPDF_API error_type CALLING_CONVENTION FreeTextAnnotation_GetAuthor(FreeTextAnnotationHandle* handle, StringObjectHandle** result);
576
580 VANILLAPDF_API error_type CALLING_CONVENTION FreeTextAnnotation_SetAuthor(FreeTextAnnotationHandle* handle, StringObjectHandle* value);
581
585 VANILLAPDF_API error_type CALLING_CONVENTION FreeTextAnnotation_GetModificationDate(FreeTextAnnotationHandle* handle, DateHandle** result);
586
591
595 VANILLAPDF_API error_type CALLING_CONVENTION FreeTextAnnotation_GetCreationDate(FreeTextAnnotationHandle* handle, DateHandle** result);
596
600 VANILLAPDF_API error_type CALLING_CONVENTION FreeTextAnnotation_SetCreationDate(FreeTextAnnotationHandle* handle, DateHandle* value);
601
606
611
615 VANILLAPDF_API error_type CALLING_CONVENTION FreeTextAnnotation_Release(FreeTextAnnotationHandle* handle);
616
637 VANILLAPDF_API error_type CALLING_CONVENTION UnderlineAnnotation_Create(UnderlineAnnotationHandle** result);
638
645
652
659
663 VANILLAPDF_API error_type CALLING_CONVENTION UnderlineAnnotation_GetAuthor(UnderlineAnnotationHandle* handle, StringObjectHandle** result);
664
669
674
679
683 VANILLAPDF_API error_type CALLING_CONVENTION UnderlineAnnotation_GetCreationDate(UnderlineAnnotationHandle* handle, DateHandle** result);
684
688 VANILLAPDF_API error_type CALLING_CONVENTION UnderlineAnnotation_SetCreationDate(UnderlineAnnotationHandle* handle, DateHandle* value);
689
694
699
703 VANILLAPDF_API error_type CALLING_CONVENTION UnderlineAnnotation_Release(UnderlineAnnotationHandle* handle);
704
725 VANILLAPDF_API error_type CALLING_CONVENTION StrikeOutAnnotation_Create(StrikeOutAnnotationHandle** result);
726
733
740
747
751 VANILLAPDF_API error_type CALLING_CONVENTION StrikeOutAnnotation_GetAuthor(StrikeOutAnnotationHandle* handle, StringObjectHandle** result);
752
757
762
767
771 VANILLAPDF_API error_type CALLING_CONVENTION StrikeOutAnnotation_GetCreationDate(StrikeOutAnnotationHandle* handle, DateHandle** result);
772
776 VANILLAPDF_API error_type CALLING_CONVENTION StrikeOutAnnotation_SetCreationDate(StrikeOutAnnotationHandle* handle, DateHandle* value);
777
782
787
791 VANILLAPDF_API error_type CALLING_CONVENTION StrikeOutAnnotation_Release(StrikeOutAnnotationHandle* handle);
792
813 VANILLAPDF_API error_type CALLING_CONVENTION SquigglyAnnotation_Create(SquigglyAnnotationHandle** result);
814
821
827 VANILLAPDF_API error_type CALLING_CONVENTION SquigglyAnnotation_GetQuadPoints(SquigglyAnnotationHandle* handle, ArrayObjectHandle** result);
828
835
839 VANILLAPDF_API error_type CALLING_CONVENTION SquigglyAnnotation_GetAuthor(SquigglyAnnotationHandle* handle, StringObjectHandle** result);
840
844 VANILLAPDF_API error_type CALLING_CONVENTION SquigglyAnnotation_SetAuthor(SquigglyAnnotationHandle* handle, StringObjectHandle* value);
845
849 VANILLAPDF_API error_type CALLING_CONVENTION SquigglyAnnotation_GetModificationDate(SquigglyAnnotationHandle* handle, DateHandle** result);
850
855
859 VANILLAPDF_API error_type CALLING_CONVENTION SquigglyAnnotation_GetCreationDate(SquigglyAnnotationHandle* handle, DateHandle** result);
860
864 VANILLAPDF_API error_type CALLING_CONVENTION SquigglyAnnotation_SetCreationDate(SquigglyAnnotationHandle* handle, DateHandle* value);
865
870
875
879 VANILLAPDF_API error_type CALLING_CONVENTION SquigglyAnnotation_Release(SquigglyAnnotationHandle* handle);
880
902 VANILLAPDF_API error_type CALLING_CONVENTION InkAnnotation_Create(InkAnnotationHandle** result);
903
909 VANILLAPDF_API error_type CALLING_CONVENTION InkAnnotation_CreateFromRect(RectangleHandle* rect, InkAnnotationHandle** result);
910
916 VANILLAPDF_API error_type CALLING_CONVENTION InkAnnotation_GetInkList(InkAnnotationHandle* handle, ArrayObjectHandle** result);
917
923 VANILLAPDF_API error_type CALLING_CONVENTION InkAnnotation_SetInkList(InkAnnotationHandle* handle, ArrayObjectHandle* value);
924
928 VANILLAPDF_API error_type CALLING_CONVENTION InkAnnotation_GetAuthor(InkAnnotationHandle* handle, StringObjectHandle** result);
929
933 VANILLAPDF_API error_type CALLING_CONVENTION InkAnnotation_SetAuthor(InkAnnotationHandle* handle, StringObjectHandle* value);
934
938 VANILLAPDF_API error_type CALLING_CONVENTION InkAnnotation_GetModificationDate(InkAnnotationHandle* handle, DateHandle** result);
939
943 VANILLAPDF_API error_type CALLING_CONVENTION InkAnnotation_SetModificationDate(InkAnnotationHandle* handle, DateHandle* value);
944
948 VANILLAPDF_API error_type CALLING_CONVENTION InkAnnotation_GetCreationDate(InkAnnotationHandle* handle, DateHandle** result);
949
953 VANILLAPDF_API error_type CALLING_CONVENTION InkAnnotation_SetCreationDate(InkAnnotationHandle* handle, DateHandle* value);
954
958 VANILLAPDF_API error_type CALLING_CONVENTION InkAnnotation_ToBaseAnnotation(InkAnnotationHandle* handle, AnnotationHandle** result);
959
963 VANILLAPDF_API error_type CALLING_CONVENTION InkAnnotation_FromBaseAnnotation(AnnotationHandle* handle, InkAnnotationHandle** result);
964
968 VANILLAPDF_API error_type CALLING_CONVENTION InkAnnotation_Release(InkAnnotationHandle* handle);
969
980 VANILLAPDF_API error_type CALLING_CONVENTION LinkAnnotation_GetDestination(LinkAnnotationHandle* handle, DestinationHandle** result);
981
985 VANILLAPDF_API error_type CALLING_CONVENTION LinkAnnotation_GetAction(LinkAnnotationHandle* handle, ActionHandle** result);
986
990 VANILLAPDF_API error_type CALLING_CONVENTION LinkAnnotation_ToBaseAnnotation(LinkAnnotationHandle* handle, AnnotationHandle** result);
991
995 VANILLAPDF_API error_type CALLING_CONVENTION LinkAnnotation_FromBaseAnnotation(AnnotationHandle* handle, LinkAnnotationHandle** result);
996
1000 VANILLAPDF_API error_type CALLING_CONVENTION LinkAnnotation_Release(LinkAnnotationHandle* handle);
1001
1013 VANILLAPDF_API error_type CALLING_CONVENTION PageAnnotations_Create(PageAnnotationsHandle** result);
1014
1018 VANILLAPDF_API error_type CALLING_CONVENTION PageAnnotations_GetSize(PageAnnotationsHandle* handle, size_type* result);
1019
1027 VANILLAPDF_API error_type CALLING_CONVENTION PageAnnotations_At(PageAnnotationsHandle* handle, size_type at, AnnotationHandle** result);
1028
1035 VANILLAPDF_API error_type CALLING_CONVENTION PageAnnotations_Append(PageAnnotationsHandle* handle, AnnotationHandle* annotation);
1036
1043 VANILLAPDF_API error_type CALLING_CONVENTION PageAnnotations_Remove(PageAnnotationsHandle* handle, size_type at);
1044
1048 VANILLAPDF_API error_type CALLING_CONVENTION PageAnnotations_ToUnknown(PageAnnotationsHandle* handle, IUnknownHandle** result);
1049
1053 VANILLAPDF_API error_type CALLING_CONVENTION PageAnnotations_FromUnknown(IUnknownHandle* handle, PageAnnotationsHandle** result);
1054
1059 VANILLAPDF_API error_type CALLING_CONVENTION PageAnnotations_Release(PageAnnotationsHandle* handle);
1060
1063#ifdef __cplusplus
1064};
1065#endif
1066
1067#endif /* _C_ANNOTATIONS_H */
This file contains macro declarations for importing and exporting symbols from library boundaries.
This file contains all type forward declarations returned by the library API.
This file contains types and constants used as parameters or return values.
An action to be performed when a link annotation, outline item, or other trigger is activated.
An annotation associates an object such as a note, sound, or movie with a location on a page of a PDF...
error_type CALLING_CONVENTION Annotation_GetRect(AnnotationHandle *handle, RectangleHandle **result)
Get the annotation rectangle.
error_type CALLING_CONVENTION Annotation_ToUnknown(AnnotationHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
error_type CALLING_CONVENTION Annotation_GetColor(AnnotationHandle *handle, ColorHandle **result)
Get the annotation color.
error_type CALLING_CONVENTION Annotation_SetContents(AnnotationHandle *handle, LiteralStringObjectHandle *value)
Set the annotation contents (text)
error_type CALLING_CONVENTION Annotation_SetColor(AnnotationHandle *handle, ColorHandle *value)
Set the annotation color.
error_type CALLING_CONVENTION Annotation_GetFlags(AnnotationHandle *handle, AnnotationFlags *result)
Get the annotation flags (F entry)
error_type CALLING_CONVENTION Annotation_GetContents(AnnotationHandle *handle, LiteralStringObjectHandle **result)
Get the annotation contents (text)
error_type CALLING_CONVENTION Annotation_SetRect(AnnotationHandle *handle, RectangleHandle *value)
Set the annotation rectangle.
error_type CALLING_CONVENTION Annotation_GetAnnotationType(AnnotationHandle *handle, AnnotationType *result)
Get annotation type of object handle.
error_type CALLING_CONVENTION Annotation_FromUnknown(IUnknownHandle *handle, AnnotationHandle **result)
Convert IUnknownHandle to PageAnnotationsHandle.
error_type CALLING_CONVENTION Annotation_Release(AnnotationHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION Annotation_SetFlags(AnnotationHandle *handle, AnnotationFlags value)
Set the annotation flags (F entry)
An array object is a one-dimensional collection of objects arranged sequentially.
Represents a color value for annotations and other PDF elements.
Represents a reference to a particular day represented within a calendar system.
Base class for all destinations.
A free text annotation (PDF 1.3) displays text directly on the page. Unlike an ordinary text annotati...
error_type CALLING_CONVENTION FreeTextAnnotation_FromBaseAnnotation(AnnotationHandle *handle, FreeTextAnnotationHandle **result)
Convert AnnotationHandle to FreeTextAnnotationHandle.
error_type CALLING_CONVENTION FreeTextAnnotation_SetAuthor(FreeTextAnnotationHandle *handle, StringObjectHandle *value)
Set the annotation author (T entry, markup annotations)
error_type CALLING_CONVENTION FreeTextAnnotation_SetModificationDate(FreeTextAnnotationHandle *handle, DateHandle *value)
Set the annotation modification date (M entry, markup annotations)
error_type CALLING_CONVENTION FreeTextAnnotation_SetDefaultAppearance(FreeTextAnnotationHandle *handle, LiteralStringObjectHandle *value)
Set the default appearance string.
error_type CALLING_CONVENTION FreeTextAnnotation_Create(RectangleHandle *rect, LiteralStringObjectHandle *contents, LiteralStringObjectHandle *defaultAppearance, FreeTextAnnotationHandle **result)
Create a new free text annotation.
error_type CALLING_CONVENTION FreeTextAnnotation_GetCreationDate(FreeTextAnnotationHandle *handle, DateHandle **result)
Get the annotation creation date (CreationDate entry, markup annotations)
error_type CALLING_CONVENTION FreeTextAnnotation_GetAuthor(FreeTextAnnotationHandle *handle, StringObjectHandle **result)
Get the annotation author (T entry, markup annotations)
error_type CALLING_CONVENTION FreeTextAnnotation_SetCreationDate(FreeTextAnnotationHandle *handle, DateHandle *value)
Set the annotation creation date (CreationDate entry, markup annotations)
error_type CALLING_CONVENTION FreeTextAnnotation_GetModificationDate(FreeTextAnnotationHandle *handle, DateHandle **result)
Get the annotation modification date (M entry, markup annotations)
error_type CALLING_CONVENTION FreeTextAnnotation_ToBaseAnnotation(FreeTextAnnotationHandle *handle, AnnotationHandle **result)
Reinterpret current object as AnnotationHandle.
error_type CALLING_CONVENTION FreeTextAnnotation_GetDefaultAppearance(FreeTextAnnotationHandle *handle, LiteralStringObjectHandle **result)
Get the default appearance string.
error_type CALLING_CONVENTION FreeTextAnnotation_Release(FreeTextAnnotationHandle *handle)
Decrement the internal reference counter.
A highlight annotation appears as a highlight over a region of text in the document....
error_type CALLING_CONVENTION HighlightAnnotation_GetAuthor(HighlightAnnotationHandle *handle, StringObjectHandle **result)
Get the annotation author (T entry, markup annotations)
error_type CALLING_CONVENTION HighlightAnnotation_FromBaseAnnotation(AnnotationHandle *handle, HighlightAnnotationHandle **result)
Convert AnnotationHandle to HighlightAnnotationHandle.
error_type CALLING_CONVENTION HighlightAnnotation_SetCreationDate(HighlightAnnotationHandle *handle, DateHandle *value)
Set the annotation creation date (CreationDate entry, markup annotations)
error_type CALLING_CONVENTION HighlightAnnotation_SetAuthor(HighlightAnnotationHandle *handle, StringObjectHandle *value)
Set the annotation author (T entry, markup annotations)
error_type CALLING_CONVENTION HighlightAnnotation_GetQuadPoints(HighlightAnnotationHandle *handle, ArrayObjectHandle **result)
Get the quad points array for text markup.
error_type CALLING_CONVENTION HighlightAnnotation_Release(HighlightAnnotationHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION HighlightAnnotation_SetQuadPoints(HighlightAnnotationHandle *handle, ArrayObjectHandle *value)
Set the quad points array for text markup.
error_type CALLING_CONVENTION HighlightAnnotation_GetModificationDate(HighlightAnnotationHandle *handle, DateHandle **result)
Get the annotation modification date (M entry, markup annotations)
error_type CALLING_CONVENTION HighlightAnnotation_SetModificationDate(HighlightAnnotationHandle *handle, DateHandle *value)
Set the annotation modification date (M entry, markup annotations)
error_type CALLING_CONVENTION HighlightAnnotation_Create(HighlightAnnotationHandle **result)
Create a new empty highlight annotation.
error_type CALLING_CONVENTION HighlightAnnotation_GetCreationDate(HighlightAnnotationHandle *handle, DateHandle **result)
Get the annotation creation date (CreationDate entry, markup annotations)
error_type CALLING_CONVENTION HighlightAnnotation_ToBaseAnnotation(HighlightAnnotationHandle *handle, AnnotationHandle **result)
Reinterpret current object as AnnotationHandle.
error_type CALLING_CONVENTION HighlightAnnotation_CreateFromRect(RectangleHandle *rect, HighlightAnnotationHandle **result)
Create a new highlight annotation with the specified rectangle.
Base class for reference counting.
An ink annotation (PDF 1.3) represents a freehand "scribble" composed of one or more disjoint paths....
error_type CALLING_CONVENTION InkAnnotation_CreateFromRect(RectangleHandle *rect, InkAnnotationHandle **result)
Create a new ink annotation with the specified rectangle.
error_type CALLING_CONVENTION InkAnnotation_GetCreationDate(InkAnnotationHandle *handle, DateHandle **result)
Get the annotation creation date (CreationDate entry, markup annotations)
error_type CALLING_CONVENTION InkAnnotation_Create(InkAnnotationHandle **result)
Create a new empty ink annotation.
error_type CALLING_CONVENTION InkAnnotation_SetInkList(InkAnnotationHandle *handle, ArrayObjectHandle *value)
Set the ink list (array of stroked paths)
error_type CALLING_CONVENTION InkAnnotation_SetAuthor(InkAnnotationHandle *handle, StringObjectHandle *value)
Set the annotation author (T entry, markup annotations)
error_type CALLING_CONVENTION InkAnnotation_FromBaseAnnotation(AnnotationHandle *handle, InkAnnotationHandle **result)
Convert AnnotationHandle to InkAnnotationHandle.
error_type CALLING_CONVENTION InkAnnotation_SetCreationDate(InkAnnotationHandle *handle, DateHandle *value)
Set the annotation creation date (CreationDate entry, markup annotations)
error_type CALLING_CONVENTION InkAnnotation_ToBaseAnnotation(InkAnnotationHandle *handle, AnnotationHandle **result)
Reinterpret current object as AnnotationHandle.
error_type CALLING_CONVENTION InkAnnotation_GetInkList(InkAnnotationHandle *handle, ArrayObjectHandle **result)
Get the ink list (array of stroked paths)
error_type CALLING_CONVENTION InkAnnotation_GetAuthor(InkAnnotationHandle *handle, StringObjectHandle **result)
Get the annotation author (T entry, markup annotations)
error_type CALLING_CONVENTION InkAnnotation_Release(InkAnnotationHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION InkAnnotation_SetModificationDate(InkAnnotationHandle *handle, DateHandle *value)
Set the annotation modification date (M entry, markup annotations)
error_type CALLING_CONVENTION InkAnnotation_GetModificationDate(InkAnnotationHandle *handle, DateHandle **result)
Get the annotation modification date (M entry, markup annotations)
A literal string is preferable for printable data.
An array of annotation dictionaries that shall contain indirect references to all AnnotationHandle as...
error_type CALLING_CONVENTION PageAnnotations_FromUnknown(IUnknownHandle *handle, PageAnnotationsHandle **result)
Convert IUnknownHandle to PageAnnotationsHandle.
error_type CALLING_CONVENTION PageAnnotations_Remove(PageAnnotationsHandle *handle, size_type at)
Remove an annotation from the collection at the specified position.
error_type CALLING_CONVENTION PageAnnotations_ToUnknown(PageAnnotationsHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
error_type CALLING_CONVENTION PageAnnotations_Append(PageAnnotationsHandle *handle, AnnotationHandle *annotation)
Append an annotation to the collection.
error_type CALLING_CONVENTION PageAnnotations_At(PageAnnotationsHandle *handle, size_type at, AnnotationHandle **result)
Get single annotation from array at specific position.
error_type CALLING_CONVENTION PageAnnotations_GetSize(PageAnnotationsHandle *handle, size_type *result)
Get size of annotation array.
error_type CALLING_CONVENTION PageAnnotations_Release(PageAnnotationsHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION PageAnnotations_Create(PageAnnotationsHandle **result)
Create a new empty annotation collection.
Represents rectangle in 2D space.
A squiggly annotation appears as a jagged underline beneath text in the document. When opened,...
error_type CALLING_CONVENTION SquigglyAnnotation_SetAuthor(SquigglyAnnotationHandle *handle, StringObjectHandle *value)
Set the annotation author (T entry, markup annotations)
error_type CALLING_CONVENTION SquigglyAnnotation_GetAuthor(SquigglyAnnotationHandle *handle, StringObjectHandle **result)
Get the annotation author (T entry, markup annotations)
error_type CALLING_CONVENTION SquigglyAnnotation_SetCreationDate(SquigglyAnnotationHandle *handle, DateHandle *value)
Set the annotation creation date (CreationDate entry, markup annotations)
error_type CALLING_CONVENTION SquigglyAnnotation_Release(SquigglyAnnotationHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION SquigglyAnnotation_GetCreationDate(SquigglyAnnotationHandle *handle, DateHandle **result)
Get the annotation creation date (CreationDate entry, markup annotations)
error_type CALLING_CONVENTION SquigglyAnnotation_Create(SquigglyAnnotationHandle **result)
Create a new empty squiggly annotation.
error_type CALLING_CONVENTION SquigglyAnnotation_FromBaseAnnotation(AnnotationHandle *handle, SquigglyAnnotationHandle **result)
Convert AnnotationHandle to SquigglyAnnotationHandle.
error_type CALLING_CONVENTION SquigglyAnnotation_SetModificationDate(SquigglyAnnotationHandle *handle, DateHandle *value)
Set the annotation modification date (M entry, markup annotations)
error_type CALLING_CONVENTION SquigglyAnnotation_ToBaseAnnotation(SquigglyAnnotationHandle *handle, AnnotationHandle **result)
Reinterpret current object as AnnotationHandle.
error_type CALLING_CONVENTION SquigglyAnnotation_CreateFromRect(RectangleHandle *rect, SquigglyAnnotationHandle **result)
Create a new squiggly annotation with the specified rectangle.
error_type CALLING_CONVENTION SquigglyAnnotation_GetQuadPoints(SquigglyAnnotationHandle *handle, ArrayObjectHandle **result)
Get the quad points array for text markup.
error_type CALLING_CONVENTION SquigglyAnnotation_SetQuadPoints(SquigglyAnnotationHandle *handle, ArrayObjectHandle *value)
Set the quad points array for text markup.
error_type CALLING_CONVENTION SquigglyAnnotation_GetModificationDate(SquigglyAnnotationHandle *handle, DateHandle **result)
Get the annotation modification date (M entry, markup annotations)
A strikeout annotation appears as a strikethrough line across text in the document....
error_type CALLING_CONVENTION StrikeOutAnnotation_SetQuadPoints(StrikeOutAnnotationHandle *handle, ArrayObjectHandle *value)
Set the quad points array for text markup.
error_type CALLING_CONVENTION StrikeOutAnnotation_Release(StrikeOutAnnotationHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION StrikeOutAnnotation_SetCreationDate(StrikeOutAnnotationHandle *handle, DateHandle *value)
Set the annotation creation date (CreationDate entry, markup annotations)
error_type CALLING_CONVENTION StrikeOutAnnotation_SetAuthor(StrikeOutAnnotationHandle *handle, StringObjectHandle *value)
Set the annotation author (T entry, markup annotations)
error_type CALLING_CONVENTION StrikeOutAnnotation_FromBaseAnnotation(AnnotationHandle *handle, StrikeOutAnnotationHandle **result)
Convert AnnotationHandle to StrikeOutAnnotationHandle.
error_type CALLING_CONVENTION StrikeOutAnnotation_GetCreationDate(StrikeOutAnnotationHandle *handle, DateHandle **result)
Get the annotation creation date (CreationDate entry, markup annotations)
error_type CALLING_CONVENTION StrikeOutAnnotation_Create(StrikeOutAnnotationHandle **result)
Create a new empty strikeout annotation.
error_type CALLING_CONVENTION StrikeOutAnnotation_GetModificationDate(StrikeOutAnnotationHandle *handle, DateHandle **result)
Get the annotation modification date (M entry, markup annotations)
error_type CALLING_CONVENTION StrikeOutAnnotation_GetAuthor(StrikeOutAnnotationHandle *handle, StringObjectHandle **result)
Get the annotation author (T entry, markup annotations)
error_type CALLING_CONVENTION StrikeOutAnnotation_SetModificationDate(StrikeOutAnnotationHandle *handle, DateHandle *value)
Set the annotation modification date (M entry, markup annotations)
error_type CALLING_CONVENTION StrikeOutAnnotation_ToBaseAnnotation(StrikeOutAnnotationHandle *handle, AnnotationHandle **result)
Reinterpret current object as AnnotationHandle.
error_type CALLING_CONVENTION StrikeOutAnnotation_CreateFromRect(RectangleHandle *rect, StrikeOutAnnotationHandle **result)
Create a new strikeout annotation with the specified rectangle.
error_type CALLING_CONVENTION StrikeOutAnnotation_GetQuadPoints(StrikeOutAnnotationHandle *handle, ArrayObjectHandle **result)
Get the quad points array for text markup.
Reprsents human readable text.
A text annotation represents a "sticky note" attached to a point in the PDF document....
error_type CALLING_CONVENTION TextAnnotation_CreateWithContents(RectangleHandle *rect, LiteralStringObjectHandle *contents, TextAnnotationHandle **result)
Create a new text annotation with the specified rectangle and contents.
error_type CALLING_CONVENTION TextAnnotation_GetAuthor(TextAnnotationHandle *handle, StringObjectHandle **result)
Get the annotation author (T entry, markup annotations)
error_type CALLING_CONVENTION TextAnnotation_SetAuthor(TextAnnotationHandle *handle, StringObjectHandle *value)
Set the annotation author (T entry, markup annotations)
error_type CALLING_CONVENTION TextAnnotation_SetModificationDate(TextAnnotationHandle *handle, DateHandle *value)
Set the annotation modification date (M entry, markup annotations)
error_type CALLING_CONVENTION TextAnnotation_FromBaseAnnotation(AnnotationHandle *handle, TextAnnotationHandle **result)
Convert AnnotationHandle to TextAnnotationHandle.
error_type CALLING_CONVENTION TextAnnotation_GetModificationDate(TextAnnotationHandle *handle, DateHandle **result)
Get the annotation modification date (M entry, markup annotations)
error_type CALLING_CONVENTION TextAnnotation_Release(TextAnnotationHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION TextAnnotation_GetCreationDate(TextAnnotationHandle *handle, DateHandle **result)
Get the annotation creation date (CreationDate entry, markup annotations)
error_type CALLING_CONVENTION TextAnnotation_ToBaseAnnotation(TextAnnotationHandle *handle, AnnotationHandle **result)
Reinterpret current object as AnnotationHandle.
error_type CALLING_CONVENTION TextAnnotation_Create(RectangleHandle *rect, TextAnnotationHandle **result)
Create a new text annotation with the specified rectangle.
error_type CALLING_CONVENTION TextAnnotation_SetCreationDate(TextAnnotationHandle *handle, DateHandle *value)
Set the annotation creation date (CreationDate entry, markup annotations)
An underline annotation appears as an underline beneath text in the document. When opened,...
error_type CALLING_CONVENTION UnderlineAnnotation_Release(UnderlineAnnotationHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION UnderlineAnnotation_SetCreationDate(UnderlineAnnotationHandle *handle, DateHandle *value)
Set the annotation creation date (CreationDate entry, markup annotations)
error_type CALLING_CONVENTION UnderlineAnnotation_SetAuthor(UnderlineAnnotationHandle *handle, StringObjectHandle *value)
Set the annotation author (T entry, markup annotations)
error_type CALLING_CONVENTION UnderlineAnnotation_GetQuadPoints(UnderlineAnnotationHandle *handle, ArrayObjectHandle **result)
Get the quad points array for text markup.
error_type CALLING_CONVENTION UnderlineAnnotation_Create(UnderlineAnnotationHandle **result)
Create a new empty underline annotation.
error_type CALLING_CONVENTION UnderlineAnnotation_FromBaseAnnotation(AnnotationHandle *handle, UnderlineAnnotationHandle **result)
Convert AnnotationHandle to UnderlineAnnotationHandle.
error_type CALLING_CONVENTION UnderlineAnnotation_SetQuadPoints(UnderlineAnnotationHandle *handle, ArrayObjectHandle *value)
Set the quad points array for text markup.
error_type CALLING_CONVENTION UnderlineAnnotation_GetCreationDate(UnderlineAnnotationHandle *handle, DateHandle **result)
Get the annotation creation date (CreationDate entry, markup annotations)
error_type CALLING_CONVENTION UnderlineAnnotation_GetModificationDate(UnderlineAnnotationHandle *handle, DateHandle **result)
Get the annotation modification date (M entry, markup annotations)
error_type CALLING_CONVENTION UnderlineAnnotation_ToBaseAnnotation(UnderlineAnnotationHandle *handle, AnnotationHandle **result)
Reinterpret current object as AnnotationHandle.
error_type CALLING_CONVENTION UnderlineAnnotation_SetModificationDate(UnderlineAnnotationHandle *handle, DateHandle *value)
Set the annotation modification date (M entry, markup annotations)
error_type CALLING_CONVENTION UnderlineAnnotation_CreateFromRect(RectangleHandle *rect, UnderlineAnnotationHandle **result)
Create a new underline annotation with the specified rectangle.
error_type CALLING_CONVENTION UnderlineAnnotation_GetAuthor(UnderlineAnnotationHandle *handle, StringObjectHandle **result)
Get the annotation author (T entry, markup annotations)
AnnotationFlags
Annotation flags controlling visibility and behavior.
Definition c_annotations.h:260
AnnotationType
Derived types of AnnotationHandle.
Definition c_annotations.h:83
@ AnnotationFlags_NoZoom
If set, do not scale the annotation's appearance to match the magnification of the page.
Definition c_annotations.h:283
@ AnnotationFlags_NoView
If set, do not display the annotation on the screen or allow it to interact with the user.
Definition c_annotations.h:293
@ AnnotationFlags_Locked
If set, do not allow the annotation to be deleted or its properties modified.
Definition c_annotations.h:301
@ AnnotationFlags_ToggleNoView
If set, invert the interpretation of the NoView flag for certain events.
Definition c_annotations.h:305
@ AnnotationFlags_Print
If set, print the annotation when the page is printed.
Definition c_annotations.h:278
@ AnnotationFlags_NoRotate
If set, do not rotate the annotation's appearance to match the rotation of the page.
Definition c_annotations.h:288
@ AnnotationFlags_Invisible
If set, do not display the annotation if it does not belong to one of the standard annotation types a...
Definition c_annotations.h:269
@ AnnotationFlags_Hidden
If set, do not display or print the annotation or allow it to interact with the user,...
Definition c_annotations.h:274
@ AnnotationFlags_None
No flags set.
Definition c_annotations.h:264
@ AnnotationFlags_ReadOnly
If set, do not allow the annotation to interact with the user.
Definition c_annotations.h:297
@ AnnotationFlags_LockedContents
If set, do not allow the contents of the annotation to be modified.
Definition c_annotations.h:309
@ AnnotationType_TripleD
Definition c_annotations.h:245
@ AnnotationType_Link
Definition c_annotations.h:99
@ AnnotationType_Polygon
Definition c_annotations.h:127
@ AnnotationType_TrapNetwork
Definition c_annotations.h:232
@ AnnotationType_RubberStamp
Definition c_annotations.h:168
@ AnnotationType_Popup
Definition c_annotations.h:185
@ AnnotationType_Watermark
Definition c_annotations.h:239
@ AnnotationType_Caret
Definition c_annotations.h:174
@ AnnotationType_Highlight
Definition c_annotations.h:140
@ AnnotationType_PrinterMark
Definition c_annotations.h:226
@ AnnotationType_Circle
Definition c_annotations.h:122
@ AnnotationType_FileAttachment
Definition c_annotations.h:192
@ AnnotationType_StrikeOut
Definition c_annotations.h:161
@ AnnotationType_Ink
Definition c_annotations.h:179
@ AnnotationType_Underline
Definition c_annotations.h:147
@ AnnotationType_Undefined
Undefined unitialized default value, triggers error when used.
Definition c_annotations.h:88
@ AnnotationType_Screen
Definition c_annotations.h:217
@ AnnotationType_PolyLine
Definition c_annotations.h:133
@ AnnotationType_Square
Definition c_annotations.h:116
@ AnnotationType_Text
Definition c_annotations.h:93
@ AnnotationType_Redaction
Definition c_annotations.h:251
@ AnnotationType_Sound
Definition c_annotations.h:199
@ AnnotationType_Widget
Definition c_annotations.h:211
@ AnnotationType_Movie
Definition c_annotations.h:205
@ AnnotationType_Line
Definition c_annotations.h:110
@ AnnotationType_Squiggly
Definition c_annotations.h:154
@ AnnotationType_FreeText
Definition c_annotations.h:104
uint32_t error_type
This is return value type of all API functions.
Definition c_types.h:25
uint32_t size_type
Size type defined in standard library.
Definition c_types.h:62