Skip to content

Commit

Permalink
Add Sect and NonStruct to PDF2.0 standard tags
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Nov 22, 2023
1 parent 20ae3a3 commit 1bc4b07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/verapdf/tools/TaggedPDFHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public class TaggedPDFHelper {
tempSet.add(TaggedPDFConstants.PART);
tempSet.add(TaggedPDFConstants.DIV);
tempSet.add(TaggedPDFConstants.CAPTION);
tempSet.add(TaggedPDFConstants.SECT);
tempSet.add(TaggedPDFConstants.NON_STRUCT);

// Standard structure types for paragraphlike elements PDF 1.4, 1.7 and 2.0
tempSet.add(TaggedPDFConstants.H);
Expand Down Expand Up @@ -84,12 +86,10 @@ public class TaggedPDFHelper {

// Standard structure types for grouping elements PDF 1.7 and 1.4
pdf_1_7.add(TaggedPDFConstants.ART);
pdf_1_7.add(TaggedPDFConstants.SECT);
pdf_1_7.add(TaggedPDFConstants.BLOCK_QUOTE);
pdf_1_7.add(TaggedPDFConstants.TOC);
pdf_1_7.add(TaggedPDFConstants.TOCI);
pdf_1_7.add(TaggedPDFConstants.INDEX);
pdf_1_7.add(TaggedPDFConstants.NON_STRUCT);
pdf_1_7.add(TaggedPDFConstants.PRIVATE);

// Standard structure types for inline-level structure elements PDF 1.7 and 1.4
Expand Down

0 comments on commit 1bc4b07

Please sign in to comment.