From: fotis Date: Mon, 24 Jul 2000 15:43:35 +0000 (+0000) Subject: externalgraphic replaces graphic tags in former xsl versions X-Git-Tag: pre-columns~319 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a8c824d62e0beb10a57e8b3daf3c2f860881cac3;p=xmlgraphics-fop.git externalgraphic replaces graphic tags in former xsl versions git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193558 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/examples/fo/images.fo b/docs/examples/fo/images.fo index a1b9d43b8..c7c210526 100644 --- a/docs/examples/fo/images.fo +++ b/docs/examples/fo/images.fo @@ -1,5 +1,6 @@ + @@ -38,8 +39,8 @@ 1. FOP test for images -A GIF image in FOP -A JPEG image in FOP +A GIF image in FOP +A JPEG image in FOP This section is only required to show that the layout still works. diff --git a/src/org/apache/fop/fo/PropertyListBuilder.java b/src/org/apache/fop/fo/PropertyListBuilder.java index 5385ef98a..47a19f92a 100644 --- a/src/org/apache/fop/fo/PropertyListBuilder.java +++ b/src/org/apache/fop/fo/PropertyListBuilder.java @@ -105,7 +105,7 @@ public class PropertyListBuilder { propertyTable.put("break-before",BreakBefore.maker()); propertyTable.put("break-after",BreakAfter.maker()); propertyTable.put("text-indent",TextIndent.maker()); - propertyTable.put("href",HRef.maker()); + propertyTable.put("src",Src.maker()); propertyTable.put("column-width",ColumnWidth.maker()); propertyTable.put("keep-with-next",KeepWithNext.maker()); propertyTable.put("background-color",BackgroundColor.maker()); @@ -114,7 +114,7 @@ public class PropertyListBuilder { propertyTable.put("padding-left",PaddingLeft.maker()); propertyTable.put("padding-right",PaddingRight.maker()); propertyTable.put("external-destination",ExternalDestination.maker()); - propertyTable.put("internal-destination",InternalDestination.maker()); + propertyTable.put("internal-destination",InternalDestination.maker()); propertyTable.put("x",SVGLengthProperty.maker()); propertyTable.put("y",SVGLengthProperty.maker()); propertyTable.put("x1",SVGLengthProperty.maker()); diff --git a/src/org/apache/fop/fo/StandardElementMapping.java b/src/org/apache/fop/fo/StandardElementMapping.java index 94236ca96..bec383323 100644 --- a/src/org/apache/fop/fo/StandardElementMapping.java +++ b/src/org/apache/fop/fo/StandardElementMapping.java @@ -96,10 +96,8 @@ public class StandardElementMapping implements ElementMapping { builder.addMapping(uri, "inline-sequence", InlineSequence.maker()); builder.addMapping(uri, "display-rule", DisplayRule.maker()); - builder.addMapping(uri, "display-graphic", - DisplayGraphic.maker()); - builder.addMapping(uri, "inline-graphic", - InlineGraphic.maker()); + builder.addMapping(uri, "external-graphic", + ExternalGraphic.maker()); builder.addMapping(uri, "table", Table.maker()); builder.addMapping(uri, "table-column", TableColumn.maker()); builder.addMapping(uri, "table-body", TableBody.maker());