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 fo...@locus.apache.org on 2000/08/03 00:35:11 UTC
cvs commit: xml-fop/src/org/apache/fop/fo/pagination PageSequence.java
fotis 00/08/02 15:35:10
Modified: src/org/apache/fop/fo/flow StaticContent.java
src/org/apache/fop/fo/pagination PageSequence.java
Log:
changes allowed flow-name for static-content from xsl-before/xsl-after to xsl-region-before/xsl-region-after
Revision Changes Path
1.9 +3 -3 xml-fop/src/org/apache/fop/fo/flow/StaticContent.java
Index: StaticContent.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/StaticContent.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- StaticContent.java 2000/06/18 21:05:07 1.8
+++ StaticContent.java 2000/08/02 22:35:09 1.9
@@ -1,4 +1,4 @@
-/*-- $Id: StaticContent.java,v 1.8 2000/06/18 21:05:07 fotis Exp $ --
+/*-- $Id: StaticContent.java,v 1.9 2000/08/02 22:35:09 fotis Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -97,11 +97,11 @@
int numChildren = this.children.size();
// Set area absolute height so that link rectangles will be drawn correctly in xsl-before and xsl-after
String flowName = this.properties.get("flow-name").getString();
- if(flowName.equals("xsl-before"))
+ if(flowName.equals("xsl-region-before"))
{
area.setAbsoluteHeight(-area.getMaxHeight());
}
- else if(flowName.equals("xsl-after"))
+ else if(flowName.equals("xsl-region-after"))
{
area.setAbsoluteHeight(area.getPage().getBody().getMaxHeight());
}
1.16 +3 -3 xml-fop/src/org/apache/fop/fo/pagination/PageSequence.java
Index: PageSequence.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/pagination/PageSequence.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- PageSequence.java 2000/07/11 02:30:23 1.15
+++ PageSequence.java 2000/08/02 22:35:10 1.16
@@ -1,4 +1,4 @@
-/*-- $Id: PageSequence.java,v 1.15 2000/07/11 02:30:23 arved Exp $ --
+/*-- $Id: PageSequence.java,v 1.16 2000/08/02 22:35:10 fotis Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -249,11 +249,11 @@
}
public void setStaticContent(String name, StaticContent staticContent) {
- if ( name.equals("xsl-before") )
+ if ( name.equals("xsl-region-before") )
{
this.staticBefore = staticContent;
}
- else if ( name.equals("xsl-after") )
+ else if ( name.equals("xsl-region-after") )
{
this.staticAfter = staticContent;
}