summaryrefslogtreecommitdiff
path: root/test/testdocs/stamp.013.xml
blob: 06fc713d204e99b18bb325f4a26188312398fbba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
                  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<article>
<articleinfo>
<title>Unit Test: stamp.013</title>
<subtitle>Test having both contentwidth="x%" and contentdepth="y%"</subtitle>
<releaseinfo role="CVS">$Id: stamp.013.xml 5433 2005-11-04 09:00:49Z xmldoc $</releaseinfo>
<corpauthor>DocBook Project Development team</corpauthor>
</articleinfo>

<para>The stamp image has a natural size of 200x128 pixels.</para>

<para>The stamp image: width=7.12cm; depth=7.12cm; scale=125; align=center</para>

<mediaobject>
  <imageobject>
    <?dbhtml background-color="blue"?>
    <imagedata
      width="7.12cm"
      depth="7.12cm"
      scale="125"
      align="center"
      fileref="graphics/duck-small"/>
  </imageobject>
  <textobject><phrase>The DocBook Stamp</phrase></textobject>
</mediaobject>

<para>The stamp image: width=512; depth=512; contentwidth=50%; contentdepth=30%; align=center</para>

<mediaobject>
  <imageobject>
    <?dbhtml background-color="blue"?>
    <imagedata
      width="512"
      depth="512"
      contentwidth="50%"
      contentdepth="30%"
      align="center"
      fileref="graphics/duck-small"/>
  </imageobject>
  <textobject><phrase>The DocBook Stamp</phrase></textobject>
</mediaobject>

<mediaobject>
  <imageobject>
    <?dbhtml background-color="blue"?>
    <imagedata
      width="512"
      depth="400"
      contentwidth="500"
      contentdepth="300"
      align="left"
      valign="top"
      fileref="graphics/duck-small"/>
  </imageobject>
  <textobject><phrase>The DocBook Stamp</phrase></textobject>
</mediaobject>

<mediaobject>
  <imageobject>
    <?dbhtml background-color="blue"?>
    <imagedata
      depth="400"
      contentwidth="500"
      contentdepth="300"
      align="left"
      valign="top"
      fileref="graphics/duck-small"/>
  </imageobject>
  <textobject><phrase>The DocBook Stamp</phrase></textobject>
</mediaobject>

<mediaobject>
  <imageobject>
    <?dbhtml background-color="blue"?>
    <imagedata
      contentwidth="500"
      contentdepth="300"
      align="left"
      valign="top"
      fileref="graphics/duck-small"/>
  </imageobject>
  <textobject><phrase>The DocBook Stamp</phrase></textobject>
</mediaobject>


</article>