From 9fe24a3986cc4bd05c0bbb89ed03b30f7f2bcea3 Mon Sep 17 00:00:00 2001 From: Maxim Date: Tue, 9 Apr 2024 14:13:06 +0300 Subject: [PATCH] PDF/UA-1. Update rules 7.18.1-1 - 7.18.1-3 --- .../7.18.1 General/verapdf-profile-7-18-1-t01.xml | 6 +++--- .../7.18.1 General/verapdf-profile-7-18-1-t02.xml | 7 +++---- .../7.18.1 General/verapdf-profile-7-18-1-t03.xml | 15 ++++++--------- .../verapdf-profile-7-4-4-t01.xml | 2 +- 4 files changed, 13 insertions(+), 17 deletions(-) diff --git a/PDF_UA/1/7.18 Annotations/7.18.1 General/verapdf-profile-7-18-1-t01.xml b/PDF_UA/1/7.18 Annotations/7.18.1 General/verapdf-profile-7-18-1-t01.xml index a67748d3..9e98a618 100644 --- a/PDF_UA/1/7.18 Annotations/7.18.1 General/verapdf-profile-7-18-1-t01.xml +++ b/PDF_UA/1/7.18 Annotations/7.18.1 General/verapdf-profile-7-18-1-t01.xml @@ -2,14 +2,14 @@
ISO 14289-1:2014 - 7.18 Annotations - 7.18.1 General - Annot tag - An annotation, excluding annotations of subtype Widget, Popup or Link, shall be nested within an Annot tag + An annotation, excluding annotations of subtype Widget, PrinterMark or Link, shall be nested within an Annot tag
- An annotation, excluding annotations of subtype Widget, Popup or Link, shall be nested within an Annot tag - Subtype == 'Widget' || Subtype == 'Popup' || Subtype == 'Link' || isOutsideCropBox == true || + An annotation, excluding annotations of subtype Widget, PrinterMark or Link, shall be nested within an Annot tag + Subtype == 'Widget' || Subtype == 'PrinterMark' || Subtype == 'Link' || isOutsideCropBox == true || (F & 2) == 2 || structParentStandardType == 'Annot' %1 annotation is an Artifact or is nested within %2 tag (standard type = %3) instead of Annot diff --git a/PDF_UA/1/7.18 Annotations/7.18.1 General/verapdf-profile-7-18-1-t02.xml b/PDF_UA/1/7.18 Annotations/7.18.1 General/verapdf-profile-7-18-1-t02.xml index 07b620cf..b75377c4 100644 --- a/PDF_UA/1/7.18 Annotations/7.18.1 General/verapdf-profile-7-18-1-t02.xml +++ b/PDF_UA/1/7.18 Annotations/7.18.1 General/verapdf-profile-7-18-1-t02.xml @@ -2,7 +2,7 @@
ISO 14289-1:2014 - 7.18 Annotation - 7.18.1 General - Alt in annotation - An annotation (except annotations of type Link, Widget or Popup, or hidden annotations, + An annotation (except Widget annotations or hidden annotations, or those having rectangle outside the crop-box) shall have either Contents key or an Alt entry in the enclosing structure element
@@ -10,11 +10,10 @@ - An annotation (except annotations of type Link, Widget or Popup, or hidden annotations, + An annotation (except Widget annotations or hidden annotations, or those having rectangle outside the crop-box) shall have either Contents key or an Alt entry in the enclosing structure element - Subtype == 'Widget' || Subtype == 'Popup' || Subtype == 'Link' - || isOutsideCropBox == true || (F & 2) == 2 || (Contents != null && Contents != '') || + Subtype == 'Widget' || isOutsideCropBox == true || (F & 2) == 2 || (Contents != null && Contents != '') || (Alt != null && Alt != '') %1 annotation whose hidden flag is not set and whose rectangle is not outside the crop-box diff --git a/PDF_UA/1/7.18 Annotations/7.18.1 General/verapdf-profile-7-18-1-t03.xml b/PDF_UA/1/7.18 Annotations/7.18.1 General/verapdf-profile-7-18-1-t03.xml index a5f3993c..189866af 100644 --- a/PDF_UA/1/7.18 Annotations/7.18.1 General/verapdf-profile-7-18-1-t03.xml +++ b/PDF_UA/1/7.18 Annotations/7.18.1 General/verapdf-profile-7-18-1-t03.xml @@ -2,22 +2,19 @@
ISO 14289-1:2014 - 7.18 Annotation - 7.18.1 General - Alt in form field - A form field whose hidden flag is not set and whose rectangle is not outside the crop-box - shall have a TU key present or all its Widget annotations shall have alternative descriptions - (in the form of an Alt entry in the enclosing structure elements) + A form field shall have a TU key present or all its Widget annotations shall have alternative + descriptions (in the form of an Alt entry in the enclosing structure elements)
- A form field whose hidden flag is not set and whose rectangle is not outside the crop-box - shall have a TU key present or all its Widget annotations shall have alternative descriptions - (in the form of an Alt entry in the enclosing structure elements) + A form field shall have a TU key present or all its Widget annotations shall have alternative + descriptions (in the form of an Alt entry in the enclosing structure elements) isOutsideCropBox == true || (F & 2) == 2 || (TU != null && TU != '') || (Alt != null && Alt != '') - A form field whose hidden flag is not set and whose rectangle is not outside the crop-box - neither has TU key nor its Widget annotations have alternative descriptions (in the form of an Alt - entry in the enclosing structure element) + A form field neither has TU key nor its Widget annotations have alternative descriptions + (in the form of an Alt entry in the enclosing structure element) diff --git a/PDF_UA/1/7.4 Headings/7.4.4 Unnumbered headings/verapdf-profile-7-4-4-t01.xml b/PDF_UA/1/7.4 Headings/7.4.4 Unnumbered headings/verapdf-profile-7-4-4-t01.xml index 3dc9e7bc..44faf7b3 100644 --- a/PDF_UA/1/7.4 Headings/7.4.4 Unnumbered headings/verapdf-profile-7-4-4-t01.xml +++ b/PDF_UA/1/7.4 Headings/7.4.4 Unnumbered headings/verapdf-profile-7-4-4-t01.xml @@ -1,7 +1,7 @@
- ISO 14289-1:2014 - 7.4 Headings - 7.4.4 Unnumbered headings - Number of H + ISO 14289-1:2014 - 7.4 Headings - 7.4.4 Unnumbered headings - Number of H Each node in the tag tree shall contain at most one child H tag