Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF/UA-2. Add methods #340

Merged
merged 1 commit into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}
}
Loading