Previous Next


                                        862
CHAPTER 10                                                       Document Interchange



Marked-Content Sequences as Content Items

A sequence of graphics operators in a content stream can be specified as a con-
tent item of a structure element in the following way:

• The operators must be bracketed as a marked-content sequence between BDC
  and EMC operators (see Section 10.5, “Marked Content”)
  Note: Although the tag associated with a marked-content sequence is not directly
  related to the document’s logical structure, it should be the same as the structure
  type of the associated structure element.
• The marked-content sequence must have a property list (see Section 10.5.1,
  “Property Lists”) containing an MCID entry, which is an integer marked-content
  identifier that uniquely identifies the marked-content sequence within its con-
  tent stream, as shown in the following example:

Example 10.7

  2 0 obj                              % Page object
     << /Type /Page
         /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
            …
            ( Here is some text ) Tj
            …
         EMC                           % End of marked-content sequence
      …
  endstream
  endobj

Note: This example and the following examples omit required StructParents entries
in the objects used as content items (see “Finding Structure Elements from Content
Items” on page 868).

Previous Next