@@ -53,21 +53,32 @@ namespace iText.Forms.Xfdf {
53
53
/// </remarks>
54
54
public class ActionObject {
55
55
/// <summary>Type of inner action element.</summary>
56
- /// <remarks>Type of inner action element. Possible values: URI, Launch, GoTo, GoToR, Named.</remarks>
56
+ /// <remarks>
57
+ /// Type of inner action element. Possible values:
58
+ /// <see cref="iText.Kernel.Pdf.PdfName.URI"/>
59
+ /// ,
60
+ /// <see cref="iText.Kernel.Pdf.PdfName.Launch"/>
61
+ /// ,
62
+ /// <see cref="iText.Kernel.Pdf.PdfName.GoTo"/>
63
+ /// ,
64
+ /// <see cref="iText.Kernel.Pdf.PdfName.GoToR"/>
65
+ /// ,
66
+ /// <see cref="iText.Kernel.Pdf.PdfName.Named"/>.
67
+ /// </remarks>
57
68
private PdfName type ;
58
69
59
- /// <summary>Represents Name required attribute of URI element.</summary>
60
- /// <remarks>Represents Name required attribute of URI element. For more details see paragraph 6.5.30 in Xfdf specification.
70
+ /// <summary>Represents Name, required attribute of URI element.</summary>
71
+ /// <remarks>Represents Name, required attribute of URI element. For more details see paragraph 6.5.30 in Xfdf specification.
61
72
/// </remarks>
62
73
private PdfString uri ;
63
74
64
- /// <summary>Represents IsMap optional attribute of URI element.</summary>
65
- /// <remarks>Represents IsMap optional attribute of URI element. For more details see paragraph 6.5.30 in Xfdf specification.
75
+ /// <summary>Represents IsMap, optional attribute of URI element.</summary>
76
+ /// <remarks>Represents IsMap, optional attribute of URI element. For more details see paragraph 6.5.30 in Xfdf specification.
66
77
/// </remarks>
67
78
private bool isMap ;
68
79
69
- /// <summary>Represents Name required attribute of Named element.</summary>
70
- /// <remarks>Represents Name required attribute of Named element. For more details see paragraph 6.5.24 in Xfdf specification.
80
+ /// <summary>Represents Name, required attribute of Named element.</summary>
81
+ /// <remarks>Represents Name, required attribute of Named element. For more details see paragraph 6.5.24 in Xfdf specification.
71
82
/// </remarks>
72
83
private PdfName nameAction ;
73
84
@@ -79,14 +90,14 @@ public class ActionObject {
79
90
/// </remarks>
80
91
private String fileOriginalName ;
81
92
82
- /// <summary>Represents NewWindows optional attribute of Launch element.</summary>
83
- /// <remarks>Represents NewWindows optional attribute of Launch element. For more details see paragraph 6.5.23 in Xfdf specification.
93
+ /// <summary>Represents NewWindow, optional attribute of Launch element.</summary>
94
+ /// <remarks>Represents NewWindow, optional attribute of Launch element. For more details see paragraph 6.5.23 in Xfdf specification.
84
95
/// </remarks>
85
96
private bool isNewWindow ;
86
97
87
- /// <summary>Represents Dest inner element of link, GoTo, and GoToR elements.</summary>
98
+ /// <summary>Represents Dest, inner element of link, GoTo, and GoToR elements.</summary>
88
99
/// <remarks>
89
- /// Represents Dest inner element of link, GoTo, and GoToR elements.
100
+ /// Represents Dest, inner element of link, GoTo, and GoToR elements.
90
101
/// Corresponds to Dest key in link annotation dictionary.
91
102
/// For more details see paragraph 6.5.10 in Xfdf specification.
92
103
/// </remarks>
@@ -96,64 +107,144 @@ public ActionObject(PdfName type) {
96
107
this . type = type ;
97
108
}
98
109
110
+ /// <summary>Returns the type of inner action element.</summary>
111
+ /// <remarks>
112
+ /// Returns the type of inner action element. Possible values:
113
+ /// <see cref="iText.Kernel.Pdf.PdfName.URI"/>
114
+ /// ,
115
+ /// <see cref="iText.Kernel.Pdf.PdfName.Launch"/>
116
+ /// ,
117
+ /// <see cref="iText.Kernel.Pdf.PdfName.GoTo"/>
118
+ /// ,
119
+ /// <see cref="iText.Kernel.Pdf.PdfName.GoToR"/>
120
+ /// ,
121
+ /// <see cref="iText.Kernel.Pdf.PdfName.Named"/>.
122
+ /// </remarks>
99
123
public virtual PdfName GetType ( ) {
100
124
return type ;
101
125
}
102
126
127
+ /// <summary>Sets the type of inner action element.</summary>
128
+ /// <remarks>
129
+ /// Sets the type of inner action element. Possible values:
130
+ /// <see cref="iText.Kernel.Pdf.PdfName.URI"/>
131
+ /// ,
132
+ /// <see cref="iText.Kernel.Pdf.PdfName.Launch"/>
133
+ /// ,
134
+ /// <see cref="iText.Kernel.Pdf.PdfName.GoTo"/>
135
+ /// ,
136
+ /// <see cref="iText.Kernel.Pdf.PdfName.GoToR"/>
137
+ /// ,
138
+ /// <see cref="iText.Kernel.Pdf.PdfName.Named"/>.
139
+ /// </remarks>
103
140
public virtual iText . Forms . Xfdf . ActionObject SetType ( PdfName type ) {
104
141
this . type = type ;
105
142
return this ;
106
143
}
107
144
145
+ /// <summary>Gets the string value of URI elements.</summary>
146
+ /// <remarks>
147
+ /// Gets the string value of URI elements. Corresponds to Name, required attribute of URI element.
148
+ /// For more details see paragraph 6.5.30 in Xfdf specification.
149
+ /// </remarks>
108
150
public virtual PdfString GetUri ( ) {
109
151
return uri ;
110
152
}
111
153
154
+ /// <summary>Sets the string value of URI elements.</summary>
155
+ /// <remarks>
156
+ /// Sets the string value of URI elements. Corresponds to Name, required attribute of URI element.
157
+ /// For more details see paragraph 6.5.30 in Xfdf specification.
158
+ /// </remarks>
112
159
public virtual iText . Forms . Xfdf . ActionObject SetUri ( PdfString uri ) {
113
160
this . uri = uri ;
114
161
return this ;
115
162
}
116
163
164
+ /// <summary>Gets IsMap, optional attribute of URI element.</summary>
165
+ /// <remarks>Gets IsMap, optional attribute of URI element. For more details see paragraph 6.5.30 in Xfdf specification.
166
+ /// </remarks>
117
167
public virtual bool IsMap ( ) {
118
168
return isMap ;
119
169
}
120
170
171
+ /// <summary>Sets IsMap, optional attribute of URI element.</summary>
172
+ /// <remarks>Sets IsMap, optional attribute of URI element. For more details see paragraph 6.5.30 in Xfdf specification.
173
+ /// </remarks>
121
174
public virtual iText . Forms . Xfdf . ActionObject SetMap ( bool map ) {
122
175
isMap = map ;
123
176
return this ;
124
177
}
125
178
179
+ /// <summary>Gets the value of Name, required attribute of Named element.</summary>
180
+ /// <remarks>Gets the value of Name, required attribute of Named element. For more details see paragraph 6.5.24 in Xfdf specification.
181
+ /// </remarks>
126
182
public virtual PdfName GetNameAction ( ) {
127
183
return nameAction ;
128
184
}
129
185
186
+ /// <summary>Sets the value of Name, required attribute of Named element.</summary>
187
+ /// <remarks>Sets the value of Name, required attribute of Named element. For more details see paragraph 6.5.24 in Xfdf specification.
188
+ /// </remarks>
130
189
public virtual iText . Forms . Xfdf . ActionObject SetNameAction ( PdfName nameAction ) {
131
190
this . nameAction = nameAction ;
132
191
return this ;
133
192
}
134
193
194
+ /// <summary>Gets the string value of OriginalName, required attribute of File inner element of GoToR or Launch element.
195
+ /// </summary>
196
+ /// <remarks>
197
+ /// Gets the string value of OriginalName, required attribute of File inner element of GoToR or Launch element.
198
+ /// Corresponds to F key in go-to action or launch dictionaries.
199
+ /// For more details see paragraphs 6.5.11, 6.5.23 in Xfdf specification.
200
+ /// </remarks>
135
201
public virtual String GetFileOriginalName ( ) {
136
202
return fileOriginalName ;
137
203
}
138
204
205
+ /// <summary>Sets the string value of OriginalName, required attribute of File inner element of GoToR or Launch element.
206
+ /// </summary>
207
+ /// <remarks>
208
+ /// Sets the string value of OriginalName, required attribute of File inner element of GoToR or Launch element.
209
+ /// Corresponds to F key in go-to action or launch dictionaries.
210
+ /// For more details see paragraphs 6.5.11, 6.5.23 in Xfdf specification.
211
+ /// </remarks>
139
212
public virtual iText . Forms . Xfdf . ActionObject SetFileOriginalName ( String fileOriginalName ) {
140
213
this . fileOriginalName = fileOriginalName ;
141
214
return this ;
142
215
}
143
216
217
+ /// <summary>Sets the boolean value of NewWindow, optional attribute of Launch element.</summary>
218
+ /// <remarks>Sets the boolean value of NewWindow, optional attribute of Launch element. For more details see paragraph 6.5.23 in Xfdf specification.
219
+ /// </remarks>
144
220
public virtual bool IsNewWindow ( ) {
145
221
return isNewWindow ;
146
222
}
147
223
224
+ /// <summary>Gets the boolean value of NewWindow, optional attribute of Launch element.</summary>
225
+ /// <remarks>Gets the boolean value of NewWindow, optional attribute of Launch element. For more details see paragraph 6.5.23 in Xfdf specification.
226
+ /// </remarks>
148
227
public virtual iText . Forms . Xfdf . ActionObject SetNewWindow ( bool newWindow ) {
149
228
isNewWindow = newWindow ;
150
229
return this ;
151
230
}
152
231
232
+ /// <summary>Gets Dest, inner element of link, GoTo, and GoToR elements.</summary>
233
+ /// <remarks>
234
+ /// Gets Dest, inner element of link, GoTo, and GoToR elements.
235
+ /// Corresponds to Dest key in link annotation dictionary.
236
+ /// For more details see paragraph 6.5.10 in Xfdf specification.
237
+ /// </remarks>
153
238
public virtual DestObject GetDestination ( ) {
154
239
return destination ;
155
240
}
156
241
242
+ /// <summary>Sets Dest, inner element of link, GoTo, and GoToR elements.</summary>
243
+ /// <remarks>
244
+ /// Sets Dest, inner element of link, GoTo, and GoToR elements.
245
+ /// Corresponds to Dest key in link annotation dictionary.
246
+ /// For more details see paragraph 6.5.10 in Xfdf specification.
247
+ /// </remarks>
157
248
public virtual iText . Forms . Xfdf . ActionObject SetDestination ( DestObject destination ) {
158
249
this . destination = destination ;
159
250
return this ;
0 commit comments