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 - 2024 PDF Tools AG, Switzerland
10 * All rights reserved.
11 *
12 *****************************************************************************/
13
14#ifndef PDFTOOLBOX_PTXPDFANNOTS_H__
15#define PDFTOOLBOX_PTXPDFANNOTS_H__
16
17#ifndef PDFTOOLBOX_CALL
18#if defined(WIN32)
19#define PDFTOOLBOX_CALL __stdcall
20#else
21#define PDFTOOLBOX_CALL
22#endif
23#endif
24
25#include "PdfToolbox_Types.h"
26#include "PdfToolbox_PtxSys.h"
27
28#ifdef __cplusplus
29extern "C"
30{
31#endif
32
33#ifdef _UNICODE
34#define PtxPdfAnnots_Annotation_GetId PtxPdfAnnots_Annotation_GetIdW
35
36#define PtxPdfAnnots_MarkupInfo_GetAuthor PtxPdfAnnots_MarkupInfo_GetAuthorW
37#define PtxPdfAnnots_MarkupInfo_SetAuthor PtxPdfAnnots_MarkupInfo_SetAuthorW
38#define PtxPdfAnnots_MarkupInfo_GetSubject PtxPdfAnnots_MarkupInfo_GetSubjectW
39#define PtxPdfAnnots_MarkupInfo_SetSubject PtxPdfAnnots_MarkupInfo_SetSubjectW
40#define PtxPdfAnnots_MarkupInfo_GetContent PtxPdfAnnots_MarkupInfo_GetContentW
41#define PtxPdfAnnots_MarkupInfo_SetContent PtxPdfAnnots_MarkupInfo_SetContentW
42
43#define PtxPdfAnnots_StickyNote_Create PtxPdfAnnots_StickyNote_CreateW
44
45#define PtxPdfAnnots_TextStamp_CreateRaw PtxPdfAnnots_TextStamp_CreateRawW
46
47#define PtxPdfAnnots_FreeText_Create PtxPdfAnnots_FreeText_CreateW
48
49#else
50#define PtxPdfAnnots_Annotation_GetId PtxPdfAnnots_Annotation_GetIdA
51
52#define PtxPdfAnnots_MarkupInfo_GetAuthor PtxPdfAnnots_MarkupInfo_GetAuthorA
53#define PtxPdfAnnots_MarkupInfo_SetAuthor PtxPdfAnnots_MarkupInfo_SetAuthorA
54#define PtxPdfAnnots_MarkupInfo_GetSubject PtxPdfAnnots_MarkupInfo_GetSubjectA
55#define PtxPdfAnnots_MarkupInfo_SetSubject PtxPdfAnnots_MarkupInfo_SetSubjectA
56#define PtxPdfAnnots_MarkupInfo_GetContent PtxPdfAnnots_MarkupInfo_GetContentA
57#define PtxPdfAnnots_MarkupInfo_SetContent PtxPdfAnnots_MarkupInfo_SetContentA
58
59#define PtxPdfAnnots_StickyNote_Create PtxPdfAnnots_StickyNote_CreateA
60
61#define PtxPdfAnnots_TextStamp_CreateRaw PtxPdfAnnots_TextStamp_CreateRawA
62
63#define PtxPdfAnnots_FreeText_Create PtxPdfAnnots_FreeText_CreateA
64
65#endif
66
67/******************************************************************************
68 * Annotation
69 *****************************************************************************/
104
123 TPtxGeomReal_Rectangle* pBoundingBox);
227 char* pBuffer, size_t nBufferSize);
254 WCHAR* pBuffer, size_t nBufferSize);
255
271/******************************************************************************
272 * AnnotationList
273 *****************************************************************************/
322 TPtxPdfAnnots_Annotation* pAnnotation);
323
324/******************************************************************************
325 * MarkupInfo
326 *****************************************************************************/
349 TPtxSys_Date* pCreationDate);
370 const TPtxSys_Date* pCreationDate);
414 TPtxPdfAnnots_MarkupInfo* pMarkupInfo, const TPtxSys_Date* pModificationDate);
460 BOOL bLocked);
488 char* pBuffer, size_t nBufferSize);
516 WCHAR* pBuffer, size_t nBufferSize);
537 const char* szAuthor);
558 const WCHAR* szAuthor);
586 char* pBuffer, size_t nBufferSize);
614 WCHAR* pBuffer, size_t nBufferSize);
635 const char* szSubject);
656 const WCHAR* szSubject);
684 char* pBuffer, size_t nBufferSize);
712 WCHAR* pBuffer, size_t nBufferSize);
733 const char* szContent);
754 const WCHAR* szContent);
755
756/******************************************************************************
757 * MarkupInfoList
758 *****************************************************************************/
790
791/******************************************************************************
792 * Popup
793 *****************************************************************************/
827 TPtxGeomReal_Rectangle* pBoundingBox);
828
829/******************************************************************************
830 * MarkupAnnotation
831 *****************************************************************************/
886
902/******************************************************************************
903 * StickyNote
904 *****************************************************************************/
940 const char* szContent, TPtxPdfContent_Paint* pPaint);
976 const WCHAR* szContent, TPtxPdfContent_Paint* pPaint);
977
1016
1017/******************************************************************************
1018 * FileAttachment
1019 *****************************************************************************/
1061 TPtxPdf_FileReference* pAttachedFile, TPtxPdfContent_Paint* pPaint);
1062
1137
1138/******************************************************************************
1139 * Stamp
1140 *****************************************************************************/
1177
1192/******************************************************************************
1193 * TextStamp
1194 *****************************************************************************/
1232 const double* pHeight, TPtxPdfAnnots_TextStampType iTextType, const char* szText);
1270 const double* pHeight, TPtxPdfAnnots_TextStampType iTextType, const WCHAR* szText);
1303 const double* pHeight, TPtxPdfAnnots_TextStampType iTextType);
1304
1324
1325/******************************************************************************
1326 * CustomStamp
1327 *****************************************************************************/
1354
1372
1373/******************************************************************************
1374 * FreeText
1375 *****************************************************************************/
1433 const char* szContent, TPtxPdfContent_Paint* pPaint, TPtxPdfContent_Stroke* pStroke);
1491 const WCHAR* szContent, TPtxPdfContent_Paint* pPaint, TPtxPdfContent_Stroke* pStroke);
1492
1543 double dFontSize);
1580
1581/******************************************************************************
1582 * DrawingAnnotation
1583 *****************************************************************************/
1622
1638/******************************************************************************
1639 * LineAnnotation
1640 *****************************************************************************/
1693 const TPtxGeomReal_Point* pEnd, TPtxPdfContent_Stroke* pStroke);
1694
1728 TPtxGeomReal_Point* pEnd);
1782
1783/******************************************************************************
1784 * InkAnnotation
1785 *****************************************************************************/
1846 TPtxPdf_Document* pTargetDocument, TPtxPdfContent_Path* pPath, TPtxPdfContent_Stroke* pStroke);
1847
1848/******************************************************************************
1849 * PolyLineAnnotation
1850 *****************************************************************************/
1911 TPtxPdf_Document* pTargetDocument, TPtxPdfContent_Path* pPath, TPtxPdfContent_Stroke* pStroke);
1912
1967
1968/******************************************************************************
1969 * PolygonAnnotation
1970 *****************************************************************************/
2047
2065
2066/******************************************************************************
2067 * RectangleAnnotation
2068 *****************************************************************************/
2132
2151
2152/******************************************************************************
2153 * EllipseAnnotation
2154 *****************************************************************************/
2218
2236
2237/******************************************************************************
2238 * TextMarkup
2239 *****************************************************************************/
2299
2315/******************************************************************************
2316 * Highlight
2317 *****************************************************************************/
2355 TPtxPdf_Document* pTargetDocument, TPtxGeomReal_QuadrilateralList* pMarkupArea, TPtxPdfContent_Paint* pPaint);
2356
2357/******************************************************************************
2358 * Underline
2359 *****************************************************************************/
2397 TPtxPdf_Document* pTargetDocument, TPtxGeomReal_QuadrilateralList* pMarkupArea, TPtxPdfContent_Paint* pPaint);
2398
2399/******************************************************************************
2400 * StrikeThrough
2401 *****************************************************************************/
2439 TPtxPdf_Document* pTargetDocument, TPtxGeomReal_QuadrilateralList* pMarkupArea, TPtxPdfContent_Paint* pPaint);
2440
2441/******************************************************************************
2442 * Squiggly
2443 *****************************************************************************/
2481 TPtxPdf_Document* pTargetDocument, TPtxGeomReal_QuadrilateralList* pMarkupArea, TPtxPdfContent_Paint* pPaint);
2482
2483/******************************************************************************
2484 * TextInsert
2485 *****************************************************************************/
2524
2525#ifdef __cplusplus
2526}
2527#endif
2528
2529#endif /* PDFTOOLBOX_PTXPDFANNOTS_H__ */
unsigned short WCHAR
Definition PdfToolbox_Platform.h:90
#define PDFTOOLBOX_EXPORT
Definition PdfToolbox_Platform.h:138
#define PDFTOOLBOX_CALL
Definition PdfToolbox_PtxPdfAnnots.h:21
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:1217
TPtxPdfAnnots_DrawingAnnotationType
Type and subtype enumeration of TPtxPdfAnnots_DrawingAnnotation.
Definition PdfToolbox_Types.h:1279
TPtxPdfAnnots_FileAttachmentIcon
Definition PdfToolbox_Types.h:832
TPtxPdfAnnots_StampType
Type and subtype enumeration of TPtxPdfAnnots_Stamp.
Definition PdfToolbox_Types.h:1256
TPtxGeom_HorizontalAlignment
Definition PdfToolbox_Types.h:74
TPtxPdfAnnots_LineEnding
Definition PdfToolbox_Types.h:741
TPtxPdfAnnots_TextMarkupType
Type and subtype enumeration of TPtxPdfAnnots_TextMarkup.
Definition PdfToolbox_Types.h:1305
#define BOOL
Definition PdfToolbox_Types.h:18
TPtxPdfAnnots_AnnotationType
Type and subtype enumeration of TPtxPdfAnnots_Annotation.
Definition PdfToolbox_Types.h:1176
TPtxPdfAnnots_TextStampType
Definition PdfToolbox_Types.h:779
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:1970
Definition PdfToolbox_Types.h:1998
Definition PdfToolbox_Types.h:2137