summaryrefslogtreecommitdiffstats
path: root/src/documentation/content/xdocs/dev/examples.xml
blob: 2542dba56ff1d50805f6692ecdda25ce4ce653fd (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
    "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">

<document>
  <header>
    <title>FO Examples</title>
  </header>
  <body>
    <section>
      <title>Example Documents Using FOP</title>
      <p>
        These examples have been rendered using FOP.
      </p>
    </section>
          <section>
            <title>Images Examples</title>
            <p>
Embedding images in FO:
            </p>
  <table>
    <caption>Images in FO</caption>
    <tr>
      <th>description</th>
      <th>fo file</th>
      <th>pdf result</th>
    </tr>
    <tr>
      <td>align in larger viewport</td>
      <td><link href="../fo/align.fo">align.fo</link></td>
      <td><link href="../fo/align.fo.pdf">align.fo.pdf</link></td>
    </tr>
    <tr>
      <td>align in smaller viewport</td>
      <td><link href="../fo/align2.fo">align2.fo</link></td>
      <td><link href="../fo/align2.fo.pdf">align2.fo.pdf</link></td>
    </tr>
    <tr>
      <td>scaling image</td>
      <td><link href="../fo/size.fo">size.fo</link></td>
      <td><link href="../fo/size.fo.pdf">size.fo.pdf</link></td>
    </tr>
  </table>
          </section>
          <section>
            <title>Instream Foreign Object Examples</title>
            <p>
Instream Foreign Object images in FO, there are more on the
<link href="svg.html">SVG Page</link>:
            </p>
  <table>
    <caption>Embedding instream-foreign-object</caption>
    <tr>
      <th>description</th>
      <th>fo file</th>
      <th>pdf result</th>
    </tr>
    <tr>
      <td>embedding svg in viewport</td>
      <td><link href="../fo/embed.fo">embed.fo</link></td>
      <td><link href="../fo/embed.fo.pdf">embed.fo.pdf</link></td>
    </tr>
  </table>
          </section>
  </body>
</document>