From f2e283049adeebd2a751ecc8eed02dbef4d34074 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Tue, 12 Nov 2002 09:15:53 +0000 Subject: [PATCH] added svg/instream foreign object embedding examples git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195508 13f79535-47bb-0310-9956-ffa450edef68 --- .../content/xdocs/dev/examples.xml | 20 ++++ src/documentation/content/xdocs/fo/blocks.ent | 21 +++++ src/documentation/content/xdocs/fo/embed.fo | 94 +++++++++++++++++++ 3 files changed, 135 insertions(+) create mode 100644 src/documentation/content/xdocs/fo/blocks.ent create mode 100644 src/documentation/content/xdocs/fo/embed.fo diff --git a/src/documentation/content/xdocs/dev/examples.xml b/src/documentation/content/xdocs/dev/examples.xml index 1773b58db..008f04537 100644 --- a/src/documentation/content/xdocs/dev/examples.xml +++ b/src/documentation/content/xdocs/dev/examples.xml @@ -37,6 +37,26 @@ Embedding images in FO: size.fo size.fo.pdf + +

+ +
+ Instream Foreign Object Examples +

+Instream Foreign Object images in FO, there are more on the +SVG Page: + + + + + + + + + + + +
Images in FO
descriptionfo filepdf result
embedding svg in viewportembed.foembed.fo.pdf

diff --git a/src/documentation/content/xdocs/fo/blocks.ent b/src/documentation/content/xdocs/fo/blocks.ent new file mode 100644 index 000000000..f8b70b4be --- /dev/null +++ b/src/documentation/content/xdocs/fo/blocks.ent @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/src/documentation/content/xdocs/fo/embed.fo b/src/documentation/content/xdocs/fo/embed.fo new file mode 100644 index 000000000..04ec81161 --- /dev/null +++ b/src/documentation/content/xdocs/fo/embed.fo @@ -0,0 +1,94 @@ + + +]> + + + + + + + + + + + + + + + + + + + + + +Embedding SVG in Viewport + + Align in Larger Viewport + + +Default align: +(&svgimage;), start +(&svgimage;), center +(&svgimage;), end +(&svgimage;), before +(&svgimage;), center +(&svgimage;), after +(&svgimage;), start-before +(&svgimage;), start-center +(&svgimage;), start-after +(&svgimage;), center-before +(&svgimage;), center-center +(&svgimage;), center-after +(&svgimage;), end-before +(&svgimage;), end-center +(&svgimage;), end-after +(&svgimage;). + + + Align in Smaller Viewport + +Default align: +(&svgimage;), start +(&svgimage;), center +(&svgimage;), end +(&svgimage;), before +(&svgimage;), center +(&svgimage;), after +(&svgimage;), start-before +(&svgimage;), start-center +(&svgimage;), start-after +(&svgimage;), center-before +(&svgimage;), center-center +(&svgimage;), center-after +(&svgimage;), end-before +(&svgimage;), end-center +(&svgimage;), end-after +(&svgimage;). + + + Scaling + +Non-uniform +(&svgimage;), non-uniform +(&svgimage;), uniform +(&svgimage;), uniform +(&svgimage;). + + + + This section is only required to show that the layout still works. + + + + + + -- 2.39.5