]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
FOP-3048: Resolve links across IF files
authorSimon Steiner <ssteiner@apache.org>
Wed, 19 Jan 2022 11:02:52 +0000 (11:02 +0000)
committerSimon Steiner <ssteiner@apache.org>
Wed, 19 Jan 2022 11:02:52 +0000 (11:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1897195 13f79535-47bb-0310-9956-ffa450edef68

fop-core/src/test/resources/org/apache/fop/render/extensions/link.if.xml [new file with mode: 0644]

diff --git a/fop-core/src/test/resources/org/apache/fop/render/extensions/link.if.xml b/fop-core/src/test/resources/org/apache/fop/render/extensions/link.if.xml
new file mode 100644 (file)
index 0000000..84d9ce0
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document xmlns="http://xmlgraphics.apache.org/fop/intermediate" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:nav="http://xmlgraphics.apache.org/fop/intermediate/document-navigation" xmlns:foi="http://xmlgraphics.apache.org/fop/internal">
+    <header>
+        <x:xmpmeta xmlns:x="adobe:ns:meta/">
+            <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+                <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
+                    <xmp:CreatorTool>fop</xmp:CreatorTool>
+                    <xmp:MetadataDate>2022-01-17T14:11:23Z</xmp:MetadataDate>
+                    <xmp:CreateDate>2022-01-17T14:11:23Z</xmp:CreateDate>
+                </rdf:Description>
+            </rdf:RDF>
+        </x:xmpmeta>
+    </header>
+    <page-sequence xml:space="preserve">
+<page index="0" name="1" page-master-name="Page" width="612000" height="792000">
+<page-header/>
+<content>
+<viewport transform="translate(72000,72000)" width="468000" height="612000">
+<font family="Helvetica" style="normal" weight="400" variant="normal" size="12000" color="#000000"/>
+<text x="0" y="10266">Breakdown</text>
+</viewport>
+</content>
+<page-trailer>
+<nav:link rect="72000 73650 124056 11100">
+<nav:goto-xy id="B0" page-index="-1" x="0" y="0"/>
+</nav:link>
+</page-trailer>
+</page>
+</page-sequence>
+<page-sequence xml:space="preserve">
+<page index="1" name="2" page-master-name="Page" width="612000" height="792000">
+<page-header/>
+<content>
+<viewport transform="translate(72000,72000)" width="468000" height="612000">
+<font family="Helvetica" style="normal" weight="400" variant="normal" size="12000" color="#000000"/>
+<id name="B0"/>
+<text x="0" y="10266">test</text>
+</viewport>
+</content>
+<page-trailer/>
+</page>
+</page-sequence>
+    <trailer/>
+</document>