diff options
author | arved <arved@unknown> | 2000-12-27 03:50:08 +0000 |
---|---|---|
committer | arved <arved@unknown> | 2000-12-27 03:50:08 +0000 |
commit | 7fecf6931aa8013a569926ffbcc43b33a95724d0 (patch) | |
tree | f2ceceb268f4e2c2bd4764ca1cedf3ebaafeee28 /src/org/apache | |
parent | b784a48b5ddba96e35c10d23b175b6042e38a409 (diff) | |
download | xmlgraphics-fop-7fecf6931aa8013a569926ffbcc43b33a95724d0.tar.gz xmlgraphics-fop-7fecf6931aa8013a569926ffbcc43b33a95724d0.zip |
Better support for breaks
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193922 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache')
-rw-r--r-- | src/org/apache/fop/fo/Status.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/org/apache/fop/fo/Status.java b/src/org/apache/fop/fo/Status.java index 2f75c884c..5fdb0566d 100644 --- a/src/org/apache/fop/fo/Status.java +++ b/src/org/apache/fop/fo/Status.java @@ -64,7 +64,8 @@ public class Status { 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 KEEP_WITH_NEXT = 7; + public final static int FORCE_COLUMN_BREAK = 7; + public final static int KEEP_WITH_NEXT = 8; public Status(int code) { this.code = code; @@ -81,4 +82,10 @@ public class Status { 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)); + } } |