CHAPTER 10
940
Document Interchange
Example 10.20
1 0 obj
<< /Type /StructElem
/S /P
/P …
/K << /Type /MCR
/Pg 2 0 R
/MCID 0
>>
/Lang ( en-US )
>>
endobj
2 0 obj
<< /Type /Page
/Contents 3 0 R
…
>>
endobj
% Structure element
% Structure type
% Parent in structure hierarchy
% Page containing marked-content sequence
% Marked-content identifier
% Language specification for this element
% Page object
% Content stream
3 0 obj
% Page's content stream
<< /Length … >>
stream
BT
/P << /MCID 0 >>
% Start of marked-content sequence
BDC
( See you later, or as Arnold would say, ) Tj
/Span << /Lang ( es-MX ) >> % Start of nested marked-content sequence
BDC
( Hasta la vista . ) Tj
EMC
% End of nested marked-content sequence
EMC
% End of marked-content sequence
ET
endstream
endobj
If only part of the page content is contained in the structure hierarchy, and the
structured content is nested within nonstructured content to which a different
language specification applies, the structure element’s language specification
takes precedence. In Example 10.21, the page’s content stream consists of a
marked-content sequence that specifies Spanish as its language by means of the
Span
tag with a
Lang
property. Nested within it is content that is part of a struc-