TPDFlibOCMDExpressionItem

Data types

Description

Represents one operand or operator in the prefix form of a PDF optional content visibility expression

Syntax

TPDFlibOCMDExpressionItem = Record
  Kind: TPDFlibOCMDExpressionItemKind;
  OptionalContentGroupID: Integer;
  OperandCount: Integer;
End;

Fields

KindThe group or logical operator kind
OptionalContentGroupIDThe selected-document group handle for oekGroup, otherwise 0
OperandCount0 for a group, 1 for oekNot, and one or more for oekAnd or oekOr

Remarks

Prefix order avoids temporary expression handles and permits one-pass validation, serialisation and enumeration

See also

TPDFlibOCMDExpressionItemKind, SetOptionalContentMembership