15 #include <system/nullable.h> 16 #include <system/enum_helpers.h> 17 #include <system/date_time.h> 18 #include <drawing/color.h> 20 #include "Aspose.PDF.Cpp/Generator/BaseParagraph.h" 21 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h" 29 class AnnotationCollection;
31 class AnnotationSelector;
33 class AppearanceDictionary;
35 class Characteristics;
36 class CircleAnnotation;
37 class ColorBarAnnotation;
39 class FreeTextAnnotation;
40 class GenericAnnotation;
42 class HighlightAnnotation;
44 namespace JavascriptExtensions
74 class ApsToPdfConverter;
102 namespace ConvertStrategies
104 namespace ConvertHelpers
106 class FormExportImportUtils;
108 class PdfAConvertStrategy;
109 class PdfUaConvertStrategy;
110 class PdfXConvertStrategy;
118 class LogicalStructureConcatenation;
119 class LogicalStructureCopier;
120 class PdfAnnotationEditor;
122 class PdfFileValidator;
133 class RadioButtonField;
134 class RadioButtonOptionField;
135 class RichTextBoxField;
136 class SignatureField;
142 namespace InteractiveFeatures
149 namespace LogicalStructure
151 class AnnotationElement;
161 class AnnotationElement;
167 namespace Annotations
169 class AnnotationTests;
170 class PdfActionTests;
171 class PopupAnnotationTests;
172 class WidgetAnnotationTests;
178 namespace InteractiveFeatures
180 namespace Annotations
182 class PopupAnnotationTests;
187 class FormEditorTests;
188 class FormFlattenerTests;
191 class RegressionTests_v10_0;
192 class RegressionTests_v10_6;
193 class RegressionTests_v10_8;
194 class RegressionTests_v10_9;
195 class RegressionTests_v11_8;
196 class RegressionTests_v12_1;
197 class RegressionTests_v16_12;
198 class RegressionTests_v17_11;
199 class RegressionTests_v17_12;
200 class RegressionTests_v17_2;
201 class RegressionTests_v17_4;
202 class RegressionTests_v18_11;
203 class RegressionTests_v19_10;
204 class RegressionTests_v19_4;
205 class RegressionTests_v19_5;
206 class RegressionTests_v19_9;
207 class RegressionTests_v20_01;
208 class RegressionTests_v21_1;
209 class RegressionTests_v21_3;
210 class RegressionTests_v21_8;
211 class RegressionTests_v21_9;
212 class RegressionTests_v22_01;
213 class RegressionTests_v22_02;
214 class RegressionTests_v22_03;
215 class RegressionTests_v22_04;
216 class RegressionTests_v22_05;
217 class RegressionTests_v22_07;
218 class RegressionTests_v22_09;
219 class RegressionTests_v22_10;
220 class RegressionTests_v23_02;
221 class RegressionTests_v23_08;
222 class RegressionTests_v23_09;
223 class RegressionTests_v23_10;
224 class RegressionTests_v24_03;
225 class RegressionTests_v6_2;
226 class RegressionTests_v6_3;
227 class RegressionTests_v6_7;
228 class RegressionTests_v6_8;
229 class RegressionTests_v6_9;
230 class RegressionTests_v7_0;
231 class RegressionTests_v7_1;
232 class RegressionTests_v7_2;
233 class RegressionTests_v7_3;
234 class RegressionTests_v7_4;
235 class RegressionTests_v7_6;
236 class RegressionTests_v7_7;
237 class RegressionTests_v7_8;
238 class RegressionTests_v7_9;
239 class RegressionTests_v8_0;
240 class RegressionTests_v8_5;
241 class RegressionTests_v8_6;
242 class RegressionTests_v8_7;
243 class RegressionTests_v8_8;
244 class RegressionTests_v9_0;
245 class RegressionTests_v9_2;
246 class RegressionTests_v9_3;
247 class RegressionTests_v9_4;
248 class RegressionTests_v9_5;
249 class RegressionTests_v9_6;
250 class RegressionTests_v9_7;
251 class RegressionTests_v9_9;
253 class TextBoxFieldXfa;
254 class XfaToPdfConverter;
260 namespace Collections
264 template <
typename,
typename>
class Dictionary;
265 template <
typename>
class List;
275 namespace Globalization
294 namespace Annotations {
304 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
305 ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
307 friend class Aspose::Pdf::ApsToPdfConverter;
308 friend class Aspose::Pdf::Engine::IO::ConvertStrategies::PdfUaConvertStrategy;
318 friend class Aspose::Pdf::Annotations::Redaction;
321 friend class Aspose::Pdf::Engine::IO::ConvertStrategies::PdfXConvertStrategy;
322 friend class Aspose::Pdf::PageModel::AnnotationElement;
324 friend class Aspose::Pdf::Facades::LogicalStructureConcatenation;
325 friend class Aspose::Pdf::Engine::CommonData::Text::Segmenting::TextSegmenter;
326 friend class Aspose::Pdf::Engine::IO::ConvertStrategies::PdfAConvertStrategy;
328 friend class Aspose::Pdf::PageGenerator;
370 friend class Aspose::Pdf::Annotations::XfdfWriter;
373 friend class Aspose::Pdf::XfaToPdfConverter;
374 friend class Aspose::Pdf::TextBoxFieldXfa;
375 friend class Aspose::Pdf::ApsToPdfConverter;
377 friend class Aspose::Pdf::Forms::TextModel;
379 friend class Aspose::Pdf::Annotations::JavascriptExtensions::FieldExtension;
380 friend class Aspose::Pdf::InteractiveFeatures::Forms::WidgetWrapper;
381 friend class Aspose::Pdf::Facades::LogicalStructureCopier;
382 friend class Aspose::Pdf::Engine::IO::ConvertStrategies::ConvertHelpers::FormExportImportUtils;
383 friend class Aspose::Pdf::Facades::PdfFileValidator;
384 friend class Aspose::Pdf::Tests::Facades::DomFormTests;
385 friend class Aspose::Pdf::Tests::InteractiveFeatures::Annotations::PopupAnnotationTests;
386 friend class Aspose::Pdf::Tests::Annotations::PdfActionTests;
387 friend class Aspose::Pdf::Tests::Annotations::PopupAnnotationTests;
388 friend class Aspose::Pdf::Tests::RegressionTests_v6_2;
389 friend class Aspose::Pdf::Tests::RegressionTests_v7_0;
390 friend class Aspose::Pdf::Tests::RegressionTests_v7_6;
391 friend class Aspose::Pdf::Tests::RegressionTests_v8_6;
392 friend class Aspose::Pdf::Tests::RegressionTests_v8_8;
393 friend class Aspose::Pdf::Tests::RegressionTests_v9_0;
394 friend class Aspose::Pdf::Tests::RegressionTests_v9_2;
395 friend class Aspose::Pdf::Tests::RegressionTests_v9_4;
396 friend class Aspose::Pdf::Tests::RegressionTests_v9_6;
397 friend class Aspose::Pdf::Tests::RegressionTests_v9_9;
398 friend class Aspose::Pdf::Tests::RegressionTests_v10_0;
399 friend class Aspose::Pdf::Tests::RegressionTests_v10_6;
400 friend class Aspose::Pdf::Tests::RegressionTests_v12_1;
401 friend class Aspose::Pdf::Tests::RegressionTests_v16_12;
402 friend class Aspose::Pdf::Tests::RegressionTests_v17_2;
403 friend class Aspose::Pdf::Tests::RegressionTests_v17_11;
404 friend class Aspose::Pdf::Tests::RegressionTests_v17_4;
405 friend class Aspose::Pdf::Tests::RegressionTests_v19_9;
406 friend class Aspose::Pdf::Tests::RegressionTests_v19_10;
407 friend class Aspose::Pdf::Tests::RegressionTests_v22_09;
408 friend class Aspose::Pdf::Tests::RegressionTests_v23_02;
409 friend class Aspose::Pdf::Tests::Annotations::WidgetAnnotationTests;
410 friend class Aspose::Pdf::Tests::Annotations::AnnotationTests;
411 friend class Aspose::Pdf::Tests::RegressionTests_v6_3;
412 friend class Aspose::Pdf::Tests::RegressionTests_v6_7;
413 friend class Aspose::Pdf::Tests::RegressionTests_v6_8;
414 friend class Aspose::Pdf::Tests::RegressionTests_v6_9;
415 friend class Aspose::Pdf::Tests::RegressionTests_v7_1;
416 friend class Aspose::Pdf::Tests::RegressionTests_v7_2;
417 friend class Aspose::Pdf::Tests::RegressionTests_v7_3;
418 friend class Aspose::Pdf::Tests::RegressionTests_v7_4;
419 friend class Aspose::Pdf::Tests::RegressionTests_v7_7;
420 friend class Aspose::Pdf::Tests::RegressionTests_v7_8;
421 friend class Aspose::Pdf::Tests::RegressionTests_v7_9;
422 friend class Aspose::Pdf::Tests::RegressionTests_v8_0;
423 friend class Aspose::Pdf::Tests::RegressionTests_v8_5;
424 friend class Aspose::Pdf::Tests::RegressionTests_v8_7;
425 friend class Aspose::Pdf::Tests::RegressionTests_v9_3;
426 friend class Aspose::Pdf::Tests::RegressionTests_v9_5;
427 friend class Aspose::Pdf::Tests::RegressionTests_v9_7;
428 friend class Aspose::Pdf::Tests::RegressionTests_v10_8;
429 friend class Aspose::Pdf::Tests::RegressionTests_v10_9;
430 friend class Aspose::Pdf::Tests::RegressionTests_v11_8;
431 friend class Aspose::Pdf::Tests::RegressionTests_v17_12;
432 friend class Aspose::Pdf::Tests::RegressionTests_v18_11;
433 friend class Aspose::Pdf::Tests::RegressionTests_v19_4;
434 friend class Aspose::Pdf::Tests::RegressionTests_v19_5;
435 friend class Aspose::Pdf::Tests::RegressionTests_v20_01;
436 friend class Aspose::Pdf::Tests::RegressionTests_v21_1;
437 friend class Aspose::Pdf::Tests::RegressionTests_v21_3;
438 friend class Aspose::Pdf::Tests::RegressionTests_v21_8;
439 friend class Aspose::Pdf::Tests::RegressionTests_v21_9;
440 friend class Aspose::Pdf::Tests::RegressionTests_v22_01;
441 friend class Aspose::Pdf::Tests::RegressionTests_v22_02;
442 friend class Aspose::Pdf::Tests::RegressionTests_v22_03;
443 friend class Aspose::Pdf::Tests::RegressionTests_v22_04;
444 friend class Aspose::Pdf::Tests::RegressionTests_v22_05;
445 friend class Aspose::Pdf::Tests::RegressionTests_v22_07;
446 friend class Aspose::Pdf::Tests::RegressionTests_v22_10;
447 friend class Aspose::Pdf::Tests::RegressionTests_v23_08;
448 friend class Aspose::Pdf::Tests::RegressionTests_v23_09;
449 friend class Aspose::Pdf::Tests::RegressionTests_v23_10;
450 friend class Aspose::Pdf::Tests::RegressionTests_v24_03;
451 friend class Aspose::Pdf::Tests::Plugins::PdfFormTests;
452 friend class Aspose::Pdf::Tests::Plugins::FormEditorTests;
453 friend class Aspose::Pdf::Tests::Plugins::FormFlattenerTests;
465 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
510 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
526 static ASPOSE_PDF_SHARED_API
bool get_UpdateAppearanceOnConvert();
530 static ASPOSE_PDF_SHARED_API
void set_UpdateAppearanceOnConvert(
bool value);
534 static ASPOSE_PDF_SHARED_API
bool get_UseFontSubset();
538 static ASPOSE_PDF_SHARED_API
void set_UseFontSubset(
bool value);
554 virtual ASPOSE_PDF_SHARED_API
double get_Width();
558 virtual ASPOSE_PDF_SHARED_API
void set_Width(
double value);
566 virtual ASPOSE_PDF_SHARED_API
double get_Height();
570 virtual ASPOSE_PDF_SHARED_API
void set_Height(
double value);
626 virtual ASPOSE_PDF_SHARED_API
void set_ActiveState(
System::String value);
644 ASPOSE_PDF_SHARED_API
void set_Alignment(
TextAlignment value);
675 virtual ASPOSE_PDF_SHARED_API int32_t get_PageIndex();
692 virtual ASPOSE_PDF_SHARED_API
void Flatten();
716 int32_t get_StructParent();
717 void set_StructParent(int32_t value);
723 bool get_FlatteningState()
const;
724 void set_FlatteningState(
bool value);
744 double get_TemplateWidth()
const;
748 double get_TemplateHeight()
const;
752 virtual ASPOSE_PDF_SHARED_API
void DeleteAllChildElements();
754 void assertAppearance();
758 virtual ASPOSE_PDF_SHARED_API
void AfterImport();
781 virtual ASPOSE_PDF_SHARED_API
bool AppearanceSupported();
786 virtual ASPOSE_PDF_SHARED_API
void UpdateAppearances();
790 void AssertNormalAppearance();
876 virtual ASPOSE_PDF_SHARED_API
bool IsBackground();
893 static const int32_t DefaultIndex;
903 double _templateWidth;
904 double _templateHeight;
907 static bool& _updateAppearanceOnConvert();
913 int32_t _pageIndexCached;
914 int32_t _structParent;
923 void CreateNormalAppearanceOperators();
944 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
968 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
969 ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
986 ASPOSE_PDF_SHARED_API
double get_FontSize();
990 ASPOSE_PDF_SHARED_API
void set_FontSize(
double value);
1037 bool _isFontNameSpecified;
1038 bool _isFontSizeSpecified;
1039 bool _isColorSpecified;
1040 bool _isAlignmentSpecified;
1042 void UpdateAnnotation();
static const System::String DefaultFontKey
Definition: Annotation.h:702
Abstract base class for poly- annotations.
Definition: PolyAnnotation.h:65
Class PDF3DViewArray.
Definition: PDF3DViewArray.h:63
Represents a freehand "scribble" composed of one or more disjoint paths.
Definition: InkAnnotation.h:69
Abstract class representing markup annotation.
Definition: MarkupAnnotation.h:82
Represents annotation characteristics
Definition: Characteristics.h:57
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Abstract class representing printer mark annotation.
Definition: PrinterMarkAnnotation.h:29
System::WeakPtr< Document > _document
Definition: Annotation.h:709
System::SharedPtr< System::Globalization::CultureInfo > Culture
Definition: Annotation.h:708
Represents rubber stamp annotation. This type of annotation displays text or graphics intended to loo...
Definition: StampAnnotation.h:86
Class representing line annotation.
Definition: LineAnnotation.h:74
bool isSupported
This shows that
Definition: Annotation.h:481
ASPOSE_PDF_SHARED_API void set_Alignment(TextAlignment value)
Annotation alignment. This property is obsolete. Use HorizontalAligment instead.
Class representing parameters which have influence on element appearance (checked/not checked etc) ...
Definition: Annotation.h:460
Represent Fixed print data of Watermark Annotation.
Definition: FixedPrint.h:36
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Class representing PDF document
Definition: Document.h:616
Class representing square annotation.
Definition: SquareAnnotation.h:64
Definition: Artifact.h:67
bool _flatteningState
Definition: Annotation.h:711
bool needBaseInitialization
Definition: Annotation.h:712
Represents a free text annotation that displays text directly on the page. Unlike an ordinary text an...
Definition: FreeTextAnnotation.h:91
System::String appearanceType
Appearance type : N for normal, D for "down"... applied for button
Definition: Annotation.h:473
This annotation allows to get/set Title property.
Definition: Annotation.h:505
System::SharedPtr< AppearanceDictionary > _states
Definition: Annotation.h:750
Class PDF3DArtwork.
Definition: PDF3DArtwork.h:58
Class which peroformes reading of XFDF format.
Definition: XfdfReader.h:63
ASPOSE_PDF_SHARED_API void set_Color(System::SharedPtr< Aspose::Pdf::Color > value)
Sets annotation color.
Class describes rich text editor component.
Definition: RichTextBoxField.h:64
Represents a highlight annotation that highlights a range of text in the document.
Definition: HighlightAnnotation.h:67
The class describes general annotation.
Definition: Annotation.h:939
Class representing Circle annotation.
Definition: CircleAnnotation.h:64
Class represents style of text in annotation
Definition: Annotation.h:963
Represents a base class for annotation structure elements in logical structure.
Definition: ILSElement.h:164
HorizontalAlignment
Describes horizontal alignment.
Definition: HorizontalAlignment.h:16
Class representing embedded file.
Definition: FileSpecification.h:86
Definition: signed_info.h:13
bool _disableUpdateAppearance
Definition: Annotation.h:710
Class describes Watermark annotation object.
Definition: WatermarkAnnotation.h:73
Class represents collection of operators
Definition: OperatorCollection.h:170
Abstract class for all devices which is used to process the whole pdf document.
Definition: DocumentDevice.h:38
Class representing page resources.
Definition: Resources.h:248
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
Class representing characteristics of annotation border.
Definition: Border.h:57
static const System::String DefaultFontName
Definition: Annotation.h:701
ASPOSE_PDF_SHARED_API Aspose::Pdf::HorizontalAlignment get_HorizontalAlignment() override
Gets text alignment for annotation.
AnnotationType
Enumeration of annotation types.
Definition: AnnotationType.h:18
Class representing ColorBarAnnotation annotation. Property Color ignored, instead used ColorsOfCMYK c...
Definition: ColorBarAnnotation.h:53
Class representing text box field.
Definition: TextBoxField.h:88
ASPOSE_PDF_SHARED_API void set_HorizontalAlignment(Aspose::Pdf::HorizontalAlignment value) override
Sets text alignment for annotation.
Class representing page of PDF document.
Definition: Page.h:364
Definition: AFRelationship.h:4
A rendition action that controls the playing of multimedia content.
Definition: RenditionAction.h:42
Class which describes Measure coordinate system.
Definition: Measure.h:49
Represents a color. This type should be allocated on stack and passed to functions by value or by ref...
Definition: color.h:23
A screen annotation that specifies a region of a page upon which media clips may be played...
Definition: ScreenAnnotation.h:43
Subclass of System::SmartPtr which sets itself to weak mode at construction. Please note that this cl...
Definition: TextFragmentState.h:69
Represents either a hypertext link to a destination elsewhere in the document or an action to be perf...
Definition: LinkAnnotation.h:56
Defies a method that enables object cloning - creating a copy of an object. Objects of this class sho...
Definition: icloneable.h:15
Represents class for color value which can be expressed in different color space. ...
Definition: Color.h:79
AnnotationFlags
A set of flags specifying various characteristics of the annotation.
Definition: AnnotationFlags.h:19
bool isChecked
True if element is checked. Applied for checkbox, radiobutton option etc.
Definition: Annotation.h:477
Represents a specific date and time value on the time continuum. This type should be allocated on sta...
Definition: date_time.h:49
Class PDF3DAnnotation. This class cannot be inherited.
Definition: PDF3DAnnotation.h:85
Class representing annotation collection.
Definition: AnnotationCollection.h:56
List forward declaration.
Definition: Artifact.h:74
Class describes list of actions.
Definition: PdfActionCollection.h:43
Implements operations with PDF file: concatenation, splitting, extracting pages, making booklet...
Definition: PdfFileEditor.h:105
Represents Redact annotation.
Definition: RedactionAnnotation.h:61
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(FreeTextAnnotation, CODEPORTING_ARGS(System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject > engineAnnot, System::SharedPtr< Document > document))
Represents a hide action that hides or shows one or more annotations on the screen by setting or clea...
Definition: HideAction.h:36
virtual ASPOSECPP_SHARED_API String ToString() const
Analog of C# Object.ToString() method. Enables converting custom objects to string.
Represents a movie annotation that contains animated graphics and sound to be presented on the comput...
Definition: MovieAnnotation.h:48
Collection of PDF document pages.
Definition: PageCollection.h:134
ASPOSE_PDF_SHARED_API TextAlignment get_Alignment()
Annotation alignment. This property is obsolete. Use HorizontalAligment instead.
Collection of culture-specific values and algorithms. Setter operations are only enabled on non-read-...
Definition: culture_info.h:28
Class representing annotation object.
Definition: Annotation.h:299
static ASPOSE_PDF_SHARED_API System::String message1
The message.
Definition: Annotation.h:707
Represents a abstract base object can be added to the page(doc.Paragraphs.Add()). ...
Definition: BaseParagraph.h:66
Represents a class for work with PDF document annotations (comments).
Definition: PdfAnnotationEditor.h:52
Class represents transformation matrix.
Definition: Matrix.h:98
static const float DefaultFontSize
Definition: Annotation.h:703
Redaction annotation type.
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Color > get_Color()
Gets annotation color.
Abstract class representing operator.
Definition: Operator.h:427
TextAlignment
Alignment of text in annotation.
Definition: TextAlignment.h:14
Whole PDF file will be submitted.
Class represents rectangle.
Definition: Rectangle.h:100