Skip to content

Commit

Permalink
Merge pull request #330 from veraPDF/pdfua2
Browse files Browse the repository at this point in the history
PDF/UA-2. Add new methods
  • Loading branch information
MaximPlusov authored Nov 6, 2023
2 parents 10ab101 + b0a55e4 commit 511ab37
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ public String getmostCommonOrientation() {
return SQUARE_ORIENTATION.equals(twoTheMostFrequent.get(0)) && twoTheMostFrequent.size() == 2 ? twoTheMostFrequent.get(1) : twoTheMostFrequent.get(0);
}

@Override
public Boolean getcontainsXRefStream() {
return null;
}

@Override
public List<? extends Object> getLinkedObjects(String link) {
switch (link) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ public String getTU() {
return ((PDAnnotation) simplePDObject).getCOSObject().getString(COSName.TU);
}

@Override
public Boolean getcontainsLbl() {
return null;
}

@Override
protected List<PDAdditionalActions> getAdditionalActions() {
COSBase actionDictionary = ((PDAnnotation) simplePDObject).getCOSObject().getDictionaryObject(COSName.AA);
Expand Down

0 comments on commit 511ab37

Please sign in to comment.