diff options
author | Keiron Liddle <keiron@apache.org> | 2002-07-15 09:10:31 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-07-15 09:10:31 +0000 |
commit | 377e152a0e3d506d717d36dee9c6eea92cfaeaf9 (patch) | |
tree | 4e66a37b96b6892d39e8e8279324409dbf414862 | |
parent | 48a295f5ff14c037a3911620ac0aeab7341d2d29 (diff) | |
download | xmlgraphics-fop-377e152a0e3d506d717d36dee9c6eea92cfaeaf9.tar.gz xmlgraphics-fop-377e152a0e3d506d717d36dee9c6eea92cfaeaf9.zip |
no longer needed
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194998 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/org/apache/fop/fo/Status.java | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/src/org/apache/fop/fo/Status.java b/src/org/apache/fop/fo/Status.java deleted file mode 100644 index 58f14c153..000000000 --- a/src/org/apache/fop/fo/Status.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * $Id$ - * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. - * For details on use and redistribution please refer to the - * LICENSE file included with these sources. - */ - -package org.apache.fop.fo; - -/** - * classes representating the status of laying out a formatting object - */ -public class Status { - - protected int code; - - public final static int OK = 1; - public final static int AREA_FULL_NONE = 2; - public final static int AREA_FULL_SOME = 3; - public final static int FORCE_PAGE_BREAK = 4; - public final static int FORCE_PAGE_BREAK_EVEN = 5; - public final static int FORCE_PAGE_BREAK_ODD = 6; - public final static int FORCE_COLUMN_BREAK = 7; - public final static int KEEP_WITH_NEXT = 8; - - public Status(int code) { - this.code = code; - } - - public int getCode() { - return this.code; - } - - public boolean isIncomplete() { - return ((this.code != OK) && (this.code != KEEP_WITH_NEXT)); - } - - public boolean laidOutNone() { - return (this.code == AREA_FULL_NONE); - } - - public boolean isPageBreak() { - return ((this.code == FORCE_PAGE_BREAK) - || (this.code == FORCE_PAGE_BREAK_EVEN) - || (this.code == FORCE_PAGE_BREAK_ODD)); - } - -} |