From 395eccf6d6804957772d303c597379f15e7121eb Mon Sep 17 00:00:00 2001 From: Peter Bernard West Date: Thu, 17 Jun 2004 11:21:18 +0000 Subject: [PATCH] Added InlineBorderRectangle implementing AllocationRectangle for large-allocation-rectangle git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197726 13f79535-47bb-0310-9956-ffa450edef68 --- .../area/inline/InlineBorderRectangle.java | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 src/java/org/apache/fop/area/inline/InlineBorderRectangle.java diff --git a/src/java/org/apache/fop/area/inline/InlineBorderRectangle.java b/src/java/org/apache/fop/area/inline/InlineBorderRectangle.java new file mode 100644 index 000000000..953b4427c --- /dev/null +++ b/src/java/org/apache/fop/area/inline/InlineBorderRectangle.java @@ -0,0 +1,75 @@ +/* + * + * 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 17/06/2004 + * $Id$ + */ +package org.apache.fop.area.inline; + +import java.awt.geom.Point2D; +import java.awt.geom.Rectangle2D; + +import org.apache.fop.area.AllocationRectangle; +import org.apache.fop.area.Area; +import org.apache.fop.area.BorderRectangle; +import org.apache.fop.area.PaddingRectangle; + + +/** + * @author pbw + * @version $Revision$ $Name$ + */ +public class InlineBorderRectangle extends BorderRectangle implements + AllocationRectangle { + + /** + * @param area + * @param content + */ + public InlineBorderRectangle(Area area, PaddingRectangle content) { + super(area, content); + // TODO Auto-generated constructor stub + } + + /** + * @param area + * @param ipOffset + * @param bpOffset + * @param ipDim + * @param bpDim + * @param contents + * @param contentOffset + */ + public InlineBorderRectangle(Area area, double ipOffset, double bpOffset, + double ipDim, double bpDim, PaddingRectangle contents, + Point2D contentOffset) { + super(area, ipOffset, bpOffset, ipDim, bpDim, contents, contentOffset); + // TODO Auto-generated constructor stub + } + + /** + * @param area + * @param rect + * @param contents + * @param contentOffset + */ + public InlineBorderRectangle(Area area, Rectangle2D rect, + PaddingRectangle contents, Point2D contentOffset) { + super(area, rect, contents, contentOffset); + // TODO Auto-generated constructor stub + } + +} -- 2.39.5