aboutsummaryrefslogtreecommitdiffstats
path: root/docs/examples/region_body/simplecol4.fo
blob: d57e332ddf72f92fb820273c2a1e6d17f057ef37 (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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<?xml version="1.0" encoding="utf-8"?>

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

  <!-- defines page layout -->
  <fo:layout-master-set>

    <!-- layout for the first page -->
    <fo:simple-page-master master-name="only"
                  page-height="11in" 
                  page-width="8.5in"
                  margin-top="1in" 
                  margin-bottom="1in" 
                  margin-left="0.75in" 
                  margin-right="0.75in">
      <fo:region-body
	  	margin-top="1in" margin-bottom="1in"
		column-count="3" column-gap="0.15in"/>
      <fo:region-before extent="1in"/>
      <fo:region-after extent="1in"/>
    </fo:simple-page-master>

  </fo:layout-master-set>

  <!-- actual layout -->
  <fo:page-sequence master-name="only">
    <fo:static-content flow-name="xsl-region-before">
      <fo:block font-size="16pt" 
                font-family="sans-serif" 
                line-height="normal"
                text-align="start"
				color="blue">Columns in FOP</fo:block>
	</fo:static-content>
	
    <fo:static-content flow-name="xsl-region-after">
      <fo:block font-size="10pt" 
                font-family="sans-serif" 
                line-height="12pt"
				space-before.optimum="6pt"
                text-align="end"
				color="blue">Page #</fo:block>
	</fo:static-content>
	
    <fo:flow flow-name="xsl-region-body">
      <!-- Block 0 -->
      <fo:block font-size="12pt" 
                font-family="sans-serif" 
                line-height="15pt"
                space-after.optimum="3pt"
                text-align="start"
				background-color="yellow"
				span="none">
		<fo:inline color="green">Block 0:</fo:inline>
        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
        read normal.pdf.
      </fo:block>

      <!-- Block 1 -->
      <fo:block font-size="12pt" 
                font-family="sans-serif" 
                line-height="15pt"
                space-after.optimum="3pt"
                text-align="start"
				background-color="yellow"
				span="none">
		<fo:inline color="green">Block 1:</fo:inline>
        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
        read normal.pdf.
      </fo:block>

      <!-- Block 2 -->
      <fo:block font-size="12pt" 
                font-family="sans-serif" 
                line-height="15pt"
                space-after.optimum="3pt"
                text-align="start"
				background-color="yellow"
				span="none">
		<fo:inline color="green">Block 2:</fo:inline>
        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
        read normal.pdf.
      </fo:block>

      <!-- Block 3 -->
      <fo:block font-size="12pt" 
                font-family="sans-serif" 
                line-height="15pt"
                space-after.optimum="3pt"
                text-align="start"
				background-color="yellow"
				span="none">
		<fo:inline color="green">Block 3:</fo:inline>
        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
        read normal.pdf.
      </fo:block>

      <!-- Block 4 -->
      <fo:block font-size="12pt" 
                font-family="sans-serif" 
                line-height="15pt"
                space-after.optimum="3pt"
                text-align="start"
				background-color="yellow"
				span="all">
		<fo:inline color="red">Block 4:</fo:inline>
        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
        read normal.pdf.
      </fo:block>

      <!-- Block 5 -->
	        <fo:block font-size="12pt" 
                font-family="sans-serif" 
                line-height="15pt"
                space-after.optimum="3pt"
                text-align="start"
				background-color="yellow"
				span="none">
		<fo:inline color="green">Block 5:</fo:inline>
        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
        read normal.pdf.
      </fo:block>

      <!-- Block 6 -->
      <fo:block font-size="12pt" 
                font-family="sans-serif" 
                line-height="15pt"
                space-after.optimum="3pt"
                text-align="start"
				background-color="yellow"
				span="none">
		<fo:inline color="green">Block 6:</fo:inline>
        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
        read normal.pdf.
      </fo:block>

      <!-- Block 7 -->
      <fo:block font-size="12pt" 
                font-family="sans-serif" 
                line-height="15pt"
                space-after.optimum="3pt"
                text-align="start"
				background-color="yellow"
				span="none">
		<fo:inline color="green">Block 7:</fo:inline>
        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
        read normal.pdf.
      </fo:block>

      <!-- Block 8 -->
      <fo:block font-size="12pt" 
                font-family="sans-serif" 
                line-height="15pt"
                space-after.optimum="3pt"
                text-align="start"
				background-color="yellow"
				span="none">
		<fo:inline color="green">Block 8:</fo:inline>
        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
        read normal.pdf.
      </fo:block>

      <!-- Block 9 -->
      <fo:block font-size="12pt" 
                font-family="sans-serif" 
                line-height="15pt"
                space-after.optimum="3pt"
                text-align="start"
				background-color="yellow"
				span="all">
		<fo:inline color="red">Block 9:</fo:inline>
        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
        read normal.pdf.
      </fo:block>

	  </fo:flow>
  </fo:page-sequence>
</fo:root>