| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <!-- $Id$ --> |
| <testcase> |
| <info> |
| <p> |
| This test checks border and padding conditionality on table. |
| </p> |
| </info> |
| <fo> |
| <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions"> |
| |
| <fo:layout-master-set> |
| |
| <fo:simple-page-master master-name="Page1" page-width="210mm" page-height="297mm"> |
| <fo:region-body margin-bottom="16cm" region-name="PageBody"/> |
| |
| </fo:simple-page-master> |
| <fo:simple-page-master master-name="Page2_1" page-width="210mm" page-height="297mm"> |
| <fo:region-body region-name="PageBody" margin-bottom="16mm" background-color="yellow"/> |
| |
| </fo:simple-page-master> |
| <fo:simple-page-master master-name="Page2_2" page-width="210mm" page-height="297mm"> |
| <fo:region-body region-name="PageBody" margin-bottom="16mm" background-color="orange"/> |
| |
| </fo:simple-page-master> |
| <fo:simple-page-master master-name="Last Page" page-width="210mm" page-height="297mm"> |
| <fo:region-body region-name="PageBody" margin-bottom="16mm" /> |
| |
| </fo:simple-page-master> |
| |
| <fo:page-sequence-master master-name="StatementPages"> |
| <fo:repeatable-page-master-reference maximum-repeats="1" master-reference="Page1"/> |
| <fo:repeatable-page-master-reference maximum-repeats="1" master-reference="Page2_1"/> |
| <fo:repeatable-page-master-alternatives> |
| <fo:conditional-page-master-reference page-position="first" master-reference="Page2_2"/> |
| <fo:conditional-page-master-reference page-position="rest" master-reference="Page2_2"/> |
| <fo:conditional-page-master-reference page-position="last" master-reference="Last Page"/> |
| </fo:repeatable-page-master-alternatives> |
| </fo:page-sequence-master> |
| </fo:layout-master-set> |
| |
| <fo:page-sequence format="1" id="th_default_sequence2" initial-page-number="auto" force-page-count="auto" master-reference="StatementPages"> |
| |
| <fo:flow flow-name="PageBody" font-size="12pt"> |
| |
| <fo:table table-layout="fixed" border-collapse="collapse"> |
| <fo:table-column column-width="100%" column-number="1"/> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell> |
| <fo:block-container margin-bottom="0.5cm"> |
| <fo:block> |
| |
| <fo:table table-layout="fixed" width="100%"> |
| <fo:table-column column-width="proportional-column-width(13.8916666666667)" column-number="1"/> |
| <fo:table-header> |
| <fo:table-row> |
| <fo:table-cell border-bottom-color="silver" border-bottom-style="solid" border-bottom-width="1pt"> |
| <fo:block> |
| <fo:block color="#00A1DE" font-size="8pt" line-height="9pt" padding-top="6pt">Date</fo:block> |
| </fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-header> |
| |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| <fo:table-body> |
| <fo:table-row> |
| <fo:table-cell border-top-style="solid"> |
| <fo:block padding-top="4pt">1</fo:block> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| |
| |
| |
| </fo:table> |
| |
| </fo:block> |
| </fo:block-container> |
| </fo:table-cell> |
| </fo:table-row> |
| </fo:table-body> |
| </fo:table> |
| |
| |
| </fo:flow> |
| </fo:page-sequence> |
| </fo:root> |
| </fo> |
| <checks> |
| <eval expected="41" xpath="count(//pageViewport[2]//word)"/> |
| </checks> |
| </testcase> |