You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ar...@apache.org on 2001/01/04 04:27:51 UTC
cvs commit: xml-fop/src/org/apache/fop/fo/flow BasicLink.java
arved 01/01/03 19:27:51
Modified: src/org/apache/fop/fo/flow BasicLink.java
Log:
Handle basic links in multi-column
Revision Changes Path
1.3 +4 -4 xml-fop/src/org/apache/fop/fo/flow/BasicLink.java
Index: BasicLink.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/BasicLink.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- BasicLink.java 2000/12/18 03:51:47 1.2
+++ BasicLink.java 2001/01/04 03:27:51 1.3
@@ -113,13 +113,13 @@
}
// new LinkedArea to gather up inlines
- LinkSet ls = new LinkSet(destination, area, linkType);
+ LinkSet ls = new LinkSet(destination, area, linkType);
Page p = area.getPage();
- // assumption - AS
- // should be able to retrieve this from somewhere - JT
- AreaContainer ac = p.getBody().getMainReferenceArea();
+ // this will only work if links are in region-body (AHS);
+ // need to handle links in all regions
+ AreaContainer ac = p.getBody().getCurrentColumnArea();
int numChildren = this.children.size();
for (int i = this.marker; i < numChildren; i++) {