IllustrationElement.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include "Aspose.PDF.Cpp/Tagged/LogicalStructure/StructureElement.h"
5 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
6 
7 namespace Aspose
8 {
9 namespace Pdf
10 {
11 namespace Engine
12 {
13 namespace Data
14 {
15 class IPdfPrimitive;
16 } // namespace Data
17 } // namespace Engine
18 namespace LogicalStructure
19 {
20 class FigureElement;
21 class FormElement;
22 class FormulaElement;
23 class StructureTypeStandard;
24 } // namespace LogicalStructure
25 namespace Tagged
26 {
27 class TaggedContent;
28 class TaggedContext;
29 } // namespace Tagged
30 namespace Tests
31 {
32 namespace LogicalStructure
33 {
34 class FormulaElementTests;
35 } // namespace LogicalStructure
36 } // namespace Tests
37 } // namespace Pdf
38 } // namespace Aspose
39 namespace System
40 {
41 class String;
42 } // namespace System
43 
44 namespace Aspose {
45 
46 namespace Pdf {
47 
48 namespace LogicalStructure {
49 
50 // Structure Element Category
55 {
58 
59  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
60  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
61 
65 
66 public:
67 
73  virtual ASPOSE_PDF_SHARED_API void SetImage(System::String imageSrc, double imageResolution = 300);
80  virtual ASPOSE_PDF_SHARED_API void SetImage(System::String imageSrc, double imageWidth, double imageHeight);
81 
82 protected:
83 
85 
86  virtual ASPOSE_PDF_SHARED_API ~IllustrationElement();
87 
88 };
89 
90 // Illustration Element's Children
94 class ASPOSE_PDF_SHARED_CLASS FigureElement final : public Aspose::Pdf::LogicalStructure::IllustrationElement
95 {
96  typedef FigureElement ThisType;
98 
99  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
100  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
101 
102  friend class Aspose::Pdf::Tagged::TaggedContent;
103 
104 protected:
105 
107 
108  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(FigureElement, CODEPORTING_ARGS(System::SharedPtr<Aspose::Pdf::Tagged::TaggedContext> taggedContext, System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfPrimitive> pdfEngineEntity));
109 
110 };
111 
115 class ASPOSE_PDF_SHARED_CLASS FormulaElement final : public Aspose::Pdf::LogicalStructure::IllustrationElement
116 {
117  typedef FormulaElement ThisType;
119 
120  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
121  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
122 
123  friend class Aspose::Pdf::Tagged::TaggedContent;
124  friend class Aspose::Pdf::Tests::LogicalStructure::FormulaElementTests;
125 
126 protected:
127 
129 
130  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(FormulaElement, CODEPORTING_ARGS(System::SharedPtr<Aspose::Pdf::Tagged::TaggedContext> taggedContext, System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfPrimitive> pdfEngineEntity));
131 
132 };
133 
137 class ASPOSE_PDF_SHARED_CLASS FormElement final : public Aspose::Pdf::LogicalStructure::IllustrationElement
138 {
139  typedef FormElement ThisType;
141 
142  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
143  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
144 
145  friend class Aspose::Pdf::Tagged::TaggedContent;
146 
147 protected:
148 
150 
151  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(FormElement, CODEPORTING_ARGS(System::SharedPtr<Aspose::Pdf::Tagged::TaggedContext> taggedContext, System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfPrimitive> pdfEngineEntity));
152 
153 };
154 
155 } // namespace LogicalStructure
156 } // namespace Pdf
157 } // namespace Aspose
158 
159 
Represents a base class for illustration structure elements in logical structure. ...
Definition: IllustrationElement.h:54
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Definition: Artifact.h:67
Represents Formula structure element in logical structure.
Definition: IllustrationElement.h:115
IllustrationElement(System::SharedPtr< Aspose::Pdf::Tagged::TaggedContext > taggedContext, System::SharedPtr< StructureTypeStandard > structureType, System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfPrimitive > pdfEngineEntity)
Represents a base class for structure elements in logical structure.
Definition: StructureElement.h:71
virtual ASPOSE_PDF_SHARED_API void SetImage(System::String imageSrc, double imageResolution=300)
Appends image to current illustration element.
Represents Figure structure element in logical structure.
Definition: IllustrationElement.h:94
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
Definition: AFRelationship.h:4
virtual ASPOSE_PDF_SHARED_API ~IllustrationElement()
Represents Form structure element in logical structure.
Definition: IllustrationElement.h:137
Represents a base class for element in logical structure.
Definition: Element.h:98
Whole PDF file will be submitted.