File tree Expand file tree Collapse file tree
core/src/main/java/org/verapdf/pdfa/validation/profiles Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -180,6 +180,16 @@ private static String getProfilePath(PDFAFlavour flavour) {
180180 if (PDFFlavours .isWTPDFFlavour (flavour )) {
181181 profilePath .append ("-" ); //$NON-NLS-1$
182182 profilePath .append (flavour .getLevel ().getCode ());
183+ } else if (PDFFlavours .isWCAGFlavour (flavour )) {
184+ profilePath .append ("-" ); //$NON-NLS-1$
185+ if (PDFFlavours .isFlavourLevel (flavour , PDFAFlavour .Level .HUMAN )) {
186+ profilePath .append ("Complete" ); //$NON-NLS-1$
187+ } else {
188+ profilePath .append (flavour .getLevel ().getCode ());
189+ }
190+ if (PDFFlavours .isPDFSpecification (flavour , PDFAFlavour .PDFSpecification .ISO_32000_2_0 )) {
191+ profilePath .append ("-" ).append ("PDF20" ); //$NON-NLS-1$
192+ }
183193 } else {
184194 profilePath .append (flavour .getLevel ().getCode ().toUpperCase ()); //$NON-NLS-1$
185195 }
You can’t perform that action at this time.
0 commit comments