From 1c43baf0ce3ef18ae44620bafefe995c43c36924 Mon Sep 17 00:00:00 2001 From: Maxim Date: Tue, 9 Jul 2024 21:05:14 +0300 Subject: [PATCH] Add getcontainsBM to PBoxPDExtGState --- .../java/org/verapdf/model/impl/pb/pd/PBoxPDExtGState.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pdfbox-validation-model/src/main/java/org/verapdf/model/impl/pb/pd/PBoxPDExtGState.java b/pdfbox-validation-model/src/main/java/org/verapdf/model/impl/pb/pd/PBoxPDExtGState.java index 4e05242a..e9f1b61d 100644 --- a/pdfbox-validation-model/src/main/java/org/verapdf/model/impl/pb/pd/PBoxPDExtGState.java +++ b/pdfbox-validation-model/src/main/java/org/verapdf/model/impl/pb/pd/PBoxPDExtGState.java @@ -109,6 +109,11 @@ public Boolean getcontainsSMask() { return ((COSDictionary)simplePDObject.getCOSObject()).containsKey(COSName.SMASK); } + @Override + public Boolean getcontainsBM() { + return ((COSDictionary)simplePDObject.getCOSObject()).containsKey(COSName.BM); + } + @Override public String getBMNameValue() { return getNameKeyStringValue((COSDictionary)simplePDObject.getCOSObject(), COSName.BM);