### ----------------------------------------------------
### -- PDF::ISO_32000_2
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: resources/ISO_32000_2/Table_97-Entries_in_an_optional_content_membership_dictionary.json
### ----------------------------------------------------
{
  "table": {
    "caption": "Table 97 — Entries in an optional content membership dictionary",
    "head": [
      "Key",
      "Type",
      "Value"
    ],
    "rows": [
      [
        "Type",
        "name",
        "(Required) The type of PDF object that this dictionary describes; is OCMD for an optional content membership dictionary."
      ],
      [
        "OCGs",
        "dictionary or array",
        "(Optional) A dictionary or array of dictionaries specifying the optional content groups whose states determines the visibility of content controlled by this membership dictionary.\nNull values or references to deleted objects is ignored.\nIf this entry is not present, is an empty array, or contains references only to null or deleted objects, the P entry has no effect on the visibility of any content."
      ],
      [
        "P",
        "name",
        "(Optional) A name specifying the visibility policy for content belonging to this membership dictionary. Valid values is:\nAllOn visible only if all of the entries in OCGs are ON\nAnyOn visible if any of the entries in OCGs are ON\nAnyOff visible if any of the entries in OCGs are OFF\nAllOff visible only if all of the entries in OCGs are OFF\nDefault value: AnyOn"
      ],
      [
        "VE",
        "array",
        "(Optional; PDF 1.6) An array specifying a visibility expression, used to compute visibility of content based on a set of optional content groups; see discussion below."
      ]
    ]
  }
}


