You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

retrieve-table-marker_multicolumn.xml 35KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <!-- $Id$ -->
  17. <testcase>
  18. <info>
  19. <p>This test checks the retrieve-table-marker implementation. Rather, it serves as a regression test.</p>
  20. </info>
  21. <fo>
  22. <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" font-size="10pt" font-family="sans-serif"
  23. line-height="120%">
  24. <fo:layout-master-set>
  25. <fo:simple-page-master master-name="base-page" page-height="210mm" page-width="297mm">
  26. <fo:region-body margin="15mm" column-count="3" />
  27. <fo:region-before extent="15mm" />
  28. <fo:region-after extent="11.4mm" />
  29. </fo:simple-page-master>
  30. </fo:layout-master-set>
  31. <fo:page-sequence master-reference="base-page">
  32. <fo:flow flow-name="xsl-region-body" font-family="sans-serif">
  33. <fo:block>The table has two columns, State and Facts. In the rows corresponding to states in the
  34. Pacific Time Zone (PST), the State and Facts table
  35. cells have a marker with the value of the State. That marker is retrieved in the table header and
  36. footer. All the possible boundary and positions are considered in this example.
  37. </fo:block>
  38. <fo:block> rbwt = retrieve-boundary-within-table; rpwt = retrieve-position-within-table;
  39. f-i-c = first-including-carryover; f-s = first-starting; l-s = last-starting; l-e = last-ending;
  40. t = table; p = page; p-s = page-sequence; t-f = table-fragment.
  41. </fo:block>
  42. <fo:wrapper>
  43. <fo:table space-before="1em" width="100%" table-layout="fixed">
  44. <fo:table-column column-width="proportional-column-width(3)" />
  45. <fo:table-column column-width="proportional-column-width(5)" />
  46. <fo:table-header>
  47. <fo:table-row>
  48. <fo:table-cell padding="4pt" number-columns-spanned="2"
  49. background-color="yellow">
  50. <fo:block>
  51. [rbwt:t][rpwt:f-i-c](
  52. <fo:retrieve-table-marker retrieve-class-name="state"
  53. retrieve-position-within-table="first-including-carryover" retrieve-boundary-within-table="table" />
  54. )
  55. </fo:block>
  56. <fo:block>
  57. [rbwt:t][rpwt:f-s](
  58. <fo:retrieve-table-marker retrieve-class-name="state"
  59. retrieve-position-within-table="first-starting" retrieve-boundary-within-table="table" />
  60. )
  61. </fo:block>
  62. <fo:block>
  63. [rbwt:p][rpwt:f-i-c](
  64. <fo:retrieve-table-marker retrieve-class-name="state"
  65. retrieve-position-within-table="first-including-carryover" retrieve-boundary-within-table="page" />
  66. )
  67. </fo:block>
  68. <fo:block>
  69. [rbwt:p][rpwt:f-s](
  70. <fo:retrieve-table-marker retrieve-class-name="state"
  71. retrieve-position-within-table="first-starting" retrieve-boundary-within-table="page" />
  72. )
  73. </fo:block>
  74. <fo:block>
  75. [rbwt:t-f][rpwt:f-i-c](
  76. <fo:retrieve-table-marker retrieve-class-name="state"
  77. retrieve-position-within-table="first-including-carryover" retrieve-boundary-within-table="table-fragment" />
  78. )
  79. </fo:block>
  80. <fo:block>
  81. [rbwt:t-f][rpwt:f-s](
  82. <fo:retrieve-table-marker retrieve-class-name="state"
  83. retrieve-position-within-table="first-starting" retrieve-boundary-within-table="table-fragment" />
  84. )
  85. </fo:block>
  86. </fo:table-cell>
  87. </fo:table-row>
  88. <fo:table-row>
  89. <fo:table-cell padding-before="4pt" padding-after="4pt">
  90. <fo:block font-weight="bold">State</fo:block>
  91. </fo:table-cell>
  92. <fo:table-cell padding-before="4pt" padding-after="4pt">
  93. <fo:block font-weight="bold">Facts</fo:block>
  94. </fo:table-cell>
  95. </fo:table-row>
  96. </fo:table-header>
  97. <fo:table-footer>
  98. <fo:table-row>
  99. <fo:table-cell padding="4pt" number-columns-spanned="2"
  100. background-color="yellow">
  101. <fo:block>
  102. [rbwt:t][rpwt:l-s](
  103. <fo:retrieve-table-marker retrieve-class-name="state"
  104. retrieve-position-within-table="last-starting" retrieve-boundary-within-table="table" />
  105. )
  106. </fo:block>
  107. <fo:block>
  108. [rbwt:t][rpwt:l-e](
  109. <fo:retrieve-table-marker retrieve-class-name="state"
  110. retrieve-position-within-table="last-ending" retrieve-boundary-within-table="table" />
  111. )
  112. </fo:block>
  113. <fo:block>
  114. [rbwt:p][rpwt:l-s](
  115. <fo:retrieve-table-marker retrieve-class-name="state"
  116. retrieve-position-within-table="last-starting" retrieve-boundary-within-table="page" />
  117. )
  118. </fo:block>
  119. <fo:block>
  120. [rbwt:p][rpwt:l-e](
  121. <fo:retrieve-table-marker retrieve-class-name="state"
  122. retrieve-position-within-table="last-ending" retrieve-boundary-within-table="page" />
  123. )
  124. </fo:block>
  125. <fo:block>
  126. [rbwt:t-f][rpwt:l-s](
  127. <fo:retrieve-table-marker retrieve-class-name="state"
  128. retrieve-position-within-table="last-starting" retrieve-boundary-within-table="table-fragment" />
  129. )
  130. </fo:block>
  131. <fo:block>
  132. [rbwt:t-f][rpwt:l-e](
  133. <fo:retrieve-table-marker retrieve-class-name="state"
  134. retrieve-position-within-table="last-ending" retrieve-boundary-within-table="table-fragment" />
  135. )
  136. </fo:block>
  137. </fo:table-cell>
  138. </fo:table-row>
  139. </fo:table-footer>
  140. <fo:table-body>
  141. <!--fo:marker marker-class-name="state">Alabama</fo:marker-->
  142. <fo:table-row>
  143. <fo:table-cell padding-before="4pt" padding-after="4pt">
  144. <fo:block>Alabama</fo:block>
  145. </fo:table-cell>
  146. <fo:table-cell padding-before="4pt" padding-after="4pt">
  147. <fo:block>Capital: Montgomery</fo:block>
  148. <fo:block>Area: 52,423 square miles</fo:block>
  149. <fo:block>Population: 4,447,100</fo:block>
  150. <fo:block>Time Zone: CST</fo:block>
  151. </fo:table-cell>
  152. </fo:table-row>
  153. <fo:table-row>
  154. <fo:table-cell padding-before="4pt" padding-after="4pt">
  155. <fo:block>Alaska</fo:block>
  156. </fo:table-cell>
  157. <fo:table-cell padding-before="4pt" padding-after="4pt">
  158. <fo:block>Capital: Juneau</fo:block>
  159. <fo:block>Area: 656,425 square miles</fo:block>
  160. <fo:block>Population: 626,932</fo:block>
  161. <fo:block>Time Zone: GMT -9:00</fo:block>
  162. </fo:table-cell>
  163. </fo:table-row>
  164. <fo:table-row>
  165. <fo:table-cell padding-before="4pt" padding-after="4pt">
  166. <fo:marker marker-class-name="state">Arizona</fo:marker>
  167. <fo:block>Arizona</fo:block>
  168. </fo:table-cell>
  169. <fo:table-cell padding-before="4pt" padding-after="4pt">
  170. <fo:marker marker-class-name="state">Arizona</fo:marker>
  171. <fo:block>Capital: Phoenix</fo:block>
  172. <fo:block>Area: 114,006 square miles</fo:block>
  173. <fo:block>Population: 5,130,632</fo:block>
  174. <fo:block>Time Zone: PST and MST</fo:block>
  175. </fo:table-cell>
  176. </fo:table-row>
  177. <fo:table-row>
  178. <fo:table-cell padding-before="4pt" padding-after="4pt">
  179. <fo:block>Arkansas</fo:block>
  180. </fo:table-cell>
  181. <fo:table-cell padding-before="4pt" padding-after="4pt">
  182. <fo:block>Capital: Little Rock</fo:block>
  183. <fo:block>Area: 53,182 square miles</fo:block>
  184. <fo:block>Population: 2,673,400</fo:block>
  185. <fo:block>Time Zone: CST</fo:block>
  186. </fo:table-cell>
  187. </fo:table-row>
  188. <fo:table-row>
  189. <fo:table-cell padding-before="4pt" padding-after="4pt">
  190. <fo:marker marker-class-name="state">California</fo:marker>
  191. <fo:block>California</fo:block>
  192. </fo:table-cell>
  193. <fo:table-cell padding-before="4pt" padding-after="4pt">
  194. <fo:marker marker-class-name="state">California</fo:marker>
  195. <fo:block>Capital: Sacramento</fo:block>
  196. <fo:block>Area: 163,707 square miles</fo:block>
  197. <fo:block>Population: 33,871,648</fo:block>
  198. <fo:block>Time Zone: PST</fo:block>
  199. </fo:table-cell>
  200. </fo:table-row>
  201. <fo:table-row>
  202. <fo:table-cell padding-before="4pt" padding-after="4pt">
  203. <fo:block>Colorado</fo:block>
  204. </fo:table-cell>
  205. <fo:table-cell padding-before="4pt" padding-after="4pt">
  206. <fo:block>Capital: Denver</fo:block>
  207. <fo:block>Area: 104,100 square miles</fo:block>
  208. <fo:block>Population: 4,301,261</fo:block>
  209. <fo:block>Time Zone: MST</fo:block>
  210. </fo:table-cell>
  211. </fo:table-row>
  212. <fo:table-row>
  213. <fo:table-cell padding-before="4pt" padding-after="4pt">
  214. <fo:block>Connecticut</fo:block>
  215. </fo:table-cell>
  216. <fo:table-cell padding-before="4pt" padding-after="4pt">
  217. <fo:block>Capital: Hartford</fo:block>
  218. <fo:block>Area: 5,544 square miles</fo:block>
  219. <fo:block>Population: 3,405,565</fo:block>
  220. <fo:block>Time Zone: EST</fo:block>
  221. </fo:table-cell>
  222. </fo:table-row>
  223. <fo:table-row>
  224. <fo:table-cell padding-before="4pt" padding-after="4pt">
  225. <fo:block>Delaware</fo:block>
  226. </fo:table-cell>
  227. <fo:table-cell padding-before="4pt" padding-after="4pt">
  228. <fo:block>Capital: Dover</fo:block>
  229. <fo:block>Area: 1,954 square miles</fo:block>
  230. <fo:block>Population: 783,600</fo:block>
  231. <fo:block>Time Zone: EST</fo:block>
  232. </fo:table-cell>
  233. </fo:table-row>
  234. <fo:table-row>
  235. <fo:table-cell padding-before="4pt" padding-after="4pt">
  236. <fo:block>Florida</fo:block>
  237. </fo:table-cell>
  238. <fo:table-cell padding-before="4pt" padding-after="4pt">
  239. <fo:block>Capital: Tallahassee</fo:block>
  240. <fo:block>Area: 65,758 square miles</fo:block>
  241. <fo:block>Population: 15,982,378</fo:block>
  242. <fo:block>Time Zone: EST</fo:block>
  243. </fo:table-cell>
  244. </fo:table-row>
  245. <fo:table-row>
  246. <fo:table-cell padding-before="4pt" padding-after="4pt">
  247. <fo:block>Georgia</fo:block>
  248. </fo:table-cell>
  249. <fo:table-cell padding-before="4pt" padding-after="4pt">
  250. <fo:block>Capital: Atlanta</fo:block>
  251. <fo:block>Area: 59,441 square miles</fo:block>
  252. <fo:block>Population: 8,186,453</fo:block>
  253. <fo:block>Time Zone: EST</fo:block>
  254. </fo:table-cell>
  255. </fo:table-row>
  256. <fo:table-row>
  257. <fo:table-cell padding-before="4pt" padding-after="4pt">
  258. <fo:block>Hawaii</fo:block>
  259. </fo:table-cell>
  260. <fo:table-cell padding-before="4pt" padding-after="4pt">
  261. <fo:block>Capital: Honolulu</fo:block>
  262. <fo:block>Area: 10,932 square miles</fo:block>
  263. <fo:block>Population: 1,211,537</fo:block>
  264. <fo:block>Time Zone: GMT -11:00</fo:block>
  265. </fo:table-cell>
  266. </fo:table-row>
  267. <fo:table-row>
  268. <fo:table-cell padding-before="4pt" padding-after="4pt">
  269. <fo:block>Idaho</fo:block>
  270. </fo:table-cell>
  271. <fo:table-cell padding-before="4pt" padding-after="4pt">
  272. <fo:block>Capital: Boise</fo:block>
  273. <fo:block>Area: 83,574 square miles</fo:block>
  274. <fo:block>Population: 1,293,953</fo:block>
  275. <fo:block>Time Zone: MST</fo:block>
  276. </fo:table-cell>
  277. </fo:table-row>
  278. <fo:table-row>
  279. <fo:table-cell padding-before="4pt" padding-after="4pt">
  280. <fo:block>Illinois</fo:block>
  281. </fo:table-cell>
  282. <fo:table-cell padding-before="4pt" padding-after="4pt">
  283. <fo:block>Capital: Springfield</fo:block>
  284. <fo:block>Area: 57,918 square miles</fo:block>
  285. <fo:block>Population: 12,419,293</fo:block>
  286. <fo:block>Time Zone: CST</fo:block>
  287. </fo:table-cell>
  288. </fo:table-row>
  289. <fo:table-row>
  290. <fo:table-cell padding-before="4pt" padding-after="4pt">
  291. <fo:block>Indiana</fo:block>
  292. </fo:table-cell>
  293. <fo:table-cell padding-before="4pt" padding-after="4pt">
  294. <fo:block>Capital: Indianapolis</fo:block>
  295. <fo:block>Area: 36,420 square miles</fo:block>
  296. <fo:block>Population: 6,080,485</fo:block>
  297. <fo:block>Time Zone: EST and CST</fo:block>
  298. </fo:table-cell>
  299. </fo:table-row>
  300. <fo:table-row>
  301. <fo:table-cell padding-before="4pt" padding-after="4pt">
  302. <fo:block>Iowa</fo:block>
  303. </fo:table-cell>
  304. <fo:table-cell padding-before="4pt" padding-after="4pt">
  305. <fo:block>Capital: Des Moines</fo:block>
  306. <fo:block>Area: 56,276 square miles</fo:block>
  307. <fo:block>Population: 2,926,324</fo:block>
  308. <fo:block>Time Zone: CST</fo:block>
  309. </fo:table-cell>
  310. </fo:table-row>
  311. <fo:table-row>
  312. <fo:table-cell padding-before="4pt" padding-after="4pt">
  313. <fo:block>Kansas</fo:block>
  314. </fo:table-cell>
  315. <fo:table-cell padding-before="4pt" padding-after="4pt">
  316. <fo:block>Capital: Topeka</fo:block>
  317. <fo:block>Area: 82,282 square miles</fo:block>
  318. <fo:block>Population: 2,688,418</fo:block>
  319. <fo:block>Time Zone: CST</fo:block>
  320. </fo:table-cell>
  321. </fo:table-row>
  322. <fo:table-row>
  323. <fo:table-cell padding-before="4pt" padding-after="4pt">
  324. <fo:block>Kentucky</fo:block>
  325. </fo:table-cell>
  326. <fo:table-cell padding-before="4pt" padding-after="4pt">
  327. <fo:block>Capital: Frankfort</fo:block>
  328. <fo:block>Area: 40,411 square miles</fo:block>
  329. <fo:block>Population: 4,041,769</fo:block>
  330. <fo:block>Time Zone: EST</fo:block>
  331. </fo:table-cell>
  332. </fo:table-row>
  333. <fo:table-row>
  334. <fo:table-cell padding-before="4pt" padding-after="4pt">
  335. <fo:block>Louisiana</fo:block>
  336. </fo:table-cell>
  337. <fo:table-cell padding-before="4pt" padding-after="4pt">
  338. <fo:block>Capital: Baton Rouge</fo:block>
  339. <fo:block>Area: 51,843 square miles</fo:block>
  340. <fo:block>Population: 4,468,976</fo:block>
  341. <fo:block>Time Zone: CST</fo:block>
  342. </fo:table-cell>
  343. </fo:table-row>
  344. <fo:table-row>
  345. <fo:table-cell padding-before="4pt" padding-after="4pt">
  346. <fo:block>Maine</fo:block>
  347. </fo:table-cell>
  348. <fo:table-cell padding-before="4pt" padding-after="4pt">
  349. <fo:block>Capital: Augusta</fo:block>
  350. <fo:block>Area: 35,387 square miles</fo:block>
  351. <fo:block>Population: 1,274,923</fo:block>
  352. <fo:block>Time Zone: EST</fo:block>
  353. </fo:table-cell>
  354. </fo:table-row>
  355. <fo:table-row>
  356. <fo:table-cell padding-before="4pt" padding-after="4pt">
  357. <fo:block>Maryland</fo:block>
  358. </fo:table-cell>
  359. <fo:table-cell padding-before="4pt" padding-after="4pt">
  360. <fo:block>Capital: Annapolis</fo:block>
  361. <fo:block>Area: 12,407 square miles</fo:block>
  362. <fo:block>Population: 5,296,486</fo:block>
  363. <fo:block>Time Zone: EST</fo:block>
  364. </fo:table-cell>
  365. </fo:table-row>
  366. <fo:table-row>
  367. <fo:table-cell padding-before="4pt" padding-after="4pt">
  368. <fo:block>Massachusetts</fo:block>
  369. </fo:table-cell>
  370. <fo:table-cell padding-before="4pt" padding-after="4pt">
  371. <fo:block>Capital: Boston</fo:block>
  372. <fo:block>Area: 10,555 square miles</fo:block>
  373. <fo:block>Population: 6,349,097</fo:block>
  374. <fo:block>Time Zone: EST</fo:block>
  375. </fo:table-cell>
  376. </fo:table-row>
  377. <fo:table-row>
  378. <fo:table-cell padding-before="4pt" padding-after="4pt">
  379. <fo:block>Michigan</fo:block>
  380. </fo:table-cell>
  381. <fo:table-cell padding-before="4pt" padding-after="4pt">
  382. <fo:block>Capital: Lansing</fo:block>
  383. <fo:block>Area: 96,810 square miles</fo:block>
  384. <fo:block>Population: 9,938,444</fo:block>
  385. <fo:block>Time Zone: EST</fo:block>
  386. </fo:table-cell>
  387. </fo:table-row>
  388. <fo:table-row>
  389. <fo:table-cell padding-before="4pt" padding-after="4pt">
  390. <fo:block>Minnesota</fo:block>
  391. </fo:table-cell>
  392. <fo:table-cell padding-before="4pt" padding-after="4pt">
  393. <fo:block>Capital: St. Paul</fo:block>
  394. <fo:block>Area: 86,943 square miles</fo:block>
  395. <fo:block>Population: 4,919,479</fo:block>
  396. <fo:block>Time Zone: CST</fo:block>
  397. </fo:table-cell>
  398. </fo:table-row>
  399. <fo:table-row>
  400. <fo:table-cell padding-before="4pt" padding-after="4pt">
  401. <fo:block>Mississippi</fo:block>
  402. </fo:table-cell>
  403. <fo:table-cell padding-before="4pt" padding-after="4pt">
  404. <fo:block>Capital: Jackson</fo:block>
  405. <fo:block>Area: 48,434 square miles</fo:block>
  406. <fo:block>Population: 2,844,658</fo:block>
  407. <fo:block>Time Zone: CST</fo:block>
  408. </fo:table-cell>
  409. </fo:table-row>
  410. <fo:table-row>
  411. <fo:table-cell padding-before="4pt" padding-after="4pt">
  412. <fo:block>Missouri</fo:block>
  413. </fo:table-cell>
  414. <fo:table-cell padding-before="4pt" padding-after="4pt">
  415. <fo:block>Capital: Jefferson City</fo:block>
  416. <fo:block>Area: 69,709 square miles</fo:block>
  417. <fo:block>Population: 5,595,211</fo:block>
  418. <fo:block>Time Zone: CST</fo:block>
  419. </fo:table-cell>
  420. </fo:table-row>
  421. <fo:table-row>
  422. <fo:table-cell padding-before="4pt" padding-after="4pt">
  423. <fo:block>Montana</fo:block>
  424. </fo:table-cell>
  425. <fo:table-cell padding-before="4pt" padding-after="4pt">
  426. <fo:block>Capital: Helena</fo:block>
  427. <fo:block>Area: 147,046 square miles</fo:block>
  428. <fo:block>Population: 902,195</fo:block>
  429. <fo:block>Time Zone: MST</fo:block>
  430. </fo:table-cell>
  431. </fo:table-row>
  432. <fo:table-row>
  433. <fo:table-cell padding-before="4pt" padding-after="4pt">
  434. <fo:block>Nebraska</fo:block>
  435. </fo:table-cell>
  436. <fo:table-cell padding-before="4pt" padding-after="4pt">
  437. <fo:block>Capital: Lincoln</fo:block>
  438. <fo:block>Area: XXXXXX square miles</fo:block>
  439. <fo:block>Population: 77,358</fo:block>
  440. <fo:block>Time Zone: CST</fo:block>
  441. </fo:table-cell>
  442. </fo:table-row>
  443. <fo:table-row>
  444. <fo:table-cell padding-before="4pt" padding-after="4pt">
  445. <fo:marker marker-class-name="state">Nevada</fo:marker>
  446. <fo:block>Nevada</fo:block>
  447. </fo:table-cell>
  448. <fo:table-cell padding-before="4pt" padding-after="4pt">
  449. <fo:marker marker-class-name="state">Nevada</fo:marker>
  450. <fo:block>Capital: Carson City</fo:block>
  451. <fo:block>Area: 110,567 square miles</fo:block>
  452. <fo:block>Population: 1,998,257</fo:block>
  453. <fo:block>Time Zone: PST</fo:block>
  454. </fo:table-cell>
  455. </fo:table-row>
  456. <fo:table-row>
  457. <fo:table-cell padding-before="4pt" padding-after="4pt">
  458. <fo:block>New Hampshire</fo:block>
  459. </fo:table-cell>
  460. <fo:table-cell padding-before="4pt" padding-after="4pt">
  461. <fo:block>Capital: Concord</fo:block>
  462. <fo:block>Area: 9,351 square miles</fo:block>
  463. <fo:block>Population: 1,235,786</fo:block>
  464. <fo:block>Time Zone: EST</fo:block>
  465. </fo:table-cell>
  466. </fo:table-row>
  467. <fo:table-row>
  468. <fo:table-cell padding-before="4pt" padding-after="4pt">
  469. <fo:block>New Jersey</fo:block>
  470. </fo:table-cell>
  471. <fo:table-cell padding-before="4pt" padding-after="4pt">
  472. <fo:block>Capital: Trenton</fo:block>
  473. <fo:block>Area: 8,722 square miles</fo:block>
  474. <fo:block>Population: 8,414,350</fo:block>
  475. <fo:block>Time Zone: EST</fo:block>
  476. </fo:table-cell>
  477. </fo:table-row>
  478. <fo:table-row>
  479. <fo:table-cell padding-before="4pt" padding-after="4pt">
  480. <fo:block>New Mexico</fo:block>
  481. </fo:table-cell>
  482. <fo:table-cell padding-before="4pt" padding-after="4pt">
  483. <fo:block>Capital: Santa Fe</fo:block>
  484. <fo:block>Area: 121,593 square miles</fo:block>
  485. <fo:block>Population: 1,819,046</fo:block>
  486. <fo:block>Time Zone: MST</fo:block>
  487. </fo:table-cell>
  488. </fo:table-row>
  489. <fo:table-row>
  490. <fo:table-cell padding-before="4pt" padding-after="4pt">
  491. <fo:block>New York</fo:block>
  492. </fo:table-cell>
  493. <fo:table-cell padding-before="4pt" padding-after="4pt">
  494. <fo:block>Capital: Albany</fo:block>
  495. <fo:block>Area: 54,475 square miles</fo:block>
  496. <fo:block>Population: 18,976,457</fo:block>
  497. <fo:block>Time Zone: EST</fo:block>
  498. </fo:table-cell>
  499. </fo:table-row>
  500. <fo:table-row>
  501. <fo:table-cell padding-before="4pt" padding-after="4pt">
  502. <fo:block>North Carolina</fo:block>
  503. </fo:table-cell>
  504. <fo:table-cell padding-before="4pt" padding-after="4pt">
  505. <fo:block>Capital: Raleigh</fo:block>
  506. <fo:block>Area: 53,821 square miles</fo:block>
  507. <fo:block>Population: 8,049,313</fo:block>
  508. <fo:block>Time Zone: EST</fo:block>
  509. </fo:table-cell>
  510. </fo:table-row>
  511. <fo:table-row>
  512. <fo:table-cell padding-before="4pt" padding-after="4pt">
  513. <fo:block>North Dakota</fo:block>
  514. </fo:table-cell>
  515. <fo:table-cell padding-before="4pt" padding-after="4pt">
  516. <fo:block>Capital: Bismarck</fo:block>
  517. <fo:block>Area: 70,704 square miles</fo:block>
  518. <fo:block>Population: 642,200</fo:block>
  519. <fo:block>Time Zone: CST</fo:block>
  520. </fo:table-cell>
  521. </fo:table-row>
  522. <fo:table-row>
  523. <fo:table-cell padding-before="4pt" padding-after="4pt">
  524. <fo:block>Ohio</fo:block>
  525. </fo:table-cell>
  526. <fo:table-cell padding-before="4pt" padding-after="4pt">
  527. <fo:block>Capital: Columbus</fo:block>
  528. <fo:block>Area: 44,828 square miles</fo:block>
  529. <fo:block>Population: 11,353,140</fo:block>
  530. <fo:block>Time Zone: EST</fo:block>
  531. </fo:table-cell>
  532. </fo:table-row>
  533. <fo:table-row>
  534. <fo:table-cell padding-before="4pt" padding-after="4pt">
  535. <fo:block>Oklahoma</fo:block>
  536. </fo:table-cell>
  537. <fo:table-cell padding-before="4pt" padding-after="4pt">
  538. <fo:block>Capital: Oklahoma City</fo:block>
  539. <fo:block>Area: 69,903 square miles</fo:block>
  540. <fo:block>Population: 3,450,654</fo:block>
  541. <fo:block>Time Zone: CST</fo:block>
  542. </fo:table-cell>
  543. </fo:table-row>
  544. <fo:table-row>
  545. <fo:table-cell padding-before="4pt" padding-after="4pt">
  546. <fo:marker marker-class-name="state">Oregon</fo:marker>
  547. <fo:block>Oregon</fo:block>
  548. </fo:table-cell>
  549. <fo:table-cell padding-before="4pt" padding-after="4pt">
  550. <fo:marker marker-class-name="state">Oregon</fo:marker>
  551. <fo:block>Capital: Salem</fo:block>
  552. <fo:block>Area: 98,386 square miles</fo:block>
  553. <fo:block>Population: 3,421,399</fo:block>
  554. <fo:block>Time Zone: PST</fo:block>
  555. </fo:table-cell>
  556. </fo:table-row>
  557. <fo:table-row>
  558. <fo:table-cell padding-before="4pt" padding-after="4pt">
  559. <fo:block>Pennsylvania</fo:block>
  560. </fo:table-cell>
  561. <fo:table-cell padding-before="4pt" padding-after="4pt">
  562. <fo:block>Capital: Harrisburg</fo:block>
  563. <fo:block>Area: 46,058 square miles</fo:block>
  564. <fo:block>Population: 12,281,054</fo:block>
  565. <fo:block>Time Zone: EST</fo:block>
  566. </fo:table-cell>
  567. </fo:table-row>
  568. <fo:table-row>
  569. <fo:table-cell padding-before="4pt" padding-after="4pt">
  570. <fo:block>Rhode Island</fo:block>
  571. </fo:table-cell>
  572. <fo:table-cell padding-before="4pt" padding-after="4pt">
  573. <fo:block>Capital: Providence</fo:block>
  574. <fo:block>Area: 1,045 square miles</fo:block>
  575. <fo:block>Population: 1,048,319</fo:block>
  576. <fo:block>Time Zone: EST</fo:block>
  577. </fo:table-cell>
  578. </fo:table-row>
  579. <fo:table-row>
  580. <fo:table-cell padding-before="4pt" padding-after="4pt">
  581. <fo:block>South Carolina</fo:block>
  582. </fo:table-cell>
  583. <fo:table-cell padding-before="4pt" padding-after="4pt">
  584. <fo:block>Capital: Columbia</fo:block>
  585. <fo:block>Area: 32,007 square miles</fo:block>
  586. <fo:block>Population: 4,012,012</fo:block>
  587. <fo:block>Time Zone: EST</fo:block>
  588. </fo:table-cell>
  589. </fo:table-row>
  590. <fo:table-row>
  591. <fo:table-cell padding-before="4pt" padding-after="4pt">
  592. <fo:block>South Dakota</fo:block>
  593. </fo:table-cell>
  594. <fo:table-cell padding-before="4pt" padding-after="4pt">
  595. <fo:block>Capital: Pierre</fo:block>
  596. <fo:block>Area: 77,121 square miles</fo:block>
  597. <fo:block>Population: 754,844</fo:block>
  598. <fo:block>Time Zone: CST</fo:block>
  599. </fo:table-cell>
  600. </fo:table-row>
  601. <fo:table-row>
  602. <fo:table-cell padding-before="4pt" padding-after="4pt">
  603. <fo:block>Tennessee</fo:block>
  604. </fo:table-cell>
  605. <fo:table-cell padding-before="4pt" padding-after="4pt">
  606. <fo:block>Capital: Nashville</fo:block>
  607. <fo:block>Area: 42,146 square miles</fo:block>
  608. <fo:block>Population: 5,689,283</fo:block>
  609. <fo:block>Time Zone: CST</fo:block>
  610. </fo:table-cell>
  611. </fo:table-row>
  612. <fo:table-row>
  613. <fo:table-cell padding-before="4pt" padding-after="4pt">
  614. <fo:block>Texas</fo:block>
  615. </fo:table-cell>
  616. <fo:table-cell padding-before="4pt" padding-after="4pt">
  617. <fo:block>Capital: Austin</fo:block>
  618. <fo:block>Area: 268,601 square miles</fo:block>
  619. <fo:block>Population: 20,851,820</fo:block>
  620. <fo:block>Time Zone: CST</fo:block>
  621. </fo:table-cell>
  622. </fo:table-row>
  623. <fo:table-row>
  624. <fo:table-cell padding-before="4pt" padding-after="4pt">
  625. <fo:block>Utah</fo:block>
  626. </fo:table-cell>
  627. <fo:table-cell padding-before="4pt" padding-after="4pt">
  628. <fo:block>Capital: Salt Lake City</fo:block>
  629. <fo:block>Area: 84,904 square miles</fo:block>
  630. <fo:block>Population: 2,233,169</fo:block>
  631. <fo:block>Time Zone: MST</fo:block>
  632. </fo:table-cell>
  633. </fo:table-row>
  634. <fo:table-row>
  635. <fo:table-cell padding-before="4pt" padding-after="4pt">
  636. <fo:block>Vermont</fo:block>
  637. </fo:table-cell>
  638. <fo:table-cell padding-before="4pt" padding-after="4pt">
  639. <fo:block>Capital: Montpelier</fo:block>
  640. <fo:block>Area: 9,615 square miles</fo:block>
  641. <fo:block>Population: 608,827</fo:block>
  642. <fo:block>Time Zone: EST</fo:block>
  643. </fo:table-cell>
  644. </fo:table-row>
  645. <fo:table-row>
  646. <fo:table-cell padding-before="4pt" padding-after="4pt">
  647. <fo:block>Virginia</fo:block>
  648. </fo:table-cell>
  649. <fo:table-cell padding-before="4pt" padding-after="4pt">
  650. <fo:block>Capital: Richmond</fo:block>
  651. <fo:block>Area: 42,769 square miles</fo:block>
  652. <fo:block>Population: 7,078,515</fo:block>
  653. <fo:block>Time Zone: EST</fo:block>
  654. </fo:table-cell>
  655. </fo:table-row>
  656. <fo:table-row>
  657. <fo:table-cell padding-before="4pt" padding-after="4pt">
  658. <fo:marker marker-class-name="state">Washington</fo:marker>
  659. <fo:block>Washington</fo:block>
  660. </fo:table-cell>
  661. <fo:table-cell padding-before="4pt" padding-after="4pt">
  662. <fo:marker marker-class-name="state">Washington</fo:marker>
  663. <fo:block>Capital: Olympia</fo:block>
  664. <fo:block>Area: 71,303 square miles</fo:block>
  665. <fo:block>Population: 5,894,121</fo:block>
  666. <fo:block>Time Zone: PST</fo:block>
  667. </fo:table-cell>
  668. </fo:table-row>
  669. <fo:table-row>
  670. <fo:table-cell padding-before="4pt" padding-after="4pt">
  671. <fo:block>West Virginia</fo:block>
  672. </fo:table-cell>
  673. <fo:table-cell padding-before="4pt" padding-after="4pt">
  674. <fo:block>Capital: Charleston</fo:block>
  675. <fo:block>Area: 24,231 square miles</fo:block>
  676. <fo:block>Population: 1,808,344</fo:block>
  677. <fo:block>Time Zone: EST</fo:block>
  678. </fo:table-cell>
  679. </fo:table-row>
  680. <fo:table-row>
  681. <fo:table-cell padding-before="4pt" padding-after="4pt">
  682. <fo:block>Wisconsin</fo:block>
  683. </fo:table-cell>
  684. <fo:table-cell padding-before="4pt" padding-after="4pt">
  685. <fo:block>Capital: Madison</fo:block>
  686. <fo:block>Area: 65,503 square miles</fo:block>
  687. <fo:block>Population: 5,363,675</fo:block>
  688. <fo:block>Time Zone: CST</fo:block>
  689. </fo:table-cell>
  690. </fo:table-row>
  691. <fo:table-row>
  692. <fo:table-cell padding-before="4pt" padding-after="4pt">
  693. <fo:block>Wyoming</fo:block>
  694. </fo:table-cell>
  695. <fo:table-cell padding-before="4pt" padding-after="4pt">
  696. <fo:block>Capital: Cheyenne</fo:block>
  697. <fo:block>Area: 97,818 square miles</fo:block>
  698. <fo:block>Population: 493,782</fo:block>
  699. <fo:block>Time Zone: MST</fo:block>
  700. </fo:table-cell>
  701. </fo:table-row>
  702. </fo:table-body>
  703. </fo:table>
  704. </fo:wrapper>
  705. </fo:flow>
  706. </fo:page-sequence>
  707. </fo:root>
  708. </fo>
  709. <checks>
  710. <eval expected="1" xpath="//lineArea[starts-with(., '[rbwt:t-f][rpwt:f-i-c]( )')]/ancestor::pageViewport/@nr" />
  711. <eval expected="2" xpath="//lineArea[starts-with(., '[rbwt:t][rpwt:f-i-c]( Nevada )')]/ancestor::pageViewport/@nr" />
  712. <eval expected="2" xpath="//lineArea[starts-with(., '[rbwt:p][rpwt:f-i-c]( Nevada )')]/ancestor::pageViewport/@nr" />
  713. <eval expected="3" xpath="//lineArea[starts-with(., '[rbwt:t][rpwt:f-i-c]( Oregon )')]/ancestor::pageViewport/@nr" />
  714. <eval expected="[rbwt:t][rpwt:f-i-c]( California )" xpath="//pageViewport[2]/page/regionViewport[3]//flow[1]/block[1]/block[17]/block[1]/lineArea" />
  715. <eval expected="[rbwt:t][rpwt:f-i-c]( Oregon )" xpath="//pageViewport[3]/page/regionViewport[3]//flow[1]/block[1]/block[15]/block[1]/lineArea" />
  716. <eval expected="[rbwt:t][rpwt:f-i-c]( Washington )" xpath="//pageViewport[4]/page/regionViewport[3]//flow[1]/block[1]/block[5]/block[1]/lineArea" />
  717. </checks>
  718. </testcase>