Skip to content

Commit

Permalink
PDF/UA-2. Add methods
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Feb 22, 2024
1 parent d308cd3 commit d051260
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public class PBoxPDDocument extends PBoxPDObject implements PDDocument {
* Link name for open action of document
*/
public static final String OPEN_ACTION = "OpenAction";
public static final String OPEN_ACTION_DESTINATION = "OpenActionDestination";
/**
* Link name for all outlines of document
*/
Expand Down Expand Up @@ -166,6 +167,8 @@ public List<? extends Object> getLinkedObjects(String link) {
return this.getOutlines();
case OPEN_ACTION:
return this.getOpenAction();
case OPEN_ACTION_DESTINATION:
return Collections.emptyList();
case ACTIONS:
return this.getActions();
case PAGES:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,9 @@ public String getNoteType() {
public String getorphanRefs() {
return null;
}

@Override
public String getghostRefs() {
return null;
}
}

0 comments on commit d051260

Please sign in to comment.