diff options
Diffstat (limited to 'src/org/apache/fop/fo')
-rw-r--r-- | src/org/apache/fop/fo/PropertyListBuilder.java | 4 | ||||
-rw-r--r-- | src/org/apache/fop/fo/StandardElementMapping.java | 6 |
2 files changed, 4 insertions, 6 deletions
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()); |