aboutsummaryrefslogtreecommitdiffstats
path: root/docs/examples/markers/hide.fo
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2003-01-29 16:11:21 +0000
committerJeremias Maerki <jeremias@apache.org>2003-01-29 16:11:21 +0000
commit4b6c09651a0894537a87cb7007f7a7d945e7d243 (patch)
treef058027aadda05c287dbcf8f6fb85ae79d4fb972 /docs/examples/markers/hide.fo
parenta0362d121b548a844aa633394e2e3d2d12164665 (diff)
downloadxmlgraphics-fop-4b6c09651a0894537a87cb7007f7a7d945e7d243.tar.gz
xmlgraphics-fop-4b6c09651a0894537a87cb7007f7a7d945e7d243.zip
Move over to examples/fo
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195906 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/examples/markers/hide.fo')
-rw-r--r--docs/examples/markers/hide.fo140
1 files changed, 0 insertions, 140 deletions
diff --git a/docs/examples/markers/hide.fo b/docs/examples/markers/hide.fo
deleted file mode 100644
index 49e62fce1..000000000
--- a/docs/examples/markers/hide.fo
+++ /dev/null
@@ -1,140 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
- <fo:layout-master-set>
- <fo:simple-page-master
- margin-right="1.5cm"
- margin-left="1.5cm"
- margin-bottom="2cm"
- margin-top="1cm"
- page-width="21cm"
- page-height="29.7cm"
- master-name="first">
- <fo:region-before extent="1cm"/>
- <fo:region-body margin-top="1cm"/>
- <fo:region-after extent="1.5cm"/>
- </fo:simple-page-master>
- </fo:layout-master-set>
-
- <fo:page-sequence master-reference="first">
- <fo:static-content flow-name="xsl-region-before">
-<fo:block-container height="1cm" width="15cm" top="0cm" left="0cm" position="absolute">
- <fo:block>
- <fo:retrieve-marker retrieve-class-name="message"
- retrieve-boundary="page"
- retrieve-position="first-starting-within-page"/>
- </fo:block>
-</fo:block-container>
-<fo:block-container height="1cm" width="15cm" top="0cm" left="0cm" position="absolute">
- <fo:block>
- <fo:retrieve-marker retrieve-class-name="term"
- retrieve-boundary="page"
- retrieve-position="last-ending-within-page"/>
- </fo:block>
-</fo:block-container>
- </fo:static-content>
-
- <fo:static-content flow-name="xsl-region-after">
- <fo:block text-align="start"
- font-size="10pt" font-family="serif" line-height="1em + 2pt">
- Page (<fo:page-number/> / <fo:page-number-citation
-ref-id="end-seq1"/>)
- </fo:block>
- </fo:static-content>
-
- <fo:flow flow-name="xsl-region-body">
-<fo:block><fo:marker
- marker-class-name="message">
- <fo:block>
-WARNING: Page sequence contains: <fo:page-number-citation
-ref-id="end-seq1"/> pages.
- </fo:block>
-</fo:marker>
- </fo:block>
-
- <fo:block text-align="start" font-size="12pt" font-family="sans-serif">
-This example shows how it is possible to have a message that appears
-only on the first page (in a page sequence) only if there is more
-than one page.
- </fo:block>
-
- <fo:block text-align="start" font-size="12pt" font-family="sans-serif">
-This page sequence only has one page so you will not see the message.
- </fo:block>
-
-<fo:block id="end-seq1"><fo:marker
- marker-class-name="term">
-<fo:instream-foreign-object>
-<svg xmlns="http://www.w3.org/2000/svg" width="15cm" height="1cm" xml:space="preserve">
- <rect style="fill:white;stroke:white" x="0" y="0" width="15cm" height="1cm"/>
-</svg>
-</fo:instream-foreign-object>
-</fo:marker>
- </fo:block>
-
- </fo:flow>
- </fo:page-sequence>
-
- <fo:page-sequence master-reference="first" initial-page-number="1">
- <fo:static-content flow-name="xsl-region-before">
-<fo:block-container height="1cm" width="15cm" top="0cm" left="0cm" position="absolute"> <fo:block>
- <fo:retrieve-marker retrieve-class-name="message"
- retrieve-boundary="page"
- retrieve-position="first-starting-within-page"/>
- </fo:block>
-</fo:block-container>
-<fo:block-container height="1cm" width="15cm" top="0cm" left="0cm" position="absolute"> <fo:block>
- <fo:retrieve-marker retrieve-class-name="term"
- retrieve-boundary="page"
- retrieve-position="last-ending-within-page"/>
- </fo:block>
-</fo:block-container>
- </fo:static-content>
-
- <fo:static-content flow-name="xsl-region-after">
- <fo:block text-align="start"
- font-size="10pt" font-family="serif" line-height="1em + 2pt">
- Page (<fo:page-number/> / <fo:page-number-citation
-ref-id="end-of-document"/>)
- </fo:block>
- </fo:static-content>
-
- <fo:flow flow-name="xsl-region-body">
-<fo:block><fo:marker
- marker-class-name="message">
- <fo:block>
-WARNING: Page sequence contains: <fo:page-number-citation
-ref-id="end-of-document"/> pages.
- </fo:block>
-</fo:marker>
- </fo:block>
-
- <fo:block text-align="start" font-size="12pt" font-family="sans-serif">
-This page sequence has more than one page so you will see the message
-only at the top of the first page.
- </fo:block>
-
- <fo:block break-before="page" text-align="start" font-size="12pt" font-family="sans-serif">
-Some text.
- </fo:block>
-
- <fo:block break-before="page" text-align="start" font-size="12pt" font-family="sans-serif">
-Some text.
- </fo:block>
- <fo:block break-before="page" text-align="start" font-size="12pt" font-family="sans-serif">
-Some more text on last page.
- </fo:block>
-
-<fo:block id="end-of-document"><fo:marker
- marker-class-name="term">
-<fo:instream-foreign-object>
-<svg xmlns="http://www.w3.org/2000/svg" width="15cm" height="1cm" xml:space="preserve"> <rect style="fill:white;stroke:white" x="0" y="0" width="15cm" height="1cm"/>
-</svg>
-</fo:instream-foreign-object>
-</fo:marker>
- </fo:block>
-
- </fo:flow>
- </fo:page-sequence>
-
-</fo:root>
-