@@ -569,7 +569,7 @@ def valid?
569569 return false unless color_mode_validator . valid? ( @color_mode )
570570 numeral_format_validator = EnumAttributeValidator . new ( 'String' , [ "European" , "ArabicIndic" , "EasternArabicIndic" , "Context" , "System" ] )
571571 return false unless numeral_format_validator . valid? ( @numeral_format )
572- compliance_validator = EnumAttributeValidator . new ( 'String' , [ "Pdf17" , "Pdf20" , "PdfA1a" , "PdfA1b" , "PdfA2a" , "PdfA2u" , "PdfA4" , "PdfA4Ua2" , "PdfUa1" , "PdfUa2" ] )
572+ compliance_validator = EnumAttributeValidator . new ( 'String' , [ "Pdf17" , "Pdf20" , "PdfA1a" , "PdfA1b" , "PdfA2a" , "PdfA2u" , "PdfA3a" , "PdfA3u" , " PdfA4" , "PdfA4f ", "PdfA4Ua2" , "PdfUa1" , "PdfUa2" ] )
573573 return false unless compliance_validator . valid? ( @compliance )
574574 custom_properties_export_validator = EnumAttributeValidator . new ( 'String' , [ "None" , "Standard" , "Metadata" ] )
575575 return false unless custom_properties_export_validator . valid? ( @custom_properties_export )
@@ -676,7 +676,7 @@ def numeral_format=(numeral_format)
676676 # Custom attribute writer method checking allowed values (enum).
677677 # @param [Object] compliance Object to be assigned
678678 def compliance = ( compliance )
679- validator = EnumAttributeValidator . new ( 'String' , [ "Pdf17" , "Pdf20" , "PdfA1a" , "PdfA1b" , "PdfA2a" , "PdfA2u" , "PdfA4" , "PdfA4Ua2" , "PdfUa1" , "PdfUa2" ] )
679+ validator = EnumAttributeValidator . new ( 'String' , [ "Pdf17" , "Pdf20" , "PdfA1a" , "PdfA1b" , "PdfA2a" , "PdfA2u" , "PdfA3a" , "PdfA3u" , " PdfA4" , "PdfA4f ", "PdfA4Ua2" , "PdfUa1" , "PdfUa2" ] )
680680 if compliance . to_i == 0
681681 unless validator . valid? ( compliance )
682682 raise ArgumentError , "invalid value for 'compliance', must be one of #{ validator . allowable_values } ."
0 commit comments