CHAPTER 10
908
Document Interchange
As an example, consider the following fragment of HTML code, which produces
a line of text containing a hypertext link:
< html >
< body >
<p>
Here is some text < a href = http : / / www . adobe . com >with a link< /a > inside .
< /body >
< /html >
text it displays in blue and underlined. Example 10.18 shows an excerpt from the
associated logical structure hierarchy.
Example 10.17
/P << /MCID 0 >>
BDC
BT
/T1_0 1 Tf
14 0 0 14 10.000 753.976 Tm
0.0 0.0 0.0 rg
( Here is some text ) Tj
ET
EMC
/Link << /MCID 1 >>
BDC
0.7 w
[] 0 d
111.094 751.8587 m
174.486 751.8587 l
0.0 0.0 1.0 RG
S
BT
14 0 0 14 111.094 753.976 Tm
0.0 0.0 1.0 rg
( with a link ) Tj
ET
EMC
% Marked-content sequence 0 (paragraph)
% Begin marked-content sequence
% Begin text object
% Set text font and size
% Set text matrix
% Set nonstroking color to black
% Show text preceding link
% End text object
% End marked-content sequence
% Marked-content sequence 1 (link)
% Begin marked-content sequence
% Set line width
% Solid dash pattern
% Move to beginning of underline
% Draw underline
% Set stroking color to blue
% Stroke underline
% Begin text object
% Set text matrix
% Set nonstroking color to blue
% Show text of link
% End text object
% End marked-content sequence