You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2008/03/06 14:34:59 UTC
svn commit: r634267 [25/39] - in
/xmlgraphics/fop/branches/Temp_ProcessingFeedback: ./ examples/embedding/
examples/embedding/java/embedding/
examples/embedding/java/embedding/intermediate/ examples/embedding/xml/xml/
examples/fo/ examples/fo/advanced/...
Modified: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_destination_1.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_destination_1.xml?rev=634267&r1=634266&r2=634267&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_destination_1.xml (original)
+++ xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_destination_1.xml Thu Mar 6 05:33:44 2008
@@ -1,61 +1,61 @@
-<?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 the basics of fox:destination.
- </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="normal" page-width="5in" page-height="5in">
- <fo:region-body/>
- </fo:simple-page-master>
- </fo:layout-master-set>
- <fox:destination internal-destination="chapter1"/>
- <fox:destination internal-destination="chapter2"/>
- <fox:destination internal-destination="chapter2-sec1"/>
-
- <fo:page-sequence id="page-sequence" master-reference="normal">
- <fo:flow flow-name="xsl-region-body">
+<?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 the basics of fox:destination.
+ </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="normal" page-width="5in" page-height="5in">
+ <fo:region-body/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+ <fox:destination internal-destination="chapter1"/>
+ <fox:destination internal-destination="chapter2"/>
+ <fox:destination internal-destination="chapter2-sec1"/>
+
+ <fo:page-sequence id="page-sequence" master-reference="normal">
+ <fo:flow flow-name="xsl-region-body">
<fo:block id="chapter1" font-weight="bold" font-size="larger">Chapter 1</fo:block>
- <fo:block>Blah blah bla.</fo:block>
- <fo:block id="chapter2" font-weight="bold" font-size="larger" break-before="page">Chapter 2</fo:block>
- <fo:block>Blah blah bla.</fo:block>
- <fo:block id="chapter2-sec1" font-weight="bold">Section 1</fo:block>
- <fo:block>Blah blah bla.</fo:block>
- <fo:block id="chapter2-sec2" font-weight="bold"><fox:destination internal-destination="chapter2-sec2"/>Section 2</fo:block>
- <fo:block>Blah blah bla.</fo:block>
- </fo:flow>
- </fo:page-sequence>
- </fo:root>
- </fo>
- <checks>
- <eval expected="1" xpath="count(/areaTree/pageSequence)"/>
- <eval expected="2" xpath="count(//pageViewport)"/>
+ <fo:block>Blah blah bla.</fo:block>
+ <fo:block id="chapter2" font-weight="bold" font-size="larger" break-before="page">Chapter 2</fo:block>
+ <fo:block>Blah blah bla.</fo:block>
+ <fo:block id="chapter2-sec1" font-weight="bold">Section 1</fo:block>
+ <fo:block>Blah blah bla.</fo:block>
+ <fo:block id="chapter2-sec2" font-weight="bold"><fox:destination internal-destination="chapter2-sec2"/>Section 2</fo:block>
+ <fo:block>Blah blah bla.</fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+ </fo:root>
+ </fo>
+ <checks>
+ <eval expected="1" xpath="count(/areaTree/pageSequence)"/>
+ <eval expected="2" xpath="count(//pageViewport)"/>
- <eval expected="4" xpath="count(//destination)"/>
- <eval expected="(P1,chapter1)" xpath="//destination[1]/@internal-link"/>
- <eval expected="(P2,chapter2)" xpath="//destination[2]/@internal-link"/>
- <eval expected="(P2,chapter2-sec1)" xpath="//destination[3]/@internal-link"/>
- <eval expected="(P2,chapter2-sec2)" xpath="//destination[4]/@internal-link"/>
- </checks>
-</testcase>
+ <eval expected="4" xpath="count(//destination)"/>
+ <eval expected="(P1,chapter1)" xpath="//destination[1]/@internal-link"/>
+ <eval expected="(P2,chapter2)" xpath="//destination[2]/@internal-link"/>
+ <eval expected="(P2,chapter2-sec1)" xpath="//destination[3]/@internal-link"/>
+ <eval expected="(P2,chapter2-sec2)" xpath="//destination[4]/@internal-link"/>
+ </checks>
+</testcase>
Propchange: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_destination_1.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Thu Mar 6 05:33:44 2008
@@ -1 +1 @@
-Id
+Revision Id
Modified: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_external-document_1.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_external-document_1.xml?rev=634267&r1=634266&r2=634267&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_external-document_1.xml (original)
+++ xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_external-document_1.xml Thu Mar 6 05:33:44 2008
@@ -1,53 +1,53 @@
-<?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 the basics of fox:external-document.
- </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="normal" page-width="5in" page-height="5in">
- <fo:region-body/>
- </fo:simple-page-master>
- </fo:layout-master-set>
- <fox:external-document id="img" src="../../resources/images/bgimg72dpi.png"/>
- </fo:root>
- </fo>
- <checks>
- <eval expected="1" xpath="count(/areaTree/pageSequence)"/>
- <eval expected="1" xpath="count(//pageViewport)"/>
- <eval expected="1" xpath="/areaTree/pageSequence/pageViewport/@formatted-nr"/>
- <eval expected="1" xpath="/areaTree/pageSequence/pageViewport/@nr"/>
- <eval expected="0 0 191976 191976" xpath="/areaTree/pageSequence/pageViewport/@bounds"/>
-
- <eval expected="191976" xpath="//regionViewport/@ipd"/>
- <eval expected="191976" xpath="//regionViewport/@bpd"/>
- <eval expected="191976" xpath="//lineArea/@ipd"/>
- <eval expected="191976" xpath="//lineArea/@bpd"/>
- <eval expected="191976" xpath="//viewport/@ipd"/>
- <eval expected="191976" xpath="//viewport/@bpd"/>
- <eval expected="0 0 191976 191976" xpath="//viewport/@pos"/>
- <eval expected="img" xpath="//viewport/@prod-id"/>
- <eval expected="img" xpath="//image/@prod-id"/>
- </checks>
-</testcase>
+<?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 the basics of fox:external-document.
+ </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="normal" page-width="5in" page-height="5in">
+ <fo:region-body/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+ <fox:external-document id="img" src="../../resources/images/bgimg72dpi.png"/>
+ </fo:root>
+ </fo>
+ <checks>
+ <eval expected="1" xpath="count(/areaTree/pageSequence)"/>
+ <eval expected="1" xpath="count(//pageViewport)"/>
+ <eval expected="1" xpath="/areaTree/pageSequence/pageViewport/@formatted-nr"/>
+ <eval expected="1" xpath="/areaTree/pageSequence/pageViewport/@nr"/>
+ <eval expected="0 0 191976 191976" xpath="/areaTree/pageSequence/pageViewport/@bounds"/>
+
+ <eval expected="191976" xpath="//regionViewport/@ipd"/>
+ <eval expected="191976" xpath="//regionViewport/@bpd"/>
+ <eval expected="191976" xpath="//lineArea/@ipd"/>
+ <eval expected="191976" xpath="//lineArea/@bpd"/>
+ <eval expected="191976" xpath="//viewport/@ipd"/>
+ <eval expected="191976" xpath="//viewport/@bpd"/>
+ <eval expected="0 0 191976 191976" xpath="//viewport/@pos"/>
+ <eval expected="img" xpath="//viewport/@prod-id"/>
+ <eval expected="img" xpath="//image/@prod-id"/>
+ </checks>
+</testcase>
Propchange: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_external-document_1.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_external-document_1.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Thu Mar 6 05:33:44 2008
@@ -1 +1 @@
-Id
+Revision Id
Modified: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_external-document_2.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_external-document_2.xml?rev=634267&r1=634266&r2=634267&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_external-document_2.xml (original)
+++ xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_external-document_2.xml Thu Mar 6 05:33:44 2008
@@ -1,81 +1,81 @@
-<?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 fox:external-document.
- </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="normal" page-width="5in" page-height="5in">
- <fo:region-body reference-orientation="90"/>
- </fo:simple-page-master>
- </fo:layout-master-set>
- <fox:external-document id="img1" src="../../resources/images/bgimg72dpi.png"
- width="5in" height="5in" text-align="center" display-align="center"/>
- <fo:page-sequence master-reference="normal" id="ps1">
- <fo:flow flow-name="xsl-region-body">
- <fo:block>
- Just a normal page-sequence in between...
- </fo:block>
- </fo:flow>
- </fo:page-sequence>
- <fox:external-document id="img2" src="../../resources/images/bgimg72dpi.png"
- width="5in" height="5in" content-width="scale-to-fit"/>
- <fox:external-document id="img3" src="../../resources/images/bgimg72dpi.png"
- width="5in" height="5in" content-width="scale-down-to-fit" initial-page-number="5"/>
- <fox:external-document id="img4" src="../../resources/images/big-image.png"
- reference-orientation="90"/>
- </fo:root>
- </fo>
- <checks>
- <eval expected="5" xpath="count(/areaTree/pageSequence)"/>
- <eval expected="6" xpath="count(//pageViewport)"/>
-
- <eval expected="1" xpath="//pageViewport[@nr = '1']/@formatted-nr"/>
- <eval expected="2" xpath="//pageViewport[@nr = '2']/@formatted-nr"/>
- <eval expected="3" xpath="//pageViewport[@nr = '3']/@formatted-nr"/>
- <eval expected="4" xpath="//pageViewport[@nr = '4']/@formatted-nr"/>
- <true xpath="boolean(//pageViewport[@nr = '4']/@blank)"/> <!-- effect from force-page-count="auto" -->
- <eval expected="5" xpath="//pageViewport[@nr = '5']/@formatted-nr"/>
- <eval expected="6" xpath="//pageViewport[@nr = '6']/@formatted-nr"/>
-
- <eval expected="0 0 360000 360000" xpath="//pageViewport[@nr = '1']/@bounds"/>
- <eval expected="0 0 360000 360000" xpath="//pageViewport[@nr = '2']/@bounds"/>
- <eval expected="0 0 360000 360000" xpath="//pageViewport[@nr = '3']/@bounds"/>
- <eval expected="0 0 360000 360000" xpath="//pageViewport[@nr = '5']/@bounds"/>
- <eval expected="0 0 843913 597172" xpath="//pageViewport[@nr = '6']/@bounds"/>
-
- <eval expected="84012 84012 191976 191976" xpath="//viewport[@prod-id = 'img1']/@pos"/>
- <eval expected="0 0 360000 360000" xpath="//viewport[@prod-id = 'img2']/@pos"/>
- <eval expected="0 0 191976 191976" xpath="//viewport[@prod-id = 'img3']/@pos"/>
- <eval expected="0 0 597172 843913" xpath="//viewport[@prod-id = 'img4']/@pos"/>
-
- <eval expected="0 0 843913 597172" xpath="//pageViewport[@nr = '6']/page/regionViewport/@rect"/>
- <eval expected="843913" xpath="//pageViewport[@nr = '6']/page/regionViewport/@ipd"/>
- <eval expected="597172" xpath="//pageViewport[@nr = '6']/page/regionViewport/@bpd"/>
- <eval expected="597172" xpath="//pageViewport[@nr = '6']/page/regionViewport/regionBody/@ipd"/>
- <eval expected="843913" xpath="//pageViewport[@nr = '6']/page/regionViewport/regionBody/@bpd"/>
- <eval expected="[0.0 -1.0 1.0 0.0 0.0 597172.0]" xpath="//pageViewport[@nr = '6']/page/regionViewport/regionBody/@ctm"/>
-
- </checks>
-</testcase>
+<?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 fox:external-document.
+ </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="normal" page-width="5in" page-height="5in">
+ <fo:region-body reference-orientation="90"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+ <fox:external-document id="img1" src="../../resources/images/bgimg72dpi.png"
+ width="5in" height="5in" text-align="center" display-align="center"/>
+ <fo:page-sequence master-reference="normal" id="ps1">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ Just a normal page-sequence in between...
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+ <fox:external-document id="img2" src="../../resources/images/bgimg72dpi.png"
+ width="5in" height="5in" content-width="scale-to-fit"/>
+ <fox:external-document id="img3" src="../../resources/images/bgimg72dpi.png"
+ width="5in" height="5in" content-width="scale-down-to-fit" initial-page-number="5"/>
+ <fox:external-document id="img4" src="../../resources/images/big-image.png"
+ reference-orientation="90"/>
+ </fo:root>
+ </fo>
+ <checks>
+ <eval expected="5" xpath="count(/areaTree/pageSequence)"/>
+ <eval expected="6" xpath="count(//pageViewport)"/>
+
+ <eval expected="1" xpath="//pageViewport[@nr = '1']/@formatted-nr"/>
+ <eval expected="2" xpath="//pageViewport[@nr = '2']/@formatted-nr"/>
+ <eval expected="3" xpath="//pageViewport[@nr = '3']/@formatted-nr"/>
+ <eval expected="4" xpath="//pageViewport[@nr = '4']/@formatted-nr"/>
+ <true xpath="boolean(//pageViewport[@nr = '4']/@blank)"/> <!-- effect from force-page-count="auto" -->
+ <eval expected="5" xpath="//pageViewport[@nr = '5']/@formatted-nr"/>
+ <eval expected="6" xpath="//pageViewport[@nr = '6']/@formatted-nr"/>
+
+ <eval expected="0 0 360000 360000" xpath="//pageViewport[@nr = '1']/@bounds"/>
+ <eval expected="0 0 360000 360000" xpath="//pageViewport[@nr = '2']/@bounds"/>
+ <eval expected="0 0 360000 360000" xpath="//pageViewport[@nr = '3']/@bounds"/>
+ <eval expected="0 0 360000 360000" xpath="//pageViewport[@nr = '5']/@bounds"/>
+ <eval expected="0 0 843913 597172" xpath="//pageViewport[@nr = '6']/@bounds"/>
+
+ <eval expected="84012 84012 191976 191976" xpath="//viewport[@prod-id = 'img1']/@pos"/>
+ <eval expected="0 0 360000 360000" xpath="//viewport[@prod-id = 'img2']/@pos"/>
+ <eval expected="0 0 191976 191976" xpath="//viewport[@prod-id = 'img3']/@pos"/>
+ <eval expected="0 0 597172 843913" xpath="//viewport[@prod-id = 'img4']/@pos"/>
+
+ <eval expected="0 0 843913 597172" xpath="//pageViewport[@nr = '6']/page/regionViewport/@rect"/>
+ <eval expected="843913" xpath="//pageViewport[@nr = '6']/page/regionViewport/@ipd"/>
+ <eval expected="597172" xpath="//pageViewport[@nr = '6']/page/regionViewport/@bpd"/>
+ <eval expected="597172" xpath="//pageViewport[@nr = '6']/page/regionViewport/regionBody/@ipd"/>
+ <eval expected="843913" xpath="//pageViewport[@nr = '6']/page/regionViewport/regionBody/@bpd"/>
+ <eval expected="[0.0 -1.0 1.0 0.0 0.0 597172.0]" xpath="//pageViewport[@nr = '6']/page/regionViewport/regionBody/@ctm"/>
+
+ </checks>
+</testcase>
Propchange: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_external-document_2.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_external-document_2.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Thu Mar 6 05:33:44 2008
@@ -1 +1 @@
-Id
+Revision Id
Modified: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_external-document_3.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_external-document_3.xml?rev=634267&r1=634266&r2=634267&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_external-document_3.xml (original)
+++ xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/fox_external-document_3.xml Thu Mar 6 05:33:44 2008
@@ -25,11 +25,11 @@
<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="normal" page-width="5in" page-height="5in">
+ <fo:layout-master-set>
+ <fo:simple-page-master master-name="dummy" page-width="5in" page-height="5in">
<fo:region-body reference-orientation="90"/>
</fo:simple-page-master>
- </fo:layout-master-set-->
+ </fo:layout-master-set>
<fox:external-document id="img2" src="../../resources/images/multi-page.tiff"/>
</fo:root>
</fo>
Propchange: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline-container_block_nested.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Thu Mar 6 05:33:44 2008
@@ -1 +1 @@
-Author Date Id Revision
+Revision Id
Modified: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline-container_border_padding.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline-container_border_padding.xml?rev=634267&r1=634266&r2=634267&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline-container_border_padding.xml (original)
+++ xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline-container_border_padding.xml Thu Mar 6 05:33:44 2008
@@ -1,86 +1,86 @@
-<?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 the borders and the like for instream-foreign-object.
- </p>
- </info>
- <fo>
- <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg">
- <fo:layout-master-set>
- <fo:simple-page-master master-name="normal" page-width="5in" page-height="5in">
- <fo:region-body/>
- </fo:simple-page-master>
- </fo:layout-master-set>
- <fo:page-sequence master-reference="normal" white-space-collapse="true">
- <fo:flow flow-name="xsl-region-body">
- <fo:block background-color="orange">
- Before <fo:inline-container border-style="solid" border-width="5pt 10pt 20pt 15pt" padding="15pt 20pt 10pt 5pt" background-color="white">
- <fo:block>inside the container</fo:block>
- </fo:inline-container> after
- </fo:block>
- <fo:block background-color="yellow" font-size="100pt">
- BC <fo:inline-container border-style="solid" border-width="5pt 10pt 20pt 15pt" padding="15pt 20pt 10pt 5pt" background-color="white">
- <fo:block font-size="12pt">inside the container</fo:block>
- </fo:inline-container> AC
- </fo:block>
- <fo:block font-size="9pt">
- In both blocks we have a setting of border-width="5pt 10pt 20pt 15pt" padding="15pt 20pt 10pt 5pt" on the i-f-o.
- In the first block the i-f-o determines the height of the line in the 2nd block the font is bigger than the i-f-o.
- </fo:block>
- </fo:flow>
- </fo:page-sequence>
- </fo:root>
- </fo>
- <checks>
- <!-- first e-g -->
- <eval expected="20000" xpath="//flow/block[1]/lineArea/viewport/@ipd"/>
- <eval expected="20000" xpath="//flow/block[1]/lineArea/viewport/@bpd"/>
- <eval expected="70000" xpath="//flow/block[1]/lineArea/viewport/@bpda"/>
- <eval expected="1650" xpath="//flow/block[1]/lineArea/viewport/@offset"/>
- <eval expected="20000 30000 20000 30000" xpath="//flow/block[1]/lineArea/viewport/@bap"/>
- <eval expected="color=#ffffff" xpath="//flow/block[1]/lineArea/viewport/@background"/>
- <eval expected="(solid,#000000,5000)" xpath="//flow/block[1]/lineArea/viewport/@border-before"/>
- <eval expected="(solid,#000000,20000)" xpath="//flow/block[1]/lineArea/viewport/@border-after"/>
- <eval expected="(solid,#000000,15000)" xpath="//flow/block[1]/lineArea/viewport/@border-start"/>
- <eval expected="(solid,#000000,10000)" xpath="//flow/block[1]/lineArea/viewport/@border-end"/>
- <eval expected="15000" xpath="//flow/block[1]/lineArea/viewport/@padding-before"/>
- <eval expected="10000" xpath="//flow/block[1]/lineArea/viewport/@padding-after"/>
- <eval expected="5000" xpath="//flow/block[1]/lineArea/viewport/@padding-start"/>
- <eval expected="20000" xpath="//flow/block[1]/lineArea/viewport/@padding-end"/>
- <eval expected="20000 20000 20000 20000" xpath="//flow/block[1]/lineArea/viewport/foreignObject/@pos"/>
- <!-- second e-g -->
- <eval expected="20000" xpath="//flow/block[2]/lineArea/viewport/@ipd"/>
- <eval expected="20000" xpath="//flow/block[2]/lineArea/viewport/@bpd"/>
- <eval expected="70000" xpath="//flow/block[2]/lineArea/viewport/@bpda"/>
- <eval expected="15550" xpath="//flow/block[2]/lineArea/viewport/@offset"/>
- <eval expected="20000 30000 20000 30000" xpath="//flow/block[2]/lineArea/viewport/@bap"/>
- <eval expected="color=#ffffff" xpath="//flow/block[2]/lineArea/viewport/@background"/>
- <eval expected="(solid,#000000,5000)" xpath="//flow/block[2]/lineArea/viewport/@border-before"/>
- <eval expected="(solid,#000000,20000)" xpath="//flow/block[2]/lineArea/viewport/@border-after"/>
- <eval expected="(solid,#000000,15000)" xpath="//flow/block[2]/lineArea/viewport/@border-start"/>
- <eval expected="(solid,#000000,10000)" xpath="//flow/block[2]/lineArea/viewport/@border-end"/>
- <eval expected="15000" xpath="//flow/block[2]/lineArea/viewport/@padding-before"/>
- <eval expected="10000" xpath="//flow/block[2]/lineArea/viewport/@padding-after"/>
- <eval expected="5000" xpath="//flow/block[2]/lineArea/viewport/@padding-start"/>
- <eval expected="20000" xpath="//flow/block[2]/lineArea/viewport/@padding-end"/>
- <eval expected="20000 20000 20000 20000" xpath="//flow/block[2]/lineArea/viewport/foreignObject/@pos"/>
- </checks>
-</testcase>
+<?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 the borders and the like for instream-foreign-object.
+ </p>
+ </info>
+ <fo>
+ <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg">
+ <fo:layout-master-set>
+ <fo:simple-page-master master-name="normal" page-width="5in" page-height="5in">
+ <fo:region-body/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+ <fo:page-sequence master-reference="normal" white-space-collapse="true">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block background-color="orange">
+ Before <fo:inline-container border-style="solid" border-width="5pt 10pt 20pt 15pt" padding="15pt 20pt 10pt 5pt" background-color="white">
+ <fo:block>inside the container</fo:block>
+ </fo:inline-container> after
+ </fo:block>
+ <fo:block background-color="yellow" font-size="100pt">
+ BC <fo:inline-container border-style="solid" border-width="5pt 10pt 20pt 15pt" padding="15pt 20pt 10pt 5pt" background-color="white">
+ <fo:block font-size="12pt">inside the container</fo:block>
+ </fo:inline-container> AC
+ </fo:block>
+ <fo:block font-size="9pt">
+ In both blocks we have a setting of border-width="5pt 10pt 20pt 15pt" padding="15pt 20pt 10pt 5pt" on the i-f-o.
+ In the first block the i-f-o determines the height of the line in the 2nd block the font is bigger than the i-f-o.
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+ </fo:root>
+ </fo>
+ <checks>
+ <!-- first e-g -->
+ <eval expected="20000" xpath="//flow/block[1]/lineArea/viewport/@ipd"/>
+ <eval expected="20000" xpath="//flow/block[1]/lineArea/viewport/@bpd"/>
+ <eval expected="70000" xpath="//flow/block[1]/lineArea/viewport/@bpda"/>
+ <eval expected="1650" xpath="//flow/block[1]/lineArea/viewport/@offset"/>
+ <eval expected="20000 30000 20000 30000" xpath="//flow/block[1]/lineArea/viewport/@bap"/>
+ <eval expected="color=#ffffff" xpath="//flow/block[1]/lineArea/viewport/@background"/>
+ <eval expected="(solid,#000000,5000)" xpath="//flow/block[1]/lineArea/viewport/@border-before"/>
+ <eval expected="(solid,#000000,20000)" xpath="//flow/block[1]/lineArea/viewport/@border-after"/>
+ <eval expected="(solid,#000000,15000)" xpath="//flow/block[1]/lineArea/viewport/@border-start"/>
+ <eval expected="(solid,#000000,10000)" xpath="//flow/block[1]/lineArea/viewport/@border-end"/>
+ <eval expected="15000" xpath="//flow/block[1]/lineArea/viewport/@padding-before"/>
+ <eval expected="10000" xpath="//flow/block[1]/lineArea/viewport/@padding-after"/>
+ <eval expected="5000" xpath="//flow/block[1]/lineArea/viewport/@padding-start"/>
+ <eval expected="20000" xpath="//flow/block[1]/lineArea/viewport/@padding-end"/>
+ <eval expected="20000 20000 20000 20000" xpath="//flow/block[1]/lineArea/viewport/foreignObject/@pos"/>
+ <!-- second e-g -->
+ <eval expected="20000" xpath="//flow/block[2]/lineArea/viewport/@ipd"/>
+ <eval expected="20000" xpath="//flow/block[2]/lineArea/viewport/@bpd"/>
+ <eval expected="70000" xpath="//flow/block[2]/lineArea/viewport/@bpda"/>
+ <eval expected="15550" xpath="//flow/block[2]/lineArea/viewport/@offset"/>
+ <eval expected="20000 30000 20000 30000" xpath="//flow/block[2]/lineArea/viewport/@bap"/>
+ <eval expected="color=#ffffff" xpath="//flow/block[2]/lineArea/viewport/@background"/>
+ <eval expected="(solid,#000000,5000)" xpath="//flow/block[2]/lineArea/viewport/@border-before"/>
+ <eval expected="(solid,#000000,20000)" xpath="//flow/block[2]/lineArea/viewport/@border-after"/>
+ <eval expected="(solid,#000000,15000)" xpath="//flow/block[2]/lineArea/viewport/@border-start"/>
+ <eval expected="(solid,#000000,10000)" xpath="//flow/block[2]/lineArea/viewport/@border-end"/>
+ <eval expected="15000" xpath="//flow/block[2]/lineArea/viewport/@padding-before"/>
+ <eval expected="10000" xpath="//flow/block[2]/lineArea/viewport/@padding-after"/>
+ <eval expected="5000" xpath="//flow/block[2]/lineArea/viewport/@padding-start"/>
+ <eval expected="20000" xpath="//flow/block[2]/lineArea/viewport/@padding-end"/>
+ <eval expected="20000 20000 20000 20000" xpath="//flow/block[2]/lineArea/viewport/foreignObject/@pos"/>
+ </checks>
+</testcase>
Propchange: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline-container_border_padding.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline-container_border_padding.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Thu Mar 6 05:33:44 2008
@@ -1 +1 @@
-Id
+Revision Id
Propchange: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline-level_id.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Thu Mar 6 05:33:44 2008
@@ -1 +1 @@
-Author Date Id Revision
+Revision Id
Modified: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-adjust_1.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-adjust_1.xml?rev=634267&r1=634266&r2=634267&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-adjust_1.xml (original)
+++ xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-adjust_1.xml Thu Mar 6 05:33:44 2008
@@ -1,92 +1,92 @@
-<?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 inline level alignment-adjust.
- </p>
- </info>
- <fo>
- <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg">
- <fo:layout-master-set>
- <fo:simple-page-master master-name="normal" page-width="5in" page-height="5in">
- <fo:region-body/>
- </fo:simple-page-master>
- </fo:layout-master-set>
- <fo:page-sequence master-reference="normal" white-space-collapse="true">
- <fo:flow flow-name="xsl-region-body">
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" background-color="yellow">alignment-adjust not specified</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="auto" background-color="yellow">alignment-adjust="auto"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="baseline" background-color="yellow">alignment-adjust="baseline"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="before-edge" background-color="yellow">alignment-adjust="before-edge"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="text-before-edge" background-color="yellow">alignment-adjust="text-before-edge"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="central" background-color="yellow">alignment-adjust="central"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="middle" background-color="yellow">alignment-adjust="middle"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="after-edge" background-color="yellow">alignment-adjust="after-edge"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="text-after-edge" background-color="yellow">alignment-adjust="text-after-edge"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="ideographic" background-color="yellow">alignment-adjust="ideographic"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="alphabetic" background-color="yellow">alignment-adjust="alphabetic"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="hanging" background-color="yellow">alignment-adjust="hanging"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="mathematical" background-color="yellow">alignment-adjust="mathematical"</fo:inline> After
- </fo:block>
- </fo:flow>
- </fo:page-sequence>
- </fo:root>
- </fo>
- <checks>
- <eval expected="2872" xpath="//flow/block[1]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="2872" xpath="//flow/block[2]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="2872" xpath="//flow/block[3]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="10052" xpath="//flow/block[4]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="10052" xpath="//flow/block[5]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="5427" xpath="//flow/block[6]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="5487" xpath="//flow/block[7]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="802" xpath="//flow/block[8]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="802" xpath="//flow/block[9]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="802" xpath="//flow/block[10]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="2872" xpath="//flow/block[11]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="8616" xpath="//flow/block[12]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="6462" xpath="//flow/block[13]/lineArea[1]/inlineparent/@offset"/>
- </checks>
-</testcase>
+<?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 inline level alignment-adjust.
+ </p>
+ </info>
+ <fo>
+ <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg">
+ <fo:layout-master-set>
+ <fo:simple-page-master master-name="normal" page-width="5in" page-height="5in">
+ <fo:region-body/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+ <fo:page-sequence master-reference="normal" white-space-collapse="true">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" background-color="yellow">alignment-adjust not specified</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="auto" background-color="yellow">alignment-adjust="auto"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="baseline" background-color="yellow">alignment-adjust="baseline"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="before-edge" background-color="yellow">alignment-adjust="before-edge"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="text-before-edge" background-color="yellow">alignment-adjust="text-before-edge"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="central" background-color="yellow">alignment-adjust="central"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="middle" background-color="yellow">alignment-adjust="middle"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="after-edge" background-color="yellow">alignment-adjust="after-edge"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="text-after-edge" background-color="yellow">alignment-adjust="text-after-edge"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="ideographic" background-color="yellow">alignment-adjust="ideographic"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="alphabetic" background-color="yellow">alignment-adjust="alphabetic"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="hanging" background-color="yellow">alignment-adjust="hanging"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="mathematical" background-color="yellow">alignment-adjust="mathematical"</fo:inline> After
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+ </fo:root>
+ </fo>
+ <checks>
+ <eval expected="2872" xpath="//flow/block[1]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="2872" xpath="//flow/block[2]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="2872" xpath="//flow/block[3]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="10052" xpath="//flow/block[4]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="10052" xpath="//flow/block[5]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="5427" xpath="//flow/block[6]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="5487" xpath="//flow/block[7]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="802" xpath="//flow/block[8]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="802" xpath="//flow/block[9]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="802" xpath="//flow/block[10]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="2872" xpath="//flow/block[11]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="8616" xpath="//flow/block[12]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="6462" xpath="//flow/block[13]/lineArea[1]/inlineparent/@offset"/>
+ </checks>
+</testcase>
Propchange: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-adjust_1.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-adjust_1.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Thu Mar 6 05:33:44 2008
@@ -1 +1 @@
-Id
+Revision Id
Modified: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-adjust_2.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-adjust_2.xml?rev=634267&r1=634266&r2=634267&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-adjust_2.xml (original)
+++ xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-adjust_2.xml Thu Mar 6 05:33:44 2008
@@ -1,99 +1,99 @@
-<?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 inline level alignment-adjust.
- </p>
- </info>
- <fo>
- <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg">
- <fo:layout-master-set>
- <fo:simple-page-master master-name="normal" page-width="5in" page-height="5in">
- <fo:region-body/>
- </fo:simple-page-master>
- </fo:layout-master-set>
- <fo:page-sequence master-reference="normal" white-space-collapse="true">
- <fo:flow flow-name="xsl-region-body">
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="0pt" background-color="yellow">alignment-adjust="0pt"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="0%" background-color="yellow">alignment-adjust="0%"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="3pt" background-color="yellow">alignment-adjust="3pt"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="-3pt" background-color="yellow">alignment-adjust="-3pt"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="30%" background-color="yellow">alignment-adjust="30%"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-adjust="-30%" background-color="yellow">alignment-adjust="-30%"</fo:inline> After
- </fo:block>
- </fo:flow>
- </fo:page-sequence>
- </fo:root>
- </fo>
- <checks>
- <eval expected="12950" xpath="//flow/block[1]/lineArea[1]/@bpd"/>
- <eval expected="1925" xpath="//flow/block[1]/lineArea[1]/@space-before"/>
- <eval expected="1925" xpath="//flow/block[1]/lineArea[1]/@space-after"/>
- <eval expected="0" xpath="//flow/block[1]/lineArea[1]/text[1]/@offset"/>
- <eval expected="2872" xpath="//flow/block[1]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="0" xpath="//flow/block[1]/lineArea[1]/text[2]/@offset"/>
-
- <eval expected="12950" xpath="//flow/block[2]/lineArea[1]/@bpd"/>
- <eval expected="1925" xpath="//flow/block[2]/lineArea[1]/@space-before"/>
- <eval expected="1925" xpath="//flow/block[2]/lineArea[1]/@space-after"/>
- <eval expected="0" xpath="//flow/block[2]/lineArea[1]/text[1]/@offset"/>
- <eval expected="2872" xpath="//flow/block[2]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="0" xpath="//flow/block[2]/lineArea[1]/text[2]/@offset"/>
-
- <eval expected="13078" xpath="//flow/block[3]/lineArea[1]/@bpd"/>
- <eval expected="1925" xpath="//flow/block[3]/lineArea[1]/@space-before"/>
- <eval expected="1925" xpath="//flow/block[3]/lineArea[1]/@space-after"/>
- <eval expected="128" xpath="//flow/block[3]/lineArea[1]/text[1]/@offset"/>
- <eval expected="0" xpath="//flow/block[3]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="128" xpath="//flow/block[3]/lineArea[1]/text[2]/@offset"/>
-
- <eval expected="15122" xpath="//flow/block[4]/lineArea[1]/@bpd"/>
- <eval expected="1925" xpath="//flow/block[4]/lineArea[1]/@space-before"/>
- <eval expected="1925" xpath="//flow/block[4]/lineArea[1]/@space-after"/>
- <eval expected="0" xpath="//flow/block[4]/lineArea[1]/text[1]/@offset"/>
- <eval expected="5872" xpath="//flow/block[4]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="0" xpath="//flow/block[4]/lineArea[1]/text[2]/@offset"/>
-
- <eval expected="13678" xpath="//flow/block[5]/lineArea[1]/@bpd"/>
- <eval expected="1925" xpath="//flow/block[5]/lineArea[1]/@space-before"/>
- <eval expected="1925" xpath="//flow/block[5]/lineArea[1]/@space-after"/>
- <eval expected="728" xpath="//flow/block[5]/lineArea[1]/text[1]/@offset"/>
- <eval expected="0" xpath="//flow/block[5]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="728" xpath="//flow/block[5]/lineArea[1]/text[2]/@offset"/>
-
- <eval expected="15722" xpath="//flow/block[6]/lineArea[1]/@bpd"/>
- <eval expected="1925" xpath="//flow/block[6]/lineArea[1]/@space-before"/>
- <eval expected="1925" xpath="//flow/block[6]/lineArea[1]/@space-after"/>
- <eval expected="0" xpath="//flow/block[6]/lineArea[1]/text[1]/@offset"/>
- <eval expected="6472" xpath="//flow/block[6]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="0" xpath="//flow/block[6]/lineArea[1]/text[2]/@offset"/>
- </checks>
-</testcase>
+<?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 inline level alignment-adjust.
+ </p>
+ </info>
+ <fo>
+ <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg">
+ <fo:layout-master-set>
+ <fo:simple-page-master master-name="normal" page-width="5in" page-height="5in">
+ <fo:region-body/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+ <fo:page-sequence master-reference="normal" white-space-collapse="true">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="0pt" background-color="yellow">alignment-adjust="0pt"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="0%" background-color="yellow">alignment-adjust="0%"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="3pt" background-color="yellow">alignment-adjust="3pt"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="-3pt" background-color="yellow">alignment-adjust="-3pt"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="30%" background-color="yellow">alignment-adjust="30%"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-adjust="-30%" background-color="yellow">alignment-adjust="-30%"</fo:inline> After
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+ </fo:root>
+ </fo>
+ <checks>
+ <eval expected="12950" xpath="//flow/block[1]/lineArea[1]/@bpd"/>
+ <eval expected="1925" xpath="//flow/block[1]/lineArea[1]/@space-before"/>
+ <eval expected="1925" xpath="//flow/block[1]/lineArea[1]/@space-after"/>
+ <eval expected="0" xpath="//flow/block[1]/lineArea[1]/text[1]/@offset"/>
+ <eval expected="2872" xpath="//flow/block[1]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="0" xpath="//flow/block[1]/lineArea[1]/text[2]/@offset"/>
+
+ <eval expected="12950" xpath="//flow/block[2]/lineArea[1]/@bpd"/>
+ <eval expected="1925" xpath="//flow/block[2]/lineArea[1]/@space-before"/>
+ <eval expected="1925" xpath="//flow/block[2]/lineArea[1]/@space-after"/>
+ <eval expected="0" xpath="//flow/block[2]/lineArea[1]/text[1]/@offset"/>
+ <eval expected="2872" xpath="//flow/block[2]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="0" xpath="//flow/block[2]/lineArea[1]/text[2]/@offset"/>
+
+ <eval expected="13078" xpath="//flow/block[3]/lineArea[1]/@bpd"/>
+ <eval expected="1925" xpath="//flow/block[3]/lineArea[1]/@space-before"/>
+ <eval expected="1925" xpath="//flow/block[3]/lineArea[1]/@space-after"/>
+ <eval expected="128" xpath="//flow/block[3]/lineArea[1]/text[1]/@offset"/>
+ <eval expected="0" xpath="//flow/block[3]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="128" xpath="//flow/block[3]/lineArea[1]/text[2]/@offset"/>
+
+ <eval expected="15122" xpath="//flow/block[4]/lineArea[1]/@bpd"/>
+ <eval expected="1925" xpath="//flow/block[4]/lineArea[1]/@space-before"/>
+ <eval expected="1925" xpath="//flow/block[4]/lineArea[1]/@space-after"/>
+ <eval expected="0" xpath="//flow/block[4]/lineArea[1]/text[1]/@offset"/>
+ <eval expected="5872" xpath="//flow/block[4]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="0" xpath="//flow/block[4]/lineArea[1]/text[2]/@offset"/>
+
+ <eval expected="13678" xpath="//flow/block[5]/lineArea[1]/@bpd"/>
+ <eval expected="1925" xpath="//flow/block[5]/lineArea[1]/@space-before"/>
+ <eval expected="1925" xpath="//flow/block[5]/lineArea[1]/@space-after"/>
+ <eval expected="728" xpath="//flow/block[5]/lineArea[1]/text[1]/@offset"/>
+ <eval expected="0" xpath="//flow/block[5]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="728" xpath="//flow/block[5]/lineArea[1]/text[2]/@offset"/>
+
+ <eval expected="15722" xpath="//flow/block[6]/lineArea[1]/@bpd"/>
+ <eval expected="1925" xpath="//flow/block[6]/lineArea[1]/@space-before"/>
+ <eval expected="1925" xpath="//flow/block[6]/lineArea[1]/@space-after"/>
+ <eval expected="0" xpath="//flow/block[6]/lineArea[1]/text[1]/@offset"/>
+ <eval expected="6472" xpath="//flow/block[6]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="0" xpath="//flow/block[6]/lineArea[1]/text[2]/@offset"/>
+ </checks>
+</testcase>
Propchange: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-adjust_2.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-adjust_2.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Thu Mar 6 05:33:44 2008
@@ -1 +1 @@
-Id
+Revision Id
Modified: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-baseline_1.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-baseline_1.xml?rev=634267&r1=634266&r2=634267&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-baseline_1.xml (original)
+++ xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-baseline_1.xml Thu Mar 6 05:33:44 2008
@@ -1,92 +1,92 @@
-<?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 inline level alignment-baseline.
- </p>
- </info>
- <fo>
- <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg">
- <fo:layout-master-set>
- <fo:simple-page-master master-name="normal" page-width="5in" page-height="5in">
- <fo:region-body/>
- </fo:simple-page-master>
- </fo:layout-master-set>
- <fo:page-sequence master-reference="normal" white-space-collapse="true">
- <fo:flow flow-name="xsl-region-body">
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" background-color="yellow">alignment-baseline not specified</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-baseline="auto" background-color="yellow">alignment-baseline="auto"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-baseline="baseline" background-color="yellow">alignment-baseline="baseline"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-baseline="before-edge" background-color="yellow">alignment-baseline="before-edge"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-baseline="text-before-edge" background-color="yellow">alignment-baseline="text-before-edge"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-baseline="central" background-color="yellow">alignment-baseline="central"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-baseline="middle" background-color="yellow">alignment-baseline="middle"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-baseline="after-edge" background-color="yellow">alignment-baseline="after-edge"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-baseline="text-after-edge" background-color="yellow">alignment-baseline="text-after-edge"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-baseline="ideographic" background-color="yellow">alignment-baseline="ideographic"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-baseline="alphabetic" background-color="yellow">alignment-baseline="alphabetic"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-baseline="hanging" background-color="yellow">alignment-baseline="hanging"</fo:inline> After
- </fo:block>
- <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
- Before <fo:inline font-size="10pt" alignment-baseline="mathematical" background-color="yellow">alignment-baseline="mathematical"</fo:inline> After
- </fo:block>
- </fo:flow>
- </fo:page-sequence>
- </fo:root>
- </fo>
- <checks>
- <eval expected="2872" xpath="//flow/block[1]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="2872" xpath="//flow/block[2]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="2872" xpath="//flow/block[3]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="0" xpath="//flow/block[4]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="0" xpath="//flow/block[5]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="1850" xpath="//flow/block[6]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="1826" xpath="//flow/block[7]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="3700" xpath="//flow/block[8]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="3700" xpath="//flow/block[9]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="3700" xpath="//flow/block[10]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="2872" xpath="//flow/block[11]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="574" xpath="//flow/block[12]/lineArea[1]/inlineparent/@offset"/>
- <eval expected="1436" xpath="//flow/block[13]/lineArea[1]/inlineparent/@offset"/>
- </checks>
-</testcase>
+<?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 inline level alignment-baseline.
+ </p>
+ </info>
+ <fo>
+ <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg">
+ <fo:layout-master-set>
+ <fo:simple-page-master master-name="normal" page-width="5in" page-height="5in">
+ <fo:region-body/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+ <fo:page-sequence master-reference="normal" white-space-collapse="true">
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" background-color="yellow">alignment-baseline not specified</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-baseline="auto" background-color="yellow">alignment-baseline="auto"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-baseline="baseline" background-color="yellow">alignment-baseline="baseline"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-baseline="before-edge" background-color="yellow">alignment-baseline="before-edge"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-baseline="text-before-edge" background-color="yellow">alignment-baseline="text-before-edge"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-baseline="central" background-color="yellow">alignment-baseline="central"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-baseline="middle" background-color="yellow">alignment-baseline="middle"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-baseline="after-edge" background-color="yellow">alignment-baseline="after-edge"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-baseline="text-after-edge" background-color="yellow">alignment-baseline="text-after-edge"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-baseline="ideographic" background-color="yellow">alignment-baseline="ideographic"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-baseline="alphabetic" background-color="yellow">alignment-baseline="alphabetic"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-baseline="hanging" background-color="yellow">alignment-baseline="hanging"</fo:inline> After
+ </fo:block>
+ <fo:block background-color="silver" margin="1pt 0pt 1pt 0pt" font-size="14pt">
+ Before <fo:inline font-size="10pt" alignment-baseline="mathematical" background-color="yellow">alignment-baseline="mathematical"</fo:inline> After
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+ </fo:root>
+ </fo>
+ <checks>
+ <eval expected="2872" xpath="//flow/block[1]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="2872" xpath="//flow/block[2]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="2872" xpath="//flow/block[3]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="0" xpath="//flow/block[4]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="0" xpath="//flow/block[5]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="1850" xpath="//flow/block[6]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="1826" xpath="//flow/block[7]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="3700" xpath="//flow/block[8]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="3700" xpath="//flow/block[9]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="3700" xpath="//flow/block[10]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="2872" xpath="//flow/block[11]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="574" xpath="//flow/block[12]/lineArea[1]/inlineparent/@offset"/>
+ <eval expected="1436" xpath="//flow/block[13]/lineArea[1]/inlineparent/@offset"/>
+ </checks>
+</testcase>
Propchange: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-baseline_1.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: xmlgraphics/fop/branches/Temp_ProcessingFeedback/test/layoutengine/standard-testcases/inline_alignment-baseline_1.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Thu Mar 6 05:33:44 2008
@@ -1 +1 @@
-Id
+Revision Id
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org