PDF Toolbox
Loading...
Searching...
No Matches
PdfToolbox_PtxPdfAnnots.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * File: PdfToolbox_PtxPdfAnnots.h
4 *
5 * Description: Sub Header file for PDF Toolbox API
6 *
7 * Author: PDF Tools AG
8 *
9 * Copyright: Copyright (C) 2015 - 2025 PDF Tools AG, Switzerland
10 * All rights reserved.
11 *
12 * Notice: By downloading and using this artifact, you accept PDF Tools AG's
13 * [license agreement](https://www.pdf-tools.com/license-agreement/),
14 * [privacy policy](https://www.pdf-tools.com/privacy-policy/),
15 * and allow PDF Tools AG to track your usage data.
16 *
17 *****************************************************************************/
18
19#ifndef PDFTOOLBOX_PTXPDFANNOTS_H__
20#define PDFTOOLBOX_PTXPDFANNOTS_H__
21
22#ifndef PDFTOOLBOX_CALL
23#if defined(WIN32)
24#define PDFTOOLBOX_CALL __stdcall
25#else
26#define PDFTOOLBOX_CALL
27#endif
28#endif
29
30#include "PdfToolbox_Types.h"
31#include "PdfToolbox_PtxSys.h"
32
33#ifdef __cplusplus
34extern "C"
35{
36#endif
37
38#ifdef _UNICODE
39#define PtxPdfAnnots_Annotation_GetId PtxPdfAnnots_Annotation_GetIdW
40
41#define PtxPdfAnnots_MarkupInfo_GetAuthor PtxPdfAnnots_MarkupInfo_GetAuthorW
42#define PtxPdfAnnots_MarkupInfo_SetAuthor PtxPdfAnnots_MarkupInfo_SetAuthorW
43#define PtxPdfAnnots_MarkupInfo_GetSubject PtxPdfAnnots_MarkupInfo_GetSubjectW
44#define PtxPdfAnnots_MarkupInfo_SetSubject PtxPdfAnnots_MarkupInfo_SetSubjectW
45#define PtxPdfAnnots_MarkupInfo_GetContent PtxPdfAnnots_MarkupInfo_GetContentW
46#define PtxPdfAnnots_MarkupInfo_SetContent PtxPdfAnnots_MarkupInfo_SetContentW
47
48#define PtxPdfAnnots_StickyNote_Create PtxPdfAnnots_StickyNote_CreateW
49
50#define PtxPdfAnnots_TextStamp_CreateRaw PtxPdfAnnots_TextStamp_CreateRawW
51
52#define PtxPdfAnnots_FreeText_Create PtxPdfAnnots_FreeText_CreateW
53
54#else
55#define PtxPdfAnnots_Annotation_GetId PtxPdfAnnots_Annotation_GetIdA
56
57#define PtxPdfAnnots_MarkupInfo_GetAuthor PtxPdfAnnots_MarkupInfo_GetAuthorA
58#define PtxPdfAnnots_MarkupInfo_SetAuthor PtxPdfAnnots_MarkupInfo_SetAuthorA
59#define PtxPdfAnnots_MarkupInfo_GetSubject PtxPdfAnnots_MarkupInfo_GetSubjectA
60#define PtxPdfAnnots_MarkupInfo_SetSubject PtxPdfAnnots_MarkupInfo_SetSubjectA
61#define PtxPdfAnnots_MarkupInfo_GetContent PtxPdfAnnots_MarkupInfo_GetContentA
62#define PtxPdfAnnots_MarkupInfo_SetContent PtxPdfAnnots_MarkupInfo_SetContentA
63
64#define PtxPdfAnnots_StickyNote_Create PtxPdfAnnots_StickyNote_CreateA
65
66#define PtxPdfAnnots_TextStamp_CreateRaw PtxPdfAnnots_TextStamp_CreateRawA
67
68#define PtxPdfAnnots_FreeText_Create PtxPdfAnnots_FreeText_CreateA
69
70#endif
71
72/******************************************************************************
73 * Annotation
74 *****************************************************************************/
109
128 TPtxGeomReal_Rectangle* pBoundingBox);
232 char* pBuffer, size_t nBufferSize);
259 WCHAR* pBuffer, size_t nBufferSize);
260
276/******************************************************************************
277 * AnnotationList
278 *****************************************************************************/
327 TPtxPdfAnnots_Annotation* pAnnotation);
328
329/******************************************************************************
330 * MarkupInfo
331 *****************************************************************************/
354 TPtxSys_Date* pCreationDate);
375 const TPtxSys_Date* pCreationDate);
419 TPtxPdfAnnots_MarkupInfo* pMarkupInfo, const TPtxSys_Date* pModificationDate);
465 BOOL bLocked);
493 char* pBuffer, size_t nBufferSize);
521 WCHAR* pBuffer, size_t nBufferSize);
542 const char* szAuthor);
563 const WCHAR* szAuthor);
591 char* pBuffer, size_t nBufferSize);
619 WCHAR* pBuffer, size_t nBufferSize);
640 const char* szSubject);
661 const WCHAR* szSubject);
689 char* pBuffer, size_t nBufferSize);
717 WCHAR* pBuffer, size_t nBufferSize);
738 const char* szContent);
759 const WCHAR* szContent);
760
761/******************************************************************************
762 * MarkupInfoList
763 *****************************************************************************/
795
796/******************************************************************************
797 * Popup
798 *****************************************************************************/
832 TPtxGeomReal_Rectangle* pBoundingBox);
833
834/******************************************************************************
835 * MarkupAnnotation
836 *****************************************************************************/
891
907/******************************************************************************
908 * StickyNote
909 *****************************************************************************/
945 const char* szContent, TPtxPdfContent_Paint* pPaint);
981 const WCHAR* szContent, TPtxPdfContent_Paint* pPaint);
982
1021
1022/******************************************************************************
1023 * FileAttachment
1024 *****************************************************************************/
1066 TPtxPdf_FileReference* pAttachedFile, TPtxPdfContent_Paint* pPaint);
1067
1142
1143/******************************************************************************
1144 * Stamp
1145 *****************************************************************************/
1182
1197/******************************************************************************
1198 * TextStamp
1199 *****************************************************************************/
1237 const double* pHeight, TPtxPdfAnnots_TextStampType iTextType, const char* szText);
1275 const double* pHeight, TPtxPdfAnnots_TextStampType iTextType, const WCHAR* szText);
1308 const double* pHeight, TPtxPdfAnnots_TextStampType iTextType);
1309
1329
1330/******************************************************************************
1331 * CustomStamp
1332 *****************************************************************************/
1359
1377
1378/******************************************************************************
1379 * FreeText
1380 *****************************************************************************/
1438 const char* szContent, TPtxPdfContent_Paint* pPaint, TPtxPdfContent_Stroke* pStroke);
1496 const WCHAR* szContent, TPtxPdfContent_Paint* pPaint, TPtxPdfContent_Stroke* pStroke);
1497
1548 double dFontSize);
1585
1586/******************************************************************************
1587 * DrawingAnnotation
1588 *****************************************************************************/
1627
1643/******************************************************************************
1644 * LineAnnotation
1645 *****************************************************************************/
1698 const TPtxGeomReal_Point* pEnd, TPtxPdfContent_Stroke* pStroke);
1699
1733 TPtxGeomReal_Point* pEnd);
1787
1788/******************************************************************************
1789 * InkAnnotation
1790 *****************************************************************************/
1851 TPtxPdf_Document* pTargetDocument, TPtxPdfContent_Path* pPath, TPtxPdfContent_Stroke* pStroke);
1852
1853/******************************************************************************
1854 * PolyLineAnnotation
1855 *****************************************************************************/
1916 TPtxPdf_Document* pTargetDocument, TPtxPdfContent_Path* pPath, TPtxPdfContent_Stroke* pStroke);
1917
1972
1973/******************************************************************************
1974 * PolygonAnnotation
1975 *****************************************************************************/
2052
2070
2071/******************************************************************************
2072 * RectangleAnnotation
2073 *****************************************************************************/
2137
2156
2157/******************************************************************************
2158 * EllipseAnnotation
2159 *****************************************************************************/
2223
2241
2242/******************************************************************************
2243 * TextMarkup
2244 *****************************************************************************/
2304
2320/******************************************************************************
2321 * Highlight
2322 *****************************************************************************/
2360 TPtxPdf_Document* pTargetDocument, TPtxGeomReal_QuadrilateralList* pMarkupArea, TPtxPdfContent_Paint* pPaint);
2361
2362/******************************************************************************
2363 * Underline
2364 *****************************************************************************/
2402 TPtxPdf_Document* pTargetDocument, TPtxGeomReal_QuadrilateralList* pMarkupArea, TPtxPdfContent_Paint* pPaint);
2403
2404/******************************************************************************
2405 * StrikeThrough
2406 *****************************************************************************/
2444 TPtxPdf_Document* pTargetDocument, TPtxGeomReal_QuadrilateralList* pMarkupArea, TPtxPdfContent_Paint* pPaint);
2445
2446/******************************************************************************
2447 * Squiggly
2448 *****************************************************************************/
2486 TPtxPdf_Document* pTargetDocument, TPtxGeomReal_QuadrilateralList* pMarkupArea, TPtxPdfContent_Paint* pPaint);
2487
2488/******************************************************************************
2489 * TextInsert
2490 *****************************************************************************/
2529
2530#ifdef __cplusplus
2531}
2532#endif
2533
2534#endif /* PDFTOOLBOX_PTXPDFANNOTS_H__ */
unsigned short WCHAR
Definition PdfToolbox_Platform.h:95
#define PDFTOOLBOX_EXPORT
Definition PdfToolbox_Platform.h:143
#define PDFTOOLBOX_CALL
Definition PdfToolbox_PtxPdfAnnots.h:26
PDFTOOLBOX_EXPORT TPtxPdfAnnots_FreeText *PDFTOOLBOX_CALL PtxPdfAnnots_FreeText_CreateA(TPtxPdf_Document *pTargetDocument, const TPtxGeomReal_Rectangle *pBoundingBox, const char *szContent, TPtxPdfContent_Paint *pPaint, TPtxPdfContent_Stroke *pStroke)
Create a free-text annotation. The returned free-text annotation is not yet part of any page....
PDFTOOLBOX_EXPORT int PDFTOOLBOX_CALL PtxPdfAnnots_AnnotationList_GetCount(TPtxPdfAnnots_AnnotationList *pAnnotationList)
Get the number of elements in the list.
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_GetSubjectW(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, WCHAR *pBuffer, size_t nBufferSize)
The subject.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_Annotation_GetBoundingBox(TPtxPdfAnnots_Annotation *pAnnotation, TPtxGeomReal_Rectangle *pBoundingBox)
The location on the page.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_SetContentW(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, const WCHAR *szContent)
The information content.
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfAnnots_Annotation_GetIdA(TPtxPdfAnnots_Annotation *pAnnotation, char *pBuffer, size_t nBufferSize)
The annotation identifier A text string uniquely identifying it among all the annotations on its page...
PDFTOOLBOX_EXPORT TPtxPdfContent_Paint *PDFTOOLBOX_CALL PtxPdfAnnots_Stamp_GetPopupPaint(TPtxPdfAnnots_Stamp *pStamp)
The paint for the popup.
PDFTOOLBOX_EXPORT TPtxPdfContent_Paint *PDFTOOLBOX_CALL PtxPdfAnnots_RectangleAnnotation_GetFill(TPtxPdfAnnots_RectangleAnnotation *pRectangleAnnotation)
The filling paint.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_Annotation_GetNoRotate(TPtxPdfAnnots_Annotation *pAnnotation)
The annotation's rotation behavior If TRUE then the annotation's visual appearance does not rotate wi...
PDFTOOLBOX_EXPORT TPtxPdfAnnots_Highlight *PDFTOOLBOX_CALL PtxPdfAnnots_Highlight_CreateFromQuadrilaterals(TPtxPdf_Document *pTargetDocument, TPtxGeomReal_QuadrilateralList *pMarkupArea, TPtxPdfContent_Paint *pPaint)
Create a new highlight with defined area The highlight area is defined by the given pMarkupArea....
PDFTOOLBOX_EXPORT TPtxPdfAnnots_FileAttachmentIcon PDFTOOLBOX_CALL PtxPdfAnnots_FileAttachment_GetIcon(TPtxPdfAnnots_FileAttachment *pFileAttachment)
The displayed icon.
PDFTOOLBOX_EXPORT TPtxPdf_FileReference *PDFTOOLBOX_CALL PtxPdfAnnots_FileAttachment_GetAttachedFile(TPtxPdfAnnots_FileAttachment *pFileAttachment)
The embedded file.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_TextStamp *PDFTOOLBOX_CALL PtxPdfAnnots_TextStamp_CreateRawW(TPtxPdf_Document *pTargetDocument, const TPtxGeomReal_Point *pTopLeft, const double *pHeight, TPtxPdfAnnots_TextStampType iTextType, const WCHAR *szText)
Create a text stamp annotation. The width of the annotation is computed from the given stamp text....
PDFTOOLBOX_EXPORT TPtxPdfAnnots_LineEnding PDFTOOLBOX_CALL PtxPdfAnnots_PolyLineAnnotation_GetStartStyle(TPtxPdfAnnots_PolyLineAnnotation *pPolyLineAnnotation)
The starting point's style.
PDFTOOLBOX_EXPORT TPtxPdfContent_Paint *PDFTOOLBOX_CALL PtxPdfAnnots_LineAnnotation_GetLineEndingFill(TPtxPdfAnnots_LineAnnotation *pLineAnnotation)
The line ending filling paint This paint applies to both the starting end the ending point.
PDFTOOLBOX_EXPORT TPtxPdfContent_Group *PDFTOOLBOX_CALL PtxPdfAnnots_CustomStamp_GetAppearance(TPtxPdfAnnots_CustomStamp *pCustomStamp)
The custom stamp's visual appearance.
PDFTOOLBOX_EXPORT TPtxPdfContent_Paint *PDFTOOLBOX_CALL PtxPdfAnnots_DrawingAnnotation_GetPaint(TPtxPdfAnnots_DrawingAnnotation *pDrawingAnnotation)
The paint for line stroking and for the popup.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_TextStampType PDFTOOLBOX_CALL PtxPdfAnnots_TextStamp_GetTextType(TPtxPdfAnnots_TextStamp *pTextStamp)
The displayed text This defines a predefined text for this text stamp.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_MarkupInfo *PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfoList_Get(TPtxPdfAnnots_MarkupInfoList *pMarkupInfoList, int iIndex)
Returns the element at the specified position in the given list.
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_GetContentA(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, char *pBuffer, size_t nBufferSize)
The information content.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_PolygonAnnotation *PDFTOOLBOX_CALL PtxPdfAnnots_PolygonAnnotation_Create(TPtxPdf_Document *pTargetDocument, TPtxPdfContent_Path *pPath, TPtxPdfContent_Stroke *pStroke, TPtxPdfContent_Paint *pFill)
Create a polygon annotation. The returned polygon annotation is not yet part of any page....
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfAnnots_Annotation_GetIdW(TPtxPdfAnnots_Annotation *pAnnotation, WCHAR *pBuffer, size_t nBufferSize)
The annotation identifier A text string uniquely identifying it among all the annotations on its page...
PDFTOOLBOX_EXPORT TPtxPdfAnnots_Popup *PDFTOOLBOX_CALL PtxPdfAnnots_TextInsert_GetPopup(TPtxPdfAnnots_TextInsert *pTextInsert)
The pop-up.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_GetCreationDate(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, TPtxSys_Date *pCreationDate)
The date of creation.
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_GetAuthorA(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, char *pBuffer, size_t nBufferSize)
The author.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_SetSubjectW(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, const WCHAR *szSubject)
The subject.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_SetSubjectA(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, const char *szSubject)
The subject.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_SetModificationDate(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, const TPtxSys_Date *pModificationDate)
The date of last modification.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_AnnotationList_Add(TPtxPdfAnnots_AnnotationList *pAnnotationList, TPtxPdfAnnots_Annotation *pAnnotation)
Add an element to the end of the list.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_Popup *PDFTOOLBOX_CALL PtxPdfAnnots_Stamp_GetPopup(TPtxPdfAnnots_Stamp *pStamp)
The pop-up.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_LineAnnotation_GetStart(TPtxPdfAnnots_LineAnnotation *pLineAnnotation, TPtxGeomReal_Point *pStart)
The line's starting point.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_Popup *PDFTOOLBOX_CALL PtxPdfAnnots_FileAttachment_GetPopup(TPtxPdfAnnots_FileAttachment *pFileAttachment)
The pop-up.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_Squiggly *PDFTOOLBOX_CALL PtxPdfAnnots_Squiggly_CreateFromQuadrilaterals(TPtxPdf_Document *pTargetDocument, TPtxGeomReal_QuadrilateralList *pMarkupArea, TPtxPdfContent_Paint *pPaint)
Create a new squiggly underline with defined area The area to be underlined is defined by the given p...
PDFTOOLBOX_EXPORT TPtxPdfContent_Paint *PDFTOOLBOX_CALL PtxPdfAnnots_TextInsert_GetPaint(TPtxPdfAnnots_TextInsert *pTextInsert)
The paint for the annotation and the popup.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_TextStamp *PDFTOOLBOX_CALL PtxPdfAnnots_TextStamp_CreateRawA(TPtxPdf_Document *pTargetDocument, const TPtxGeomReal_Point *pTopLeft, const double *pHeight, TPtxPdfAnnots_TextStampType iTextType, const char *szText)
Create a text stamp annotation. The width of the annotation is computed from the given stamp text....
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_Popup_GetBoundingBox(TPtxPdfAnnots_Popup *pPopup, TPtxGeomReal_Rectangle *pBoundingBox)
The pop-up location.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_StampType PDFTOOLBOX_CALL PtxPdfAnnots_Stamp_GetType(TPtxPdfAnnots_Stamp *pStamp)
Get actual derived type of base type TPtxPdfAnnots_Stamp.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_Annotation *PDFTOOLBOX_CALL PtxPdfAnnots_Annotation_Copy(TPtxPdf_Document *pTargetDocument, TPtxPdfAnnots_Annotation *pAnnotation)
Copy an annotation Copy an annotation object from an input document to the given pTargetDocument....
PDFTOOLBOX_EXPORT TPtxPdfContent_Paint *PDFTOOLBOX_CALL PtxPdfAnnots_FreeText_GetPaint(TPtxPdfAnnots_FreeText *pFreeText)
The paint for the text background and the popup.
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_GetSubjectA(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, char *pBuffer, size_t nBufferSize)
The subject.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_Popup *PDFTOOLBOX_CALL PtxPdfAnnots_DrawingAnnotation_GetPopup(TPtxPdfAnnots_DrawingAnnotation *pDrawingAnnotation)
The pop-up.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_MarkupAnnotation_GetLocked(TPtxPdfAnnots_MarkupAnnotation *pMarkupAnnotation)
Whether the markup annotation can be modified This does not restrict modification of the markup annot...
PDFTOOLBOX_EXPORT TPtxPdfAnnots_DrawingAnnotationType PDFTOOLBOX_CALL PtxPdfAnnots_DrawingAnnotation_GetType(TPtxPdfAnnots_DrawingAnnotation *pDrawingAnnotation)
Get actual derived type of base type TPtxPdfAnnots_DrawingAnnotation.
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_GetContentW(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, WCHAR *pBuffer, size_t nBufferSize)
The information content.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_MarkupAnnotationType PDFTOOLBOX_CALL PtxPdfAnnots_MarkupAnnotation_GetType(TPtxPdfAnnots_MarkupAnnotation *pMarkupAnnotation)
Get actual derived type of base type TPtxPdfAnnots_MarkupAnnotation.
PDFTOOLBOX_EXPORT TPtxPdfContent_Paint *PDFTOOLBOX_CALL PtxPdfAnnots_PolyLineAnnotation_GetLineEndingFill(TPtxPdfAnnots_PolyLineAnnotation *pPolyLineAnnotation)
The line ending filling paint for both start and end.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_TextStamp *PDFTOOLBOX_CALL PtxPdfAnnots_TextStamp_Create(TPtxPdf_Document *pTargetDocument, const TPtxGeomReal_Point *pTopLeft, const double *pHeight, TPtxPdfAnnots_TextStampType iTextType)
Create a text stamp annotation. The width of the annotation is computed based on the given iTextType....
PDFTOOLBOX_EXPORT TPtxGeomReal_QuadrilateralList *PDFTOOLBOX_CALL PtxPdfAnnots_TextMarkup_GetMarkupArea(TPtxPdfAnnots_TextMarkup *pTextMarkup)
The markup area This list of TPtxGeomReal_Quadrilaterals defines the markup area on the page.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_LineAnnotation *PDFTOOLBOX_CALL PtxPdfAnnots_LineAnnotation_Create(TPtxPdf_Document *pTargetDocument, const TPtxGeomReal_Point *pStart, const TPtxGeomReal_Point *pEnd, TPtxPdfContent_Stroke *pStroke)
Create a line annotation. The returned line annotation is not yet part of any page....
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_GetModificationDate(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, TPtxSys_Date *pModificationDate)
The date of last modification.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_LineAnnotation_GetEnd(TPtxPdfAnnots_LineAnnotation *pLineAnnotation, TPtxGeomReal_Point *pEnd)
The line's ending point.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_SetLocked(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, BOOL bLocked)
Whether the content can be modified This does not restrict the modification of other aspects of the a...
PDFTOOLBOX_EXPORT TPtxPdfAnnots_StickyNote *PDFTOOLBOX_CALL PtxPdfAnnots_StickyNote_CreateA(TPtxPdf_Document *pTargetDocument, const TPtxGeomReal_Point *pTopLeft, const char *szContent, TPtxPdfContent_Paint *pPaint)
Create a sticky note annotation. The returned sticky note annotation is not yet part of any page....
PDFTOOLBOX_EXPORT TPtxPdfContent_Paint *PDFTOOLBOX_CALL PtxPdfAnnots_StickyNote_GetPaint(TPtxPdfAnnots_StickyNote *pStickyNote)
The paint for the icon and the popup.
PDFTOOLBOX_EXPORT int PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfoList_GetCount(TPtxPdfAnnots_MarkupInfoList *pMarkupInfoList)
Get the number of elements in the list.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_FreeText *PDFTOOLBOX_CALL PtxPdfAnnots_FreeText_CreateW(TPtxPdf_Document *pTargetDocument, const TPtxGeomReal_Rectangle *pBoundingBox, const WCHAR *szContent, TPtxPdfContent_Paint *pPaint, TPtxPdfContent_Stroke *pStroke)
Create a free-text annotation. The returned free-text annotation is not yet part of any page....
PDFTOOLBOX_EXPORT TPtxPdfContent_Paint *PDFTOOLBOX_CALL PtxPdfAnnots_EllipseAnnotation_GetFill(TPtxPdfAnnots_EllipseAnnotation *pEllipseAnnotation)
The filling paint.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_MarkupInfoList *PDFTOOLBOX_CALL PtxPdfAnnots_MarkupAnnotation_GetReplies(TPtxPdfAnnots_MarkupAnnotation *pMarkupAnnotation)
The replies to this markup.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_SetAuthorA(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, const char *szAuthor)
The author.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_Annotation_GetNoPrint(TPtxPdfAnnots_Annotation *pAnnotation)
The annotation's visibility when printing If TRUE then the annotation is not present in a print outpu...
PDFTOOLBOX_EXPORT TPtxPdfAnnots_StickyNote *PDFTOOLBOX_CALL PtxPdfAnnots_StickyNote_CreateW(TPtxPdf_Document *pTargetDocument, const TPtxGeomReal_Point *pTopLeft, const WCHAR *szContent, TPtxPdfContent_Paint *pPaint)
Create a sticky note annotation. The returned sticky note annotation is not yet part of any page....
PDFTOOLBOX_EXPORT TPtxPdfAnnots_Popup *PDFTOOLBOX_CALL PtxPdfAnnots_TextMarkup_GetPopup(TPtxPdfAnnots_TextMarkup *pTextMarkup)
The pop-up.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_LineEnding PDFTOOLBOX_CALL PtxPdfAnnots_LineAnnotation_GetStartStyle(TPtxPdfAnnots_LineAnnotation *pLineAnnotation)
The starting point's style.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_LineEnding PDFTOOLBOX_CALL PtxPdfAnnots_PolyLineAnnotation_GetEndStyle(TPtxPdfAnnots_PolyLineAnnotation *pPolyLineAnnotation)
The ending point's style.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_Popup *PDFTOOLBOX_CALL PtxPdfAnnots_StickyNote_GetPopup(TPtxPdfAnnots_StickyNote *pStickyNote)
The pop-up.
PDFTOOLBOX_EXPORT double PDFTOOLBOX_CALL PtxPdfAnnots_FreeText_GetFontSize(TPtxPdfAnnots_FreeText *pFreeText)
The font size.
PDFTOOLBOX_EXPORT TPtxPdfContent_Paint *PDFTOOLBOX_CALL PtxPdfAnnots_PolygonAnnotation_GetFill(TPtxPdfAnnots_PolygonAnnotation *pPolygonAnnotation)
The filling paint.
PDFTOOLBOX_EXPORT TPtxPdfContent_Paint *PDFTOOLBOX_CALL PtxPdfAnnots_FileAttachment_GetPaint(TPtxPdfAnnots_FileAttachment *pFileAttachment)
The paint for the icon and the popup.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_LineEnding PDFTOOLBOX_CALL PtxPdfAnnots_LineAnnotation_GetEndStyle(TPtxPdfAnnots_LineAnnotation *pLineAnnotation)
The ending point's style.
PDFTOOLBOX_EXPORT TPtxPdfContent_Paint *PDFTOOLBOX_CALL PtxPdfAnnots_TextMarkup_GetPaint(TPtxPdfAnnots_TextMarkup *pTextMarkup)
The paint the annotation and the popup.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_SetAuthorW(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, const WCHAR *szAuthor)
The author.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_EllipseAnnotation *PDFTOOLBOX_CALL PtxPdfAnnots_EllipseAnnotation_Create(TPtxPdf_Document *pTargetDocument, const TPtxGeomReal_Rectangle *pBoundingBox, TPtxPdfContent_Stroke *pStroke, TPtxPdfContent_Paint *pFill)
Create an ellipse annotation. The returned ellipse annotation is not yet part of any page....
PDFTOOLBOX_EXPORT TPtxPdfAnnots_Annotation *PDFTOOLBOX_CALL PtxPdfAnnots_AnnotationList_Get(TPtxPdfAnnots_AnnotationList *pAnnotationList, int iIndex)
Returns the element at the specified position in the given list.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_CustomStamp *PDFTOOLBOX_CALL PtxPdfAnnots_CustomStamp_Create(TPtxPdf_Document *pTargetDocument, const TPtxGeomReal_Rectangle *pBoundingBox)
Create a custom stamp annotation. The returned custom stamp annotation's appearance has an empty cont...
PDFTOOLBOX_EXPORT TPtxPdfAnnots_MarkupInfo *PDFTOOLBOX_CALL PtxPdfAnnots_MarkupAnnotation_GetInfo(TPtxPdfAnnots_MarkupAnnotation *pMarkupAnnotation)
The information content of this markup.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_Popup_IsOpen(TPtxPdfAnnots_Popup *pPopup)
The pop-up's visibility state.
PDFTOOLBOX_EXPORT size_t PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_GetAuthorW(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, WCHAR *pBuffer, size_t nBufferSize)
The author.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_SetContentA(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, const char *szContent)
The information content.
PDFTOOLBOX_EXPORT TPtxGeom_HorizontalAlignment PDFTOOLBOX_CALL PtxPdfAnnots_FreeText_GetAlignment(TPtxPdfAnnots_FreeText *pFreeText)
The text alignment.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_Annotation_GetNoZoom(TPtxPdfAnnots_Annotation *pAnnotation)
The annotation's scaling behavior If TRUE then the annotation's visual appearance does not scale with...
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_SetCreationDate(TPtxPdfAnnots_MarkupInfo *pMarkupInfo, const TPtxSys_Date *pCreationDate)
The date of creation.
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_FreeText_SetFontSize(TPtxPdfAnnots_FreeText *pFreeText, double dFontSize)
The font size.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_TextMarkupType PDFTOOLBOX_CALL PtxPdfAnnots_TextMarkup_GetType(TPtxPdfAnnots_TextMarkup *pTextMarkup)
Get actual derived type of base type TPtxPdfAnnots_TextMarkup.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_AnnotationType PDFTOOLBOX_CALL PtxPdfAnnots_Annotation_GetType(TPtxPdfAnnots_Annotation *pAnnotation)
Get actual derived type of base type TPtxPdfAnnots_Annotation.
PDFTOOLBOX_EXPORT TPtxPdfAnnots_PolyLineAnnotation *PDFTOOLBOX_CALL PtxPdfAnnots_PolyLineAnnotation_Create(TPtxPdf_Document *pTargetDocument, TPtxPdfContent_Path *pPath, TPtxPdfContent_Stroke *pStroke)
Create a poly-line annotation. The returned poly-line annotation is not yet part of any page....
PDFTOOLBOX_EXPORT TPtxPdfAnnots_StrikeThrough *PDFTOOLBOX_CALL PtxPdfAnnots_StrikeThrough_CreateFromQuadrilaterals(TPtxPdf_Document *pTargetDocument, TPtxGeomReal_QuadrilateralList *pMarkupArea, TPtxPdfContent_Paint *pPaint)
Create a new strike-through with defined area The area to be striked through is defined by the given ...
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_MarkupInfo_GetLocked(TPtxPdfAnnots_MarkupInfo *pMarkupInfo)
Whether the content can be modified This does not restrict the modification of other aspects of the a...
PDFTOOLBOX_EXPORT BOOL PDFTOOLBOX_CALL PtxPdfAnnots_Annotation_GetHidden(TPtxPdfAnnots_Annotation *pAnnotation)
The annotation's visibility If TRUE then the annotation is present, but is invisible and not availabl...
PDFTOOLBOX_EXPORT TPtxPdfAnnots_FileAttachment *PDFTOOLBOX_CALL PtxPdfAnnots_FileAttachment_Create(TPtxPdf_Document *pTargetDocument, const TPtxGeomReal_Point *pTopLeft, TPtxPdf_FileReference *pAttachedFile, TPtxPdfContent_Paint *pPaint)
Create a file attachment annotation. The returned file attachment annotation is not yet part of any p...
PDFTOOLBOX_EXPORT TPtxPdfAnnots_Underline *PDFTOOLBOX_CALL PtxPdfAnnots_Underline_CreateFromQuadrilaterals(TPtxPdf_Document *pTargetDocument, TPtxGeomReal_QuadrilateralList *pMarkupArea, TPtxPdfContent_Paint *pPaint)
Create a new underline with defined area The area to be underlined is defined by the given pMarkupAre...
PDFTOOLBOX_EXPORT TPtxPdfAnnots_RectangleAnnotation *PDFTOOLBOX_CALL PtxPdfAnnots_RectangleAnnotation_Create(TPtxPdf_Document *pTargetDocument, const TPtxGeomReal_Rectangle *pBoundingBox, TPtxPdfContent_Stroke *pStroke, TPtxPdfContent_Paint *pFill)
Create a rectangle annotation. The returned rectangle annotation is not yet part of any page....
PDFTOOLBOX_EXPORT TPtxPdfAnnots_InkAnnotation *PDFTOOLBOX_CALL PtxPdfAnnots_InkAnnotation_Create(TPtxPdf_Document *pTargetDocument, TPtxPdfContent_Path *pPath, TPtxPdfContent_Stroke *pStroke)
Create a ink annotation. The returned ink annotation is not yet part of any page. It can be added to ...
TPtxPdfAnnots_MarkupAnnotationType
Type and subtype enumeration of TPtxPdfAnnots_MarkupAnnotation.
Definition PdfToolbox_Types.h:1222
TPtxPdfAnnots_DrawingAnnotationType
Type and subtype enumeration of TPtxPdfAnnots_DrawingAnnotation.
Definition PdfToolbox_Types.h:1284
TPtxPdfAnnots_FileAttachmentIcon
Definition PdfToolbox_Types.h:837
TPtxPdfAnnots_StampType
Type and subtype enumeration of TPtxPdfAnnots_Stamp.
Definition PdfToolbox_Types.h:1261
TPtxGeom_HorizontalAlignment
Definition PdfToolbox_Types.h:79
TPtxPdfAnnots_LineEnding
Definition PdfToolbox_Types.h:746
TPtxPdfAnnots_TextMarkupType
Type and subtype enumeration of TPtxPdfAnnots_TextMarkup.
Definition PdfToolbox_Types.h:1310
#define BOOL
Definition PdfToolbox_Types.h:23
TPtxPdfAnnots_AnnotationType
Type and subtype enumeration of TPtxPdfAnnots_Annotation.
Definition PdfToolbox_Types.h:1181
TPtxPdfAnnots_TextStampType
Definition PdfToolbox_Types.h:784
Description of a file A file description is used for embedded files.
A page annotation.
A list of annotations When a list of PtxPdf_Page_GetAnnotations is obtained from a page that belongs ...
A stamp annotation with custom content.
A drawing annotation An annotation used to draws something on a page.
An ellipse drawing annotation.
A file attachment annotation.
An annotation that displays text For a free-text annotation, the annotation's content is used as text...
An text highlighting annotation.
A free-hand drawing annotation.
A line annotation An annotation that draws a line on a page.
A markup annotation.
Information for a markup annotation Holds information contained in a markup annotation or in a reply ...
A drawing annotation that consists of several line segments.
A polygon annotation.
A pop-up for a markup annotation.
A rectangle drawing annotation.
A squiggly text underlining annotation.
A stamp annotation.
A sticky note annotation.
An annotation for striking through text.
An annotation that marks a point to insert text.
An annotation that marks up part(s) of a text.
A text stamp annotation.
An text underlining annotation.
Paths define shapes, trajectories, and regions of all sorts. A path is made up of one or more disconn...
Definition PdfToolbox_Types.h:1975
Definition PdfToolbox_Types.h:2003
Definition PdfToolbox_Types.h:2142