Skip to content

Commit

Permalink
Add method getisCatalogMetadata to PBoxPDMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Aug 10, 2024
1 parent 50df6f1 commit cad8b45
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,9 @@ public static boolean isMetadataObject(COSBase obj) {
&& ((COSStream) obj).getCOSName(COSName.TYPE) == COSName.METADATA
&& ((COSStream) obj).getCOSName(COSName.SUBTYPE) == COSName.getPDFName("XML");
}

@Override
public Boolean getisCatalogMetadata() {
return isMainMetadata;
}
}

0 comments on commit cad8b45

Please sign in to comment.