Skip to content

Commit

Permalink
PDF/A conformance and StructElem Type
Browse files Browse the repository at this point in the history
  • Loading branch information
JAndrassy authored and asturio committed Jul 26, 2023
1 parent 4ff7ff0 commit 8081779
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public PdfStructureElement(PdfStructureElement parent, PdfName structureType) {
init(parent, structureType);
this.parent = parent;
put(PdfName.P, parent.reference);
put(PdfName.TYPE,new PdfName("StructElem"));
}

/**
Expand All @@ -90,6 +91,7 @@ public PdfStructureElement(PdfStructureTreeRoot parent, PdfName structureType) {
top = parent;
init(parent, structureType);
put(PdfName.P, parent.getReference());
put(PdfName.TYPE,new PdfName("StructElem"));
}

private void init(PdfDictionary parent, PdfName structureType) {
Expand Down

0 comments on commit 8081779

Please sign in to comment.