aboutsummaryrefslogtreecommitdiffstats
path: root/fop-core
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2022-01-19 11:02:52 +0000
committerSimon Steiner <ssteiner@apache.org>2022-01-19 11:02:52 +0000
commit83dbac3d289da375d43ae22976f20e4eaba22f1b (patch)
tree46c572d2d6769a8ffeb78e7d18254837c6703ff1 /fop-core
parent63c0ce941e58f3673a586527e1669639494ecf6e (diff)
downloadxmlgraphics-fop-83dbac3d289da375d43ae22976f20e4eaba22f1b.tar.gz
xmlgraphics-fop-83dbac3d289da375d43ae22976f20e4eaba22f1b.zip
FOP-3048: Resolve links across IF files
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1897195 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop-core')
-rw-r--r--fop-core/src/test/resources/org/apache/fop/render/extensions/link.if.xml44
1 files changed, 44 insertions, 0 deletions
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
index 000000000..84d9ce0e0
--- /dev/null
+++ b/fop-core/src/test/resources/org/apache/fop/render/extensions/link.if.xml
@@ -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>