forked from edragoev1/pdfjet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
examples-java.html
160 lines (160 loc) · 9.6 KB
/
examples-java.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html>
<head></head>
<body>
<p><strong>PDFjet Java Examples</strong></p>
<p>Please run the <strong>build-java.cmd</strong> or <strong>build-java.sh</strong> scripts to generate all the PDF files:</strong></p>
<ol>
<li><a href="examples/Example_01.java">Example_01.java</a> <a href="Example_01.pdf">Example_01.pdf</a> <strong>
Using Lines, Boxes and Stars.
</strong></li>
<li><a href="examples/Example_02.java">Example_02.java</a> <a href="Example_02.pdf">Example_02.pdf</a> <strong>
Using Paths.
</strong></li>
<li><a href="examples/Example_03.java">Example_03.java</a> <a href="Example_03.pdf">Example_03.pdf</a> <strong>
Embedding PNG, JPG and BMP Images.
</strong></li>
<li><a href="examples/Example_04.java">Example_04.java</a> <a href="Example_04.pdf">Example_04.pdf</a> <strong>
Using Chinese, Japanese and Korean fonts.
</strong></li>
<li><a href="examples/Example_05.java">Example_05.java</a> <a href="Example_05.pdf">Example_05.pdf</a> <strong>
Text kerning and drawing rotated text.
</strong></li>
<li><a href="examples/Example_06.java">Example_06.java</a> <a href="Example_06.pdf">Example_06.pdf</a> <strong>
Using embedded fonts with code pages.
</strong></li>
<li><a href="examples/Example_07.java">Example_07.java</a> <a href="Example_07.pdf">Example_07.pdf</a> <strong>
Using embedded fonts with Unicode.
</strong></li>
<li><a href="examples/Example_08.java">Example_08.java</a> <a href="Example_08.pdf">Example_08.pdf</a> <strong>
Using the Table component.
</strong></li>
<li><a href="examples/Example_09.java">Example_09.java</a> <a href="Example_09.pdf">Example_09.pdf</a> <strong>
Using the Chart component.
</strong></li>
<li><a href="examples/Example_10.java">Example_10.java</a> <a href="Example_10.pdf">Example_10.pdf</a> <strong>
Using the TextColumn component.
</strong></li>
<li><a href="examples/Example_11.java">Example_11.java</a> <a href="Example_11.pdf">Example_11.pdf</a> <strong>
Using linear bacodes.
</strong></li>
<li><a href="examples/Example_12.java">Example_12.java</a> <a href="Example_12.pdf">Example_12.pdf</a> <strong>
Using PDF417 2D barcodes.
</strong></li>
<li><a href="examples/Example_13.java">Example_13.java</a> <a href="Example_13.pdf">Example_13.pdf</a> <strong>
Drawing three tables side by side.
</strong></li>
<li><a href="examples/Example_14.java">Example_14.java</a> <a href="Example_14.pdf">Example_14.pdf</a> <strong>
Using the Table's SetColSpan method.
</strong></li>
<li><a href="examples/Example_15.java">Example_15.java</a> <a href="Example_15.pdf">Example_15.pdf</a> <strong>
Using the CompositeTextLine together with the Table class.
</strong></li>
<li><a href="examples/Example_16.java">Example_16.java</a> <a href="Example_16.pdf">Example_16.pdf</a> <strong>
Using the TextBox component.
</strong></li>
<li><a href="examples/Example_17.java">Example_17.java</a> <a href="Example_17.pdf">Example_17.pdf</a> <strong>
Test case for PNG images.
</strong></li>
<li><a href="examples/Example_18.java">Example_18.java</a> <a href="Example_18.pdf">Example_18.pdf</a> <strong>
Drawing circular segments.
</strong></li>
<li><a href="examples/Example_19.java">Example_19.java</a> <a href="Example_19.pdf">Example_19.pdf</a> <strong>
Filling in an existing PDF form.
</strong></li>
<li><a href="examples/Example_20.java">Example_20.java</a> <a href="Example_20.pdf">Example_20.pdf</a> <strong>
Reading a logo in PDF format and drawing it on a new PDF document.
</strong></li>
<li><a href="examples/Example_21.java">Example_21.java</a> <a href="Example_21.pdf">Example_21.pdf</a> <strong>
Using QR code 2D barcodes.
</strong></li>
<li><a href="examples/Example_22.java">Example_22.java</a> <a href="Example_22.pdf">Example_22.pdf</a> <strong>
Adding "Destinations" and "Go To" actions.
</strong></li>
<li><a href="examples/Example_23.java">Example_23.java</a> <a href="Example_23.pdf">Example_23.pdf</a> <strong>
Using the SetColSpan and WrapAroundCellText Table methods.
</strong></li>
<li><a href="examples/Example_24.java">Example_24.java</a> <a href="Example_24.pdf">Example_24.pdf</a> <strong>
Using raw PDF images to reduce memory consumption.
</strong></li>
<li><a href="examples/Example_25.java">Example_25.java</a> <a href="Example_25.pdf">Example_25.pdf</a> <strong>
Using the CompositeTextLine component to display chemical formulas.
</strong></li>
<li><a href="examples/Example_26.java">Example_26.java</a> <a href="Example_26.pdf">Example_26.pdf</a> <strong>
Using the CheckBox component.
</strong></li>
<li><a href="examples/Example_27.java">Example_27.java</a> <a href="Example_27.pdf">Example_27.pdf</a> <strong>
Using Thai and Hebrew.
</strong></li>
<li><a href="examples/Example_28.java">Example_28.java</a> <a href="Example_28.pdf">Example_28.pdf</a> <strong>
Using the DroidSansFallback.ttf font to display icons.
</strong></li>
<li><a href="examples/Example_29.java">Example_29.java</a> <a href="Example_29.pdf">Example_29.pdf</a> <strong>
Another TextBox example.
</strong></li>
<li><a href="examples/Example_30.java">Example_30.java</a> <a href="Example_30.pdf">Example_30.pdf</a> <strong>
Using PDF layers.
</strong></li>
<li><a href="examples/Example_31.java">Example_31.java</a> <a href="Example_31.pdf">Example_31.pdf</a> <strong>
Using Tamil and Hindi.
</strong></li>
<li><a href="examples/Example_32.java">Example_32.java</a> <a href="Example_32.pdf">Example_32.pdf</a> <strong>
Using low level graphics primitives. Use with caution only when high level component is not available!
</strong></li>
<li><a href="examples/Example_33.java">Example_33.java</a> <a href="Example_33.pdf">Example_33.pdf</a> <strong>
Test case for JPG images created by Photoshop.
</strong></li>
<li><a href="examples/Example_34.java">Example_34.java</a> <a href="Example_34.pdf">Example_34.pdf</a> <strong>
Adding points with URI Action to Table cells.
</strong></li>
<li><a href="examples/Example_35.java">Example_35.java</a> <a href="Example_35.pdf">Example_35.pdf</a> <strong>
Shows how to use the Chart class to display line charts.
</strong></li>
<li><a href="examples/Example_36.java">Example_36.java</a> <a href="Example_36.pdf">Example_36.pdf</a> <strong>
Adding pages "out of order" to PDF document.
</strong></li>
<li><a href="examples/Example_37.java">Example_37.java</a> <a href="Example_37.pdf">Example_37.pdf</a> <strong>
Test case for indexed PNG images with Alpha channel.
</strong></li>
<li><a href="examples/Example_38.java">Example_38.java</a> <a href="Example_38.pdf">Example_38.pdf</a> <strong>
Example that showscases the flexibility of the Table class.
</strong></li>
<li><a href="examples/Example_39.java">Example_39.java</a> <a href="Example_39.pdf">Example_39.pdf</a> <strong>
Creating a chart with horizontal bars.
</strong></li>
<li><a href="examples/Example_40.java">Example_40.java</a> <a href="Example_40.pdf">Example_40.pdf</a> <strong>
Creating a chart with vertical bars.
</strong></li>
<li><a href="examples/Example_41.java">Example_41.java</a> <a href="Example_41.pdf">Example_41.pdf</a> <strong>
How to use the Text class to create blocks of text.
</strong></li>
<li><a href="examples/Example_42.java">Example_42.java</a> <a href="Example_42.pdf">Example_42.pdf</a> <strong>
Using the Form and Field classes to create forms.
</strong></li>
<li><a href="examples/Example_43.java">Example_43.java</a> <a href="Example_43.pdf">Example_43.pdf</a> <strong>
How to find the bottom right coordinate of text block created by the Text class.
</strong></li>
<li><a href="examples/Example_44.java">Example_44.java</a> <a href="Example_44.pdf">Example_44.pdf</a> <strong>
How to use the method addChineseParagraph in the TextColumn class.
</strong></li>
<li><a href="examples/Example_45.java">Example_45.java</a> <a href="Example_45.pdf">Example_45.pdf</a> <strong>
Creating PDF/UA compliant document.
</strong></li>
<li><a href="examples/Example_46.java">Example_46.java</a> <a href="Example_46.pdf">Example_46.pdf</a> <strong>
Example showing how to use the Text class.
</strong></li>
<li><a href="examples/Example_47.java">Example_47.java</a> <a href="Example_47.pdf">Example_47.pdf</a> <strong>
Example showing how to use the TextFrame class.
</strong></li>
<li><a href="examples/Example_48.java">Example_48.java</a> <a href="Example_48.pdf">Example_48.pdf</a> <strong>
Example showing how to use bookmarks.
</strong></li>
<li><a href="examples/Example_49.java">Example_49.java</a> <a href="Example_49.pdf">Example_49.pdf</a> <strong>
Example showing how to use the TextColumn class.
</strong></li>
<li><a href="examples/Example_50.java">Example_50.java</a> <a href="Example_50.pdf">Example_50.pdf</a> <strong>
This examples shows how you can open existing PDF and write on top of it.
</strong></li>
</ol>
</body>
</html>