StructureAttributes.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/object.h>
5 
6 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
7 
8 namespace Aspose
9 {
10 namespace Pdf
11 {
12 namespace Engine
13 {
14 namespace Data
15 {
16 class IPdfDictionary;
17 } // namespace Data
18 } // namespace Engine
19 namespace LogicalStructure
20 {
21 class AttributeKey;
22 class AttributeOwnerStandard;
23 class StructureAttribute;
24 class StructureAttributeCollection;
25 class StructureElement;
26 class TableCellElement;
27 } // namespace LogicalStructure
28 namespace Tests
29 {
30 namespace TaggedPdf
31 {
32 class TaggedPdfTextTests;
33 } // namespace TaggedPdf
34 } // namespace Tests
35 } // namespace Pdf
36 } // namespace Aspose
37 
38 namespace Aspose {
39 
40 namespace Pdf {
41 
42 namespace LogicalStructure {
43 
47 class ASPOSE_PDF_SHARED_CLASS StructureAttributes : public System::Object
48 {
50  typedef System::Object BaseType;
51 
52  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
53  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
54 
57  friend class Aspose::Pdf::Tests::TaggedPdf::TaggedPdfTextTests;
58 
59 public:
60 
65  ASPOSE_PDF_SHARED_API System::SharedPtr<AttributeOwnerStandard> get_Owner();
66 
72  ASPOSE_PDF_SHARED_API System::SharedPtr<StructureAttribute> GetAttribute(System::SharedPtr<AttributeKey> key);
77  ASPOSE_PDF_SHARED_API void SetAttribute(System::SharedPtr<StructureAttribute> attribute);
78 
79 protected:
80 
82  void set_EngineAttributes(System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfDictionary> value);
83 
85 
86  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(StructureAttributes, CODEPORTING_ARGS(System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfDictionary> dictA, System::SharedPtr<StructureElement> structureElement));
87 
89 
90  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(StructureAttributes, CODEPORTING_ARGS(System::SharedPtr<StructureElement> structureElement));
91  bool HasAttribute(System::SharedPtr<AttributeKey> key);
92 
93 private:
94 
95  System::SharedPtr<StructureElement> _structureElement;
97 
98 };
99 
100 } // namespace LogicalStructure
101 } // namespace Pdf
102 } // namespace Aspose
103 
104 
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Represents attributes of structure element for standard attribute owners.
Definition: StructureAttributes.h:47
Represents collection of attributes of structure elements.
Definition: StructureAttributeCollection.h:37
Definition: signed_info.h:13
Represents a base class for table cell elements (TH and TD) in logical structure. ...
Definition: BLSTableElement.h:533
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
Whole PDF file will be submitted.