Revision: 7547
Author: victormote
Date: 2006-06-12 17:12:23 -0700 (Mon, 12 Jun 2006)
ViewCVS: http://svn.sourceforge.net/foray/?rev=7547&view=rev
Log Message:
-----------
1. Change AreaNode constructors to take a RetrieveMarker as a parameter.
2. Conform to axsl changes regarding the same in factory methods.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/AbstractInlineArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/AbstractNormalBlockArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/AbstractPlaceholder.java
trunk/foray/foray-areatree/src/java/org/foray/area/AbstractTableContainer.java
trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
trunk/foray/foray-areatree/src/java/org/foray/area/AreaFixed.java
trunk/foray/foray-areatree/src/java/org/foray/area/AreaFlexible.java
trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java
trunk/foray/foray-areatree/src/java/org/foray/area/BasicLinkArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/BeforeFloatRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/BlockArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/ContainerRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/ExternalGraphicArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/FootnoteRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/ForeignObjectArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/GenericContainer.java
trunk/foray/foray-areatree/src/java/org/foray/area/InlineArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/ListBlockArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/ListItemArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/MarkerContentArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/NonArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/NormalBlockArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/NormalFlowRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/PageNumberArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/PageNumberCitationArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/RegionRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/RegionRABody.java
trunk/foray/foray-areatree/src/java/org/foray/area/SVGArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableBodyContainer.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableFooterContainer.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableHeaderContainer.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableRowContainer.java
trunk/foray/foray-areatree/src/java/org/foray/area/TextArea.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/AbstractInlineArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/AbstractInlineArea.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/AbstractInlineArea.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -38,10 +38,6 @@
public abstract class AbstractInlineArea extends AreaFlexible
implements GeneralInlineArea {
- public AbstractInlineArea(FONode generatedBy, Area parentArea) {
- super(generatedBy, parentArea);
- }
-
public AbstractInlineArea(FONode generatedBy, Area parentArea,
RetrieveMarker retrieveMarker) {
super(generatedBy, parentArea, retrieveMarker);
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/AbstractNormalBlockArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/AbstractNormalBlockArea.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/AbstractNormalBlockArea.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -25,6 +25,7 @@
package org.foray.area;
import org.axsl.foR.FObj;
+import org.axsl.foR.fo.RetrieveMarker;
/**
* Abstract superclass for all of the areas that are normal-block areas,
@@ -35,8 +36,9 @@
implements org.axsl.areaR.AbstractNormalBlockArea,
org.axsl.areaW.AbstractNormalBlockArea {
- public AbstractNormalBlockArea(FObj parentFObj, Area parentArea) {
- super(parentFObj, parentArea);
+ public AbstractNormalBlockArea(FObj parentFObj, Area parentArea,
+ RetrieveMarker retrieveMarker) {
+ super(parentFObj, parentArea, retrieveMarker);
}
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/AbstractPlaceholder.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/AbstractPlaceholder.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/AbstractPlaceholder.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -26,6 +26,7 @@
import org.axsl.areaW.AreaWException;
import org.axsl.foR.FObj;
+import org.axsl.foR.fo.RetrieveMarker;
/**
* Marks a place in the AreaTree, but does not have any area itself.
@@ -33,8 +34,9 @@
*/
public abstract class AbstractPlaceholder extends Area {
- public AbstractPlaceholder(FObj generatedBy, Area parentArea) {
- super(generatedBy, parentArea);
+ public AbstractPlaceholder(FObj generatedBy, Area parentArea,
+ RetrieveMarker retrieveMarker) {
+ super(generatedBy, parentArea, retrieveMarker);
}
/**
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/AbstractTableContainer.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/AbstractTableContainer.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/AbstractTableContainer.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -26,17 +26,20 @@
import org.axsl.areaW.TableRowContainer;
import org.axsl.foR.FObj;
+import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.foR.fo.TableRow;
public abstract class AbstractTableContainer extends GenericContainer
implements org.axsl.areaW.AbstractTableContainer {
- public AbstractTableContainer(FObj generatedBy, Area parentArea) {
- super(generatedBy, parentArea);
+ public AbstractTableContainer(FObj generatedBy, Area parentArea,
+ RetrieveMarker retrieveMarker) {
+ super(generatedBy, parentArea, retrieveMarker);
}
- public TableRowContainer makeTableRowContainer(TableRow node) {
- return new org.foray.area.TableRowContainer(node, this);
+ public TableRowContainer makeTableRowContainer(TableRow node,
+ RetrieveMarker retrieveMarker) {
+ return new org.foray.area.TableRowContainer(node, this, retrieveMarker);
}
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -55,10 +55,6 @@
* @param generatedBy
* @param parentArea
*/
- public Area(FONode generatedBy, AreaNode parentArea) {
- super(generatedBy, parentArea);
- }
-
public Area(FONode generatedBy, AreaNode parentArea,
RetrieveMarker retrieveMarker) {
super(generatedBy, parentArea, retrieveMarker);
@@ -1168,22 +1164,27 @@
return true;
}
- public TableArea makeTableArea(Table table) {
- return new org.foray.area.TableRA(table, this);
+ public TableArea makeTableArea(Table table,
+ RetrieveMarker retrieveMarker) {
+ return new org.foray.area.TableRA(table, this, retrieveMarker);
}
- public NormalBlockArea makeNormalBlockArea(Block block) {
- return new org.foray.area.NormalBlockArea(block, this);
+ public NormalBlockArea makeNormalBlockArea(Block block,
+ RetrieveMarker retrieveMarker) {
+ return new org.foray.area.NormalBlockArea(block, this, retrieveMarker);
}
public BlockContainerRA makeBlockContainerArea(
- BlockContainer blockContainer) {
- return new org.foray.area.BlockContainerRA(blockContainer, this);
+ BlockContainer blockContainer, RetrieveMarker retrieveMarker) {
+ return new org.foray.area.BlockContainerRA(blockContainer, this,
+ retrieveMarker);
}
- public ListBlockArea makeListBlockArea(ListBlock listBlock) {
- return new org.foray.area.ListBlockArea(listBlock, this);
+ public ListBlockArea makeListBlockArea(ListBlock listBlock,
+ RetrieveMarker retrieveMarker) {
+ return new org.foray.area.ListBlockArea(listBlock, this,
+ retrieveMarker);
}
public int traitTop() {
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/AreaFixed.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/AreaFixed.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/AreaFixed.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -25,6 +25,7 @@
package org.foray.area;
import org.axsl.foR.FObj;
+import org.axsl.foR.fo.RetrieveMarker;
import java.util.List;
@@ -37,8 +38,9 @@
*/
public abstract class AreaFixed extends Area {
- public AreaFixed(FObj generatedBy, AreaNode parentArea) {
- super(generatedBy, parentArea);
+ public AreaFixed(FObj generatedBy, AreaNode parentArea,
+ RetrieveMarker retrieveMarker) {
+ super(generatedBy, parentArea, retrieveMarker);
}
/**
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/AreaFlexible.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/AreaFlexible.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/AreaFlexible.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -52,10 +52,6 @@
*/
private int anteriorSpace;
- public AreaFlexible(FONode generatedBy, AreaNode parentArea) {
- this(generatedBy, parentArea, null);
- }
-
public AreaFlexible(FONode generatedBy, AreaNode parentArea,
RetrieveMarker retrieveMarker) {
super(generatedBy, parentArea, retrieveMarker);
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -59,11 +59,8 @@
* @param generatedBy The FObj instance that generated this Area.
* @param parentArea The Area instance that is the newly-constructed Area's
* parent in the AreaTree.
+ * @param retrieveMarker TODO
*/
- public AreaNode(FONode generatedBy, AreaNode parentArea) {
- this(generatedBy, parentArea, null);
- }
-
public AreaNode(FONode generatedBy, AreaNode parentArea,
RetrieveMarker retrieveMarker) {
super(parentArea);
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/BasicLinkArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/BasicLinkArea.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/BasicLinkArea.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -26,6 +26,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.foR.fo.BasicLink;
+import org.axsl.foR.fo.RetrieveMarker;
/**
* Areas generated by the fo:basic-link object.
@@ -34,8 +35,9 @@
implements org.axsl.areaR.BasicLinkArea,
org.axsl.areaW.BasicLinkArea {
- public BasicLinkArea(BasicLink generatedBy, Area parentArea) {
- super(generatedBy, parentArea);
+ public BasicLinkArea(BasicLink generatedBy, Area parentArea,
+ RetrieveMarker retrieveMarker) {
+ super(generatedBy, parentArea, retrieveMarker);
}
public int crIPD() {
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/BeforeFloatRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/BeforeFloatRA.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/BeforeFloatRA.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -37,7 +37,7 @@
org.axsl.areaW.BeforeFloatRA {
public BeforeFloatRA(FObj generatedBy, RegionRABody parentArea) {
- super(generatedBy, parentArea);
+ super(generatedBy, parentArea, null);
}
public int crBPD() {
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/BlockArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/BlockArea.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/BlockArea.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -25,6 +25,7 @@
package org.foray.area;
import org.axsl.foR.FObj;
+import org.axsl.foR.fo.RetrieveMarker;
/**
* Superclass for normal block-areas (NormalBlockArea) and line-areas
@@ -32,8 +33,9 @@
*/
public abstract class BlockArea extends AreaFlexible {
- public BlockArea(FObj parentFObj, Area parentArea) {
- super(parentFObj, parentArea);
+ public BlockArea(FObj parentFObj, Area parentArea,
+ RetrieveMarker retrieveMarker) {
+ super(parentFObj, parentArea, retrieveMarker);
}
/**
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -28,6 +28,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.common.Constants;
import org.axsl.foR.FObj;
+import org.axsl.foR.fo.RetrieveMarker;
/**
* The container area for the contents of a block-container FO.
@@ -35,8 +36,9 @@
public class BlockContainerRA extends ContainerRA
implements BlockContainerArea, org.axsl.areaW.BlockContainerRA {
- public BlockContainerRA(FObj generatedBy, Area parentArea) {
- super(generatedBy, parentArea);
+ public BlockContainerRA(FObj generatedBy, Area parentArea,
+ RetrieveMarker retrieveMarker) {
+ super(generatedBy, parentArea, retrieveMarker);
}
public boolean isAbsolutelyPositioned() {
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/ContainerRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/ContainerRA.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/ContainerRA.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -26,6 +26,7 @@
import org.axsl.areaW.AreaWException;
import org.axsl.foR.FObj;
+import org.axsl.foR.fo.RetrieveMarker;
/**
* Abstract superclass for areas that are primarily for collection and
@@ -36,8 +37,9 @@
public abstract class ContainerRA extends AreaFlexible
implements org.axsl.areaW.ContainerRA {
- public ContainerRA(FObj generatedBy, Area parentArea) {
- super(generatedBy, parentArea);
+ public ContainerRA(FObj generatedBy, Area parentArea,
+ RetrieveMarker retrieveMarker) {
+ super(generatedBy, parentArea, retrieveMarker);
}
public Area getOverflowArea(Area childRequesting) throws AreaWException {
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/ExternalGraphicArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/ExternalGraphicArea.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/ExternalGraphicArea.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -26,6 +26,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.foR.fo.ExternalGraphic;
+import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.graphicR.Graphic;
@@ -34,8 +35,8 @@
org.axsl.areaW.ExternalGraphicArea {
public ExternalGraphicArea(ExternalGraphic generatedBy, Area parentArea,
- int width) {
- super(generatedBy, parentArea);
+ RetrieveMarker retrieveMarker, int width) {
+ super(generatedBy, parentArea, retrieveMarker);
setProgressionDimension(width);
// Adjust the bpd of the parent line-area.
parentArea.setMinimumProgressionDimension(viewportBPD());
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/FootnoteRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/FootnoteRA.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/FootnoteRA.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -35,7 +35,7 @@
implements org.axsl.areaR.FootnoteArea, org.axsl.areaW.FootnoteRA {
public FootnoteRA(FObj generatedBy, RegionRABody parentArea) {
- super(generatedBy, parentArea);
+ super(generatedBy, parentArea, null);
}
public int crBPD() {
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/ForeignObjectArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/ForeignObjectArea.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/ForeignObjectArea.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -27,6 +27,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.foR.ForeignXML;
import org.axsl.foR.fo.InstreamForeignObject;
+import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.foR.svg.SVGElement;
public class ForeignObjectArea extends AbstractInlineArea
@@ -34,8 +35,8 @@
org.axsl.areaW.ForeignObjectArea {
public ForeignObjectArea(InstreamForeignObject generatedBy,
- Area parentArea, int width) {
- super(generatedBy, parentArea);
+ Area parentArea, RetrieveMarker retrieveMarker, int width) {
+ super(generatedBy, parentArea, retrieveMarker);
setProgressionDimension(width);
// Adjust the bpd of the parent line-area.
parentArea.setMinimumProgressionDimension(viewportBPD());
@@ -43,7 +44,7 @@
// Create the reference area for the content.
ForeignXML foreign = generatedBy.getForeignXML();
if (foreign instanceof SVGElement) {
- new SVGArea((SVGElement) foreign, this);
+ new SVGArea((SVGElement) foreign, this, retrieveMarker);
}
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/GenericContainer.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/GenericContainer.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/GenericContainer.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -25,6 +25,7 @@
package org.foray.area;
import org.axsl.foR.FObj;
+import org.axsl.foR.fo.RetrieveMarker;
public abstract class GenericContainer extends ContainerRA
implements org.axsl.areaW.GenericContainer {
@@ -32,8 +33,9 @@
int xPosition = 0;
int yPosition = 0;
- public GenericContainer(FObj generatedBy, Area parentArea) {
- super(generatedBy, parentArea);
+ public GenericContainer(FObj generatedBy, Area parentArea,
+ RetrieveMarker retrieveMarker) {
+ super(generatedBy, parentArea, retrieveMarker);
}
public void setXPosition(int xPosition) {
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/InlineArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/InlineArea.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/InlineArea.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -32,6 +32,7 @@
import org.axsl.foR.fo.Leader;
import org.axsl.foR.fo.PageNumber;
import org.axsl.foR.fo.PageNumberCitation;
+import org.axsl.foR.fo.RetrieveMarker;
/**
* Areas generated by the fo:inline object.
@@ -40,8 +41,9 @@
implements org.axsl.areaR.InlineArea,
org.axsl.areaW.InlineArea {
- public InlineArea(Inline generatedBy, Area parentArea) {
- super(generatedBy, parentArea);
+ public InlineArea(Inline generatedBy, Area parentArea,
+ RetrieveMarker retrieveMarker) {
+ super(generatedBy, parentArea, retrieveMarker);
}
/**
@@ -52,28 +54,31 @@
}
public org.axsl.areaW.ForeignObjectArea makeForeignObjectArea(
- InstreamForeignObject ifo, int ipd) {
- return LineArea.makeForeignObjectArea(ifo, this, ipd);
+ InstreamForeignObject ifo, int ipd, RetrieveMarker retrieveMarker) {
+ return LineArea.makeForeignObjectArea(ifo, this, ipd, retrieveMarker);
}
public org.axsl.areaW.ExternalGraphicArea makeExternalGraphicArea(
- ExternalGraphic ifo, int ipd) {
- return LineArea.makeExternalGraphicArea(ifo, this, ipd);
+ ExternalGraphic ifo, int ipd, RetrieveMarker retrieveMarker) {
+ return LineArea.makeExternalGraphicArea(ifo, this, ipd, retrieveMarker);
}
public org.axsl.areaW.LeaderArea makeLeaderArea(
- Leader leader, int ipd) {
- return LineArea.makeLeaderArea(leader, this, ipd);
+ Leader leader, int ipd, RetrieveMarker retrieveMarker) {
+ return LineArea.makeLeaderArea(leader, this, ipd, retrieveMarker);
}
public org.axsl.areaW.PageNumberArea makePageNumberArea(
- PageNumber pageNumber, int ipd) {
- return LineArea.makePageNumberArea(pageNumber, this, ipd);
+ PageNumber pageNumber, int ipd, RetrieveMarker retrieveMarker) {
+ return LineArea.makePageNumberArea(pageNumber, this, ipd,
+ retrieveMarker);
}
public org.axsl.areaW.PageNumberCitationArea makePageNumberCitationArea(
- PageNumberCitation citation, int ipd) {
- return LineArea.makePageNumberCitationArea(citation, this, ipd);
+ PageNumberCitation citation, int ipd,
+ RetrieveMarker retrieveMarker) {
+ return LineArea.makePageNumberCitationArea(citation, this, ipd,
+ retrieveMarker);
}
/**
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -31,6 +31,7 @@
import org.axsl.foR.fo.Leader;
import org.axsl.foR.fo.PageNumber;
import org.axsl.foR.fo.PageNumberCitation;
+import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.areaR.RenderVisitor;
import org.axsl.common.Constants;
@@ -63,8 +64,8 @@
org.axsl.areaW.LeaderArea {
public LeaderArea(Leader generatedBy, Area parentArea,
- int initialProgressionDimension) {
- super(generatedBy, parentArea);
+ RetrieveMarker retrieveMarker, int initialProgressionDimension) {
+ super(generatedBy, parentArea, retrieveMarker);
setProgressionDimension(initialProgressionDimension);
}
@@ -250,28 +251,31 @@
}
public org.axsl.areaW.ForeignObjectArea makeForeignObjectArea(
- InstreamForeignObject ifo, int ipd) {
- return LineArea.makeForeignObjectArea(ifo, this, ipd);
+ InstreamForeignObject ifo, int ipd, RetrieveMarker retrieveMarker) {
+ return LineArea.makeForeignObjectArea(ifo, this, ipd, retrieveMarker);
}
public org.axsl.areaW.ExternalGraphicArea makeExternalGraphicArea(
- ExternalGraphic ifo, int ipd) {
- return LineArea.makeExternalGraphicArea(ifo, this, ipd);
+ ExternalGraphic ifo, int ipd, RetrieveMarker retrieveMarker) {
+ return LineArea.makeExternalGraphicArea(ifo, this, ipd, retrieveMarker);
}
public org.axsl.areaW.LeaderArea makeLeaderArea(
- Leader leader, int ipd) {
- return LineArea.makeLeaderArea(leader, this, ipd);
+ Leader leader, int ipd, RetrieveMarker retrieveMarker) {
+ return LineArea.makeLeaderArea(leader, this, ipd, retrieveMarker);
}
public org.axsl.areaW.PageNumberArea makePageNumberArea(
- PageNumber pageNumber, int ipd) {
- return LineArea.makePageNumberArea(pageNumber, this, ipd);
+ PageNumber pageNumber, int ipd, RetrieveMarker retrieveMarker) {
+ return LineArea.makePageNumberArea(pageNumber, this, ipd,
+ retrieveMarker);
}
public org.axsl.areaW.PageNumberCitationArea makePageNumberCitationArea(
- PageNumberCitation citation, int ipd) {
- return LineArea.makePageNumberCitationArea(citation, this, ipd);
+ PageNumberCitation citation, int ipd,
+ RetrieveMarker retrieveMarker) {
+ return LineArea.makePageNumberCitationArea(citation, this, ipd,
+ retrieveMarker);
}
/**
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2006-06-12 23:26:56 UTC (rev 7546)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2006-06-13 00:12:23 UTC (rev 7547)
@@ -49,8 +49,9 @@
// Whether the line has already had the leader sizes adjusted.
private boolean optimized = false;
- public LineArea(FObj generatedBy, NormalBlockArea parentArea) {
- super(generatedBy, parentArea);
+ public LineArea(FObj generatedBy, NormalBlockArea parentArea,
+ RetrieveMarker retrieveMarker) {
+ super(generatedBy, parentArea, retrieveMarker);
/* The progression dimension used is exactly equal to the size of the
* em-box, i.e. exactly equal to the font-size. */
this.setProgressionDimension(this.traitFontSize());
@@ -776,29 +777,35 @@
}
public static org.axsl.areaW.ForeignObjectArea makeForeignObjectArea(
- InstreamForeignObject ifo, Area parentArea, int ipd) {
- return new ForeignObjectArea(ifo, parentArea, ipd);
+ InstreamForeignObject ifo, Area parentArea, int ipd,
+ RetrieveMarker retrieveMarker) {
+ return new ForeignObjectArea(ifo, parentArea, retrieveMarker, ipd);
}
public static org.axsl.areaW.ExternalGraphicArea makeExternalGraphicArea(
- ExternalGraphic ifo, Area parentArea, int ipd) {
- return new ExternalGraphicArea(ifo, parentArea, ipd);
+ ExternalGraphic ifo, Area parentArea, int ipd,
+ RetrieveMarker retrieveMarker) {
+ return new ExternalGraphicArea(ifo, parentArea, retrieveMarker, ipd);
}
public static org.axsl.areaW.LeaderArea makeLeaderArea(
- Leader leader, Area parentArea, int ipd) {
- return new LeaderArea(leader, parentArea, ipd);
+ Leader leader, Area parentArea, int ipd,
+ RetrieveMarker retrieveMarker) {
+ return new LeaderArea(leader, parentArea, retrieveMarker, ipd);
}
public static org.axsl.areaW.PageNumberArea makePageNumberArea(
- PageNumber pageNumber, Area parentArea, int ipd) {
- return new PageNumberArea(pageNumber, parentArea, ipd);
+ PageNumber pageNumber, Area parentArea, int ipd,
+ RetrieveMarker retrieveMarker) {
+ return new PageNumberArea(pageNumber, parentArea, retrieveMarker, ipd);
}
public static org.axsl.areaW.PageNumberCitationArea
makePageNumberCitationArea(
- PageNumberCitation citation, Area parentArea, int ipd) {
- return new PageNumberCitationArea(citation, parentArea, ipd);
+ PageNumberCitation citation, Area parentArea, int ipd,
+ RetrieveMarker retrieveMarker) {
+ return new PageNumberCitationArea(citation, parentArea, retrieveMarker,
+ ipd);
}
public static org.axsl.areaW.TextArea makeTextArea(FOTextContent foText,
@@ -832,28 +839,31 @@
}
public org.axsl.areaW.ForeignObjectArea makeForeignObjectArea(
- InstreamForeignObject ifo, int ipd) {
- return LineArea.makeForeignObjectArea(ifo, this, ipd);
+ InstreamForeignObject ifo, int ipd, RetrieveMarker retrieveMarker) {
+ return LineArea.makeForeignObjectArea(ifo, this, ipd, retrieveMarker);
}
public org.axsl.areaW.ExternalGraphicArea makeExternalGraphicArea(
- ExternalGraphic ifo, int ipd) {
- return LineArea.makeExternalGraphicArea(ifo, this, ipd);
+ ExternalGraphic ifo, int ipd, RetrieveMarker retrieveMarker) {
+ return LineArea.makeExternalGraphicArea(ifo, this, ipd, retrieveMarker);
}
public org.axsl.areaW.LeaderArea makeLeaderArea(
- ...
[truncated message content] |