Previous Next


                                       909
SECTION 10.7                                                              Tagged PDF



  /P << /MCID 2 >>                           % Marked-content sequence 2 (paragraph)
     BDC                                     % Begin marked-content sequence
        BT                                   % Begin text object
           14 0 0 14 174.486 753.976 Tm      % Set text matrix
           0.0 0.0 0.0 rg                    % Set nonstroking color to black
           ( inside . ) Tj                   % Show text following link
        ET                                   % End text object
     EMC                                     % End marked-content sequence


Example 10.18

  501 0 obj                              % Structure element for paragraph
     << /Type /StructElem
        /S /P
        ...
        /K [ 0                           % Three children: marked-content sequence 0
              502 0 R                    % Link
              2                          % Marked-content sequence 2
            ]
     >>
  endobj

  502 0 obj                              % Structure element for link
     << /Type /StructElem
        /S /Link
        ...
        /K [ 1                           % Two children: marked-content sequence 1
              503 0 R                    % Object reference to link annotation
            ]
     >>
  endobj

  503 0 obj                              % Object reference to link annotation
     << /Type /OBJR
        /Obj 600 0 R                     % Link annotation (not shown)
     >>
  endobj


Annotation Elements

Tagged PDF annotation elements (structure type Annot; PDF 1.5) use PDF’s logi-
cal structure facilities to establish the association between content items and PDF
annotations. Annotation elements are used for all types of annotations other than
links (see “Link Elements” on page 907) and forms (see Table 10.27 on page 912).

Previous Next