Haru Free PDF Library
hpdf_types.h
Go to the documentation of this file.
1 /*
2  * << Haru Free PDF Library >> -- hpdf_types.h
3  *
4  * URL: http://libharu.org
5  *
6  * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
7  * Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
8  *
9  * Permission to use, copy, modify, distribute and sell this software
10  * and its documentation for any purpose is hereby granted without fee,
11  * provided that the above copyright notice appear in all copies and
12  * that both that copyright notice and this permission notice appear
13  * in supporting documentation.
14  * It is provided "as is" without express or implied warranty.
15  *
16  */
17 
18 #ifndef _HPDF_TYPES_H
19 #define _HPDF_TYPES_H
20 
21 #ifndef HPDF_STDCALL
22 #ifdef HPDF_DLL_MAKE
23 #define HPDF_STDCALL __stdcall
24 #else
25 #ifdef HPDF_DLL
26 #define HPDF_STDCALL __stdcall
27 #else
28 #define HPDF_STDCALL
29 #endif
30 #endif
31 #endif
32 
33 #include <stdlib.h>
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 /*----------------------------------------------------------------------------*/
40 /*----- type definition ------------------------------------------------------*/
41 
42 
43 /* native OS integer types */
44 typedef signed int HPDF_INT;
45 typedef unsigned int HPDF_UINT;
46 
47 
48 /* 64bit integer types
49  */
50 typedef signed long long HPDF_INT64;
51 typedef unsigned long long HPDF_UINT64;
52 
53 
54 /* 32bit integer types
55  */
56 typedef signed int HPDF_INT32;
57 typedef unsigned int HPDF_UINT32;
58 
59 
60 /* 16bit integer types
61  */
62 typedef signed short HPDF_INT16;
63 typedef unsigned short HPDF_UINT16;
64 
65 
66 /* 8bit integer types
67  */
68 typedef signed char HPDF_INT8;
69 typedef unsigned char HPDF_UINT8;
70 
71 
72 /* 8bit binary types
73  */
74 typedef unsigned char HPDF_BYTE;
75 
76 
77 /* float type (32bit IEEE754)
78  */
79 typedef float HPDF_REAL;
80 
81 
82 /* double type (64bit IEEE754)
83  */
84 typedef double HPDF_DOUBLE;
85 
86 
87 /* boolean type (0: False, !0: True)
88  */
89 typedef signed int HPDF_BOOL;
90 
91 
92 /* error-no type (32bit unsigned integer)
93  */
94 typedef unsigned long HPDF_STATUS;
95 
96 
97 /* character-code type (16bit)
98  */
101 
102 
103 /* HPDF_Point struct
104  */
105 typedef struct _HPDF_Point {
109 
110 typedef struct _HPDF_Rect {
116 
117 /* HPDF_Point3D struct
118 */
119 typedef struct _HPDF_Point3D {
124 
125 typedef struct _HPDF_Rect HPDF_Box;
126 
135 typedef struct _HPDF_Date {
149  char ind;
155 
156 
157 typedef enum _HPDF_InfoType {
158  /* date-time type parameters */
161 
162  /* string type parameters */
173 
174 /* PDF-A Types */
175 
176 typedef enum _HPDF_PDFA_TYPE
177 {
179  HPDF_PDFA_1B = 1
181 
182 
183 typedef enum _HPDF_PdfVer {
192 
193 typedef enum _HPDF_EncryptMode {
195  HPDF_ENCRYPT_R3 = 3
197 
198 
199 typedef void
201  HPDF_STATUS detail_no,
202  void *user_data);
203 
204 typedef void*
206 
207 
208 typedef void
209 (HPDF_STDCALL *HPDF_Free_Func) (void *aptr);
210 
211 
212 /*---------------------------------------------------------------------------*/
213 /*------ text width struct --------------------------------------------------*/
214 
215 typedef struct _HPDF_TextWidth {
217 
218  /* don't use this value (it may be change in the feature).
219  use numspace as alternated. */
221 
225 
226 
227 /*---------------------------------------------------------------------------*/
228 /*------ dash mode ----------------------------------------------------------*/
229 
230 typedef struct _HPDF_DashMode {
235 
236 
237 /*---------------------------------------------------------------------------*/
238 /*----- HPDF_TransMatrix struct ---------------------------------------------*/
239 
240 typedef struct _HPDF_TransMatrix {
248 
249 /*---------------------------------------------------------------------------*/
250 /*----- HPDF_3DMatrix struct ------------------------------------------------*/
251 
252 typedef struct _HPDF_3DMatrix {
266 
267 /*---------------------------------------------------------------------------*/
268 
269 typedef enum _HPDF_ColorSpace {
283 
284 /*---------------------------------------------------------------------------*/
285 /*----- HPDF_RGBColor struct ------------------------------------------------*/
286 
287 typedef struct _HPDF_RGBColor {
292 
293 /*---------------------------------------------------------------------------*/
294 /*----- HPDF_CMYKColor struct -----------------------------------------------*/
295 
296 typedef struct _HPDF_CMYKColor {
302 
303 /*---------------------------------------------------------------------------*/
304 /*------ The line cap style -------------------------------------------------*/
305 
306 typedef enum _HPDF_LineCap {
312 
313 /*----------------------------------------------------------------------------*/
314 /*------ The line join style -------------------------------------------------*/
315 
316 typedef enum _HPDF_LineJoin {
322 
323 /*----------------------------------------------------------------------------*/
324 /*------ The text rendering mode ---------------------------------------------*/
325 
337 
338 
339 typedef enum _HPDF_WritingMode {
347 
348 
349 typedef enum _HPDF_PageLayout {
358 
359 
360 typedef enum _HPDF_PageMode {
365 /* HPDF_PAGE_MODE_USE_OC,
366  HPDF_PAGE_MODE_USE_ATTACHMENTS,
367  */
370 
371 
372 typedef enum _HPDF_PageNumStyle {
380 
381 
382 typedef enum _HPDF_DestinationType {
383  HPDF_XYZ = 0,
393 
394 
395 typedef enum _HPDF_AnnotType {
415 
416 
417 typedef enum _HPDF_AnnotFlgs {
426 
427 
440 
446 typedef enum _HPDF_AnnotIcon {
464 
465 typedef enum _HPDF_AnnotIntent {
474 
487 
492 
493 typedef enum _HPDF_StampAnnotName{
509 
510 /*----------------------------------------------------------------------------*/
511 /*------ border stype --------------------------------------------------------*/
512 
513 typedef enum _HPDF_BSSubtype {
525 
526 
527 /*----- blend modes ----------------------------------------------------------*/
528 
529 typedef enum _HPDF_BlendMode {
544 
545 /*----- slide show -----------------------------------------------------------*/
546 
547 typedef enum _HPDF_TransitionStyle {
567 
568 /*----------------------------------------------------------------------------*/
569 
573 typedef enum _HPDF_PageDirection {
579 
580 typedef enum _HPDF_EncoderType {
590 
591 typedef enum _HPDF_ByteType {
601 
602 
603 typedef enum _HPDF_TextAlignment {
609 
610 /*----------------------------------------------------------------------------*/
611 
612 /* Name Dictionary values -- see PDF reference section 7.7.4 */
613 typedef enum _HPDF_NameDictKey {
614  HPDF_NAME_EMBEDDED_FILES = 0, /* TODO the rest */
617 
618 /*----------------------------------------------------------------------------*/
619 
620 typedef enum _HPDF_PageBoundary {
627 
628 /*----------------------------------------------------------------------------*/
629 
630 typedef enum _HPDF_ShadingType {
631  HPDF_SHADING_FREE_FORM_TRIANGLE_MESH = 4 /* TODO the rest */
633 
639 
640 /*----------------------------------------------------------------------------*/
641 
642 #ifdef __cplusplus
643 }
644 #endif /* __cplusplus */
645 
646 #endif /* _HPDF_TYPES_H */
647 
struct _HPDF_Point3D HPDF_Point3D
_HPDF_LineCap
Definition: hpdf_types.h:306
@ HPDF_PROJECTING_SQUARE_END
Definition: hpdf_types.h:309
@ HPDF_BUTT_END
Definition: hpdf_types.h:307
@ HPDF_LINECAP_EOF
Definition: hpdf_types.h:310
@ HPDF_ROUND_END
Definition: hpdf_types.h:308
HPDF_UINT16 HPDF_CID
Definition: hpdf_types.h:99
_HPDF_LineAnnotEndingStyle
Definition: hpdf_types.h:475
@ HPDF_LINE_ANNOT_BUTT
Definition: hpdf_types.h:482
@ HPDF_LINE_ANNOT_OPENARROW
Definition: hpdf_types.h:480
@ HPDF_LINE_ANNOT_NONE
Definition: hpdf_types.h:476
@ HPDF_LINE_ANNOT_SQUARE
Definition: hpdf_types.h:477
@ HPDF_LINE_ANNOT_CLOSEDARROW
Definition: hpdf_types.h:481
@ HPDF_LINE_ANNOT_DIAMOND
Definition: hpdf_types.h:479
@ HPDF_LINE_ANNOT_CIRCLE
Definition: hpdf_types.h:478
@ HPDF_LINE_ANNOT_ROPENARROW
Definition: hpdf_types.h:483
@ HPDF_LINE_ANNOT_SLASH
Definition: hpdf_types.h:485
@ HPDF_LINE_ANNOT_RCLOSEDARROW
Definition: hpdf_types.h:484
enum _HPDF_PageMode HPDF_PageMode
enum _HPDF_LineCap HPDF_LineCap
signed int HPDF_INT
Definition: hpdf_types.h:44
enum _HPDF_LineJoin HPDF_LineJoin
_HPDF_EncoderType
Definition: hpdf_types.h:580
@ HPDF_ENCODER_UNKNOWN
Encoder was not properly constructed.
Definition: hpdf_types.h:588
@ HPDF_ENCODER_TYPE_DOUBLE_BYTE
Multi-byte character encoder.
Definition: hpdf_types.h:584
@ HPDF_ENCODER_TYPE_SINGLE_BYTE
Single-byte character encoder.
Definition: hpdf_types.h:582
@ HPDF_ENCODER_TYPE_UNINITIALIZED
Encoder is not yet initialized.
Definition: hpdf_types.h:586
void(HPDF_STDCALL * HPDF_Free_Func)(void *aptr)
Definition: hpdf_types.h:209
enum _HPDF_InfoType HPDF_InfoType
enum _HPDF_DestinationType HPDF_DestinationType
_HPDF_DestinationType
Definition: hpdf_types.h:382
@ HPDF_FIT_H
Definition: hpdf_types.h:385
@ HPDF_XYZ
Definition: hpdf_types.h:383
@ HPDF_FIT_BV
Definition: hpdf_types.h:390
@ HPDF_DST_EOF
Definition: hpdf_types.h:391
@ HPDF_FIT
Definition: hpdf_types.h:384
@ HPDF_FIT_BH
Definition: hpdf_types.h:389
@ HPDF_FIT_R
Definition: hpdf_types.h:387
@ HPDF_FIT_V
Definition: hpdf_types.h:386
@ HPDF_FIT_B
Definition: hpdf_types.h:388
unsigned short HPDF_UINT16
Definition: hpdf_types.h:63
_HPDF_PDFA_TYPE
Definition: hpdf_types.h:177
@ HPDF_PDFA_1B
Definition: hpdf_types.h:179
@ HPDF_PDFA_1A
Definition: hpdf_types.h:178
_HPDF_LineJoin
Definition: hpdf_types.h:316
@ HPDF_LINEJOIN_EOF
Definition: hpdf_types.h:320
@ HPDF_BEVEL_JOIN
Definition: hpdf_types.h:319
@ HPDF_MITER_JOIN
Definition: hpdf_types.h:317
@ HPDF_ROUND_JOIN
Definition: hpdf_types.h:318
signed char HPDF_INT8
Definition: hpdf_types.h:68
struct _HPDF_CMYKColor HPDF_CMYKColor
_HPDF_StampAnnotName
Definition: hpdf_types.h:493
@ HPDF_STAMP_ANNOT_FORCOMMENT
Definition: hpdf_types.h:504
@ HPDF_STAMP_ANNOT_ASIS
Definition: hpdf_types.h:497
@ HPDF_STAMP_ANNOT_NOTFORPUBLICRELEASE
Definition: hpdf_types.h:499
@ HPDF_STAMP_ANNOT_FORPUBLICRELEASE
Definition: hpdf_types.h:507
@ HPDF_STAMP_ANNOT_TOPSECRET
Definition: hpdf_types.h:505
@ HPDF_STAMP_ANNOT_DEPARTMENTAL
Definition: hpdf_types.h:503
@ HPDF_STAMP_ANNOT_EXPIRED
Definition: hpdf_types.h:498
@ HPDF_STAMP_ANNOT_DRAFT
Definition: hpdf_types.h:506
@ HPDF_STAMP_ANNOT_CONFIDENTIAL
Definition: hpdf_types.h:500
@ HPDF_STAMP_ANNOT_EXPERIMENTAL
Definition: hpdf_types.h:495
@ HPDF_STAMP_ANNOT_FINAL
Definition: hpdf_types.h:501
@ HPDF_STAMP_ANNOT_SOLD
Definition: hpdf_types.h:502
@ HPDF_STAMP_ANNOT_APPROVED
Definition: hpdf_types.h:494
@ HPDF_STAMP_ANNOT_NOTAPPROVED
Definition: hpdf_types.h:496
_HPDF_PageBoundary
Definition: hpdf_types.h:620
@ HPDF_PAGE_TRIMBOX
Definition: hpdf_types.h:624
@ HPDF_PAGE_BLEEDBOX
Definition: hpdf_types.h:623
@ HPDF_PAGE_ARTBOX
Definition: hpdf_types.h:625
@ HPDF_PAGE_MEDIABOX
Definition: hpdf_types.h:621
@ HPDF_PAGE_CROPBOX
Definition: hpdf_types.h:622
enum _HPDF_AnnotType HPDF_AnnotType
enum _HPDF_PageNumStyle HPDF_PageNumStyle
void(HPDF_STDCALL * HPDF_Error_Handler)(HPDF_STATUS error_no, HPDF_STATUS detail_no, void *user_data)
Definition: hpdf_types.h:200
struct _HPDF_3DMatrix HPDF_3DMatrix
signed int HPDF_BOOL
Definition: hpdf_types.h:89
_HPDF_ColorSpace
Definition: hpdf_types.h:269
@ HPDF_CS_CAL_GRAY
Definition: hpdf_types.h:273
@ HPDF_CS_SEPARATION
Definition: hpdf_types.h:277
@ HPDF_CS_DEVICE_CMYK
Definition: hpdf_types.h:272
@ HPDF_CS_CAL_RGB
Definition: hpdf_types.h:274
@ HPDF_CS_PATTERN
Definition: hpdf_types.h:280
@ HPDF_CS_DEVICE_N
Definition: hpdf_types.h:278
@ HPDF_CS_DEVICE_RGB
Definition: hpdf_types.h:271
@ HPDF_CS_ICC_BASED
Definition: hpdf_types.h:276
@ HPDF_CS_DEVICE_GRAY
Definition: hpdf_types.h:270
@ HPDF_CS_LAB
Definition: hpdf_types.h:275
@ HPDF_CS_EOF
Definition: hpdf_types.h:281
@ HPDF_CS_INDEXED
Definition: hpdf_types.h:279
enum _HPDF_PageBoundary HPDF_PageBoundary
enum _HPDF_NameDictKey HPDF_NameDictKey
_HPDF_NameDictKey
Definition: hpdf_types.h:613
@ HPDF_NAME_EOF
Definition: hpdf_types.h:615
@ HPDF_NAME_EMBEDDED_FILES
Definition: hpdf_types.h:614
unsigned int HPDF_UINT
Definition: hpdf_types.h:45
enum _HPDF_TextRenderingMode HPDF_TextRenderingMode
struct _HPDF_TransMatrix HPDF_TransMatrix
unsigned int HPDF_UINT32
Definition: hpdf_types.h:57
enum _HPDF_BSSubtype HPDF_BSSubtype
_HPDF_TextAlignment
Definition: hpdf_types.h:603
@ HPDF_TALIGN_RIGHT
Definition: hpdf_types.h:605
@ HPDF_TALIGN_LEFT
Definition: hpdf_types.h:604
@ HPDF_TALIGN_CENTER
Definition: hpdf_types.h:606
@ HPDF_TALIGN_JUSTIFY
Definition: hpdf_types.h:607
enum _HPDF_PDFA_TYPE HPDF_PDFAType
enum _HPDF_ByteType HPDF_ByteType
enum _HPDF_EncryptMode HPDF_EncryptMode
void *(HPDF_STDCALL * HPDF_Alloc_Func)(HPDF_UINT size)
Definition: hpdf_types.h:205
float HPDF_REAL
Definition: hpdf_types.h:79
_HPDF_ByteType
Definition: hpdf_types.h:591
@ HPDF_BYTE_TYPE_TRAIL
Trailing byte of a double-byte character.
Definition: hpdf_types.h:597
@ HPDF_BYTE_TYPE_UNKNOWN
Invalid encoder or cannot judge the byte type.
Definition: hpdf_types.h:599
@ HPDF_BYTE_TYPE_LEAD
Lead byte of a double-byte character.
Definition: hpdf_types.h:595
@ HPDF_BYTE_TYPE_SINGLE
Single byte character.
Definition: hpdf_types.h:593
_HPDF_InfoType
Definition: hpdf_types.h:157
@ HPDF_INFO_MOD_DATE
Definition: hpdf_types.h:160
@ HPDF_INFO_AUTHOR
Definition: hpdf_types.h:163
@ HPDF_INFO_TITLE
Definition: hpdf_types.h:166
@ HPDF_INFO_KEYWORDS
Definition: hpdf_types.h:168
@ HPDF_INFO_SUBJECT
Definition: hpdf_types.h:167
@ HPDF_INFO_CREATOR
Definition: hpdf_types.h:164
@ HPDF_INFO_CREATION_DATE
Definition: hpdf_types.h:159
@ HPDF_INFO_EOF
Definition: hpdf_types.h:171
@ HPDF_INFO_GTS_PDFX
Definition: hpdf_types.h:170
@ HPDF_INFO_TRAPPED
Definition: hpdf_types.h:169
@ HPDF_INFO_PRODUCER
Definition: hpdf_types.h:165
HPDF_UINT16 HPDF_UNICODE
Definition: hpdf_types.h:100
enum _HPDF_TransitionStyle HPDF_TransitionStyle
signed long long HPDF_INT64
Definition: hpdf_types.h:50
_HPDF_BSSubtype
Definition: hpdf_types.h:513
@ HPDF_BS_SOLID
Solid rectangle.
Definition: hpdf_types.h:515
@ HPDF_BS_DASHED
Dashed rectangle.
Definition: hpdf_types.h:517
@ HPDF_BS_BEVELED
Embossed rectangle.
Definition: hpdf_types.h:519
@ HPDF_BS_INSET
Engraved rectangle.
Definition: hpdf_types.h:521
@ HPDF_BS_UNDERLINED
Single line under the bottom of the annotation.
Definition: hpdf_types.h:523
enum _HPDF_LineAnnotEndingStyle HPDF_LineAnnotEndingStyle
enum _HPDF_ColorSpace HPDF_ColorSpace
enum _HPDF_AnnotHighlightMode HPDF_AnnotHighlightMode
signed int HPDF_INT32
Definition: hpdf_types.h:56
unsigned char HPDF_UINT8
Definition: hpdf_types.h:69
enum _HPDF_StampAnnotName HPDF_StampAnnotName
_HPDF_TextRenderingMode
Definition: hpdf_types.h:326
@ HPDF_CLIPPING
Definition: hpdf_types.h:334
@ HPDF_FILL
Definition: hpdf_types.h:327
@ HPDF_RENDERING_MODE_EOF
Definition: hpdf_types.h:335
@ HPDF_STROKE_CLIPPING
Definition: hpdf_types.h:332
@ HPDF_FILL_STROKE_CLIPPING
Definition: hpdf_types.h:333
@ HPDF_INVISIBLE
Definition: hpdf_types.h:330
@ HPDF_FILL_THEN_STROKE
Definition: hpdf_types.h:329
@ HPDF_STROKE
Definition: hpdf_types.h:328
@ HPDF_FILL_CLIPPING
Definition: hpdf_types.h:331
enum _HPDF_PdfVer HPDF_PDFVer
#define HPDF_STDCALL
Definition: hpdf_types.h:28
_HPDF_BlendMode
Definition: hpdf_types.h:529
@ HPDF_BM_NORMAL
Definition: hpdf_types.h:530
@ HPDF_BM_EOF
Definition: hpdf_types.h:542
@ HPDF_BM_DIFFERENCE
Definition: hpdf_types.h:540
@ HPDF_BM_HARD_LIGHT
Definition: hpdf_types.h:538
@ HPDF_BM_LIGHTEN
Definition: hpdf_types.h:535
@ HPDF_BM_COLOR_DODGE
Definition: hpdf_types.h:536
@ HPDF_BM_SOFT_LIGHT
Definition: hpdf_types.h:539
@ HPDF_BM_DARKEN
Definition: hpdf_types.h:534
@ HPDF_BM_SCREEN
Definition: hpdf_types.h:532
@ HPDF_BM_COLOR_BUM
Definition: hpdf_types.h:537
@ HPDF_BM_MULTIPLY
Definition: hpdf_types.h:531
@ HPDF_BM_OVERLAY
Definition: hpdf_types.h:533
@ HPDF_BM_EXCLUSHON
Definition: hpdf_types.h:541
_HPDF_AnnotIntent
Definition: hpdf_types.h:465
@ HPDF_ANNOT_INTENT_LINEDIMENSION
Definition: hpdf_types.h:469
@ HPDF_ANNOT_INTENT_POLYGONDIMENSION
Definition: hpdf_types.h:472
@ HPDF_ANNOT_INTENT_LINEARROW
Definition: hpdf_types.h:468
@ HPDF_ANNOT_INTENT_POLYGONCLOUD
Definition: hpdf_types.h:470
@ HPDF_ANNOT_INTENT_POLYLINEDIMENSION
Definition: hpdf_types.h:471
@ HPDF_ANNOT_INTENT_FREETEXTCALLOUT
Definition: hpdf_types.h:466
@ HPDF_ANNOT_INTENT_FREETEXTTYPEWRITER
Definition: hpdf_types.h:467
unsigned char HPDF_BYTE
Definition: hpdf_types.h:74
enum _HPDF_PageDirection HPDF_PageDirection
Page orientation.
_HPDF_PageDirection
Page orientation.
Definition: hpdf_types.h:573
@ HPDF_PAGE_PORTRAIT
Portrait orientation (longest size vertical)
Definition: hpdf_types.h:575
@ HPDF_PAGE_LANDSCAPE
Landscape orientation (longest size horizontal)
Definition: hpdf_types.h:577
struct _HPDF_DashMode HPDF_DashMode
struct _HPDF_Point HPDF_Point
_HPDF_AnnotIcon
Definition: hpdf_types.h:446
@ HPDF_ANNOT_ICON_NEW_PARAGRAPH
"NewParagraph"
Definition: hpdf_types.h:456
@ HPDF_ANNOT_ICON_PARAGRAPH
"Paragraph"
Definition: hpdf_types.h:458
@ HPDF_ANNOT_ICON_HELP
"Help"
Definition: hpdf_types.h:454
@ HPDF_ANNOT_ICON_EOF
Last icon type at enumeration.
Definition: hpdf_types.h:462
@ HPDF_ANNOT_ICON_KEY
"Key"
Definition: hpdf_types.h:450
@ HPDF_ANNOT_ICON_COMMENT
"Comment"
Definition: hpdf_types.h:448
@ HPDF_ANNOT_ICON_INSERT
"Insert"
Definition: hpdf_types.h:460
@ HPDF_ANNOT_ICON_NOTE
"Note"
Definition: hpdf_types.h:452
enum _HPDF_ShadingType HPDF_ShadingType
_HPDF_PageMode
Definition: hpdf_types.h:360
@ HPDF_PAGE_MODE_FULL_SCREEN
Definition: hpdf_types.h:364
@ HPDF_PAGE_MODE_EOF
Definition: hpdf_types.h:368
@ HPDF_PAGE_MODE_USE_OUTLINE
Definition: hpdf_types.h:362
@ HPDF_PAGE_MODE_USE_NONE
Definition: hpdf_types.h:361
@ HPDF_PAGE_MODE_USE_THUMBS
Definition: hpdf_types.h:363
enum _HPDF_EncoderType HPDF_EncoderType
unsigned long long HPDF_UINT64
Definition: hpdf_types.h:51
enum _HPDF_AnnotFlgs HPDF_AnnotFlgs
_HPDF_AnnotHighlightMode
Definition: hpdf_types.h:428
@ HPDF_ANNOT_HIGHTLIGHT_MODE_EOF
Last annotation highlight mode at enumeration.
Definition: hpdf_types.h:438
@ HPDF_ANNOT_NO_HIGHTLIGHT
No highlighting.
Definition: hpdf_types.h:430
@ HPDF_ANNOT_INVERT_BORDER
Invert annotation border.
Definition: hpdf_types.h:434
@ HPDF_ANNOT_DOWN_APPEARANCE
Dent annotation.
Definition: hpdf_types.h:436
@ HPDF_ANNOT_INVERT_BOX
Invert annotation area contents.
Definition: hpdf_types.h:432
unsigned long HPDF_STATUS
Definition: hpdf_types.h:94
_HPDF_EncryptMode
Definition: hpdf_types.h:193
@ HPDF_ENCRYPT_R2
Definition: hpdf_types.h:194
@ HPDF_ENCRYPT_R3
Definition: hpdf_types.h:195
_HPDF_AnnotType
Definition: hpdf_types.h:395
@ HPDF_ANNOT_INK
Definition: hpdf_types.h:406
@ HPDF_ANNOT_SOUND
Definition: hpdf_types.h:398
@ HPDF_ANNOT_POPUP
Definition: hpdf_types.h:408
@ HPDF_ANNOT_TEXT_NOTES
Definition: hpdf_types.h:396
@ HPDF_ANNOT_LINK
Definition: hpdf_types.h:397
@ HPDF_ANNOT_UNDERLINE
Definition: hpdf_types.h:405
@ HPDF_ANNOT_SQUARE
Definition: hpdf_types.h:401
@ HPDF_ANNOT_FILE_ATTACHMENT
Definition: hpdf_types.h:407
@ HPDF_ANNOT_SQUIGGLY
Definition: hpdf_types.h:410
@ HPDF_ANNOT_STRIKE_OUT
Definition: hpdf_types.h:403
@ HPDF_ANNOT_LINE
Definition: hpdf_types.h:411
@ HPDF_ANNOT_PROJECTION
Definition: hpdf_types.h:412
@ HPDF_ANNOT_FREE_TEXT
Definition: hpdf_types.h:399
@ HPDF_ANNOT_WIDGET
Definition: hpdf_types.h:413
@ HPDF_ANNOT_STAMP
Definition: hpdf_types.h:400
@ HPDF_ANNOT_CIRCLE
Definition: hpdf_types.h:402
@ HPDF_ANNOT_HIGHTLIGHT
Definition: hpdf_types.h:404
@ HPDF_ANNOT_3D
Definition: hpdf_types.h:409
enum _HPDF_Shading_FreeFormTriangleMeshEdgeFlag HPDF_Shading_FreeFormTriangleMeshEdgeFlag
struct _HPDF_TextWidth HPDF_TextWidth
_HPDF_Shading_FreeFormTriangleMeshEdgeFlag
Definition: hpdf_types.h:634
@ HPDF_FREE_FORM_TRI_MESH_EDGEFLAG_AC
Definition: hpdf_types.h:637
@ HPDF_FREE_FORM_TRI_MESH_EDGEFLAG_NO_CONNECTION
Definition: hpdf_types.h:635
@ HPDF_FREE_FORM_TRI_MESH_EDGEFLAG_BC
Definition: hpdf_types.h:636
enum _HPDF_AnnotIcon HPDF_AnnotIcon
struct _HPDF_Rect HPDF_Rect
double HPDF_DOUBLE
Definition: hpdf_types.h:84
enum _HPDF_AnnotIntent HPDF_AnnotIntent
enum _HPDF_LineAnnotCapPosition HPDF_LineAnnotCapPosition
_HPDF_TransitionStyle
Definition: hpdf_types.h:547
@ HPDF_TS_EOF
Definition: hpdf_types.h:565
@ HPDF_TS_WIPE_LEFT
Definition: hpdf_types.h:550
@ HPDF_TS_BLINDS_HORIZONTAL
Definition: hpdf_types.h:558
@ HPDF_TS_BARN_DOORS_VERTICAL_OUT
Definition: hpdf_types.h:554
@ HPDF_TS_BLINDS_VERTICAL
Definition: hpdf_types.h:559
@ HPDF_TS_GLITTER_RIGHT
Definition: hpdf_types.h:561
@ HPDF_TS_GLITTER_TOP_LEFT_TO_BOTTOM_RIGHT
Definition: hpdf_types.h:563
@ HPDF_TS_BOX_IN
Definition: hpdf_types.h:557
@ HPDF_TS_BARN_DOORS_HORIZONTAL_IN
Definition: hpdf_types.h:553
@ HPDF_TS_BOX_OUT
Definition: hpdf_types.h:556
@ HPDF_TS_GLITTER_DOWN
Definition: hpdf_types.h:562
@ HPDF_TS_DISSOLVE
Definition: hpdf_types.h:560
@ HPDF_TS_WIPE_UP
Definition: hpdf_types.h:549
@ HPDF_TS_REPLACE
Definition: hpdf_types.h:564
@ HPDF_TS_WIPE_DOWN
Definition: hpdf_types.h:551
@ HPDF_TS_WIPE_RIGHT
Definition: hpdf_types.h:548
@ HPDF_TS_BARN_DOORS_HORIZONTAL_OUT
Definition: hpdf_types.h:552
@ HPDF_TS_BARN_DOORS_VERTICAL_IN
Definition: hpdf_types.h:555
enum _HPDF_TextAlignment HPDF_TextAlignment
_HPDF_AnnotFlgs
Definition: hpdf_types.h:417
@ HPDF_ANNOT_NOZOOM
Definition: hpdf_types.h:421
@ HPDF_ANNOT_PRINT
Definition: hpdf_types.h:420
@ HPDF_ANNOT_READONLY
Definition: hpdf_types.h:424
@ HPDF_ANNOT_INVISIBLE
Definition: hpdf_types.h:418
@ HPDF_ANNOT_NOROTATE
Definition: hpdf_types.h:422
@ HPDF_ANNOT_NOVIEW
Definition: hpdf_types.h:423
@ HPDF_ANNOT_HIDDEN
Definition: hpdf_types.h:419
_HPDF_LineAnnotCapPosition
Definition: hpdf_types.h:488
@ HPDF_LINE_ANNOT_CAP_TOP
Definition: hpdf_types.h:490
@ HPDF_LINE_ANNOT_CAP_INLINE
Definition: hpdf_types.h:489
enum _HPDF_BlendMode HPDF_BlendMode
signed short HPDF_INT16
Definition: hpdf_types.h:62
enum _HPDF_PageLayout HPDF_PageLayout
_HPDF_WritingMode
Definition: hpdf_types.h:339
@ HPDF_WMODE_EOF
Last writing mode in enumeration.
Definition: hpdf_types.h:345
@ HPDF_WMODE_VERTICAL
Vertical writing mode.
Definition: hpdf_types.h:343
@ HPDF_WMODE_HORIZONTAL
Horizontal writing mode.
Definition: hpdf_types.h:341
struct _HPDF_RGBColor HPDF_RGBColor
_HPDF_ShadingType
Definition: hpdf_types.h:630
@ HPDF_SHADING_FREE_FORM_TRIANGLE_MESH
Definition: hpdf_types.h:631
_HPDF_PageNumStyle
Definition: hpdf_types.h:372
@ HPDF_PAGE_NUM_STYLE_UPPER_LETTERS
Definition: hpdf_types.h:376
@ HPDF_PAGE_NUM_STYLE_DECIMAL
Definition: hpdf_types.h:373
@ HPDF_PAGE_NUM_STYLE_LOWER_ROMAN
Definition: hpdf_types.h:375
@ HPDF_PAGE_NUM_STYLE_UPPER_ROMAN
Definition: hpdf_types.h:374
@ HPDF_PAGE_NUM_STYLE_LOWER_LETTERS
Definition: hpdf_types.h:377
@ HPDF_PAGE_NUM_STYLE_EOF
Definition: hpdf_types.h:378
_HPDF_PdfVer
Definition: hpdf_types.h:183
@ HPDF_VER_14
Definition: hpdf_types.h:186
@ HPDF_VER_16
Definition: hpdf_types.h:188
@ HPDF_VER_15
Definition: hpdf_types.h:187
@ HPDF_VER_17
Definition: hpdf_types.h:189
@ HPDF_VER_13
Definition: hpdf_types.h:185
@ HPDF_VER_12
Definition: hpdf_types.h:184
@ HPDF_VER_EOF
Definition: hpdf_types.h:190
struct _HPDF_Date HPDF_Date
Date structure.
_HPDF_PageLayout
Definition: hpdf_types.h:349
@ HPDF_PAGE_LAYOUT_TWO_PAGE_RIGHT
Definition: hpdf_types.h:355
@ HPDF_PAGE_LAYOUT_EOF
Definition: hpdf_types.h:356
@ HPDF_PAGE_LAYOUT_ONE_COLUMN
Definition: hpdf_types.h:351
@ HPDF_PAGE_LAYOUT_SINGLE
Definition: hpdf_types.h:350
@ HPDF_PAGE_LAYOUT_TWO_COLUMN_RIGHT
Definition: hpdf_types.h:353
@ HPDF_PAGE_LAYOUT_TWO_PAGE_LEFT
Definition: hpdf_types.h:354
@ HPDF_PAGE_LAYOUT_TWO_COLUMN_LEFT
Definition: hpdf_types.h:352
enum _HPDF_WritingMode HPDF_WritingMode
Definition: hpdf_types.h:252
HPDF_REAL i
Definition: hpdf_types.h:261
HPDF_REAL e
Definition: hpdf_types.h:257
HPDF_REAL h
Definition: hpdf_types.h:260
HPDF_REAL tx
Definition: hpdf_types.h:262
HPDF_REAL d
Definition: hpdf_types.h:256
HPDF_REAL g
Definition: hpdf_types.h:259
HPDF_REAL tz
Definition: hpdf_types.h:264
HPDF_REAL f
Definition: hpdf_types.h:258
HPDF_REAL c
Definition: hpdf_types.h:255
HPDF_REAL a
Definition: hpdf_types.h:253
HPDF_REAL b
Definition: hpdf_types.h:254
HPDF_REAL ty
Definition: hpdf_types.h:263
Definition: hpdf_types.h:296
HPDF_REAL y
Definition: hpdf_types.h:299
HPDF_REAL k
Definition: hpdf_types.h:300
HPDF_REAL m
Definition: hpdf_types.h:298
HPDF_REAL c
Definition: hpdf_types.h:297
Definition: hpdf_types.h:230
HPDF_UINT num_ptn
Definition: hpdf_types.h:232
HPDF_REAL ptn[8]
Definition: hpdf_types.h:231
HPDF_REAL phase
Definition: hpdf_types.h:233
Date structure.
Definition: hpdf_types.h:135
HPDF_INT off_hour
If ind is not ' ' (space), value from range 0 to 23 is accepted, otherwise ignored.
Definition: hpdf_types.h:151
char ind
Relationship between local time and Universal time (' ', '+', '−', or 'Z')
Definition: hpdf_types.h:149
HPDF_INT month
Month of the date. Value from range 1 to 12 is accepted.
Definition: hpdf_types.h:139
HPDF_INT off_minutes
If ind is not ' ' (space), value from range 0 to 59 is accepted, otherwise ignored.
Definition: hpdf_types.h:153
HPDF_INT year
Year of the date. Does not imply restrictions.
Definition: hpdf_types.h:137
HPDF_INT hour
Hour of date. Value from range 0 to 23 is accepted.
Definition: hpdf_types.h:143
HPDF_INT seconds
Seconds of date. Value from range 0 to 59 is accepted.
Definition: hpdf_types.h:147
HPDF_INT day
Day of the date. Values from range 1 to 28, 29, 30, or 31 is accepted (depends on the month)
Definition: hpdf_types.h:141
HPDF_INT minutes
Minutes of date. Value from range 0 to 59 is accepted.
Definition: hpdf_types.h:145
Definition: hpdf_types.h:119
HPDF_REAL x
Definition: hpdf_types.h:120
HPDF_REAL y
Definition: hpdf_types.h:121
HPDF_REAL z
Definition: hpdf_types.h:122
Definition: hpdf_types.h:105
HPDF_REAL y
Definition: hpdf_types.h:107
HPDF_REAL x
Definition: hpdf_types.h:106
Definition: hpdf_types.h:287
HPDF_REAL r
Definition: hpdf_types.h:288
HPDF_REAL b
Definition: hpdf_types.h:290
HPDF_REAL g
Definition: hpdf_types.h:289
Definition: hpdf_types.h:110
HPDF_REAL top
Definition: hpdf_types.h:114
HPDF_REAL right
Definition: hpdf_types.h:113
HPDF_REAL bottom
Definition: hpdf_types.h:112
HPDF_REAL left
Definition: hpdf_types.h:111
Definition: hpdf_types.h:215
HPDF_UINT numchars
Definition: hpdf_types.h:216
HPDF_UINT width
Definition: hpdf_types.h:222
HPDF_UINT numwords
Definition: hpdf_types.h:220
HPDF_UINT numspace
Definition: hpdf_types.h:223
Definition: hpdf_types.h:240
HPDF_REAL b
Definition: hpdf_types.h:242
HPDF_REAL y
Definition: hpdf_types.h:246
HPDF_REAL a
Definition: hpdf_types.h:241
HPDF_REAL d
Definition: hpdf_types.h:244
HPDF_REAL c
Definition: hpdf_types.h:243
HPDF_REAL x
Definition: hpdf_types.h:245