StructureTypeStandard.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/string.h>
5 #include <system/multicast_delegate.h>
6 
7 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
8 
9 namespace Aspose
10 {
11 namespace Pdf
12 {
13 namespace Engine
14 {
15 namespace Data
16 {
17 class IPdfPrimitive;
18 } // namespace Data
19 } // namespace Engine
20 namespace LogicalStructure
21 {
22 class Element;
23 class StructureElement;
24 class StructureTypeCategory;
25 class StructureTypeStandard;
26 } // namespace LogicalStructure
27 namespace Tagged
28 {
29 class TaggedContent;
30 class TaggedContext;
31 } // namespace Tagged
32 } // namespace Pdf
33 } // namespace Aspose
34 namespace System
35 {
36 namespace Collections
37 {
38 namespace Generic
39 {
40 template <typename, typename> class Dictionary;
41 } // namespace Generic
42 } // namespace Collections
43 } // namespace System
44 
45 namespace Aspose {
46 
47 namespace Pdf {
48 
49 namespace LogicalStructure {
50 
54 class ASPOSE_PDF_SHARED_CLASS StructureTypeStandard final : public System::Object
55 {
57  typedef System::Object BaseType;
58 
59  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
60  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
61 
63  friend class Aspose::Pdf::Tagged::TaggedContent;
64 
65 protected:
66 
68 
69 
70 public:
71 
75  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Document;
79  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Part;
83  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Art;
87  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Sect;
91  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Div;
99  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Caption;
104  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> TOC;
131  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> TOCI;
135  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Index;
143  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Private;
147  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> P;
151  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> H;
155  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> H1;
159  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> H2;
163  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> H3;
167  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> H4;
171  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> H5;
175  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> H6;
179  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> L;
183  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> LI;
187  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Lbl;
191  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> LBody;
195  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Table;
199  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> THead;
203  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> TBody;
207  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> TFoot;
211  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> TR;
215  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> TH;
219  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> TD;
223  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Span;
228  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Quote;
233  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Note;
246  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Code;
250  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Link;
254  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Annot;
259  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Ruby;
263  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> RB;
267  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> RT;
271  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> RP;
276  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Warichu;
280  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> WT;
284  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> WP;
288  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Figure;
293  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Formula;
297  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> Form;
298 
303  ASPOSE_PDF_SHARED_API System::String get_Tag() const;
308  ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeCategory> get_Category() const;
309 
310  static ASPOSE_PDF_SHARED_API System::SharedPtr<StructureTypeStandard> to_StructureTypeStandard(System::String tag);
311 
316  ASPOSE_PDF_SHARED_API System::String ToString() const override;
317 
318 protected:
319 
320  System::SharedPtr<Element> CreateElement(System::SharedPtr<Aspose::Pdf::Tagged::TaggedContext> taggedContext, System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfPrimitive> pdfEngineEntity);
321  bool CanBeAppended(System::SharedPtr<StructureTypeStandard> structureType);
322 
323  virtual ASPOSE_PDF_SHARED_API ~StructureTypeStandard();
324 
325 private:
326 
328  System::String _tag;
331 
333 
334  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(StructureTypeStandard, CODEPORTING_ARGS(System::SharedPtr<StructureTypeCategory> category, System::String tag, StructureTypeStandard::CreateElementDelegate createElementDelegate));
335  System::String ToString_NonConst();
336 
337 };
338 
339 } // namespace LogicalStructure
340 } // namespace Pdf
341 } // namespace Aspose
342 
343 
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > BlockQuote
(Block quotation) A portion of text consisting of one or more paragraphs attributed to someone other ...
Definition: StructureTypeStandard.h:95
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Annot
(Annotation; PDF 1.5) An association between a portion of the ILSE&#39;s content and a corresponding PDF ...
Definition: StructureTypeStandard.h:254
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > H4
Level 4 Heading, for use in conforming writers that cannot hierarchically nest their sections and thu...
Definition: StructureTypeStandard.h:167
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Note
Definition: StructureTypeStandard.h:233
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Sect
(Section) A container for grouping related content elements.
Definition: StructureTypeStandard.h:87
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Index
(Index) A sequence of entries containing identifying text accompanied by reference elements that poin...
Definition: StructureTypeStandard.h:135
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > TOC
Definition: StructureTypeStandard.h:104
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Private
(Private element) A grouping element containing private content belonging to the application producin...
Definition: StructureTypeStandard.h:143
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > WP
(Warichu punctuation) The punctuation that surrounds the WT text. It contains text (usually a single ...
Definition: StructureTypeStandard.h:284
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
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > L
(List) A sequence of items of like meaning and importance. Its immediate children should be an option...
Definition: StructureTypeStandard.h:179
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > H2
Level 2 Heading, for use in conforming writers that cannot hierarchically nest their sections and thu...
Definition: StructureTypeStandard.h:159
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > H3
Level 3 Heading, for use in conforming writers that cannot hierarchically nest their sections and thu...
Definition: StructureTypeStandard.h:163
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Caption
(Caption) A brief portion of text describing a table or figure.
Definition: StructureTypeStandard.h:99
Represents a base class for structure elements in logical structure.
Definition: StructureElement.h:62
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > H6
Level 6 Heading, for use in conforming writers that cannot hierarchically nest their sections and thu...
Definition: StructureTypeStandard.h:175
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > RP
(Ruby punctuation) Punctuation surrounding the ruby annotation text. It is used only when a ruby anno...
Definition: StructureTypeStandard.h:271
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Form
(Form) A widget annotation representing an interactive form field.
Definition: StructureTypeStandard.h:297
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > H5
Level 5 Heading, for use in conforming writers that cannot hierarchically nest their sections and thu...
Definition: StructureTypeStandard.h:171
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > P
(Paragraph) A low-level division of text.
Definition: StructureTypeStandard.h:147
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > TFoot
(Table footer row group; PDF 1.5) A group of rows that constitute the footer of a table...
Definition: StructureTypeStandard.h:207
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > H1
Level 1 Heading, for use in conforming writers that cannot hierarchically nest their sections and thu...
Definition: StructureTypeStandard.h:155
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Link
(Link) An association between a portion of the ILSE&#39;s content and a corresponding link annotation or ...
Definition: StructureTypeStandard.h:250
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > TBody
(Table body row group; PDF 1.5) A group of rows that constitute the main body portion of a table...
Definition: StructureTypeStandard.h:203
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Quote
Definition: StructureTypeStandard.h:228
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > WT
(Warichu text) The smaller-size text of a warichu comment that is formatted into two lines and placed...
Definition: StructureTypeStandard.h:280
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Document
(Document) A complete document. This is the root element of any structure tree containing multiple pa...
Definition: StructureTypeStandard.h:75
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > RT
(Ruby annotation text) The smaller-size text that shall be placed adjacent to the ruby base text...
Definition: StructureTypeStandard.h:267
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > TOCI
Definition: StructureTypeStandard.h:131
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
System::MulticastDelegate< System::SharedPtr< Element >(System::SharedPtr< Aspose::Pdf::Tagged::TaggedContext >, System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfPrimitive >)> CreateElementDelegate
Definition: StructureTypeStandard.h:67
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > BibEntry
Definition: StructureTypeStandard.h:242
Definition: AFRelationship.h:4
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Table
(Table) A two-dimensional layout of rectangular data cells, possibly having a complex substructure...
Definition: StructureTypeStandard.h:195
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Art
(Article) A relatively self-contained body of text constituting a single narrative or exposition...
Definition: StructureTypeStandard.h:83
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > LBody
(List body) The descriptive content of a list item. In a dictionary list, for example, it contains the definition of the term. It may either contain the content directly or have other BLSEs, perhaps including nested lists, as children.
Definition: StructureTypeStandard.h:191
Represents Standard Structure Types.
Definition: StructureTypeStandard.h:54
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Part
(Part) A large-scale division of a document. This type of element is appropriate for grouping article...
Definition: StructureTypeStandard.h:79
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Lbl
(Label) A name or number that distinguishes a given item from others in the same list or other group ...
Definition: StructureTypeStandard.h:187
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Ruby
Definition: StructureTypeStandard.h:259
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > THead
(Table header row group; PDF 1.5) A group of rows that constitute the header of a table...
Definition: StructureTypeStandard.h:199
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > RB
(Ruby base text) The full-size text to which the ruby annotation is applied. RB may contain text...
Definition: StructureTypeStandard.h:263
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Reference
(Reference) A citation to content elsewhere in the document.
Definition: StructureTypeStandard.h:237
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > NonStruct
(Nonstructural element) A grouping element having no inherent structural significance; it serves sole...
Definition: StructureTypeStandard.h:139
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > H
(Heading) A label for a subdivision of a document&#39;s content. It should be the first child of the divi...
Definition: StructureTypeStandard.h:151
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > LI
(List item) An individual member of a list. Its children may be one or more labels, list bodies, or both (structure types Lbl or LBody).
Definition: StructureTypeStandard.h:183
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Code
(Code) A fragment of computer program text.
Definition: StructureTypeStandard.h:246
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Figure
(Figure) An item of graphical content. Its placement may be specified with the Placement layout attri...
Definition: StructureTypeStandard.h:288
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > TD
(Table data cell) A table cell containing data that is part of the table&#39;s content.
Definition: StructureTypeStandard.h:219
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Div
(Division) A generic block-level element or group of elements.
Definition: StructureTypeStandard.h:91
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Span
(Span) A generic inline portion of text having no particular inherent characteristics. It can be used, for example, to delimit a range of text with a given set of styling attributes.
Definition: StructureTypeStandard.h:223
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > TR
(Table row) A row of headings or data in a table. It may contain table header cells and table data ce...
Definition: StructureTypeStandard.h:211
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Formula
Definition: StructureTypeStandard.h:293
This value is used for internal purposes and is not intended to be used directly from your code...
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > Warichu
Definition: StructureTypeStandard.h:276
Whole PDF file will be submitted.
static ASPOSE_PDF_SHARED_API System::SharedPtr< StructureTypeStandard > TH
(Table header cell) A table cell containing header text describing one or more rows or columns of the...
Definition: StructureTypeStandard.h:215