hpdf 2.0.8-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. data/History +57 -0
  2. data/License +25 -0
  3. data/README +136 -0
  4. data/docs/annotation_handling.html +503 -0
  5. data/docs/api.css +115 -0
  6. data/docs/api_reference.html +112 -0
  7. data/docs/bindings.html +242 -0
  8. data/docs/compile_your_program.html +365 -0
  9. data/docs/default.css +115 -0
  10. data/docs/destination_handling.html +620 -0
  11. data/docs/document_handling.html +4751 -0
  12. data/docs/documentation.html +110 -0
  13. data/docs/encoder_handling.html +428 -0
  14. data/docs/error_handling.html +1609 -0
  15. data/docs/examples.html +702 -0
  16. data/docs/ext_gstate.html +407 -0
  17. data/docs/font_handling.html +669 -0
  18. data/docs/fonts.html +978 -0
  19. data/docs/graphics.html +1210 -0
  20. data/docs/handles.html +204 -0
  21. data/docs/how_to_use.html +371 -0
  22. data/docs/image/Thumbs.db +0 -0
  23. data/docs/image/character_map.png +0 -0
  24. data/docs/image/encoding_list.png +0 -0
  25. data/docs/image/extgtate.png +0 -0
  26. data/docs/image/figure1.png +0 -0
  27. data/docs/image/figure10.png +0 -0
  28. data/docs/image/figure11.png +0 -0
  29. data/docs/image/figure12.png +0 -0
  30. data/docs/image/figure13.png +0 -0
  31. data/docs/image/figure14.png +0 -0
  32. data/docs/image/figure15.png +0 -0
  33. data/docs/image/figure16.png +0 -0
  34. data/docs/image/figure17.png +0 -0
  35. data/docs/image/figure18.png +0 -0
  36. data/docs/image/figure19.png +0 -0
  37. data/docs/image/figure2.png +0 -0
  38. data/docs/image/figure20.png +0 -0
  39. data/docs/image/figure21.png +0 -0
  40. data/docs/image/figure22.png +0 -0
  41. data/docs/image/figure23.png +0 -0
  42. data/docs/image/figure24.png +0 -0
  43. data/docs/image/figure25.png +0 -0
  44. data/docs/image/figure26.png +0 -0
  45. data/docs/image/figure27.png +0 -0
  46. data/docs/image/figure28.png +0 -0
  47. data/docs/image/figure3.png +0 -0
  48. data/docs/image/figure4.png +0 -0
  49. data/docs/image/figure5.png +0 -0
  50. data/docs/image/figure6.png +0 -0
  51. data/docs/image/figure7.png +0 -0
  52. data/docs/image/figure8.png +0 -0
  53. data/docs/image/figure9.png +0 -0
  54. data/docs/image/font_demo.png +0 -0
  55. data/docs/image/harulogo.png +0 -0
  56. data/docs/image/image_demo.png +0 -0
  57. data/docs/image/jpfont_demo.png +0 -0
  58. data/docs/image/line_demo.png +0 -0
  59. data/docs/image/png_demo.png +0 -0
  60. data/docs/image/text_annot.png +0 -0
  61. data/docs/image/text_demo.png +0 -0
  62. data/docs/image/text_demo2.png +0 -0
  63. data/docs/image/tt_font.png +0 -0
  64. data/docs/image_handling.html +505 -0
  65. data/docs/index.html +305 -0
  66. data/docs/install.html +243 -0
  67. data/docs/outline_handling.html +229 -0
  68. data/docs/page_handling.html +2647 -0
  69. data/docs/page_operator.html +2640 -0
  70. data/docs/useful_links.html +203 -0
  71. data/examples/arc_demo.rb +82 -0
  72. data/examples/demo.rb +91 -0
  73. data/examples/encryption.rb +41 -0
  74. data/examples/ext_gstater_demo.rb +171 -0
  75. data/examples/font_demo.rb +67 -0
  76. data/examples/jpfont_demo.rb +122 -0
  77. data/examples/line_demo.rb +301 -0
  78. data/examples/slide_show_demo.rb +139 -0
  79. data/examples/text_demo2.rb +189 -0
  80. data/examples/ttfont_demo.rb +106 -0
  81. data/lib/hpdf.so +0 -0
  82. data/tests/arc_demo.rb +82 -0
  83. data/tests/demo.rb +91 -0
  84. data/tests/encryption.rb +41 -0
  85. data/tests/ext_gstater_demo.rb +171 -0
  86. data/tests/font_demo.rb +67 -0
  87. data/tests/line_demo.rb +301 -0
  88. data/tests/slide_show_demo.rb +139 -0
  89. data/tests/test_all_examples.rb +31 -0
  90. data/tests/text_demo2.rb +189 -0
  91. metadata +137 -0
@@ -0,0 +1,229 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
2
+ <html lang="en">
3
+ <head>
4
+ <title>Haru Free PDF Library</title>
5
+ <meta http-equiv="Content-Type"
6
+ content="text/html; charset=iso-8859-1">
7
+ <link href="api.css" type="text/css" rel="stylesheet">
8
+ </head>
9
+ <body>
10
+ <div id="headcontainer">
11
+ <div class="head"><img alt="Haru Free PDF Library"
12
+ src="image/harulogo.png" style="width: 413px; height: 40px;"></div>
13
+ </div>
14
+ <div id="barcontainer">
15
+ <div class="buildbar"><a href="index.html">home</a> | <a
16
+ href="http://sourceforge.net/project/showfiles.php?group_id=83044">download</a>
17
+ |
18
+ <a href="documentation.html">documentation</a> | <a
19
+ href="examples.html">examples </a>| <a
20
+ href="http://sourceforge.net/projects/libharu/">sourceforge</a> |
21
+ <a href="http://sourceforge.net/forum/?group_id=83044">forums</a><br>
22
+ </div>
23
+ </div>
24
+ <div id="container">
25
+ <div id="mainpage">
26
+ <div id="ccol">
27
+ <h2>Outline Functions<br>
28
+ </h2>
29
+ <h3><a name="HPDF_Outline_SetOpened_"></a>HPDF_Outline_SetOpened<br>
30
+ </h3>
31
+ <div class="bodytext1">
32
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
33
+ "apdf.h"<br>
34
+ <br>
35
+ HPDF_STATUS<br>
36
+ HPDF_Outline_SetOpened&nbsp; (HPDF_Outline&nbsp; outline,<br>
37
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
38
+ HPDF_BOOL&nbsp;&nbsp;&nbsp;&nbsp; opened);<br>
39
+ <br>
40
+ </div>
41
+ <h4>Description<br>
42
+ </h4>
43
+ HPDF_Outline_SetOpened() sets whether this node is opened or not when
44
+ the outline is displayed for the first time.<br>
45
+ <br>
46
+ <h4>Parameter</h4>
47
+ <span style="font-weight: bold;">outline</span>
48
+ <div class="bodytext5">The handle of an outline object.<br>
49
+ </div>
50
+ <br>
51
+ <span style="font-weight: bold;">opened</span>
52
+ <div class="bodytext5">Specify whether the node is opened or not.<br>
53
+ </div>
54
+ <br>
55
+ <h4>Returns</h4>
56
+ When HPDF_Outline_SetOpened() succeed, it returns HPDF_OK.
57
+ Otherwise it returns error code and an error-handler will be invoked.<br>
58
+ <br>
59
+ <h4>Error</h4>
60
+ <span style="font-weight: bold;">HPDF_INVALID_OUTLINE</span>
61
+ <div class="bodytext5">An invalid outline handle was set.<br>
62
+ </div>
63
+ <span style="font-weight: bold;"></span>
64
+ <div class="bodytext5"><br>
65
+ </div>
66
+ <span style="font-weight: bold;">HPDF_FAILD_TO_ALLOC_MEM</span><br>
67
+ <div class="bodytext5">Memory Allocation Failed.<br>
68
+ <br>
69
+ <br>
70
+ </div>
71
+ </div>
72
+ <h3><a name="HPDF_Outline_SetDestination_"></a>HPDF_Outline_SetDestination<br>
73
+ </h3>
74
+ <div class="bodytext1">
75
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
76
+ "apdf.h"<br>
77
+ <br>
78
+ HPDF_STATUS<br>
79
+ HPDF_Outline_SetDestination (HPDF_Outline&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
80
+ outline,<br>
81
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
82
+ HPDF_Destination&nbsp; dst);<br>
83
+ <br>
84
+ </div>
85
+ <h4>Description<br>
86
+ </h4>
87
+ HPDF_Outline_SetDestination sets a destination object which becomes to
88
+ a
89
+ target to jump when the outline is clicked.<br>
90
+ <br>
91
+ <h4>Parameter</h4>
92
+ <span style="font-weight: bold;">outline</span>
93
+ <div class="bodytext5">Specify the handle of an outline object.<br>
94
+ </div>
95
+ <br>
96
+ <span style="font-weight: bold;">dst</span>
97
+ <div class="bodytext5">Specify the handle of an destination object.<br>
98
+ </div>
99
+ <br>
100
+ <h4>Returns</h4>
101
+ When HPDF_Outline_SetDestination () succeed, it returns HPDF_OK.
102
+ Otherwise it returns error code and an error-handler will be invoked.<br>
103
+ <br>
104
+ <h4>Error</h4>
105
+ <span style="font-weight: bold;">HPDF_INVALID_</span><span
106
+ style="font-weight: bold;">OUTLINE</span>
107
+ <div class="bodytext5">An invalid outline handle was set.<br>
108
+ <br>
109
+ </div>
110
+ <span style="font-weight: bold;">HPDF_INVALID_DESTINATION</span><br>
111
+ <div class="bodytext5">An invalid destination handle was set.<br>
112
+ <br>
113
+ </div>
114
+ <span style="font-weight: bold;">HPDF_FAILD_TO_ALLOC_MEM</span><br>
115
+ <div class="bodytext5">Memory Allocation Failed.<br>
116
+ <br>
117
+ </div>
118
+ </div>
119
+ <br>
120
+ <br>
121
+ <br>
122
+ <br>
123
+ <br>
124
+ <br>
125
+ <br>
126
+ <br>
127
+ <br>
128
+ <br>
129
+ <br>
130
+ <br>
131
+ <br>
132
+ <br>
133
+ <br>
134
+ <br>
135
+ <br>
136
+ <br>
137
+ </div>
138
+ </div>
139
+ <div id="lcol">
140
+ <div class="sidebar">
141
+ <ul>
142
+ </ul>
143
+ <ul>
144
+ <li><a href="#HPDF_Outline_SetOpened_">HPDF_Outline_SetOpened</a></li>
145
+ <li><a href="#HPDF_Outline_SetDestination_">HPDF_Outline_SetDestination</a></li>
146
+ </ul>
147
+ <br>
148
+ <br>
149
+ <br>
150
+ <br>
151
+ <br>
152
+ <br>
153
+ <br>
154
+ <br>
155
+ <br>
156
+ <br>
157
+ <br>
158
+ <br>
159
+ <br>
160
+ <br>
161
+ <br>
162
+ <br>
163
+ <br>
164
+ <br>
165
+ <br>
166
+ <br>
167
+ <br>
168
+ <br>
169
+ <br>
170
+ <br>
171
+ <br>
172
+ <br>
173
+ <br>
174
+ <br>
175
+ <br>
176
+ <br>
177
+ <br>
178
+ <br>
179
+ <br>
180
+ <br>
181
+ <br>
182
+ <br>
183
+ <br>
184
+ <br>
185
+ <br>
186
+ <br>
187
+ <br>
188
+ <br>
189
+ <br>
190
+ <br>
191
+ <br>
192
+ <br>
193
+ <br>
194
+ <br>
195
+ <br>
196
+ <br>
197
+ <br>
198
+ <br>
199
+ <br>
200
+ <br>
201
+ <br>
202
+ <br>
203
+ <br>
204
+ <br>
205
+ <br>
206
+ <br>
207
+ <br>
208
+ <br>
209
+ <br>
210
+ <br>
211
+ <br>
212
+ </div>
213
+ </div>
214
+ <br>
215
+ <br>
216
+ <br>
217
+ <br>
218
+ <br>
219
+ <br>
220
+ <br>
221
+ <br>
222
+ <br>
223
+ <br>
224
+ <br>
225
+ <br>
226
+ <br>
227
+ </div>
228
+ </body>
229
+ </html>
@@ -0,0 +1,2647 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
2
+ <html lang="en">
3
+ <head>
4
+ <title>Haru Free PDF Library</title>
5
+ <meta http-equiv="Content-Type"
6
+ content="text/html; charset=iso-8859-1">
7
+ <link href="api.css" type="text/css" rel="stylesheet">
8
+ </head>
9
+ <body>
10
+ <div id="headcontainer">
11
+ <div class="head"><img alt="Haru Free PDF Library"
12
+ src="image/harulogo.png" style="width: 413px; height: 40px;"></div>
13
+ </div>
14
+ <div id="barcontainer">
15
+ <div class="buildbar"><a href="index.html">home</a> | <a
16
+ href="http://sourceforge.net/project/showfiles.php?group_id=83044">download</a>
17
+ |
18
+ <a href="documentation.html">documentation</a> | <a
19
+ href="examples.html">examples </a>| <a
20
+ href="http://sourceforge.net/projects/libharu/">sourceforge</a> |
21
+ <a href="http://sourceforge.net/forum/?group_id=83044">forums</a><br>
22
+ </div>
23
+ </div>
24
+ <div id="container">
25
+ <div id="mainpage">
26
+ <div id="ccol">
27
+ <h2>Page Handling Functions<br>
28
+ </h2>
29
+ <h3><a name="HPDF_Page_SetWidth_"></a>HPDF_Page_SetWidth<br>
30
+ </h3>
31
+ <div class="bodytext1">
32
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
33
+ "apdf.h"<br>
34
+ <br>
35
+ HPDF_STATUS<br>
36
+ HPDF_Page_SetWidth&nbsp; (HPDF_Page&nbsp;&nbsp; page,<br>
37
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
38
+ HPDF_REAL&nbsp;&nbsp; value);<br>
39
+ <br>
40
+ </div>
41
+ <h4>Description<br>
42
+ </h4>
43
+ HPDF_Page_SetWidth() changes the width of a page. <br>
44
+ <br>
45
+ <h4>Parameter</h4>
46
+ <span style="font-weight: bold;">page</span>
47
+ <div class="bodytext5">Specify the handle of a page object.<br>
48
+ </div>
49
+ <br>
50
+ <span style="font-weight: bold;">value</span>
51
+ <div class="bodytext5">Specify the new width of a page. The valid value
52
+ is between 3 and 14400.<br>
53
+ </div>
54
+ <br>
55
+ <h4>Returns</h4>
56
+ HPDF_Page_SetWidth() returns a handle of document object. If it
57
+ failed, it returns NULL.<br>
58
+ <br>
59
+ <h4>Error</h4>
60
+ <span style="font-weight: bold;">HPDF_INVALID_PAGE</span>
61
+ <div class="bodytext5">An invalid page handle was set.<br>
62
+ <br>
63
+ </div>
64
+ <span style="font-weight: bold;">HPDF_PAGE_INVALID_SIZE</span> <br>
65
+ <div class="bodytext5">An invalid size was set.<br>
66
+ <br>
67
+ </div>
68
+ <span style="font-weight: bold;">HPDF_FAILD_TO_ALLOC_MEM</span><br>
69
+ <div class="bodytext5">Memory Allocation Failed.<br>
70
+ <br>
71
+ </div>
72
+ </div>
73
+ <h3><a name="HPDF_Page_SetHeight_"></a>HPDF_Page_SetHeight<br>
74
+ </h3>
75
+ <div class="bodytext1">
76
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
77
+ "apdf.h"<br>
78
+ <br>
79
+ HPDF_STATUS<br>
80
+ HPDF_Page_SetHeight&nbsp; (HPDF_Page&nbsp;&nbsp; page,<br>
81
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
82
+ &nbsp; HPDF_REAL&nbsp;&nbsp; value);<br>
83
+ <br>
84
+ </div>
85
+ <h4>Description<br>
86
+ </h4>
87
+ HPDF_Page_SetHeight() changes the height of a page. <br>
88
+ <br>
89
+ <h4>Parameter</h4>
90
+ <span style="font-weight: bold;">page</span>
91
+ <div class="bodytext5">Specify the handle of a page object.<br>
92
+ </div>
93
+ <br>
94
+ <span style="font-weight: bold;">value</span>
95
+ <div class="bodytext5">Specify the new height of a page. The valid
96
+ value is between 3 and 14400.<br>
97
+ </div>
98
+ <br>
99
+ <h4>Returns</h4>
100
+ HPDF_Page_SetHeight() returns a handle of document object. If it
101
+ failed, it returns NULL.<br>
102
+ <br>
103
+ <h4>Error</h4>
104
+ <span style="font-weight: bold;">HPDF_INVALID_PAGE</span>
105
+ <div class="bodytext5">An invalid page handle was set.<br>
106
+ <br>
107
+ </div>
108
+ <span style="font-weight: bold;">HPDF_PAGE_INVALID_SIZE</span> <br>
109
+ <div class="bodytext5">An invalid size was set.<br>
110
+ <br>
111
+ </div>
112
+ <span style="font-weight: bold;">HPDF_FAILD_TO_ALLOC_MEM</span><br>
113
+ <div class="bodytext5">Memory Allocation Failed.<br>
114
+ <br>
115
+ </div>
116
+ </div>
117
+ <br>
118
+ <h3><a name="HPDF_Page_SetSize_"></a>HPDF_Page_SetSize<br>
119
+ </h3>
120
+ <div class="bodytext1">
121
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
122
+ "apdf.h"<br>
123
+ <br>
124
+ HPDF_STATUS<br>
125
+ HPDF_Page_SetSize&nbsp;
126
+ (HPDF_Page&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
127
+ page,<br>
128
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
129
+ HPDF_PageSizes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; size,<br>
130
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
131
+ HPDF_PageDirection&nbsp;&nbsp; direction);<br>
132
+ <br>
133
+ </div>
134
+ <h4>Description<br>
135
+ </h4>
136
+ HPDF_Page_SetSize() changes the size and direction of a page to a
137
+ predefined size.<br>
138
+ <br>
139
+ <h4>Parameter</h4>
140
+ <span style="font-weight: bold;">page</span>
141
+ <div class="bodytext5">Specify the handle of a page object.<br>
142
+ </div>
143
+ <br>
144
+ <span style="font-weight: bold;">size</span><br>
145
+ <div class="bodytext5">Specify a predefined page-size value. The
146
+ following values are available.<br>
147
+ <table style="width: 100%; text-align: left;" border="1" cellpadding="1"
148
+ cellspacing="1">
149
+ <tbody>
150
+ <tr>
151
+ <td
152
+ style="vertical-align: top; background-color: rgb(204, 204, 204); width: 22px;"><br>
153
+ </td>
154
+ <td
155
+ style="vertical-align: top; background-color: rgb(204, 204, 204);">Value<br>
156
+ </td>
157
+ <td
158
+ style="vertical-align: top; background-color: rgb(204, 204, 204);">Sizes<br>
159
+ </td>
160
+ <td
161
+ style="background-color: rgb(204, 204, 204); vertical-align: top;">Sizes
162
+ (in pixel)<br>
163
+ </td>
164
+ </tr>
165
+ <tr>
166
+ <td style="vertical-align: top; text-align: right; width: 22px;">1<br>
167
+ </td>
168
+ <td style="vertical-align: top;">HPDF_PAGE_SIZE_LETTER<br>
169
+ </td>
170
+ <td style="vertical-align: top;">8&frac12; x 11 (Inches)</td>
171
+ <td style="vertical-align: top;">612 x 792<br>
172
+ </td>
173
+ </tr>
174
+ <tr>
175
+ <td style="vertical-align: top; text-align: right; width: 22px;">2<br>
176
+ </td>
177
+ <td style="vertical-align: top;">HPDF_PAGE_SIZE_LEGAL<br>
178
+ </td>
179
+ <td style="vertical-align: top;">8&frac12; x 14 (Inches)</td>
180
+ <td style="vertical-align: top;">612 x 1008<br>
181
+ </td>
182
+ </tr>
183
+ <tr>
184
+ <td style="vertical-align: top; text-align: right; width: 22px;">3<br>
185
+ </td>
186
+ <td style="vertical-align: top;">HPDF_PAGE_SIZE_A3<br>
187
+ </td>
188
+ <td style="vertical-align: top;">297 &times; 420 (mm)<br>
189
+ </td>
190
+ <td style="vertical-align: top;">841.89 x 1199.551<br>
191
+ </td>
192
+ </tr>
193
+ <tr>
194
+ <td style="vertical-align: top; text-align: right; width: 22px;">4<br>
195
+ </td>
196
+ <td style="vertical-align: top;">HPDF_PAGE_SIZE_A4<br>
197
+ </td>
198
+ <td style="vertical-align: top;">210 &times; 297 (mm)<br>
199
+ </td>
200
+ <td style="vertical-align: top;">595.276 x 841.89<br>
201
+ </td>
202
+ </tr>
203
+ <tr>
204
+ <td style="vertical-align: top; text-align: right; width: 22px;">5<br>
205
+ </td>
206
+ <td style="vertical-align: top;">HPDF_PAGE_SIZE_A5<br>
207
+ </td>
208
+ <td style="vertical-align: top;">148 &times; 210 (mm)</td>
209
+ <td style="vertical-align: top;">419.528 x 595.276<br>
210
+ </td>
211
+ </tr>
212
+ <tr>
213
+ <td style="vertical-align: top; text-align: right; width: 22px;">6<br>
214
+ </td>
215
+ <td style="vertical-align: top;">HPDF_PAGE_SIZE_B4<br>
216
+ </td>
217
+ <td style="vertical-align: top;">250 &times; 353 (mm) </td>
218
+ <td style="vertical-align: top;">708.661 x 1000.63<br>
219
+ </td>
220
+ </tr>
221
+ <tr>
222
+ <td style="vertical-align: top; text-align: right; width: 22px;">7<br>
223
+ </td>
224
+ <td style="vertical-align: top;">HPDF_PAGE_SIZE_B5<br>
225
+ </td>
226
+ <td style="vertical-align: top;">176 &times; 250 (mm)</td>
227
+ <td style="vertical-align: top;">498.898 x 708.661<br>
228
+ </td>
229
+ </tr>
230
+ <tr>
231
+ <td style="vertical-align: top; text-align: right; width: 22px;">8<br>
232
+ </td>
233
+ <td style="vertical-align: top;">HPDF_PAGE_SIZE_EXECUTIVE<br>
234
+ </td>
235
+ <td style="vertical-align: top;">7&frac12; x 10&frac12; (Inches)<br>
236
+ </td>
237
+ <td style="vertical-align: top;">522 x 756<br>
238
+ </td>
239
+ </tr>
240
+ <tr>
241
+ <td style="vertical-align: top; text-align: right; width: 22px;">9<br>
242
+ </td>
243
+ <td style="vertical-align: top;">HPDF_PAGE_SIZE_US4x6<br>
244
+ </td>
245
+ <td style="vertical-align: top;">4 x 6 (Inches)<br>
246
+ </td>
247
+ <td style="vertical-align: top;">288 x 432<br>
248
+ </td>
249
+ </tr>
250
+ <tr>
251
+ <td style="vertical-align: top; text-align: right;">10<br>
252
+ </td>
253
+ <td style="vertical-align: top;">HPDF_PAGE_SIZE_US4x8<br>
254
+ </td>
255
+ <td style="vertical-align: top;">4 x 8 (Inches)<br>
256
+ </td>
257
+ <td style="vertical-align: top;">288 x 576<br>
258
+ </td>
259
+ </tr>
260
+ <tr>
261
+ <td style="vertical-align: top; text-align: right;">11<br>
262
+ </td>
263
+ <td style="vertical-align: top;">HPDF_PAGE_SIZE_US5x7<br>
264
+ </td>
265
+ <td style="vertical-align: top;">5 x 7 (Inches)<br>
266
+ </td>
267
+ <td style="vertical-align: top;">360 x 504<br>
268
+ </td>
269
+ </tr>
270
+ <tr>
271
+ <td style="vertical-align: top; text-align: right;">12<br>
272
+ </td>
273
+ <td style="vertical-align: top;">HPDF_PAGE_SIZE_COMM10<br>
274
+ </td>
275
+ <td style="vertical-align: top;">4.125 x 9.5 (Inches)</td>
276
+ <td style="vertical-align: top;">297x 684<br>
277
+ </td>
278
+ </tr>
279
+ </tbody>
280
+ </table>
281
+ </div>
282
+ <br>
283
+ <span style="font-weight: bold;">direction</span><br>
284
+ <div class="bodytext5">Specify the direction of the page.<br>
285
+ <table style="width: 100%; text-align: left;" border="1" cellpadding="1"
286
+ cellspacing="1">
287
+ <tbody>
288
+ <tr>
289
+ <td
290
+ style="vertical-align: top; background-color: rgb(204, 204, 204); width: 22px; text-align: right;"><br>
291
+ </td>
292
+ <td
293
+ style="vertical-align: top; background-color: rgb(204, 204, 204);">Value<br>
294
+ </td>
295
+ <td
296
+ style="vertical-align: top; background-color: rgb(204, 204, 204);">Description<br>
297
+ </td>
298
+ </tr>
299
+ <tr>
300
+ <td style="vertical-align: top; width: 22px; text-align: right;">1<br>
301
+ </td>
302
+ <td style="vertical-align: top;">HPDF_PAGE_PORTRAIT<br>
303
+ </td>
304
+ <td style="vertical-align: top;">Set the longer value to
305
+ horizontal. </td>
306
+ </tr>
307
+ <tr>
308
+ <td style="vertical-align: top; width: 22px; text-align: right;">2<br>
309
+ </td>
310
+ <td style="vertical-align: top;">HPDF_PAGE_LANDSCAPE<br>
311
+ </td>
312
+ <td style="vertical-align: top;">Set the longer value to vertical.</td>
313
+ </tr>
314
+ </tbody>
315
+ </table>
316
+ <br>
317
+ </div>
318
+ <h4>Returns</h4>
319
+ When
320
+ HPDF_Page_SetHeight() succeeds, it returns HPDF_OK.
321
+ Otherwise,
322
+ it returns error-code and error-handler is called.<br>
323
+ <br>
324
+ <h4>Error</h4>
325
+ <span style="font-weight: bold;">HPDF_INVALID_PAGE</span>
326
+ <div class="bodytext5">An invalid page handle was set.<br>
327
+ <br>
328
+ </div>
329
+ <span style="font-weight: bold;">HPDF_PAGE_INVALID_SIZE</span> <br>
330
+ <div class="bodytext5">An invalid size was set.<br>
331
+ <br>
332
+ </div>
333
+ <span style="font-weight: bold;">HPDF_PAGE_INVALID_DIRECTION<br>
334
+ </span>
335
+ <div class="bodytext5">An invalid direction was set.<br>
336
+ <br>
337
+ </div>
338
+ <span style="font-weight: bold;">HPDF_FAILD_TO_ALLOC_MEM</span><br>
339
+ <div class="bodytext5">Memory Allocation Failed.<br>
340
+ </div>
341
+ </div>
342
+ <br>
343
+ <h3><a name="HPDF_Page_SetRotate_"></a>HPDF_Page_SetRotate<br>
344
+ </h3>
345
+ <div class="bodytext1">
346
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
347
+ "apdf.h"<br>
348
+ <br>
349
+ HPDF_Page_SetRotate&nbsp; (HPDF_Page&nbsp;&nbsp;&nbsp;&nbsp; page,<br>
350
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
351
+ HPDF_UINT16&nbsp;&nbsp; angle);<br>
352
+ <br>
353
+ </div>
354
+ <h4>Description<br>
355
+ </h4>
356
+ HPDF_Page_SetRotate() sets rotation angle of the page. <br>
357
+ <br>
358
+ <h4>Parameter</h4>
359
+ <span style="font-weight: bold;">page</span>
360
+ <div class="bodytext5">Specify the handle of a page object.<br>
361
+ </div>
362
+ <br>
363
+ <span style="font-weight: bold;">angle</span>
364
+ <div class="bodytext5">Specify the rotation angle of the page. It must
365
+ be a multiple of 90 Degrees.<br>
366
+ </div>
367
+ <br>
368
+ <h4>Returns</h4>
369
+ HPDF_Page_SetRotate() returns a handle of document object. If it
370
+ failed, it returns NULL.<br>
371
+ <br>
372
+ <h4>Error</h4>
373
+ <span style="font-weight: bold;">HPDF_INVALID_PAGE</span>
374
+ <div class="bodytext5">An invalid page handle was set.<br>
375
+ <br>
376
+ </div>
377
+ <span style="font-weight: bold;">PDF_PAGE_INVALID_ROTATE_VALUE</span><br>
378
+ <div class="bodytext5">An invalid rotation angle was set.<br>
379
+ </div>
380
+ <br>
381
+ </div>
382
+ <h3><a name="HPDF_Page_GetWidth_"></a>HPDF_Page_GetWidth<br>
383
+ </h3>
384
+ <div class="bodytext1">
385
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
386
+ "apdf.h"<br>
387
+ <br>
388
+ HPDF_REAL<br>
389
+ HPDF_Page_GetWidth&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
390
+ <br>
391
+ </div>
392
+ <h4>Description<br>
393
+ </h4>
394
+ HPDF_Page_GetWidth() gets the height of a page. <br>
395
+ <br>
396
+ <h4>Parameter</h4>
397
+ <span style="font-weight: bold;">page</span>
398
+ <div class="bodytext5">Specify the handle of a page object.<br>
399
+ </div>
400
+ <br>
401
+ <h4>Returns</h4>
402
+ When HPDF_Page_GetWidth() succeed, it returns the height of a page.
403
+ Otherwise it returns 0.<br>
404
+ <br>
405
+ </div>
406
+ <br>
407
+ <h3><a name="HPDF_Page_GetHeight_"></a>HPDF_Page_GetHeight<br>
408
+ </h3>
409
+ <div class="bodytext1">
410
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
411
+ "apdf.h"<br>
412
+ <br>
413
+ HPDF_REAL<br>
414
+ HPDF_Page_GetHeight&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
415
+ <br>
416
+ </div>
417
+ <h4>Description<br>
418
+ </h4>
419
+ HPDF_Page_GetHeight() gets the height of a page. <br>
420
+ <br>
421
+ <h4>Parameter</h4>
422
+ <span style="font-weight: bold;">page</span>
423
+ <div class="bodytext5">Specify the handle of a page object.<br>
424
+ </div>
425
+ <br>
426
+ <h4>Returns</h4>
427
+ When HPDF_Page_GetHeight() succeed, it returns the height of a page.
428
+ Otherwise it returns 0.<br>
429
+ </div>
430
+ <br>
431
+ <h3><a name="HPDF_Page_CreateDestination_"></a>HPDF_Page_CreateDestination<br>
432
+ </h3>
433
+ <div class="bodytext1">
434
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
435
+ "apdf.h"<br>
436
+ <br>
437
+ HPDF_Destination<br>
438
+ HPDF_Page_CreateDestination&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
439
+ <br>
440
+ </div>
441
+ <h4>Description<br>
442
+ </h4>
443
+ HPDF_Page_CreateDestination() creates a new destination object for the
444
+ page. <br>
445
+ <br>
446
+ <h4>Parameter</h4>
447
+ <span style="font-weight: bold;">page</span>
448
+ <div class="bodytext5">Specify the handle of a page object.<br>
449
+ </div>
450
+ <br>
451
+ <h4>Returns</h4>
452
+ HPDF_Page_CreateDestination() returns a handle of the new destination
453
+ object. If it
454
+ failed, it returns NULL.<br>
455
+ <br>
456
+ <h4>Error</h4>
457
+ <span style="font-weight: bold;">HPDF_INVALID_PAGE</span>
458
+ <div class="bodytext5">An invalid page handle was set.<br>
459
+ <br>
460
+ </div>
461
+ <span style="font-weight: bold;">HPDF_FAILD_TO_ALLOC_MEM</span><br>
462
+ <div class="bodytext5">Memory Allocation Failed.<br>
463
+ </div>
464
+ <br>
465
+ </div>
466
+ <br>
467
+ <h3><a name="HPDF_Page_CreateTextAnnot_"></a>HPDF_Page_CreateTextAnnot<br>
468
+ </h3>
469
+ <div class="bodytext1">
470
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
471
+ "apdf.h"<br>
472
+ <br>
473
+ HPDF_Annotation<br>
474
+ HPDF_Page_CreateTextAnnot&nbsp;
475
+ (HPDF_Page&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; page,<br>
476
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
477
+ HPDF_Rect&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rect,<br>
478
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
479
+ const char&nbsp;&nbsp;&nbsp;&nbsp; *text,<br>
480
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
481
+ HPDF_Encoder&nbsp;&nbsp;&nbsp; encoder);<br>
482
+ <br>
483
+ </div>
484
+ <h4>Description<br>
485
+ </h4>
486
+ HPDF_Page_CreateTextAnnot() creates a new text annotation object for
487
+ the
488
+ page. <br>
489
+ <br>
490
+ <h4>Parameter</h4>
491
+ <span style="font-weight: bold;">page</span>
492
+ <div class="bodytext5">Specify the handle of a page object.<br>
493
+ <br>
494
+ </div>
495
+ <span style="font-weight: bold;">rect<br>
496
+ </span>
497
+ <div class="bodytext5">A Rectangle where the annotation is displayed<br>
498
+ <br>
499
+ </div>
500
+ <span style="font-weight: bold;">text</span><br>
501
+ <div class="bodytext5">The text to be displayed.<br>
502
+ <br>
503
+ </div>
504
+ <span style="font-weight: bold;">encoder</span><br>
505
+ <div class="bodytext5">An encoder handle which is used to encode the
506
+ text. If it is null, PDFDocEncoding is used.<br>
507
+ </div>
508
+ <br>
509
+ <h4>Returns</h4>
510
+ HPDF_Page_CreateTextAnnot() returns a handle of the new annotation
511
+ object. If it
512
+ failed, it returns NULL.<br>
513
+ <br>
514
+ <h4>Error</h4>
515
+ <span style="font-weight: bold;">HPDF_INVALID_PAGE</span>
516
+ <div class="bodytext5">An invalid page handle was set.<br>
517
+ <br>
518
+ </div>
519
+ <span style="font-weight: bold;">HPDF_FAILD_TO_ALLOC_MEM</span><br>
520
+ <div class="bodytext5">Memory Allocation Failed.<br>
521
+ <br>
522
+ </div>
523
+ <span style="font-weight: bold;">HPDF_INVALID_ENCODER</span><br>
524
+ <div class="bodytext5">An invalid encoder handle is specified..<br>
525
+ <br>
526
+ </div>
527
+ <br>
528
+ </div>
529
+ <h3><a name="HPDF_Page_CreateLinkAnnot_"></a>HPDF_Page_CreateLinkAnnot<br>
530
+ </h3>
531
+ <div class="bodytext1">
532
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
533
+ "apdf.h"<br>
534
+ <br>
535
+ HPDF_Annotation<br>
536
+ HPDF_Page_CreateLinkAnnot&nbsp;
537
+ (HPDF_Page&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; page,<br>
538
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
539
+ HPDF_Rect&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rect,<br>
540
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
541
+ HPDF_Destination&nbsp;&nbsp; dst);<br>
542
+ <br>
543
+ </div>
544
+ <h4>Description<br>
545
+ </h4>
546
+ HPDF_Page_CreateLinkAnnot() creates a new link annotation object for
547
+ the
548
+ page. <br>
549
+ <br>
550
+ <h4>Parameter</h4>
551
+ <span style="font-weight: bold;">page</span>
552
+ <div class="bodytext5">Specify the handle of a page object.<br>
553
+ <br>
554
+ </div>
555
+ <span style="font-weight: bold;">rect</span><br>
556
+ <div class="bodytext5">A rectangle of clickable area.<br>
557
+ <br>
558
+ </div>
559
+ <span style="font-weight: bold;">dst</span><br>
560
+ <div class="bodytext5">A handle of destination object to jump to.<br>
561
+ <br>
562
+ </div>
563
+ <br>
564
+ <h4>Returns</h4>
565
+ HPDF_Page_CreateLinkAnnot() returns a handle of the new annotation
566
+ object. If it
567
+ failed, it returns NULL.<br>
568
+ <br>
569
+ <h4>Error</h4>
570
+ <span style="font-weight: bold;">HPDF_INVALID_PAGE</span>
571
+ <div class="bodytext5">An invalid page handle was set.<br>
572
+ <br>
573
+ </div>
574
+ <span style="font-weight: bold;">HPDF_FAILD_TO_ALLOC_MEM</span><br>
575
+ <div class="bodytext5">Memory Allocation Failed.<br>
576
+ <br>
577
+ </div>
578
+ <span style="font-weight: bold;">HPDF_INVALID_DESTINATION</span><br>
579
+ <div class="bodytext5">An invalid destination handle is specified..<br>
580
+ <br>
581
+ </div>
582
+ </div>
583
+ <br>
584
+ <h3><a name="HPDF_Page_CreateURILinkAnnot_"></a>HPDF_Page_CreateURILinkAnnot<br>
585
+ </h3>
586
+ <div class="bodytext1">
587
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
588
+ "apdf.h"<br>
589
+ <br>
590
+ HPDF_Annotation<br>
591
+ HPDF_Page_CreateURILinkAnnot&nbsp; (HPDF_Page&nbsp;&nbsp;&nbsp;&nbsp;
592
+ page,<br>
593
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
594
+ HPDF_Rect&nbsp;&nbsp;&nbsp;&nbsp; rect,<br>
595
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
596
+ const char&nbsp;&nbsp; *uri);<br>
597
+ <br>
598
+ </div>
599
+ <h4>Description<br>
600
+ </h4>
601
+ HPDF_Page_CreateURILinkAnnot() creates a new web link annotation object
602
+ for the
603
+ page. <br>
604
+ <br>
605
+ <h4>Parameter</h4>
606
+ <span style="font-weight: bold;">page</span>
607
+ <div class="bodytext5">Specify the handle of a page object.<br>
608
+ <br>
609
+ </div>
610
+ <span style="font-weight: bold;">rect</span><br>
611
+ <div class="bodytext5">
612
+ A rectangle of clickable area.<br>
613
+ <br>
614
+ </div>
615
+ <span style="font-weight: bold;">uri</span><br>
616
+ <div class="bodytext5">URL of destination to jump to.<br>
617
+ <br>
618
+ </div>
619
+ <br>
620
+ <h4>Returns</h4>
621
+ HPDF_Page_CreateURILinkAnnot() returns a handle of the new annotation
622
+ object. If it
623
+ failed, it returns NULL.<br>
624
+ <br>
625
+ <h4>Error</h4>
626
+ <span style="font-weight: bold;">HPDF_INVALID_PAGE</span>
627
+ <div class="bodytext5">An invalid page handle was set.<br>
628
+ <br>
629
+ </div>
630
+ <span style="font-weight: bold;">HPDF_FAILD_TO_ALLOC_MEM</span><br>
631
+ <div class="bodytext5">Memory Allocation Failed.<br>
632
+ <br>
633
+ </div>
634
+ </div>
635
+ <br>
636
+ <h3><a name="HPDF_Page_TextWidth_"></a>HPDF_Page_TextWidth<br>
637
+ </h3>
638
+ <div class="bodytext1">
639
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
640
+ "apdf.h"<br>
641
+ <br>
642
+ HPDF_REAL<br>
643
+ HPDF_Page_TextWidth&nbsp; (HPDF_Page&nbsp;&nbsp;&nbsp; page,<br>
644
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
645
+ const char&nbsp; *text);<br>
646
+ <br>
647
+ </div>
648
+ <h4>Description<br>
649
+ </h4>
650
+ HPDF_Page_TextWidth() gets the width of the text in current fontsize,
651
+ character spacing and word spacing. <br>
652
+ <br>
653
+ <h4>Parameter</h4>
654
+ <span style="font-weight: bold;">page</span>
655
+ <div class="bodytext5">The handle of a page object.
656
+ </div>
657
+ <br>
658
+ <span style="font-weight: bold;">text</span><br>
659
+ <div class="bodytext5">The text to get width.
660
+ </div>
661
+ <br>
662
+ <h4>Returns</h4>
663
+ When HPDF_Page_TextWidth() succeed, it returns the width of the text in
664
+ current fontsize, character spacing and word spacing. Otherwise it
665
+ returns ZERO and error-handler is called. </div>
666
+ <br>
667
+ <h3><a name="HPDF_Page_MeasureText"></a>HPDF_Page_MeasureText</h3>
668
+ <div class="bodytext1">
669
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
670
+ "apdf.h"<br>
671
+ <br>
672
+ HPDF_UINT<br>
673
+ HPDF_Page_MeasureText&nbsp; (HPDF_Page&nbsp;&nbsp;&nbsp; page,<br>
674
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
675
+ const char&nbsp; *text,<br>
676
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
677
+ HPDF_REAL&nbsp;&nbsp;&nbsp; width,<br>
678
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
679
+ HPDF_BOOL&nbsp;&nbsp;&nbsp; wordwrap,<br>
680
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
681
+ HPDF_REAL&nbsp;&nbsp; *real_width);<br>
682
+ <br>
683
+ </div>
684
+ <h4>Description<br>
685
+ </h4>
686
+ HPDF_Page_MeasureText() calculates the byte length which can be
687
+ included within the specified width.<br>
688
+ <br>
689
+ <h4>Parameter</h4>
690
+ <span style="font-weight: bold;">page</span>
691
+ <div class="bodytext5">The handle of a page object.<br>
692
+ <br>
693
+ </div>
694
+ <span style="font-weight: bold;">text</span><br>
695
+ <div class="bodytext5">The text to get width.<br>
696
+ <br>
697
+ </div>
698
+ <span style="font-weight: bold;">width</span><br>
699
+ <div class="bodytext5">The width of the area to put the text.<br>
700
+ <br>
701
+ </div>
702
+ <span style="font-weight: bold;">wordwrap</span><br>
703
+ <div class="bodytext5">When there are three words of "ABCDE", "FGH",
704
+ and "IJKL", and the substring until "J" can be included within the
705
+ width, if word_wrap parameter is HPDF_FALSE it returns 12,&nbsp; and if
706
+ word_wrap parameter is HPDF_FALSE word_wrap parameter is HPDF_FALSE it
707
+ returns 10 (the end of the previous word).<br>
708
+ <img alt="figure9" src="image/figure9.png"
709
+ style="width: 286px; height: 83px;"><br>
710
+ <br>
711
+ </div>
712
+ <span style="font-weight: bold;">real_width</span><br>
713
+ <div class="bodytext5">If this parameter is not NULL, the real widths
714
+ of the text is set. An application can set it to NULL if it is
715
+ unnecessary<br>
716
+ </div>
717
+ <br>
718
+ <h4>Returns</h4>
719
+ When HPDF_Page_Font_MeasureText() succeed, it returns the byte length
720
+ which can be
721
+ included within the specified width in current fontsize, character
722
+ spacing and word spacing. Otherwise it returns ZERO and error-handler
723
+ is called.&nbsp; </div>
724
+ <br>
725
+ <h3><a name="HPDF_Page_GetGMode"></a>HPDF_Page_GetGMode</h3>
726
+ <div class="bodytext1">
727
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
728
+ "apdf.h"<br>
729
+ <br>
730
+ HPDF_UINT16<br>
731
+ HPDF_Page_GetGMode&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
732
+ <br>
733
+ </div>
734
+ <h4>Description<br>
735
+ </h4>
736
+ HPDF_Page_GetGMode() gets the current <a
737
+ href="graphics.html#Graphics_mode_">graphics mode</a>.<br>
738
+ <br>
739
+ <h4>Parameter</h4>
740
+ <span style="font-weight: bold;">page</span>
741
+ <div class="bodytext5">The handle of a page object.<br>
742
+ </div>
743
+ <br>
744
+ <h4>Returns</h4>
745
+ When HPDF_Page_GetGMode() succeed, it returns the current <a
746
+ href="graphics.html#Graphics_mode_">graphics mode</a> of the
747
+ page.&nbsp; Otherwise it returns ZERO. </div>
748
+ <br>
749
+ <h3><a name="HPDF_Page_GetCurrentPos"></a>HPDF_Page_GetCurrentPos</h3>
750
+ <div class="bodytext1">
751
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
752
+ "apdf.h"<br>
753
+ <br>
754
+ HPDF_Point<br>
755
+ HPDF_Page_GetCurrentPos&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
756
+ <br>
757
+ </div>
758
+ <h4>Description<br>
759
+ </h4>
760
+ HPDF_Page_GetCurrentPos() gets the current position for path painting.<br>
761
+ An application can invoke HPDF_Page_GetCurrentPos() only when <a
762
+ href="graphics.html#Graphics_mode_">graphics mode</a> is
763
+ HPDF_GMODE_PATH_OBJECT.<br>
764
+ <br>
765
+ <h4>Parameter</h4>
766
+ <span style="font-weight: bold;">page</span>
767
+ <div class="bodytext5">The handle of a page object.<br>
768
+ </div>
769
+ <br>
770
+ <h4>Returns</h4>
771
+ When HPDF_Page_GetCurrentPos() succeed, it returns a HPDF_Point struct
772
+ indicating the current position for path painting of the page.
773
+ Otherwise it returns a HPDF_Point struct of {0, 0}. </div>
774
+ <br>
775
+ <h3><a name="HPDF_Page_GetCurrentTextPos_"></a>HPDF_Page_GetCurrentTextPos<br>
776
+ </h3>
777
+ <div class="bodytext1">
778
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
779
+ "apdf.h"<br>
780
+ <br>
781
+ HPDF_Point<br>
782
+ HPDF_Page_GetCurrentTextPos&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
783
+ <br>
784
+ </div>
785
+ <h4>Description<br>
786
+ </h4>
787
+ HPDF_Page_GetCurrentTextPos() gets the current position for text
788
+ showing.<br>
789
+ An application can invoke HPDF_Page_GetCurrentTextPos() only when <a
790
+ href="graphics.html#Graphics_mode_">graphics mode</a> is
791
+ HPDF_GMODE_TEXT_OBJECT.<br>
792
+ <br>
793
+ <h4>Parameter</h4>
794
+ <span style="font-weight: bold;">page</span>
795
+ <div class="bodytext5">The handle of a page object.<br>
796
+ </div>
797
+ <br>
798
+ <h4>Returns</h4>
799
+ When HPDF_Page_GetCurrentTextPos() succeed, it returns a HPDF_Point
800
+ struct indicating the current position for text showing of the page.
801
+ Otherwise it returns a HPDF_Point struct of {0, 0}. </div>
802
+ <br>
803
+ <h3><a name="HPDF_Page_GetCurrentFont_"></a>HPDF_Page_GetCurrentFont<br>
804
+ </h3>
805
+ <div class="bodytext1">
806
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
807
+ "apdf.h"<br>
808
+ <br>
809
+ HPDF_Font<br>
810
+ HPDF_Page_GetCurrentFont&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
811
+ <br>
812
+ </div>
813
+ <h4>Description<br>
814
+ </h4>
815
+ HPDF_Page_GetCurrentFont() gets the handle of the page's current font.<br>
816
+ <br>
817
+ <h4>Parameter</h4>
818
+ <span style="font-weight: bold;">page</span>
819
+ <div class="bodytext5">The handle of a page object.<br>
820
+ </div>
821
+ <br>
822
+ <h4>Returns</h4>
823
+ When HPDF_Page_GetCurrentFont() succeed, it returns the handle of the
824
+ page's current font. Otherwise it returns NULL. </div>
825
+ <br>
826
+ <h3><a name="HPDF_Page_GetCurrentFontSize_"></a>HPDF_Page_GetCurrentFontSize<br>
827
+ </h3>
828
+ <div class="bodytext1">
829
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
830
+ "apdf.h"<br>
831
+ <br>
832
+ HPDF_REAL<br>
833
+ HPDF_Page_GetCurrentFontSize&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
834
+ <br>
835
+ </div>
836
+ <h4>Description<br>
837
+ </h4>
838
+ HPDF_Page_GetCurrentFontSize() gets the size of the page's current font.<br>
839
+ <br>
840
+ <h4>Parameter</h4>
841
+ <span style="font-weight: bold;">page</span>
842
+ <div class="bodytext5">The handle of a page object.<br>
843
+ </div>
844
+ <br>
845
+ <h4>Returns</h4>
846
+ When HPDF_Page_GetCurrentFont() succeed, it returns the size of the
847
+ page's current font. Otherwise it returns 0. </div>
848
+ <br>
849
+ <h3><a name="HPDF_Page_GetTransMatrix_"></a>HPDF_Page_GetTransMatrix<br>
850
+ </h3>
851
+ <div class="bodytext1">
852
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
853
+ "apdf.h"<br>
854
+ <br>
855
+ HPDF_TransMatrix<br>
856
+ HPDF_Page_GetTransMatrix&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
857
+ <br>
858
+ </div>
859
+ <h4>Description<br>
860
+ </h4>
861
+ HPDF_Page_GetTransMatrix() gets the current transformation matrix of
862
+ the page.<br>
863
+ <br>
864
+ <h4>Parameter</h4>
865
+ <span style="font-weight: bold;">page</span>
866
+ <div class="bodytext5">The handle of a page object.<br>
867
+ </div>
868
+ <br>
869
+ <h4>Returns</h4>
870
+ When HPDF_Page_GetTransMatrix() succeed, it returns a HPDF_TransMatrix
871
+ struct of current transformation matrix of the page. </div>
872
+ <br>
873
+ <h3><a name="HPDF_Page_GetLineWidth_"></a>HPDF_Page_GetLineWidth<br>
874
+ </h3>
875
+ <div class="bodytext1">
876
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
877
+ "apdf.h"<br>
878
+ <br>
879
+ HPDF_Real<br>
880
+ HPDF_Page_GetLineWidth&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
881
+ <br>
882
+ </div>
883
+ <h4>Description<br>
884
+ </h4>
885
+ HPDF_Page_GetLineWidth() gets the current line width of the page.<br>
886
+ <br>
887
+ <h4>Parameter</h4>
888
+ <span style="font-weight: bold;">page</span>
889
+ <div class="bodytext5">The handle of a page object.<br>
890
+ </div>
891
+ <br>
892
+ <h4>Returns</h4>
893
+ When HPDF_Page_GetLineWidth() succeed, it returns the current line
894
+ width for path painting of the page. Otherwise it returns&nbsp;
895
+ HPDF_DEF_LINEWIDTH. </div>
896
+ <br>
897
+ <h3><a name="HPDF_Page_GetLineCap_"></a>HPDF_Page_GetLineCap<br>
898
+ </h3>
899
+ <div class="bodytext1">
900
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
901
+ "apdf.h"<br>
902
+ <br>
903
+ HPDF_LineCap<br>
904
+ HPDF_Page_GetLineCap&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
905
+ <br>
906
+ </div>
907
+ <h4>Description<br>
908
+ </h4>
909
+ HPDF_Page_GetLineCap() gets the current line cap style of the page.<br>
910
+ <br>
911
+ <h4>Parameter</h4>
912
+ <span style="font-weight: bold;">page</span>
913
+ <div class="bodytext5">The handle of a page object.<br>
914
+ </div>
915
+ <br>
916
+ <h4>Returns</h4>
917
+ When HPDF_Page_GetLineCap() succeed, it returns the current line cap
918
+ style of the page. Otherwise it returns&nbsp; HPDF_DEF_LINECAP. </div>
919
+ <br>
920
+ <h3><a name="HPDF_Page_GetLineJoin_"></a>HPDF_Page_GetLineJoin<br>
921
+ </h3>
922
+ <div class="bodytext1">
923
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
924
+ "apdf.h"<br>
925
+ <br>
926
+ HPDF_LineJoin<br>
927
+ HPDF_Page_GetLineJoin&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
928
+ <br>
929
+ </div>
930
+ <h4>Description<br>
931
+ </h4>
932
+ HPDF_Page_GetLineJoin() gets the current line join style of the page.<br>
933
+ <br>
934
+ <h4>Parameter</h4>
935
+ <span style="font-weight: bold;">page</span>
936
+ <div class="bodytext5">The handle of a page object.<br>
937
+ </div>
938
+ <br>
939
+ <h4>Returns</h4>
940
+ When HPDF_Page_GetLineJoin() succeed, it returns the current line join
941
+ style of the page. Otherwise it returns&nbsp; HPDF_DEF_LINEJOIN. </div>
942
+ <br>
943
+ <h3><a name="HPDF_Page_GetMiterLimit_"></a>HPDF_Page_GetMiterLimit<br>
944
+ </h3>
945
+ <div class="bodytext1">
946
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
947
+ "apdf.h"<br>
948
+ <br>
949
+ HPDF_REAL<br>
950
+ HPDF_Page_GetMiterLimit&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
951
+ <br>
952
+ </div>
953
+ <h4>Description<br>
954
+ </h4>
955
+ HPDF_Page_GetMiterLimit() gets the current value of the page's miter
956
+ limit.<br>
957
+ <br>
958
+ <h4>Parameter</h4>
959
+ <span style="font-weight: bold;">page</span>
960
+ <div class="bodytext5">The handle of a page object.<br>
961
+ </div>
962
+ <br>
963
+ <h4>Returns</h4>
964
+ When HPDF_Page_GetLineJoin() succeed, it returns the current value of
965
+ the page's miter limit. Otherwise it returns&nbsp; HPDF_DEF_MITERLIMIT.
966
+ </div>
967
+ <br>
968
+ <h3><a name="HPDF_Page_GetDash_"></a>HPDF_Page_GetDash<br>
969
+ </h3>
970
+ <div class="bodytext1">
971
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
972
+ "apdf.h"<br>
973
+ <br>
974
+ typedef struct _HPDF_DashMode {<br>
975
+ &nbsp;&nbsp;&nbsp; HPDF_UINT16&nbsp; ptn[8];<br>
976
+ &nbsp;&nbsp;&nbsp; HPDF_UINT&nbsp;&nbsp;&nbsp; num_ptn;<br>
977
+ &nbsp;&nbsp;&nbsp; HPDF_UINT&nbsp;&nbsp;&nbsp; phase;<br>
978
+ } HPDF_DashMode;<br>
979
+ <br>
980
+ HPDF_DashMode<br>
981
+ HPDF_Page_GetMiterLimit&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
982
+ <br>
983
+ </div>
984
+ <h4>Description<br>
985
+ </h4>
986
+ HPDF_Page_GetMiterLimit() gets the current pattern of the page.<br>
987
+ <br>
988
+ <h4>Parameter</h4>
989
+ <span style="font-weight: bold;">page</span>
990
+ <div class="bodytext5">The handle of a page object.<br>
991
+ </div>
992
+ <br>
993
+ <h4>Returns</h4>
994
+ When HPDF_Page_GetMiterLimit() succeed, it returns a HPDF_DashMode
995
+ struct of the current pattern of the page.<br>
996
+ </div>
997
+ <br>
998
+ <h3><a name="HPDF_Page_GetFlat_"></a>HPDF_Page_GetFlat<br>
999
+ </h3>
1000
+ <div class="bodytext1">
1001
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1002
+ "apdf.h"<br>
1003
+ <br>
1004
+ HPDF_REAL<br>
1005
+ HPDF_Page_GetMiterLimit&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
1006
+ <br>
1007
+ </div>
1008
+ <h4>Description<br>
1009
+ </h4>
1010
+ HPDF_Page_GetMiterLimit() gets the current value of the page's flatness.<br>
1011
+ <br>
1012
+ <h4>Parameter</h4>
1013
+ <span style="font-weight: bold;">page</span>
1014
+ <div class="bodytext5">The handle of a page object.<br>
1015
+ </div>
1016
+ <br>
1017
+ <h4>Returns</h4>
1018
+ When HPDF_Page_GetLineJoin() succeed, it returns the
1019
+ current value of the page's miter limit. Otherwise it returns&nbsp;
1020
+ HPDF_DEF_MITERLIMIT. </div>
1021
+ <br>
1022
+ <h3><a name="HPDF_Page_GetCharSpace_"></a>HPDF_Page_GetCharSpace<br>
1023
+ </h3>
1024
+ <div class="bodytext1">
1025
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1026
+ "apdf.h"<br>
1027
+ <br>
1028
+ HPDF_REAL<br>
1029
+ HPDF_Page_GetCharSpace&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
1030
+ <br>
1031
+ </div>
1032
+ <h4>Description<br>
1033
+ </h4>
1034
+ HPDF_Page_GetCharSpace() gets the current value of the page's character
1035
+ spacing.<br>
1036
+ <br>
1037
+ <h4>Parameter</h4>
1038
+ <span style="font-weight: bold;">page</span>
1039
+ <div class="bodytext5">The handle of a page object.<br>
1040
+ </div>
1041
+ <br>
1042
+ <h4>Returns</h4>
1043
+ When HPDF_Page_GetCharSpace() succeed, it returns the
1044
+ current value of the page's character spacing. Otherwise it returns 0. </div>
1045
+ <br>
1046
+ <h3><a name="HPDF_Page_GetWordSpace_"></a>HPDF_Page_GetWordSpace<br>
1047
+ </h3>
1048
+ <div class="bodytext1">
1049
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1050
+ "apdf.h"<br>
1051
+ <br>
1052
+ HPDF_REAL<br>
1053
+ HPDF_Page_GetWordSpace&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
1054
+ <br>
1055
+ </div>
1056
+ <h4>Description<br>
1057
+ </h4>
1058
+ HPDF_Page_GetWordSpace() returns the current value of the page's word
1059
+ spacing.<br>
1060
+ <br>
1061
+ <h4>Parameter</h4>
1062
+ <span style="font-weight: bold;">page</span>
1063
+ <div class="bodytext5">The handle of a page object.<br>
1064
+ </div>
1065
+ <br>
1066
+ <h4>Returns</h4>
1067
+ When HPDF_Page_GetWordSpace() succeed, it returns the
1068
+ current value of the page's word spacing. Otherwise it returns 0. </div>
1069
+ <br>
1070
+ <h3><a name="HPDF_Page_GetHorizontalScalling_"></a>HPDF_Page_GetHorizontalScalling<br>
1071
+ </h3>
1072
+ <div class="bodytext1">
1073
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1074
+ "apdf.h"<br>
1075
+ <br>
1076
+ HPDF_REAL<br>
1077
+ HPDF_Page_GetHorizontalScalling&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
1078
+ <br>
1079
+ </div>
1080
+ <h4>Description<br>
1081
+ </h4>
1082
+ HPDF_Page_GetHorizontalScalling() returns the current value of the
1083
+ page's horizontal scalling for text showing.<br>
1084
+ <br>
1085
+ <h4>Parameter</h4>
1086
+ <span style="font-weight: bold;">page</span>
1087
+ <div class="bodytext5">The handle of a page object.<br>
1088
+ </div>
1089
+ <br>
1090
+ <h4>Returns</h4>
1091
+ When HPDF_Page_GetHorizontalScalling() succeed, it returns the
1092
+ current value of the page's horizontal scalling. Otherwise it returns
1093
+ HPDF_DEF_HSCALING. </div>
1094
+ <br>
1095
+ <h3><a name="HPDF_Page_GetTextLeading_"></a>HPDF_Page_GetTextLeading<br>
1096
+ </h3>
1097
+ <div class="bodytext1">
1098
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1099
+ "apdf.h"<br>
1100
+ <br>
1101
+ HPDF_REAL<br>
1102
+ HPDF_Page_GetTextLeading&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
1103
+ <br>
1104
+ </div>
1105
+ <h4>Description<br>
1106
+ </h4>
1107
+ HPDF_Page_GetTextLeading() returns the current value of the page's line
1108
+ spacing.<br>
1109
+ <br>
1110
+ <h4>Parameter</h4>
1111
+ <span style="font-weight: bold;">page</span>
1112
+ <div class="bodytext5">The handle of a page object.<br>
1113
+ </div>
1114
+ <br>
1115
+ <h4>Returns</h4>
1116
+ When HPDF_Page_GetTextLeading() succeed, it returns the
1117
+ current value of the line spacing. Otherwise it returns 0. </div>
1118
+ <br>
1119
+ <h3><a name="HPDF_Page_GetTextRenderingMode_"></a>HPDF_Page_GetTextRenderingMode<br>
1120
+ </h3>
1121
+ <div class="bodytext1">
1122
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1123
+ "apdf.h"<br>
1124
+ <br>
1125
+ HPDF_REAL<br>
1126
+ HPDF_Page_GetTextRenderingMode&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
1127
+ <br>
1128
+ </div>
1129
+ <h4>Description<br>
1130
+ </h4>
1131
+ HPDF_Page_GetTextRenderingMode() returns the current value of the
1132
+ page's text rendering mode.<br>
1133
+ <br>
1134
+ <h4>Parameter</h4>
1135
+ <span style="font-weight: bold;">page</span>
1136
+ <div class="bodytext5">The handle of a page object.<br>
1137
+ </div>
1138
+ <br>
1139
+ <h4>Returns</h4>
1140
+ When HPDF_Page_GetTextRenderingMode() succeed, it returns the
1141
+ current value of the text rendering mode. Otherwise it returns 0. </div>
1142
+ <br>
1143
+ <h3><a name="HPDF_Page_GetTextRise_"></a>HPDF_Page_GetTextRise<br>
1144
+ </h3>
1145
+ <div class="bodytext1">
1146
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1147
+ "apdf.h"<br>
1148
+ <br>
1149
+ HPDF_REAL<br>
1150
+ HPDF_Page_GetTextRise&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
1151
+ <br>
1152
+ </div>
1153
+ <h4>Description<br>
1154
+ </h4>
1155
+ HPDF_Page_GetTextRise() returns the current value of the page's text
1156
+ rising.<br>
1157
+ <br>
1158
+ <h4>Parameter</h4>
1159
+ <span style="font-weight: bold;">page</span>
1160
+ <div class="bodytext5">The handle of a page object.<br>
1161
+ </div>
1162
+ <br>
1163
+ <h4>Returns</h4>
1164
+ When HPDF_Page_GetTextRise() succeed, it returns the
1165
+ current value of the text rising. Otherwise it returns 0. </div>
1166
+ <br>
1167
+ <h3><a name="HPDF_Page_GetRGBFill_"></a>HPDF_Page_GetRGBFill<br>
1168
+ </h3>
1169
+ <div class="bodytext1">
1170
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1171
+ "apdf.h"<br>
1172
+ <br>
1173
+ typedef struct _HPDF_RGBColor {<br>
1174
+ &nbsp;&nbsp;&nbsp; HPDF_REAL&nbsp;&nbsp; r;<br>
1175
+ &nbsp;&nbsp;&nbsp; HPDF_REAL&nbsp;&nbsp; g;<br>
1176
+ &nbsp;&nbsp;&nbsp; HPDF_REAL&nbsp;&nbsp; b;<br>
1177
+ } HPDF_RGBColor;<br>
1178
+ <br>
1179
+ HPDF_RGBColor<br>
1180
+ HPDF_Page_GetRGBFill&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
1181
+ <br>
1182
+ </div>
1183
+ <h4>Description<br>
1184
+ </h4>
1185
+ HPDF_Page_GetRGBFill() returns the current value of the page's filling
1186
+ color. HPDF_Page_GetRGBFill() is valid only when the page's filling
1187
+ color space is HPDF_CS_DEVICE_RGB.<br>
1188
+ <br>
1189
+ <h4>Parameter</h4>
1190
+ <span style="font-weight: bold;">page</span>
1191
+ <div class="bodytext5">The handle of a page object.<br>
1192
+ </div>
1193
+ <br>
1194
+ <h4>Returns</h4>
1195
+ When HPDF_Page_GetRGBFill() succeed, it returns the
1196
+ current value of the page's filling color. Otherwise it returns {0, 0,
1197
+ 0}. </div>
1198
+ <br>
1199
+ <h3><a name="HPDF_Page_GetRGBStroke_"></a>HPDF_Page_GetRGBStroke<br>
1200
+ </h3>
1201
+ <div class="bodytext1">
1202
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1203
+ "apdf.h"<br>
1204
+ <br>
1205
+ typedef struct _HPDF_RGBColor {<br>
1206
+ &nbsp;&nbsp;&nbsp; HPDF_REAL&nbsp;&nbsp; r;<br>
1207
+ &nbsp;&nbsp;&nbsp; HPDF_REAL&nbsp;&nbsp; g;<br>
1208
+ &nbsp;&nbsp;&nbsp; HPDF_REAL&nbsp;&nbsp; b;<br>
1209
+ } HPDF_RGBColor;<br>
1210
+ <br>
1211
+ HPDF_RGBColor<br>
1212
+ HPDF_Page_GetRGBStroke&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
1213
+ <br>
1214
+ </div>
1215
+ <h4>Description<br>
1216
+ </h4>
1217
+ HPDF_Page_GetRGBStroke() returns the current value of the page's
1218
+ stroking color. HPDF_Page_GetRGBStroke() is valid only when the page's
1219
+ stroking color space is HPDF_CS_DEVICE_RGB.<br>
1220
+ <br>
1221
+ <h4>Parameter</h4>
1222
+ <span style="font-weight: bold;">page</span>
1223
+ <div class="bodytext5">The handle of a page object.<br>
1224
+ </div>
1225
+ <br>
1226
+ <h4>Returns</h4>
1227
+ When HPDF_Page_GetRGBStroke() succeed, it returns the
1228
+ current value of the page's stroking color. Otherwise it returns {0, 0,
1229
+ 0}. </div>
1230
+ <br>
1231
+ <h3><a name="HPDF_Page_GetCMYKFill_"></a>HPDF_Page_GetCMYKFill<br>
1232
+ </h3>
1233
+ <div class="bodytext1">
1234
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1235
+ "apdf.h"<br>
1236
+ <br>
1237
+ typedef struct _HPDF_CMYKColor {<br>
1238
+ &nbsp;&nbsp;&nbsp; HPDF_REAL&nbsp;&nbsp; c;<br>
1239
+ &nbsp;&nbsp;&nbsp; HPDF_REAL&nbsp;&nbsp; m;<br>
1240
+ &nbsp;&nbsp;&nbsp; HPDF_REAL&nbsp;&nbsp; y;<br>
1241
+ &nbsp;&nbsp;&nbsp; HPDF_REAL&nbsp;&nbsp; k;<br>
1242
+ } HPDF_CMYKColor;<br>
1243
+ <br>
1244
+ HPDF_CMYKColor<br>
1245
+ HPDF_Page_GetCMYKFill&nbsp; (HPDF_Page&nbsp;&nbsp; page)<br>
1246
+ <br>
1247
+ </div>
1248
+ <h4>Description<br>
1249
+ </h4>
1250
+ HPDF_Page_GetCMYKFill() returns the current value of the page's
1251
+ filling color. HPDF_Page_GetCMYKFill() is valid only when the page's
1252
+ filling color space is HPDF_CS_DEVICE_CMYK.<br>
1253
+ <br>
1254
+ <h4>Parameter</h4>
1255
+ <span style="font-weight: bold;">page</span>
1256
+ <div class="bodytext5">The handle of a page object.<br>
1257
+ </div>
1258
+ <br>
1259
+ <h4>Returns</h4>
1260
+ When HPDF_Page_GetCMYKFill() succeed, it returns the
1261
+ current value of the page's filling color. Otherwise it returns {0, 0,
1262
+ 0, 0}. </div>
1263
+ <br>
1264
+ <h3><a name="HPDF_Page_GetCMYKStroke_"></a>HPDF_Page_GetCMYKStroke<br>
1265
+ </h3>
1266
+ <div class="bodytext1">
1267
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1268
+ "apdf.h"<br>
1269
+ <br>
1270
+ typedef struct _HPDF_CMYKColor {<br>
1271
+ &nbsp;&nbsp;&nbsp; HPDF_REAL&nbsp;&nbsp; c;<br>
1272
+ &nbsp;&nbsp;&nbsp; HPDF_REAL&nbsp;&nbsp; m;<br>
1273
+ &nbsp;&nbsp;&nbsp; HPDF_REAL&nbsp;&nbsp; y;<br>
1274
+ &nbsp;&nbsp;&nbsp; HPDF_REAL&nbsp;&nbsp; k;<br>
1275
+ } HPDF_CMYKColor;<br>
1276
+ <br>
1277
+ HPDF_CMYKColor<br>
1278
+ HPDF_Page_GetCMYKStroke&nbsp; (HPDF_Page&nbsp;&nbsp; page)<br>
1279
+ <br>
1280
+ </div>
1281
+ <h4>Description<br>
1282
+ </h4>
1283
+ HPDF_Page_GetCMYKStroke() returns the current value of the page's
1284
+ stroking color. HPDF_Get_CMYKStroke() is valid only when the page's
1285
+ stroking color space is HPDF_CS_DEVICE_CMYK.<br>
1286
+ <br>
1287
+ <h4>Parameter</h4>
1288
+ <span style="font-weight: bold;">page</span>
1289
+ <div class="bodytext5">The handle of a page object.<br>
1290
+ </div>
1291
+ <br>
1292
+ <h4>Returns</h4>
1293
+ When HPDF_Page_GetCMYKStroke() succeed, it returns the
1294
+ current value of the page's stroking color. Otherwise it returns {0, 0,
1295
+ 0, 0}. </div>
1296
+ <br>
1297
+ <h3><a name="HPDF_Page_GetGrayFill_"></a>HPDF_Page_GetGrayFill<br>
1298
+ </h3>
1299
+ <div class="bodytext1">
1300
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1301
+ "apdf.h"<br>
1302
+ <br>
1303
+ HPDF_REAL<br>
1304
+ HPDF_Page_GetGrayFill&nbsp; (HPDF_Page&nbsp;&nbsp; page)<br>
1305
+ <br>
1306
+ </div>
1307
+ <h4>Description<br>
1308
+ </h4>
1309
+ HPDF_Page_GetGrayFill() returns the current value of the page's
1310
+ filling color. HPDF_Page_GetGrayFill() is valid only when the page's
1311
+ stroking color space is HPDF_CS_DEVICE_GRAY.<br>
1312
+ <br>
1313
+ <h4>Parameter</h4>
1314
+ <span style="font-weight: bold;">page</span>
1315
+ <div class="bodytext5">The handle of a page object.<br>
1316
+ </div>
1317
+ <br>
1318
+ <h4>Returns</h4>
1319
+ When HPDF_Page_GetGrayFill() succeed, it returns the
1320
+ current value of the page's filling color. Otherwise it returns 0. </div>
1321
+ <br>
1322
+ <h3><a name="HPDF_Page_GetGrayStroke_"></a>HPDF_Page_GetGrayStroke<br>
1323
+ </h3>
1324
+ <div class="bodytext1">
1325
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1326
+ "apdf.h"<br>
1327
+ <br>
1328
+ HPDF_REAL<br>
1329
+ HPDF_Page_GetGrayStroke&nbsp; (HPDF_Page&nbsp;&nbsp; page)<br>
1330
+ <br>
1331
+ </div>
1332
+ <h4>Description<br>
1333
+ </h4>
1334
+ HPDF_Page_GetGrayStroke() returns the current value of the page's
1335
+ stroking color. HPDF_Page_GetGrayStroke() is valid only when the page's
1336
+ stroking color space is HPDF_CS_DEVICE_GRAY.<br>
1337
+ <br>
1338
+ <h4>Parameter</h4>
1339
+ <span style="font-weight: bold;">page</span>
1340
+ <div class="bodytext5">The handle of a page object.<br>
1341
+ </div>
1342
+ <br>
1343
+ <h4>Returns</h4>
1344
+ When HPDF_Page_GetGrayStroke() succeed, it returns the
1345
+ current value of the page's stroking color. Otherwise it returns 0. </div>
1346
+ <br>
1347
+ <h3><a name="HPDF_Page_GetStrokingColorSpace_"></a>HPDF_Page_GetStrokingColorSpace<br>
1348
+ </h3>
1349
+ <div class="bodytext1">
1350
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1351
+ "apdf.h"<br>
1352
+ <br>
1353
+ HPDF_ColorSpace<br>
1354
+ HPDF_Page_GetStrokingColorSpace (HPDF_Page&nbsp;&nbsp; page)<br>
1355
+ <br>
1356
+ </div>
1357
+ <h4>Description<br>
1358
+ </h4>
1359
+ HPDF_Page_GetStrokingColorSpace() returns the current value of the
1360
+ page's
1361
+ stroking color space. <br>
1362
+ <br>
1363
+ <h4>Parameter</h4>
1364
+ <span style="font-weight: bold;">page</span>
1365
+ <div class="bodytext5">The handle of a page object.<br>
1366
+ </div>
1367
+ <br>
1368
+ <h4>Returns</h4>
1369
+ When HPDF_Page_GetStrokingColorSpace() succeed, it returns the
1370
+ current value of the page's stroking color space. Otherwise it returns
1371
+ HPDF_CS_EOF. </div>
1372
+ <br>
1373
+ <h3><a name="HPDF_Page_GetFillingColorSpace_"></a>HPDF_Page_GetFillingColorSpace<br>
1374
+ </h3>
1375
+ <div class="bodytext1">
1376
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1377
+ "apdf.h"<br>
1378
+ <br>
1379
+ HPDF_ColorSpace<br>
1380
+ HPDF_Page_GetFillingColorSpace (HPDF_Page&nbsp;&nbsp; page)<br>
1381
+ <br>
1382
+ </div>
1383
+ <h4>Description<br>
1384
+ </h4>
1385
+ HPDF_Page_GetFillingColorSpace() returns the current value of the
1386
+ page's
1387
+ stroking color space. <br>
1388
+ <br>
1389
+ <h4>Parameter</h4>
1390
+ <span style="font-weight: bold;">page</span>
1391
+ <div class="bodytext5">The handle of a page object.<br>
1392
+ </div>
1393
+ <br>
1394
+ <h4>Returns</h4>
1395
+ When HPDF_Page_GetFillingColorSpace() succeed, it returns the
1396
+ current value of the page's stroking color space. Otherwise it returns
1397
+ HPDF_CS_EOF.<br>
1398
+ <br>
1399
+ </div>
1400
+ <br>
1401
+ <h3><a name="HPDF_Page_GetTextMatrix_"></a>HPDF_Page_GetTextMatrix<br>
1402
+ </h3>
1403
+ <div class="bodytext1">
1404
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1405
+ "apdf.h"<br>
1406
+ <br>
1407
+ HPDF_TransMatrix<br>
1408
+ HPDF_Page_GetTextMatrix&nbsp; (HPDF_Page&nbsp;&nbsp; page);<br>
1409
+ <br>
1410
+ </div>
1411
+ <h4>Description<br>
1412
+ </h4>
1413
+ HPDF_Page_GetTextMatrix() gets the current text transformation matrix
1414
+ of the page.<br>
1415
+ <br>
1416
+ <h4>Parameter</h4>
1417
+ <span style="font-weight: bold;">page</span>
1418
+ <div class="bodytext5">The handle of a page object.<br>
1419
+ </div>
1420
+ <br>
1421
+ <h4>Returns</h4>
1422
+ When HPDF_Page_GetTextMatrix() succeed, it returns a
1423
+ HPDF_TransMatrix struct of current text transformation matrix of the
1424
+ page. </div>
1425
+ <br>
1426
+ <h3><a name="HPDF_Page_GetGStateDepth_"></a>HPDF_Page_GetGStateDepth<br>
1427
+ </h3>
1428
+ <div class="bodytext1">
1429
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1430
+ "apdf.h"<br>
1431
+ <br>
1432
+ HPDF_UINT<br>
1433
+ HPDF_Page_GetGStateDepth (HPDF_Page&nbsp;&nbsp; page)<br>
1434
+ <br>
1435
+ </div>
1436
+ <h4>Description<br>
1437
+ </h4>
1438
+ HPDF_Page_GetGStateDepth() returns the number of the page's graphics
1439
+ state stack. <br>
1440
+ <br>
1441
+ <h4>Parameter</h4>
1442
+ <span style="font-weight: bold;">page</span>
1443
+ <div class="bodytext5">The handle of a page object.<br>
1444
+ </div>
1445
+ <br>
1446
+ <h4>Returns</h4>
1447
+ When HPDF_Page_GetGStateDepth() succeed, it returns the number of the
1448
+ page's graphics state stack. Otherwise it returns 0.<br>
1449
+ </div>
1450
+ <br>
1451
+ <h3><a name="HPDF_Page_SetSlideShow_"></a>HPDF_Page_SetSlideShow<br>
1452
+ </h3>
1453
+ <div class="bodytext1">
1454
+ <div class="bodycode2"><span style="font-weight: bold;">#include</span>
1455
+ "apdf.h"<br>
1456
+ <br>
1457
+ HPDF_STATUS<br>
1458
+ HPDF_Page_SetSlideShow&nbsp;
1459
+ (HPDF_Page&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1460
+ page,<br>
1461
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1462
+ HPDF_PageSlideShow&nbsp;&nbsp; type,<br>
1463
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1464
+ HPDF_REAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1465
+ disp_time,<br>
1466
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1467
+ HPDF_REAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1468
+ trans_time);<br>
1469
+ <br>
1470
+ </div>
1471
+ <h4>Description<br>
1472
+ </h4>
1473
+ HPDF_Page_SetSlideShow() configures the setting for slide transition of
1474
+ the page.<br>
1475
+ <br>
1476
+ <h4>Parameter</h4>
1477
+ <span style="font-weight: bold;">page</span>
1478
+ <div class="bodytext5">The handle of a page object.<br>
1479
+ </div>
1480
+ <span style="font-weight: bold;">type</span><br>
1481
+ <div class="bodytext5">The transition style. The following values are
1482
+ available.<br>
1483
+ <ul>
1484
+ <li>HPDF_TS_WIPE_RIGHT</li>
1485
+ <li>HPDF_TS_WIPE_UP</li>
1486
+ <li>HPDF_TS_WIPE_LEFT</li>
1487
+ <li>HPDF_TS_WIPE_DOWN</li>
1488
+ <li>HPDF_TS_BARN_DOORS_HORIZONTAL_OUT</li>
1489
+ <li>HPDF_TS_BARN_DOORS_HORIZONTAL_IN</li>
1490
+ <li>HPDF_TS_BARN_DOORS_VERTICAL_OUT</li>
1491
+ <li>HPDF_TS_BARN_DOORS_VERTICAL_IN</li>
1492
+ <li>HPDF_TS_BOX_OUT</li>
1493
+ <li>HPDF_TS_BOX_IN</li>
1494
+ <li>HPDF_TS_BLINDS_HORIZONTAL</li>
1495
+ <li>HPDF_TS_BLINDS_VERTICAL</li>
1496
+ <li>HPDF_TS_DISSOLVE</li>
1497
+ <li>HPDF_TS_GLITTER_RIGHT</li>
1498
+ <li>HPDF_TS_GLITTER_DOWN</li>
1499
+ <li>HPDF_TS_GLITTER_TOP_LEFT_TO_BOTTOM_RIGHT</li>
1500
+ <li>HPDF_TS_REPLACE<br>
1501
+ </li>
1502
+ </ul>
1503
+ </div>
1504
+ <span style="font-weight: bold;">disp_time</span><br>
1505
+ <div class="bodytext5">The display duration of the page. (in seconds)<br>
1506
+ </div>
1507
+ <span style="font-weight: bold;">trans_time</span><br>
1508
+ <div class="bodytext5">The duration of the transition effect. Default
1509
+ value is 1(second).<br>
1510
+ </div>
1511
+ <br>
1512
+ <h4>Returns</h4>
1513
+ When HPDF_Page_SetSlideShow() succeed, it returns HPDF_OK, Otherwise it
1514
+ returns error code and error-handler is invoked.<br>
1515
+ </div>
1516
+ <br>
1517
+ <br>
1518
+ <br>
1519
+ <br>
1520
+ <br>
1521
+ <br>
1522
+ <br>
1523
+ <br>
1524
+ <br>
1525
+ <br>
1526
+ </div>
1527
+ </div>
1528
+ <div id="lcol">
1529
+ <div class="sidebar">
1530
+ <ul>
1531
+ </ul>
1532
+ <ul>
1533
+ <li><a href="#HPDF_Page_SetWidth_">HPDF_Page_SetWidth</a></li>
1534
+ <li><a href="#HPDF_Page_SetHeight_">HPDF_Page_SetHeight</a></li>
1535
+ <li><a href="#HPDF_Page_SetSize_">HPDF_Page_SetSize</a></li>
1536
+ <li><a href="#HPDF_Page_SetRotate_">HPDF_Page_SetRotate</a></li>
1537
+ <li><a href="#HPDF_Page_GetWidth_">HPDF_Page_GetWidth</a></li>
1538
+ <li><a href="#HPDF_Page_GetHeight_">HPDF_Page_GetHeight</a></li>
1539
+ <li><a href="#HPDF_Page_CreateDestination_">HPDF_Page_CreateDestination</a></li>
1540
+ <li><a href="#HPDF_Page_CreateTextAnnot_">HPDF_Page_CreateTextAnnot</a><br>
1541
+ </li>
1542
+ <li><a href="#HPDF_Page_CreateLinkAnnot_">HPDF_Page_CreateLinkAnnot</a></li>
1543
+ <li><a href="#HPDF_Page_CreateURILinkAnnot_">HPDF_Page_CreateURILinkAnnot</a></li>
1544
+ <li><a href="#HPDF_Page_TextWidth_">HPDF_Page_TextWidth</a></li>
1545
+ <li><a href="#HPDF_Page_MeasureText">HPDF_Page_MeasureText</a></li>
1546
+ <li><a href="#HPDF_Page_GetGMode">HPDF_Page_GetGMode</a></li>
1547
+ <li><a href="#HPDF_Page_GetCurrentPos">HPDF_Page_GetCurrentPos</a></li>
1548
+ <li><a href="#HPDF_Page_GetCurrentTextPos_">HPDF_Page_GetCurrentTextPos</a></li>
1549
+ <li><a href="#HPDF_Page_GetCurrentFont_">HPDF_Page_GetCurrentFont</a></li>
1550
+ <li><a href="#HPDF_Page_GetCurrentFontSize_">HPDF_Page_GetCurrentFontSize</a></li>
1551
+ <li><a href="#HPDF_Page_GetTransMatrix_">HPDF_Page_GetTransMatrix</a></li>
1552
+ <li><a href="#HPDF_Page_GetLineWidth_">HPDF_Page_GetLineWidth</a></li>
1553
+ <li><a href="#HPDF_Page_GetLineCap_">HPDF_Page_GetLineCap</a></li>
1554
+ <li><a href="#HPDF_Page_GetLineJoin_">HPDF_Page_GetLineJoin</a></li>
1555
+ <li><a href="#HPDF_Page_GetMiterLimit_">HPDF_Page_GetMiterLimit</a></li>
1556
+ <li><a href="#HPDF_Page_GetDash_">HPDF_Page_GetDash</a></li>
1557
+ <li><a href="#HPDF_Page_GetFlat_">HPDF_Page_GetFlat</a></li>
1558
+ <li><a href="#HPDF_Page_GetCharSpace_">HPDF_Page_GetCharSpace</a></li>
1559
+ <li><a href="#HPDF_Page_GetWordSpace_">HPDF_Page_GetWordSpace</a></li>
1560
+ <li><a href="#HPDF_Page_GetHorizontalScalling_">HPDF_Page_GetHorizontalScalling</a></li>
1561
+ <li><a href="#HPDF_Page_GetTextLeading_">HPDF_Page_GetTextLeading</a></li>
1562
+ <li><a href="#HPDF_Page_GetTextRenderingMode_">HPDF_Page_GetTextRenderingMode</a></li>
1563
+ <li><a href="#HPDF_Page_GetTextRise_">HPDF_Page_GetTextRise</a></li>
1564
+ <li><a href="#HPDF_Page_GetRGBFill_">HPDF_Page_GetRGBFill</a></li>
1565
+ <li><a href="#HPDF_Page_GetRGBStroke_">HPDF_Page_GetRGBStroke</a></li>
1566
+ <li><a href="#HPDF_Page_GetCMYKFill_">HPDF_Page_GetCMYKFill</a></li>
1567
+ <li><a href="#HPDF_Page_GetCMYKStroke_">HPDF_Page_GetCMYKStroke</a></li>
1568
+ <li><a href="#HPDF_Page_GetGrayFill_">HPDF_Page_GetGrayFill</a></li>
1569
+ <li><a href="#HPDF_Page_GetGrayStroke_">HPDF_Page_GetGrayStroke</a></li>
1570
+ <li><a href="#HPDF_Page_GetStrokingColorSpace_">HPDF_Page_GetStrokingColorSpace</a></li>
1571
+ <li><a href="#HPDF_Page_GetFillingColorSpace_">HPDF_Page_GetFillingColorSpace</a></li>
1572
+ <li><a href="#HPDF_Page_GetTextMatrix_">HPDF_Page_GetTextMatrix</a></li>
1573
+ <li><a href="#HPDF_Page_GetGStateDepth_">HPDF_Page_GetGStateDepth</a></li>
1574
+ <li><a href="#HPDF_Page_SetSlideShow_">HPDF_Page_SetSlideShow</a><br>
1575
+ </li>
1576
+ </ul>
1577
+ <br>
1578
+ <br>
1579
+ <br>
1580
+ <br>
1581
+ <br>
1582
+ <br>
1583
+ <br>
1584
+ <br>
1585
+ <br>
1586
+ <br>
1587
+ <br>
1588
+ <br>
1589
+ <br>
1590
+ <br>
1591
+ <br>
1592
+ <br>
1593
+ <br>
1594
+ <br>
1595
+ <br>
1596
+ <br>
1597
+ <br>
1598
+ <br>
1599
+ <br>
1600
+ <br>
1601
+ <br>
1602
+ <br>
1603
+ <br>
1604
+ <br>
1605
+ <br>
1606
+ <br>
1607
+ <br>
1608
+ <br>
1609
+ <br>
1610
+ <br>
1611
+ <br>
1612
+ <br>
1613
+ <br>
1614
+ <br>
1615
+ <br>
1616
+ <br>
1617
+ <br>
1618
+ <br>
1619
+ <br>
1620
+ <br>
1621
+ <br>
1622
+ <br>
1623
+ <br>
1624
+ <br>
1625
+ <br>
1626
+ <br>
1627
+ <br>
1628
+ <br>
1629
+ <br>
1630
+ <br>
1631
+ <br>
1632
+ <br>
1633
+ <br>
1634
+ <br>
1635
+ <br>
1636
+ <br>
1637
+ <br>
1638
+ <br>
1639
+ <br>
1640
+ <br>
1641
+ <br>
1642
+ <br>
1643
+ <br>
1644
+ <br>
1645
+ <br>
1646
+ <br>
1647
+ <br>
1648
+ <br>
1649
+ <br>
1650
+ <br>
1651
+ <br>
1652
+ <br>
1653
+ <br>
1654
+ <br>
1655
+ <br>
1656
+ <br>
1657
+ <br>
1658
+ <br>
1659
+ <br>
1660
+ <br>
1661
+ <br>
1662
+ <br>
1663
+ <br>
1664
+ <br>
1665
+ <br>
1666
+ <br>
1667
+ <br>
1668
+ <br>
1669
+ <br>
1670
+ <br>
1671
+ <br>
1672
+ <br>
1673
+ <br>
1674
+ <br>
1675
+ <br>
1676
+ <br>
1677
+ <br>
1678
+ <br>
1679
+ <br>
1680
+ <br>
1681
+ <br>
1682
+ <br>
1683
+ <br>
1684
+ <br>
1685
+ <br>
1686
+ <br>
1687
+ <br>
1688
+ <br>
1689
+ <br>
1690
+ <br>
1691
+ <br>
1692
+ <br>
1693
+ <br>
1694
+ <br>
1695
+ <br>
1696
+ <br>
1697
+ <br>
1698
+ <br>
1699
+ <br>
1700
+ <br>
1701
+ <br>
1702
+ <br>
1703
+ <br>
1704
+ <br>
1705
+ <br>
1706
+ <br>
1707
+ <br>
1708
+ <br>
1709
+ <br>
1710
+ <br>
1711
+ <br>
1712
+ <br>
1713
+ <br>
1714
+ <br>
1715
+ <br>
1716
+ <br>
1717
+ <br>
1718
+ <br>
1719
+ <br>
1720
+ <br>
1721
+ <br>
1722
+ <br>
1723
+ <br>
1724
+ <br>
1725
+ <br>
1726
+ <br>
1727
+ <br>
1728
+ <br>
1729
+ <br>
1730
+ <br>
1731
+ <br>
1732
+ <br>
1733
+ <br>
1734
+ <br>
1735
+ <br>
1736
+ <br>
1737
+ <br>
1738
+ <br>
1739
+ <br>
1740
+ <br>
1741
+ <br>
1742
+ <br>
1743
+ <br>
1744
+ <br>
1745
+ <br>
1746
+ <br>
1747
+ <br>
1748
+ <br>
1749
+ <br>
1750
+ <br>
1751
+ <br>
1752
+ <br>
1753
+ <br>
1754
+ <br>
1755
+ <br>
1756
+ <br>
1757
+ <br>
1758
+ <br>
1759
+ <br>
1760
+ <br>
1761
+ <br>
1762
+ <br>
1763
+ <br>
1764
+ <br>
1765
+ <br>
1766
+ <br>
1767
+ <br>
1768
+ <br>
1769
+ <br>
1770
+ <br>
1771
+ <br>
1772
+ <br>
1773
+ <br>
1774
+ <br>
1775
+ <br>
1776
+ <br>
1777
+ <br>
1778
+ <br>
1779
+ <br>
1780
+ <br>
1781
+ <br>
1782
+ <br>
1783
+ <br>
1784
+ <br>
1785
+ <br>
1786
+ <br>
1787
+ <br>
1788
+ <br>
1789
+ <br>
1790
+ <br>
1791
+ <br>
1792
+ <br>
1793
+ <br>
1794
+ <br>
1795
+ <br>
1796
+ <br>
1797
+ <br>
1798
+ <br>
1799
+ <br>
1800
+ <br>
1801
+ <br>
1802
+ <br>
1803
+ <br>
1804
+ <br>
1805
+ <br>
1806
+ <br>
1807
+ <br>
1808
+ <br>
1809
+ <br>
1810
+ <br>
1811
+ <br>
1812
+ <br>
1813
+ <br>
1814
+ <br>
1815
+ <br>
1816
+ <br>
1817
+ <br>
1818
+ <br>
1819
+ <br>
1820
+ <br>
1821
+ <br>
1822
+ <br>
1823
+ <br>
1824
+ <br>
1825
+ <br>
1826
+ <br>
1827
+ <br>
1828
+ <br>
1829
+ <br>
1830
+ <br>
1831
+ <br>
1832
+ <br>
1833
+ <br>
1834
+ <br>
1835
+ <br>
1836
+ <br>
1837
+ <br>
1838
+ <br>
1839
+ <br>
1840
+ <br>
1841
+ <br>
1842
+ <br>
1843
+ <br>
1844
+ <br>
1845
+ <br>
1846
+ <br>
1847
+ <br>
1848
+ <br>
1849
+ <br>
1850
+ <br>
1851
+ <br>
1852
+ <br>
1853
+ <br>
1854
+ <br>
1855
+ <br>
1856
+ <br>
1857
+ <br>
1858
+ <br>
1859
+ <br>
1860
+ <br>
1861
+ <br>
1862
+ <br>
1863
+ <br>
1864
+ <br>
1865
+ <br>
1866
+ <br>
1867
+ <br>
1868
+ <br>
1869
+ <br>
1870
+ <br>
1871
+ <br>
1872
+ <br>
1873
+ <br>
1874
+ <br>
1875
+ <br>
1876
+ <br>
1877
+ <br>
1878
+ <br>
1879
+ <br>
1880
+ <br>
1881
+ <br>
1882
+ <br>
1883
+ <br>
1884
+ <br>
1885
+ <br>
1886
+ <br>
1887
+ <br>
1888
+ <br>
1889
+ <br>
1890
+ <br>
1891
+ <br>
1892
+ <br>
1893
+ <br>
1894
+ <br>
1895
+ <br>
1896
+ <br>
1897
+ <br>
1898
+ <br>
1899
+ <br>
1900
+ <br>
1901
+ <br>
1902
+ <br>
1903
+ <br>
1904
+ <br>
1905
+ <br>
1906
+ <br>
1907
+ <br>
1908
+ <br>
1909
+ <br>
1910
+ <br>
1911
+ <br>
1912
+ <br>
1913
+ <br>
1914
+ <br>
1915
+ <br>
1916
+ <br>
1917
+ <br>
1918
+ <br>
1919
+ <br>
1920
+ <br>
1921
+ <br>
1922
+ <br>
1923
+ <br>
1924
+ <br>
1925
+ <br>
1926
+ <br>
1927
+ <br>
1928
+ <br>
1929
+ <br>
1930
+ <br>
1931
+ <br>
1932
+ <br>
1933
+ <br>
1934
+ <br>
1935
+ <br>
1936
+ <br>
1937
+ <br>
1938
+ <br>
1939
+ <br>
1940
+ <br>
1941
+ <br>
1942
+ <br>
1943
+ <br>
1944
+ <br>
1945
+ <br>
1946
+ <br>
1947
+ <br>
1948
+ <br>
1949
+ <br>
1950
+ <br>
1951
+ <br>
1952
+ <br>
1953
+ <br>
1954
+ <br>
1955
+ <br>
1956
+ <br>
1957
+ <br>
1958
+ <br>
1959
+ <br>
1960
+ <br>
1961
+ <br>
1962
+ <br>
1963
+ <br>
1964
+ <br>
1965
+ <br>
1966
+ <br>
1967
+ <br>
1968
+ <br>
1969
+ <br>
1970
+ <br>
1971
+ <br>
1972
+ <br>
1973
+ <br>
1974
+ <br>
1975
+ <br>
1976
+ <br>
1977
+ <br>
1978
+ <br>
1979
+ <br>
1980
+ <br>
1981
+ <br>
1982
+ <br>
1983
+ <br>
1984
+ <br>
1985
+ <br>
1986
+ <br>
1987
+ <br>
1988
+ <br>
1989
+ <br>
1990
+ <br>
1991
+ <br>
1992
+ <br>
1993
+ <br>
1994
+ <br>
1995
+ <br>
1996
+ <br>
1997
+ <br>
1998
+ <br>
1999
+ <br>
2000
+ <br>
2001
+ <br>
2002
+ <br>
2003
+ <br>
2004
+ <br>
2005
+ <br>
2006
+ <br>
2007
+ <br>
2008
+ <br>
2009
+ <br>
2010
+ <br>
2011
+ <br>
2012
+ <br>
2013
+ <br>
2014
+ <br>
2015
+ <br>
2016
+ <br>
2017
+ <br>
2018
+ <br>
2019
+ <br>
2020
+ <br>
2021
+ <br>
2022
+ <br>
2023
+ <br>
2024
+ <br>
2025
+ <br>
2026
+ <br>
2027
+ <br>
2028
+ <br>
2029
+ <br>
2030
+ <br>
2031
+ <br>
2032
+ <br>
2033
+ <br>
2034
+ <br>
2035
+ <br>
2036
+ <br>
2037
+ <br>
2038
+ <br>
2039
+ <br>
2040
+ <br>
2041
+ <br>
2042
+ <br>
2043
+ <br>
2044
+ <br>
2045
+ <br>
2046
+ <br>
2047
+ <br>
2048
+ <br>
2049
+ <br>
2050
+ <br>
2051
+ <br>
2052
+ <br>
2053
+ <br>
2054
+ <br>
2055
+ <br>
2056
+ <br>
2057
+ <br>
2058
+ <br>
2059
+ <br>
2060
+ <br>
2061
+ <br>
2062
+ <br>
2063
+ <br>
2064
+ <br>
2065
+ <br>
2066
+ <br>
2067
+ <br>
2068
+ <br>
2069
+ <br>
2070
+ <br>
2071
+ <br>
2072
+ <br>
2073
+ <br>
2074
+ <br>
2075
+ <br>
2076
+ <br>
2077
+ <br>
2078
+ <br>
2079
+ <br>
2080
+ <br>
2081
+ <br>
2082
+ <br>
2083
+ <br>
2084
+ <br>
2085
+ <br>
2086
+ <br>
2087
+ <br>
2088
+ <br>
2089
+ <br>
2090
+ <br>
2091
+ <br>
2092
+ <br>
2093
+ <br>
2094
+ <br>
2095
+ <br>
2096
+ <br>
2097
+ <br>
2098
+ <br>
2099
+ <br>
2100
+ <br>
2101
+ <br>
2102
+ <br>
2103
+ <br>
2104
+ <br>
2105
+ <br>
2106
+ <br>
2107
+ <br>
2108
+ <br>
2109
+ <br>
2110
+ <br>
2111
+ <br>
2112
+ <br>
2113
+ <br>
2114
+ <br>
2115
+ <br>
2116
+ <br>
2117
+ <br>
2118
+ <br>
2119
+ <br>
2120
+ <br>
2121
+ <br>
2122
+ <br>
2123
+ <br>
2124
+ <br>
2125
+ <br>
2126
+ <br>
2127
+ <br>
2128
+ <br>
2129
+ <br>
2130
+ <br>
2131
+ <br>
2132
+ <br>
2133
+ <br>
2134
+ <br>
2135
+ <br>
2136
+ <br>
2137
+ <br>
2138
+ <br>
2139
+ <br>
2140
+ <br>
2141
+ <br>
2142
+ <br>
2143
+ <br>
2144
+ <br>
2145
+ <br>
2146
+ <br>
2147
+ <br>
2148
+ <br>
2149
+ <br>
2150
+ <br>
2151
+ <br>
2152
+ <br>
2153
+ <br>
2154
+ <br>
2155
+ <br>
2156
+ <br>
2157
+ <br>
2158
+ <br>
2159
+ <br>
2160
+ <br>
2161
+ <br>
2162
+ <br>
2163
+ <br>
2164
+ <br>
2165
+ <br>
2166
+ <br>
2167
+ <br>
2168
+ <br>
2169
+ <br>
2170
+ <br>
2171
+ <br>
2172
+ <br>
2173
+ <br>
2174
+ <br>
2175
+ <br>
2176
+ <br>
2177
+ <br>
2178
+ <br>
2179
+ <br>
2180
+ <br>
2181
+ <br>
2182
+ <br>
2183
+ <br>
2184
+ <br>
2185
+ <br>
2186
+ <br>
2187
+ <br>
2188
+ <br>
2189
+ <br>
2190
+ <br>
2191
+ <br>
2192
+ <br>
2193
+ <br>
2194
+ <br>
2195
+ <br>
2196
+ <br>
2197
+ <br>
2198
+ <br>
2199
+ <br>
2200
+ <br>
2201
+ <br>
2202
+ <br>
2203
+ <br>
2204
+ <br>
2205
+ <br>
2206
+ <br>
2207
+ <br>
2208
+ <br>
2209
+ <br>
2210
+ <br>
2211
+ <br>
2212
+ <br>
2213
+ <br>
2214
+ <br>
2215
+ <br>
2216
+ <br>
2217
+ <br>
2218
+ <br>
2219
+ <br>
2220
+ <br>
2221
+ <br>
2222
+ <br>
2223
+ <br>
2224
+ <br>
2225
+ <br>
2226
+ <br>
2227
+ <br>
2228
+ <br>
2229
+ <br>
2230
+ <br>
2231
+ <br>
2232
+ <br>
2233
+ <br>
2234
+ <br>
2235
+ <br>
2236
+ <br>
2237
+ <br>
2238
+ <br>
2239
+ <br>
2240
+ <br>
2241
+ <br>
2242
+ <br>
2243
+ <br>
2244
+ <br>
2245
+ <br>
2246
+ <br>
2247
+ <br>
2248
+ <br>
2249
+ <br>
2250
+ <br>
2251
+ <br>
2252
+ <br>
2253
+ <br>
2254
+ <br>
2255
+ <br>
2256
+ <br>
2257
+ <br>
2258
+ <br>
2259
+ <br>
2260
+ <br>
2261
+ <br>
2262
+ <br>
2263
+ <br>
2264
+ <br>
2265
+ <br>
2266
+ <br>
2267
+ <br>
2268
+ <br>
2269
+ <br>
2270
+ <br>
2271
+ <br>
2272
+ <br>
2273
+ <br>
2274
+ <br>
2275
+ <br>
2276
+ <br>
2277
+ <br>
2278
+ <br>
2279
+ <br>
2280
+ <br>
2281
+ <br>
2282
+ <br>
2283
+ <br>
2284
+ <br>
2285
+ <br>
2286
+ <br>
2287
+ <br>
2288
+ <br>
2289
+ <br>
2290
+ <br>
2291
+ <br>
2292
+ <br>
2293
+ <br>
2294
+ <br>
2295
+ <br>
2296
+ <br>
2297
+ <br>
2298
+ <br>
2299
+ <br>
2300
+ <br>
2301
+ <br>
2302
+ <br>
2303
+ <br>
2304
+ <br>
2305
+ <br>
2306
+ <br>
2307
+ <br>
2308
+ <br>
2309
+ <br>
2310
+ <br>
2311
+ <br>
2312
+ <br>
2313
+ <br>
2314
+ <br>
2315
+ <br>
2316
+ <br>
2317
+ <br>
2318
+ <br>
2319
+ <br>
2320
+ <br>
2321
+ <br>
2322
+ <br>
2323
+ <br>
2324
+ <br>
2325
+ <br>
2326
+ <br>
2327
+ <br>
2328
+ <br>
2329
+ <br>
2330
+ <br>
2331
+ <br>
2332
+ <br>
2333
+ <br>
2334
+ <br>
2335
+ <br>
2336
+ <br>
2337
+ <br>
2338
+ <br>
2339
+ <br>
2340
+ <br>
2341
+ <br>
2342
+ <br>
2343
+ <br>
2344
+ <br>
2345
+ <br>
2346
+ <br>
2347
+ <br>
2348
+ <br>
2349
+ <br>
2350
+ <br>
2351
+ <br>
2352
+ <br>
2353
+ <br>
2354
+ <br>
2355
+ <br>
2356
+ <br>
2357
+ <br>
2358
+ <br>
2359
+ <br>
2360
+ <br>
2361
+ <br>
2362
+ <br>
2363
+ <br>
2364
+ <br>
2365
+ <br>
2366
+ <br>
2367
+ <br>
2368
+ <br>
2369
+ <br>
2370
+ <br>
2371
+ <br>
2372
+ <br>
2373
+ <br>
2374
+ <br>
2375
+ <br>
2376
+ <br>
2377
+ <br>
2378
+ <br>
2379
+ <br>
2380
+ <br>
2381
+ <br>
2382
+ <br>
2383
+ <br>
2384
+ <br>
2385
+ <br>
2386
+ <br>
2387
+ <br>
2388
+ <br>
2389
+ <br>
2390
+ <br>
2391
+ <br>
2392
+ <br>
2393
+ <br>
2394
+ <br>
2395
+ <br>
2396
+ <br>
2397
+ <br>
2398
+ <br>
2399
+ <br>
2400
+ <br>
2401
+ <br>
2402
+ <br>
2403
+ <br>
2404
+ <br>
2405
+ <br>
2406
+ <br>
2407
+ <br>
2408
+ <br>
2409
+ <br>
2410
+ <br>
2411
+ <br>
2412
+ <br>
2413
+ <br>
2414
+ <br>
2415
+ <br>
2416
+ <br>
2417
+ <br>
2418
+ <br>
2419
+ <br>
2420
+ <br>
2421
+ <br>
2422
+ <br>
2423
+ <br>
2424
+ <br>
2425
+ <br>
2426
+ <br>
2427
+ <br>
2428
+ <br>
2429
+ <br>
2430
+ <br>
2431
+ <br>
2432
+ <br>
2433
+ <br>
2434
+ <br>
2435
+ <br>
2436
+ <br>
2437
+ <br>
2438
+ <br>
2439
+ <br>
2440
+ <br>
2441
+ <br>
2442
+ <br>
2443
+ <br>
2444
+ <br>
2445
+ <br>
2446
+ <br>
2447
+ <br>
2448
+ <br>
2449
+ <br>
2450
+ <br>
2451
+ <br>
2452
+ <br>
2453
+ <br>
2454
+ <br>
2455
+ <br>
2456
+ <br>
2457
+ <br>
2458
+ <br>
2459
+ <br>
2460
+ <br>
2461
+ <br>
2462
+ <br>
2463
+ <br>
2464
+ <br>
2465
+ <br>
2466
+ <br>
2467
+ <br>
2468
+ <br>
2469
+ <br>
2470
+ <br>
2471
+ <br>
2472
+ <br>
2473
+ <br>
2474
+ <br>
2475
+ <br>
2476
+ <br>
2477
+ <br>
2478
+ <br>
2479
+ <br>
2480
+ <br>
2481
+ <br>
2482
+ <br>
2483
+ <br>
2484
+ <br>
2485
+ <br>
2486
+ <br>
2487
+ <br>
2488
+ <br>
2489
+ <br>
2490
+ <br>
2491
+ <br>
2492
+ <br>
2493
+ <br>
2494
+ <br>
2495
+ <br>
2496
+ <br>
2497
+ <br>
2498
+ <br>
2499
+ <br>
2500
+ <br>
2501
+ <br>
2502
+ <br>
2503
+ <br>
2504
+ <br>
2505
+ <br>
2506
+ <br>
2507
+ <br>
2508
+ <br>
2509
+ <br>
2510
+ <br>
2511
+ <br>
2512
+ <br>
2513
+ <br>
2514
+ <br>
2515
+ <br>
2516
+ <br>
2517
+ <br>
2518
+ <br>
2519
+ <br>
2520
+ <br>
2521
+ <br>
2522
+ <br>
2523
+ <br>
2524
+ <br>
2525
+ <br>
2526
+ <br>
2527
+ <br>
2528
+ <br>
2529
+ <br>
2530
+ <br>
2531
+ <br>
2532
+ <br>
2533
+ <br>
2534
+ <br>
2535
+ <br>
2536
+ <br>
2537
+ <br>
2538
+ <br>
2539
+ <br>
2540
+ <br>
2541
+ <br>
2542
+ <br>
2543
+ <br>
2544
+ <br>
2545
+ <br>
2546
+ <br>
2547
+ <br>
2548
+ <br>
2549
+ <br>
2550
+ <br>
2551
+ <br>
2552
+ <br>
2553
+ <br>
2554
+ <br>
2555
+ <br>
2556
+ <br>
2557
+ <br>
2558
+ <br>
2559
+ <br>
2560
+ <br>
2561
+ <br>
2562
+ <br>
2563
+ <br>
2564
+ <br>
2565
+ <br>
2566
+ <br>
2567
+ <br>
2568
+ <br>
2569
+ <br>
2570
+ <br>
2571
+ <br>
2572
+ <br>
2573
+ <br>
2574
+ <br>
2575
+ <br>
2576
+ <br>
2577
+ <br>
2578
+ <br>
2579
+ <br>
2580
+ <br>
2581
+ <br>
2582
+ <br>
2583
+ <br>
2584
+ <br>
2585
+ <br>
2586
+ <br>
2587
+ <br>
2588
+ <br>
2589
+ <br>
2590
+ <br>
2591
+ <br>
2592
+ <br>
2593
+ <br>
2594
+ <br>
2595
+ <br>
2596
+ <br>
2597
+ <br>
2598
+ <br>
2599
+ <br>
2600
+ <br>
2601
+ <br>
2602
+ <br>
2603
+ <br>
2604
+ <br>
2605
+ <br>
2606
+ <br>
2607
+ <br>
2608
+ <br>
2609
+ <br>
2610
+ <br>
2611
+ <br>
2612
+ <br>
2613
+ <br>
2614
+ <br>
2615
+ <br>
2616
+ <br>
2617
+ <br>
2618
+ <br>
2619
+ <br>
2620
+ <br>
2621
+ <br>
2622
+ <br>
2623
+ <br>
2624
+ <br>
2625
+ <br>
2626
+ <br>
2627
+ <br>
2628
+ <br>
2629
+ <br>
2630
+ </div>
2631
+ </div>
2632
+ <br>
2633
+ <br>
2634
+ <br>
2635
+ <br>
2636
+ <br>
2637
+ <br>
2638
+ <br>
2639
+ <br>
2640
+ <br>
2641
+ <br>
2642
+ <br>
2643
+ <br>
2644
+ <br>
2645
+ </div>
2646
+ </body>
2647
+ </html>