import org.apache.fop.datastructs.Node;
import org.apache.fop.datastructs.SyncedNode;
+/**
+ * @author pbw
+ * @version $Revision$ $Name$
+ */
+/**
+ * @author pbw
+ * @version $Revision$ $Name$
+ */
/**
* The base class for all areas. <code>Area</code> extends <code>Node</code>
* because all areas will find themselves in a tree of some kind.
* @author pbw
* @version $Revision$ $Name$
*/
-public class Area extends SyncedNode {
+public class Area extends SyncedNode implements Cloneable {
+ /** Current inline progression dimension. May be unknown. */
protected Integer iPDim = null;
+ /** Maximum required inline progression dimension. May be unknown. */
protected Integer iPDimMax = null;
+ /** Mimimum required inline progression dimension. May be unknown. */
protected Integer iPDimMin = null;
+ /** Current block progression dimension. May be unknown. */
protected Integer bPDim = null;
+ /** Maximum required block progression dimension. May be unknown. */
protected Integer bPDimMax = null;
+ /** Mimimum required block progression dimension. May be unknown. */
protected Integer bPDimMin = null;
/**
// TODO Auto-generated constructor stub
}
+ /**
+ * @return the bPDim
+ */
+ public Integer getBPDim() {
+ return bPDim;
+ }
+
+ /**
+ * @param dim to set
+ */
+ public void setBPDim(Integer dim) {
+ bPDim = dim;
+ }
+
+ /**
+ * @return the bPDimMax
+ */
+ public Integer getBPDimMax() {
+ return bPDimMax;
+ }
+
+ /**
+ * @param dimMax to set
+ */
+ public void setBPDimMax(Integer dimMax) {
+ bPDimMax = dimMax;
+ }
+
+ /**
+ * @return the bPDimMin
+ */
+ public Integer getBPDimMin() {
+ return bPDimMin;
+ }
+
+ /**
+ * @param dimMin to set
+ */
+ public void setBPDimMin(Integer dimMin) {
+ bPDimMin = dimMin;
+ }
+
+ /**
+ * @return the iPDim
+ */
+ public Integer getIPDim() {
+ return iPDim;
+ }
+
+ /**
+ * @param dim to set
+ */
+ public void setIPDim(Integer dim) {
+ iPDim = dim;
+ }
+
+ /**
+ * @return the iPDimMax
+ */
+ public Integer getIPDimMax() {
+ return iPDimMax;
+ }
+
+ /**
+ * @param dimMax to set
+ */
+ public void setIPDimMax(Integer dimMax) {
+ iPDimMax = dimMax;
+ }
+
+ /**
+ * @return the iPDimMin
+ */
+ public Integer getIPDimMin() {
+ return iPDimMin;
+ }
+
+ /**
+ * @param dimMin to set
+ */
+ public void setIPDimMin(Integer dimMin) {
+ iPDimMin = dimMin;
+ }
+
}
* @author pbw
* @version $Revision$ $Name$
*/
-public interface ReferenceArea {
+public interface ReferenceArea extends Cloneable {
+ /**
+ * Set the Coordinate Transformation Matrix which transforms content
+ * coordinates in this reference area which are specified in
+ * terms of "start" and "before" into coordinates in a system which
+ * is positioned in "absolute" directions (with origin at lower left of
+ * the reference area.
+ *
+ * @param matrix the current transform to position this region
+ */
+ public void setCoordTransformer(CoordTransformer matrix);
+
+ /**
+ * Get the current transformer of this reference area.
+ *
+ * @return the current transformer to position this reference area.
+ */
+ public CoordTransformer getCoordTransformer();
+
}
*/
package org.apache.fop.area.inline;
+import org.apache.fop.area.AbstractReferenceArea;
import org.apache.fop.area.ReferenceArea;
import org.apache.fop.datastructs.Node;
* @author pbw
* @version $Revision$ $Name$
*/
-public class InlineContainer extends InlineArea implements ReferenceArea {
+public class InlineContainer
+extends AbstractReferenceArea
+implements ReferenceArea {
/**
* @param parent