]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Supersede AbstractViewport and AbstractReferenceArea
authorPeter Bernard West <pbwest@apache.org>
Sat, 24 Jul 2004 02:50:30 +0000 (02:50 +0000)
committerPeter Bernard West <pbwest@apache.org>
Sat, 24 Jul 2004 02:50:30 +0000 (02:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197809 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/area/inline/InlineReferenceArea.java [new file with mode: 0644]
src/java/org/apache/fop/area/inline/InlineViewportArea.java [new file with mode: 0644]

diff --git a/src/java/org/apache/fop/area/inline/InlineReferenceArea.java b/src/java/org/apache/fop/area/inline/InlineReferenceArea.java
new file mode 100644 (file)
index 0000000..b3b6373
--- /dev/null
@@ -0,0 +1,67 @@
+/*
+ *
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Created on 24/07/2004
+ * $Id$
+ */
+package org.apache.fop.area.inline;
+
+import java.awt.geom.AffineTransform;
+
+import org.apache.fop.area.ReferenceArea;
+import org.apache.fop.datastructs.Node;
+import org.apache.fop.fo.FONode;
+import org.apache.fop.fo.flow.FoPageSequence;
+
+
+/**
+ * @author pbw
+ * @version $Revision$ $Name$
+ */
+public abstract class InlineReferenceArea extends InlineArea implements
+        ReferenceArea {
+    private static final String tag = "$Name$";
+    private static final String revision = "$Revision$";
+    /**
+     * @param pageSeq
+     * @param generatedBy
+     * @param parent
+     * @param sync
+     */
+    public InlineReferenceArea(FoPageSequence pageSeq, FONode generatedBy,
+            Node parent, Object sync) {
+        super(pageSeq, generatedBy, parent, sync);
+        // TODO Auto-generated constructor stub
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.fop.area.ReferenceArea#setCoordTransformer(java.awt.geom.AffineTransform)
+     */
+    public void setCoordTransformer(AffineTransform matrix) {
+        // TODO Auto-generated method stub
+
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.fop.area.ReferenceArea#getCoordTransformer()
+     */
+    public AffineTransform getCoordTransformer() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+}
+
diff --git a/src/java/org/apache/fop/area/inline/InlineViewportArea.java b/src/java/org/apache/fop/area/inline/InlineViewportArea.java
new file mode 100644 (file)
index 0000000..fa666f4
--- /dev/null
@@ -0,0 +1,82 @@
+/*
+ *
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Created on 24/07/2004
+ * $Id$
+ */
+package org.apache.fop.area.inline;
+
+import org.apache.fop.area.ReferenceArea;
+import org.apache.fop.area.Viewport;
+import org.apache.fop.datastructs.Node;
+import org.apache.fop.fo.FONode;
+import org.apache.fop.fo.flow.FoPageSequence;
+
+
+/**
+ * @author pbw
+ * @version $Revision$ $Name$
+ */
+public abstract class InlineViewportArea extends InlineArea implements Viewport {
+
+    /**
+     * @param pageSeq
+     * @param generatedBy
+     * @param parent
+     * @param sync
+     */
+    public InlineViewportArea(FoPageSequence pageSeq, FONode generatedBy,
+            Node parent, Object sync) {
+        super(pageSeq, generatedBy, parent, sync);
+        // TODO Auto-generated constructor stub
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.fop.area.Viewport#setReferenceArea(org.apache.fop.area.ReferenceArea)
+     */
+    public void setReferenceArea(ReferenceArea ref) {
+        // TODO Auto-generated method stub
+
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.fop.area.Viewport#getReferenceArea()
+     */
+    public ReferenceArea getReferenceArea() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.fop.area.Viewport#setClip(boolean)
+     */
+    public void setClip(boolean clip) {
+        // TODO Auto-generated method stub
+
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.fop.area.Viewport#getClip()
+     */
+    public boolean getClip() {
+        // TODO Auto-generated method stub
+        return false;
+    }
+
+}
+
+//private static final String tag = "$Name$";
+//private static final String revision = "$Revision$";
\ No newline at end of file