From: Peter Bernard West Date: Sat, 24 Jul 2004 04:16:24 +0000 (+0000) Subject: Now extends BlockReferenceArea. X-Git-Tag: Defoe_export~34 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ba3cdf54c45bde19327645e6344a69deb2ed0d37;p=xmlgraphics-fop.git Now extends BlockReferenceArea. clone() removed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197816 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/area/PageRefArea.java b/src/java/org/apache/fop/area/PageRefArea.java index caedfa9a2..094e9ec93 100644 --- a/src/java/org/apache/fop/area/PageRefArea.java +++ b/src/java/org/apache/fop/area/PageRefArea.java @@ -31,7 +31,7 @@ import org.apache.fop.fo.flow.FoPageSequence; * @version $Revision$ $Name$ */ public class PageRefArea -extends AbstractReferenceArea +extends BlockReferenceArea implements ReferenceArea, Serializable { // contains before, start, body, end and after regions private RegionBodyVport regionBodyVport = null; @@ -155,33 +155,6 @@ implements ReferenceArea, Serializable { public void setRegionStartVport(RegionStartVport regionStart) { regionStartVport = regionStart; } - - /** - * Clone this page. - * This returns a new page with a clone of all the regions. - * - * @return a new clone of this page - */ - public Object clone() { - PageRefArea p = (PageRefArea)(this.clone()); - if (regionBodyVport != null) { - p.regionBodyVport = (RegionBodyVport)regionBodyVport.clone(); - } - if (regionBeforeVport != null) { - p.regionBeforeVport = (RegionBeforeVport)regionBeforeVport.clone(); - } - if (regionAfterVport != null) { - p.regionAfterVport = (RegionAfterVport)regionAfterVport.clone(); - } - if (regionStartVport != null) { - p.regionStartVport = (RegionStartVport)regionStartVport.clone(); - } - if (regionEndVport != null) { - p.regionEndVport = (RegionEndVport)regionEndVport.clone(); - } - - return p; - } }