File tree Expand file tree Collapse file tree
validation-model/src/main/java/org/verapdf/gf/model/impl/pd Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -327,4 +327,27 @@ private List<CosAlt> getalt() {
327327 }
328328 return Collections .emptyList ();
329329 }
330+
331+ @ Override
332+ public Boolean getisGrouping () {
333+ if (standardType == null ) {
334+ return false ;
335+ }
336+ if (TaggedPDFHelper .isGroupingStructureType (standardType )) {
337+ return true ;
338+ }
339+ if (!TaggedPDFHelper .isBlockOrGroupingStructureType (standardType ) &&
340+ !TaggedPDFHelper .isBlockOrGroupingOrInlineStructureType (standardType )) {
341+ return false ;
342+ }
343+ if (gethasContentItems ()) {
344+ return false ;
345+ }
346+ for (String kidStandardType : getChildrenStandardTypes ()) {
347+ if (TaggedPDFHelper .isInlineStructureType (kidStandardType )) {
348+ return false ;
349+ }
350+ }
351+ return true ;
352+ }
330353}
You can’t perform that action at this time.
0 commit comments