Previous Next


                                      866
CHAPTER 10                                                     Document Interchange



Example 10.10

  1 0 obj                            % Structure element
     << /Type /StructElem
         /S /P                       % Structure type
         /P …                        % Parent in structure hierarchy
         /Pg 2 0 R                   % Page containing marked-content sequence
         /K 0                        % Marked-content identifier
     >>
  endobj

  2 0 obj                                              % Page object
     << /Type /Page
         /Resources << /XObject << /Fm4 4 0 R >>       % Resource dictionary
                    >>                                 % containing form XObject
         /Contents 3 0 R                               % Content stream
        …
     >>
  endobj

  3 0 obj                            % Page's content stream
      << /Length … >>
  stream
      …
      /P << /MCID 0 >>               % Start of marked-content sequence
         BDC
            /Fm4 Do                  % Paint form XObject
         EMC                         % End of marked-content sequence
      …
  endstream
  endobj

  4 0 obj                            % Form XObject
      << /Type /XObject
          /Subtype /Form
          /Length …
      >>
  stream
      …
      ( Here is some text ) Tj
      …
  endstream
  endobj

Previous Next