From cd186c768c6abfe516eb8006faacce99bb975bb1 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Fri, 8 Jun 2001 08:56:02 +0000 Subject: added some external svg examples git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194283 13f79535-47bb-0310-9956-ffa450edef68 --- docs/examples/svg/boxes.svg | 11 +++++ docs/examples/svg/embedding.fo | 82 ++++++++++++++++++++++++++++++++++- docs/examples/svg/external.fo | 97 ++++++++++++++++++++++++++++++++++++++++++ docs/examples/svg/multi.svg | 14 ++++++ docs/examples/svg/ref.svg | 10 +++++ 5 files changed, 212 insertions(+), 2 deletions(-) create mode 100644 docs/examples/svg/boxes.svg create mode 100644 docs/examples/svg/external.fo create mode 100644 docs/examples/svg/multi.svg create mode 100644 docs/examples/svg/ref.svg (limited to 'docs') diff --git a/docs/examples/svg/boxes.svg b/docs/examples/svg/boxes.svg new file mode 100644 index 000000000..b86c9b8d2 --- /dev/null +++ b/docs/examples/svg/boxes.svg @@ -0,0 +1,11 @@ + + + + + + + + + + diff --git a/docs/examples/svg/embedding.fo b/docs/examples/svg/embedding.fo index 9c24fa7e2..0a38ae40a 100644 --- a/docs/examples/svg/embedding.fo +++ b/docs/examples/svg/embedding.fo @@ -766,7 +766,7 @@ -Some examples of how to embed an SVG image inside you FO documents +Some examples of how to embed an SVG image inside your FO documents @@ -936,7 +936,7 @@ Sizing -Specify the size on the instream-foreign-object element. +Specify the size on the instream-foreign-object element. Note: currently not functional, bug. @@ -972,6 +972,84 @@ Specify the size on the instream-foreign-object element. + + + + +Specify the size on the svg document element. + + + + + + + + + + + + + + + +]]> + + + + + + + + + + + + + + + + + + + + +Specify the size on the svg document element and for the content size on the instream-foreign-object. + + + + + + + + + + + + + + + +]]> + + + + + + + + + + + + + + + + + + diff --git a/docs/examples/svg/external.fo b/docs/examples/svg/external.fo new file mode 100644 index 000000000..775eb508b --- /dev/null +++ b/docs/examples/svg/external.fo @@ -0,0 +1,97 @@ + + + + + + + + + + + + + External SVG examples + + + Page + + + + + + External SVG + + + + + + + + +Some examples of how to reference external SVG images in your FO documents + + + +Introduction + + + +This document shows some examples of how an SVG document can be in an external svg file +which is referenced using the fo:external-graphic. + + + + + + +Examples + + + +The following svg document is obtained from an external file using the fo:external-graphic. + + + + + + + +This svg document () is also obtained from +an external file using the fo:external-graphic. It has another svg image inside and references +part of another svg image. + + + +This inline svg document ( + + + + + + + + + + + +) has an external svg image inside and references part of another svg image. + + + +Apart from this external svg images should behave in the same way that other types of +external graphics do. + + + + + + diff --git a/docs/examples/svg/multi.svg b/docs/examples/svg/multi.svg new file mode 100644 index 000000000..9e68d9a30 --- /dev/null +++ b/docs/examples/svg/multi.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + diff --git a/docs/examples/svg/ref.svg b/docs/examples/svg/ref.svg new file mode 100644 index 000000000..e3f75c6a0 --- /dev/null +++ b/docs/examples/svg/ref.svg @@ -0,0 +1,10 @@ + + + + + + FOP + + + -- cgit v1.2.3