diff options
author | Jordan Naftolin <jordan@apache.org> | 2000-06-22 00:11:33 +0000 |
---|---|---|
committer | Jordan Naftolin <jordan@apache.org> | 2000-06-22 00:11:33 +0000 |
commit | 90440dd9d8e2e1aa7647e20f02677b62bab0e516 (patch) | |
tree | eec75aeaaece95ff72afc49db6c5632f2c09c2c1 /src/org/apache/fop/fo/flow/DisplayGraphic.java | |
parent | ae9a1100aa858a970fd2a11740343b9752252ed6 (diff) | |
download | xmlgraphics-fop-90440dd9d8e2e1aa7647e20f02677b62bab0e516.tar.gz xmlgraphics-fop-90440dd9d8e2e1aa7647e20f02677b62bab0e516.zip |
added id support (required for internal-links)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193427 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/flow/DisplayGraphic.java')
-rw-r--r-- | src/org/apache/fop/fo/flow/DisplayGraphic.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/flow/DisplayGraphic.java b/src/org/apache/fop/fo/flow/DisplayGraphic.java index 348833804..327d42b01 100644 --- a/src/org/apache/fop/fo/flow/DisplayGraphic.java +++ b/src/org/apache/fop/fo/flow/DisplayGraphic.java @@ -191,6 +191,12 @@ public class DisplayGraphic extends FObj { area.addDisplaySpace(spaceBefore); } + if ( marker == 0 ) { + // initialize id + String id = this.properties.get("id").getString(); + area.getIDReferences().initializeID(id,area); + } + imageArea.start(); imageArea.end(); area.addChild(imageArea); |