SquigglyAnnotation.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include "Aspose.PDF.Cpp/InteractiveFeatures/Annotations/TextMarkupAnnotation.h"
5 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
6 
7 namespace Aspose
8 {
9 namespace Pdf
10 {
11 namespace Annotations
12 {
13 class Annotation;
14 class AnnotationSelector;
15 enum class AnnotationType;
16 } // namespace Annotations
17 class Document;
18 namespace Engine
19 {
20 namespace Data
21 {
22 class IPdfObject;
23 } // namespace Data
24 } // namespace Engine
25 class Page;
26 class Rectangle;
27 namespace Tests
28 {
29 namespace Annotations
30 {
31 class SquigglyAnnotationTests;
32 } // namespace Annotations
33 } // namespace Tests
34 } // namespace Pdf
35 } // namespace Aspose
36 namespace System
37 {
38 namespace Xml
39 {
40 class XmlWriter;
41 } // namespace Xml
42 } // namespace System
43 
44 namespace Aspose {
45 
46 namespace Pdf {
47 
48 namespace Annotations {
49 
53 class ASPOSE_PDF_SHARED_CLASS SquigglyAnnotation final : public Aspose::Pdf::Annotations::TextMarkupAnnotation
54 {
57 
58  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
59  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
60 
62  friend class Aspose::Pdf::Tests::Annotations::SquigglyAnnotationTests;
63 
64 public:
65 
69  ASPOSE_PDF_SHARED_API Aspose::Pdf::Annotations::AnnotationType get_AnnotationType() override;
70 
75  ASPOSE_PDF_SHARED_API void Accept(System::SharedPtr<AnnotationSelector> visitor) override;
76 
83 
84 protected:
85 
86  ASPOSE_PDF_SHARED_API void WriteXfdf(System::SharedPtr<System::Xml::XmlWriter> writer) override;
87 
94 
95  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(SquigglyAnnotation, CODEPORTING_ARGS(System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfObject> engineAnnot, System::SharedPtr<Document> document));
96 
97  virtual ASPOSE_PDF_SHARED_API ~SquigglyAnnotation();
98 
99 };
100 
101 } // namespace Annotations
102 } // namespace Pdf
103 } // namespace Aspose
104 
105 
Definition: Artifact.h:67
Represents the squiggly annotation that appears as a jagged underline in the text of a document...
Definition: SquigglyAnnotation.h:53
Definition: signed_info.h:13
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
means saving in XML format
AnnotationType
Enumeration of annotation types.
Definition: AnnotationType.h:18
Definition: AFRelationship.h:4
Defies a method that enables object cloning - creating a copy of an object. Objects of this class sho...
Definition: icloneable.h:15
The coordinates are in the page coordinate context.
Abstract base class for text markup annotations.
Definition: TextMarkupAnnotation.h:57
Class representing annotation object.
Definition: Annotation.h:303
Represents a abstract base object can be added to the page(doc.Paragraphs.Add()). ...
Definition: BaseParagraph.h:66
Whole PDF file will be submitted.