diff options
Diffstat (limited to 'src/java/org/apache/fop/fo')
19 files changed, 293 insertions, 40 deletions
diff --git a/src/java/org/apache/fop/fo/Constants.java b/src/java/org/apache/fop/fo/Constants.java index ac3d8ad15..52be6267f 100644 --- a/src/java/org/apache/fop/fo/Constants.java +++ b/src/java/org/apache/fop/fo/Constants.java @@ -1,4 +1,5 @@ -/* $Id$ +/* + * $Id$ * ============================================================================ * The Apache Software License, Version 1.1 * ============================================================================ @@ -46,12 +47,22 @@ * on behalf of the Apache Software Foundation and was originally created by * James Tauber <jtauber@jtauber.com>. For more information on the Apache * Software Foundation, please see <http://www.apache.org/>. -*/ + */ + package org.apache.fop.fo; +import org.apache.fop.fo.properties.GenericBoolean; +import org.apache.fop.fo.properties.GenericBorderStyle; +import org.apache.fop.fo.properties.GenericBreak; +import org.apache.fop.fo.properties.GenericCondBorderWidth; +import org.apache.fop.fo.properties.GenericCondPadding; +import org.apache.fop.fo.properties.GenericKeep; +import org.apache.fop.fo.properties.GenericSpace; + public interface Constants { // element constants + int FO_BASIC_LINK = 1; int FO_BIDI_OVERRIDE = 2; int FO_BLOCK = 3; @@ -110,12 +121,15 @@ public interface Constants { int FO_WRAPPER = 56; int ELEMENT_COUNT = 56; + // Masks int COMPOUND_SHIFT = 9; int PROPERTY_MASK = (1 << COMPOUND_SHIFT)-1; int COMPOUND_MASK = ~PROPERTY_MASK; - + int COMPOUND_COUNT = 11; + // property constants + int PR_ABSOLUTE_POSITION = 1; int PR_ACTIVE_STATE = 2; int PR_ALIGNMENT_ADJUST = 3; @@ -365,7 +379,9 @@ public interface Constants { int PR_Z_INDEX = 247; int PROPERTY_COUNT = 247; + // compound property constants + int CP_BLOCK_PROGRESSION_DIRECTION = 1 << COMPOUND_SHIFT; int CP_CONDITIONALITY = 2 << COMPOUND_SHIFT; int CP_INLINE_PROGRESSION_DIRECTION = 3 << COMPOUND_SHIFT; @@ -379,6 +395,7 @@ public interface Constants { int CP_WITHIN_PAGE = 11 << COMPOUND_SHIFT; // Enumeration constants + int ABSOLUTE = 1; int ABSOLUTE_COLORMETRIC = 2; int AFTER = 3; @@ -486,4 +503,269 @@ public interface Constants { int VISIBLE = 105; int WRAP = 106; + // Enumeration Interfaces + + public interface AbsolutePosition { + int AUTO = Constants.AUTO; + int FIXED = Constants.FIXED; + int ABSOLUTE = Constants.ABSOLUTE; } + + public interface BackgroundRepeat { + int REPEAT = Constants.REPEAT; + int REPEATX = Constants.REPEATX; + int REPEATY = Constants.REPEATY; + int NOREPEAT = Constants.NOREPEAT; } + + public interface BorderBeforeStyle extends GenericBorderStyle.Enums { } + + public interface BorderBeforeWidth extends GenericCondBorderWidth.Enums { } + + public interface BorderAfterStyle extends GenericBorderStyle.Enums { } + + public interface BorderAfterWidth extends GenericCondBorderWidth.Enums { } + + public interface BorderStartStyle extends GenericBorderStyle.Enums { } + + public interface BorderStartWidth extends GenericCondBorderWidth.Enums { } + + public interface BorderEndStyle extends GenericBorderStyle.Enums { } + + public interface BorderEndWidth extends GenericCondBorderWidth.Enums { } + + public interface BorderTopStyle extends GenericBorderStyle.Enums { } + + public interface BorderBottomStyle extends GenericBorderStyle.Enums { } + + public interface BorderLeftStyle extends GenericBorderStyle.Enums { } + + public interface BorderRightStyle extends GenericBorderStyle.Enums { } + + public interface PaddingBefore extends GenericCondPadding.Enums { } + + public interface PaddingAfter extends GenericCondPadding.Enums { } + + public interface PaddingStart extends GenericCondPadding.Enums { } + + public interface PaddingEnd extends GenericCondPadding.Enums { } + + public interface FontVariant { + int NORMAL = Constants.NORMAL; + int SMALL_CAPS = Constants.SMALL_CAPS; } + + public interface Hyphenate { + int TRUE = Constants.TRUE; + int FALSE = Constants.FALSE; } + + public interface SpaceBefore extends GenericSpace.Enums { } + + public interface SpaceAfter extends GenericSpace.Enums { } + + public interface SpaceEnd extends GenericSpace.Enums { } + + public interface SpaceStart extends GenericSpace.Enums { } + + public interface BaselineShift { + int BASELINE = Constants.BASELINE; + int SUB = Constants.SUB; + int SUPER = Constants.SUPER; } + + public interface DisplayAlign { + int BEFORE = Constants.BEFORE; + int AFTER = Constants.AFTER; + int CENTER = Constants.CENTER; + int AUTO = Constants.AUTO; } + + public interface RelativeAlign { + int BEFORE = Constants.BEFORE; + int BASELINE = Constants.BASELINE; } + + public interface Scaling { + int UNIFORM = Constants.UNIFORM; + int NON_UNIFORM = Constants.NON_UNIFORM; } + + public interface LinefeedTreatment { + int IGNORE = Constants.IGNORE; + int PRESERVE = Constants.PRESERVE; + int TREAT_AS_SPACE = Constants.TREAT_AS_SPACE; + int TREAT_AS_ZERO_WIDTH_SPACE = Constants.TREAT_AS_ZERO_WIDTH_SPACE; } + + public interface TextAlign { + int CENTER = Constants.CENTER; + int END = Constants.END; + int START = Constants.START; + int JUSTIFY = Constants.JUSTIFY; } + + public interface TextAlignLast { + int CENTER = Constants.CENTER; + int END = Constants.END; + int START = Constants.START; + int JUSTIFY = Constants.JUSTIFY; } + + public interface WhiteSpaceCollapse extends GenericBoolean.Enums { } + + public interface WrapOption { + int WRAP = Constants.WRAP; + int NO_WRAP = Constants.NO_WRAP; } + + public interface TextDecoration { + int NONE = Constants.NONE; + int UNDERLINE = Constants.UNDERLINE; + int OVERLINE = Constants.OVERLINE; + int LINE_THROUGH = Constants.LINE_THROUGH; + int BLINK = Constants.BLINK; + int NO_UNDERLINE = Constants.NO_UNDERLINE; + int NO_OVERLINE = Constants.NO_OVERLINE; + int NO_LINE_THROUGH = Constants.NO_LINE_THROUGH; + int NO_BLINK = Constants.NO_BLINK; } + + public interface TextTransform { + int NONE = Constants.NONE; + int CAPITALIZE = Constants.CAPITALIZE; + int UPPERCASE = Constants.UPPERCASE; + int LOWERCASE = Constants.LOWERCASE; } + + public interface WordSpacing extends GenericSpace.Enums { } + + public interface RenderingIntent { + int AUTO = Constants.AUTO; + int PERCEPTUAL = Constants.PERCEPTUAL; + int RELATIVE_COLOMETRIC = Constants.RELATIVE_COLOMETRIC; + int SATURATION = Constants.SATURATION; + int ABSOLUTE_COLORMETRIC = Constants.ABSOLUTE_COLORMETRIC; } + + public interface BreakAfter extends GenericBreak.Enums { } + + public interface BreakBefore extends GenericBreak.Enums { } + + public interface KeepTogether extends GenericKeep.Enums { } + + public interface KeepWithNext extends GenericKeep.Enums { } + + public interface KeepWithPrevious extends GenericKeep.Enums { } + + public interface Overflow { + int VISIBLE = Constants.VISIBLE; + int HIDDEN = Constants.HIDDEN; + int SCROLL = Constants.SCROLL; + int ERROR_IF_OVERFLOW = Constants.ERROR_IF_OVERFLOW; + int AUTO = Constants.AUTO; } + +/* public interface Span { conflicts with Area.Span + int NONE = Constants.NONE; + int ALL = Constants.ALL; } */ + + public interface LeaderAlignment { + int NONE = Constants.NONE; + int REFERENCE_AREA = Constants.REFERENCE_AREA; + int PAGE = Constants.PAGE; } + + public interface LeaderPattern { + int SPACE = Constants.SPACE; + int RULE = Constants.RULE; + int DOTS = Constants.DOTS; + int USECONTENT = Constants.USECONTENT; } + + public interface RuleStyle { + int NONE = Constants.NONE; + int DOTTED = Constants.DOTTED; + int DASHED = Constants.DASHED; + int SOLID = Constants.SOLID; + int DOUBLE = Constants.DOUBLE; + int GROOVE = Constants.GROOVE; + int RIDGE = Constants.RIDGE; } + + public interface RetrievePosition { + int FSWP = Constants.FSWP; + int FIC = Constants.FIC; + int LSWP = Constants.LSWP; + int LEWP = Constants.LEWP; } + + public interface RetrieveBoundary { + int PAGE = Constants.PAGE; + int PAGE_SEQUENCE = Constants.PAGE_SEQUENCE; + int DOCUMENT = Constants.DOCUMENT; } + + public interface LetterValue { + int ALPHABETIC = Constants.ALPHABETIC; + int TRADITIONAL = Constants.TRADITIONAL; + int AUTO = Constants.AUTO; } + + public interface BlankOrNotBlank { + int BLANK = Constants.BLANK; + int NOT_BLANK = Constants.NOT_BLANK; + int ANY = Constants.ANY; } + + public interface ForcePageCount { + int EVEN = Constants.EVEN; + int ODD = Constants.ODD; + int END_ON_EVEN = Constants.END_ON_EVEN; + int END_ON_ODD = Constants.END_ON_ODD; + int NO_FORCE = Constants.NO_FORCE; + int AUTO = Constants.AUTO; } + + public interface OddOrEven { + int ODD = Constants.ODD; + int EVEN = Constants.EVEN; + int ANY = Constants.ANY; } + + public interface PagePosition { + int FIRST = Constants.FIRST; + int LAST = Constants.LAST; + int REST = Constants.REST; + int ANY = Constants.ANY; } + + public interface Precedence { + int TRUE = Constants.TRUE; + int FALSE = Constants.FALSE; } + + public interface BorderCollapse { + int SEPARATE = Constants.SEPARATE; + int COLLAPSE = Constants.COLLAPSE; } + + public interface CaptionSide { + int BEFORE = Constants.BEFORE; + int AFTER = Constants.AFTER; + int START = Constants.START; + int END = Constants.END; + int TOP = Constants.TOP; + int BOTTOM = Constants.BOTTOM; + int LEFT = Constants.LEFT; + int RIGHT = Constants.RIGHT; } + + public interface TableLayout { + int AUTO = Constants.AUTO; + int FIXED = Constants.FIXED; } + + public interface TableOmitFooterAtBreak extends GenericBoolean.Enums { } + + public interface TableOmitHeaderAtBreak extends GenericBoolean.Enums { } + + public interface WritingMode { + int LR_TB = Constants.LR_TB; + int RL_TB = Constants.RL_TB; + int TB_RL = Constants.TB_RL; } + +/* public interface Position { conflicts with layoutmgr.Position + int STATIC = Constants.STATIC; + int RELATIVE = Constants.RELATIVE; + int ABSOLUTE = Constants.ABSOLUTE; + int FIXED = Constants.FIXED; } */ + + public interface VerticalAlign { + int BASELINE = Constants.BASELINE; + int MIDDLE = Constants.MIDDLE; + int SUB = Constants.SUB; + int SUPER = Constants.SUPER; + int TEXT_TOP = Constants.TEXT_TOP; + int TEXT_BOTTOM = Constants.TEXT_BOTTOM; + int TOP = Constants.TOP; + int BOTTOM = Constants.BOTTOM; } + + public interface WhiteSpaceTreatment { + int IGNORE = Constants.IGNORE; + int PRESERVE = Constants.PRESERVE; + int IGNORE_IF_BEFORE_LINEFEED = Constants.IGNORE_IF_BEFORE_LINEFEED; + int IGNORE_IF_AFTER_LINEFEED = Constants.IGNORE_IF_AFTER_LINEFEED; + int IGNORE_IF_SURROUNDING_LINEFEED = Constants.IGNORE_IF_SURROUNDING_LINEFEED; } + } diff --git a/src/java/org/apache/fop/fo/FOText.java b/src/java/org/apache/fop/fo/FOText.java index 91a346e58..5243c0560 100644 --- a/src/java/org/apache/fop/fo/FOText.java +++ b/src/java/org/apache/fop/fo/FOText.java @@ -54,10 +54,8 @@ package org.apache.fop.fo; import java.util.NoSuchElementException; // FOP -import org.apache.fop.fo.properties.WhiteSpaceCollapse; import org.apache.fop.fo.flow.Block; import org.apache.fop.fo.pagination.Root; -import org.apache.fop.fo.properties.TextTransform; /** * A text node in the formatting object tree. diff --git a/src/java/org/apache/fop/fo/PropertyList.java b/src/java/org/apache/fop/fo/PropertyList.java index b0935d42d..03660cc78 100644 --- a/src/java/org/apache/fop/fo/PropertyList.java +++ b/src/java/org/apache/fop/fo/PropertyList.java @@ -58,7 +58,6 @@ import org.xml.sax.Attributes; import org.apache.fop.apps.FOPException; import org.apache.fop.fo.Property.Maker; import org.apache.fop.fo.properties.FOPropertyMapping; -import org.apache.fop.fo.properties.WritingMode; /** @@ -110,15 +109,15 @@ public class PropertyList extends HashMap { private static final HashMap WRITING_MODE_TABLES = new HashMap(4); { - WRITING_MODE_TABLES.put(new Integer(WritingMode.LR_TB), /* lr-tb */ + WRITING_MODE_TABLES.put(new Integer(Constants.WritingMode.LR_TB), /* lr-tb */ new byte[] { START, END, BEFORE, AFTER, BLOCKPROGDIM, INLINEPROGDIM }); - WRITING_MODE_TABLES.put(new Integer(WritingMode.RL_TB), /* rl-tb */ + WRITING_MODE_TABLES.put(new Integer(Constants.WritingMode.RL_TB), /* rl-tb */ new byte[] { END, START, BEFORE, AFTER, BLOCKPROGDIM, INLINEPROGDIM }); - WRITING_MODE_TABLES.put(new Integer(WritingMode.TB_RL), /* tb-rl */ + WRITING_MODE_TABLES.put(new Integer(Constants.WritingMode.TB_RL), /* tb-rl */ new byte[] { AFTER, BEFORE, START, END, INLINEPROGDIM, BLOCKPROGDIM }); @@ -385,9 +384,9 @@ public class PropertyList extends HashMap { */ public int wmMap(int lrtb, int rltb, int tbrl) { switch (writingMode) { - case WritingMode.LR_TB: return lrtb; - case WritingMode.RL_TB: return rltb; - case WritingMode.TB_RL: return tbrl; + case Constants.WritingMode.LR_TB: return lrtb; + case Constants.WritingMode.RL_TB: return rltb; + case Constants.WritingMode.TB_RL: return tbrl; } return -1; } diff --git a/src/java/org/apache/fop/fo/PropertyManager.java b/src/java/org/apache/fop/fo/PropertyManager.java index aef23a39c..cbb5f98fc 100644 --- a/src/java/org/apache/fop/fo/PropertyManager.java +++ b/src/java/org/apache/fop/fo/PropertyManager.java @@ -64,7 +64,6 @@ import org.apache.fop.traits.BlockProps; import org.apache.fop.traits.InlineProps; import org.apache.fop.traits.SpaceVal; import org.apache.fop.traits.LayoutProps; // keep, break, span, space? -import org.apache.fop.fo.properties.Span; import org.apache.fop.fonts.FontMetrics; import org.apache.fop.fo.properties.CommonHyphenation; @@ -454,7 +453,7 @@ public class PropertyManager implements Constants { LayoutProps props = new LayoutProps(); props.breakBefore = this.propertyList.get(PR_BREAK_BEFORE).getEnum(); props.breakAfter = this.propertyList.get(PR_BREAK_AFTER).getEnum(); - props.bIsSpan = (this.propertyList.get(PR_SPAN).getEnum() == Span.ALL); + props.bIsSpan = (this.propertyList.get(PR_SPAN).getEnum() == Constants.ALL); props.spaceBefore = new SpaceVal( this.propertyList.get(PR_SPACE_BEFORE).getSpace()); props.spaceAfter = new SpaceVal( diff --git a/src/java/org/apache/fop/fo/TextInfo.java b/src/java/org/apache/fop/fo/TextInfo.java index a84ab6c3c..23b7a57d7 100644 --- a/src/java/org/apache/fop/fo/TextInfo.java +++ b/src/java/org/apache/fop/fo/TextInfo.java @@ -54,7 +54,6 @@ package org.apache.fop.fo; import org.apache.fop.fonts.Font; import org.apache.fop.datatypes.ColorType; import org.apache.fop.traits.SpaceVal; -import org.apache.fop.fo.properties.TextTransform; /** * Collection of properties used in @@ -75,7 +74,7 @@ public class TextInfo { /** fo:line-height property */ public int lineHeight; /** fo:text-transform property */ - public int textTransform = TextTransform.NONE; + public int textTransform = Constants.TextTransform.NONE; // Props used for calculating inline-progression-dimension /** fo:word-spacing property */ diff --git a/src/java/org/apache/fop/fo/flow/ExternalGraphic.java b/src/java/org/apache/fop/fo/flow/ExternalGraphic.java index dbead8df8..e7e6085b7 100644 --- a/src/java/org/apache/fop/fo/flow/ExternalGraphic.java +++ b/src/java/org/apache/fop/fo/flow/ExternalGraphic.java @@ -58,10 +58,6 @@ import org.apache.fop.apps.FOPException; import org.apache.fop.fo.FONode; import org.apache.fop.fo.FObj; import org.apache.fop.fo.FOTreeVisitor; -import org.apache.fop.fo.properties.TextAlign; -import org.apache.fop.fo.properties.Overflow; -import org.apache.fop.fo.properties.DisplayAlign; -import org.apache.fop.fo.properties.Scaling; import org.apache.fop.image.ImageFactory; import org.apache.fop.image.FopImage; import org.apache.fop.datatypes.Length; diff --git a/src/java/org/apache/fop/fo/flow/Inline.java b/src/java/org/apache/fop/fo/flow/Inline.java index 071e02550..a49d880a2 100644 --- a/src/java/org/apache/fop/fo/flow/Inline.java +++ b/src/java/org/apache/fop/fo/flow/Inline.java @@ -59,7 +59,6 @@ import org.apache.fop.fo.FONode; import org.apache.fop.fo.FObjMixed; import org.apache.fop.fo.InlineCharIterator; import org.apache.fop.fo.FOTreeVisitor; -import org.apache.fop.fo.properties.TextDecoration; import org.apache.fop.fo.properties.CommonAccessibility; import org.apache.fop.fo.properties.CommonAural; import org.apache.fop.fo.properties.CommonBackground; diff --git a/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java b/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java index 1987dec13..0a01806d9 100644 --- a/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java +++ b/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java @@ -53,8 +53,6 @@ package org.apache.fop.fo.flow; import org.apache.fop.fo.FONode; import org.apache.fop.fo.FOTreeVisitor; import org.apache.fop.fo.FObj; -import org.apache.fop.fo.properties.DisplayAlign; -import org.apache.fop.fo.properties.TextAlign; /** * The instream-foreign-object flow formatting object. diff --git a/src/java/org/apache/fop/fo/flow/Leader.java b/src/java/org/apache/fop/fo/flow/Leader.java index 3bb07c739..55cb47fb6 100644 --- a/src/java/org/apache/fop/fo/flow/Leader.java +++ b/src/java/org/apache/fop/fo/flow/Leader.java @@ -63,7 +63,6 @@ import org.apache.fop.fo.properties.CommonBorderAndPadding; import org.apache.fop.fo.properties.CommonMarginInline; import org.apache.fop.fo.properties.CommonRelativePosition; import org.apache.fop.fo.properties.FOPropertyMapping; -import org.apache.fop.fo.properties.LeaderPattern; import org.apache.fop.fonts.Font; /** diff --git a/src/java/org/apache/fop/fo/flow/Table.java b/src/java/org/apache/fop/fo/flow/Table.java index c9da18dac..fbe6be427 100644 --- a/src/java/org/apache/fop/fo/flow/Table.java +++ b/src/java/org/apache/fop/fo/flow/Table.java @@ -63,9 +63,6 @@ import org.apache.fop.datatypes.LengthRange; import org.apache.fop.fo.FONode; import org.apache.fop.fo.FObj; import org.apache.fop.fo.FOTreeVisitor; -import org.apache.fop.fo.properties.TableLayout; -import org.apache.fop.fo.properties.TableOmitFooterAtBreak; -import org.apache.fop.fo.properties.TableOmitHeaderAtBreak; import org.apache.fop.fo.properties.CommonAccessibility; import org.apache.fop.fo.properties.CommonAural; import org.apache.fop.fo.properties.CommonBackground; diff --git a/src/java/org/apache/fop/fo/flow/TableCell.java b/src/java/org/apache/fop/fo/flow/TableCell.java index 461f755c2..781f5342c 100644 --- a/src/java/org/apache/fop/fo/flow/TableCell.java +++ b/src/java/org/apache/fop/fo/flow/TableCell.java @@ -59,8 +59,6 @@ import org.apache.fop.datatypes.ColorType; import org.apache.fop.fo.FONode; import org.apache.fop.fo.FObj; import org.apache.fop.fo.FOTreeVisitor; -import org.apache.fop.fo.properties.BorderCollapse; -import org.apache.fop.fo.properties.DisplayAlign; import org.apache.fop.fo.properties.CommonAccessibility; import org.apache.fop.fo.properties.CommonAural; diff --git a/src/java/org/apache/fop/fo/pagination/ConditionalPageMasterReference.java b/src/java/org/apache/fop/fo/pagination/ConditionalPageMasterReference.java index e1a74743e..ae64aeaf1 100644 --- a/src/java/org/apache/fop/fo/pagination/ConditionalPageMasterReference.java +++ b/src/java/org/apache/fop/fo/pagination/ConditionalPageMasterReference.java @@ -57,9 +57,6 @@ import org.xml.sax.Attributes; import org.apache.fop.fo.FONode; import org.apache.fop.fo.FObj; import org.apache.fop.fo.FOTreeVisitor; -import org.apache.fop.fo.properties.BlankOrNotBlank; -import org.apache.fop.fo.properties.OddOrEven; -import org.apache.fop.fo.properties.PagePosition; import org.apache.fop.apps.FOPException; /** diff --git a/src/java/org/apache/fop/fo/pagination/RegionAfter.java b/src/java/org/apache/fop/fo/pagination/RegionAfter.java index ef8a4a07c..a28975643 100644 --- a/src/java/org/apache/fop/fo/pagination/RegionAfter.java +++ b/src/java/org/apache/fop/fo/pagination/RegionAfter.java @@ -56,7 +56,6 @@ import java.awt.Rectangle; // FOP import org.apache.fop.fo.FONode; import org.apache.fop.fo.FOTreeVisitor; -import org.apache.fop.fo.properties.WritingMode; import org.apache.fop.datatypes.FODimension; /** diff --git a/src/java/org/apache/fop/fo/pagination/RegionBA.java b/src/java/org/apache/fop/fo/pagination/RegionBA.java index e9d985770..354d82cbd 100644 --- a/src/java/org/apache/fop/fo/pagination/RegionBA.java +++ b/src/java/org/apache/fop/fo/pagination/RegionBA.java @@ -55,8 +55,6 @@ import java.awt.Rectangle; // FOP import org.apache.fop.fo.FONode; -import org.apache.fop.fo.properties.Precedence; -import org.apache.fop.fo.properties.WritingMode; import org.apache.fop.fo.FOTreeVisitor; /** diff --git a/src/java/org/apache/fop/fo/pagination/RegionBefore.java b/src/java/org/apache/fop/fo/pagination/RegionBefore.java index f8df4b06c..0cc332b9c 100644 --- a/src/java/org/apache/fop/fo/pagination/RegionBefore.java +++ b/src/java/org/apache/fop/fo/pagination/RegionBefore.java @@ -52,7 +52,6 @@ package org.apache.fop.fo.pagination; // FOP import org.apache.fop.datatypes.FODimension; -import org.apache.fop.fo.properties.WritingMode; import org.apache.fop.fo.FONode; import org.apache.fop.fo.FOTreeVisitor; diff --git a/src/java/org/apache/fop/fo/pagination/RegionBody.java b/src/java/org/apache/fop/fo/pagination/RegionBody.java index 4d10a6df8..b69ac1646 100644 --- a/src/java/org/apache/fop/fo/pagination/RegionBody.java +++ b/src/java/org/apache/fop/fo/pagination/RegionBody.java @@ -61,7 +61,6 @@ import org.apache.fop.fo.Property; import org.apache.fop.fo.PropertyList; import org.apache.fop.fo.properties.CommonMarginBlock; import org.apache.fop.fo.properties.FOPropertyMapping; -import org.apache.fop.fo.properties.WritingMode; /** * The fo:region-body element. diff --git a/src/java/org/apache/fop/fo/pagination/RegionEnd.java b/src/java/org/apache/fop/fo/pagination/RegionEnd.java index 32106899c..f02bea3d2 100644 --- a/src/java/org/apache/fop/fo/pagination/RegionEnd.java +++ b/src/java/org/apache/fop/fo/pagination/RegionEnd.java @@ -56,7 +56,6 @@ import java.awt.Rectangle; // FOP import org.apache.fop.fo.FONode; import org.apache.fop.fo.FOTreeVisitor; -import org.apache.fop.fo.properties.WritingMode; import org.apache.fop.datatypes.FODimension; /** diff --git a/src/java/org/apache/fop/fo/pagination/RegionSE.java b/src/java/org/apache/fop/fo/pagination/RegionSE.java index 63af9e1ea..79502410d 100644 --- a/src/java/org/apache/fop/fo/pagination/RegionSE.java +++ b/src/java/org/apache/fop/fo/pagination/RegionSE.java @@ -56,7 +56,6 @@ import java.awt.Rectangle; // FOP import org.apache.fop.fo.FONode; import org.apache.fop.fo.FOTreeVisitor; -import org.apache.fop.fo.properties.WritingMode; /** * Abstract base class for fo:region-start and fo:region-end. diff --git a/src/java/org/apache/fop/fo/pagination/RegionStart.java b/src/java/org/apache/fop/fo/pagination/RegionStart.java index 45158c3cd..ef045334f 100644 --- a/src/java/org/apache/fop/fo/pagination/RegionStart.java +++ b/src/java/org/apache/fop/fo/pagination/RegionStart.java @@ -56,7 +56,6 @@ import java.awt.Rectangle; // FOP import org.apache.fop.fo.FONode; import org.apache.fop.fo.FOTreeVisitor; -import org.apache.fop.fo.properties.WritingMode; import org.apache.fop.datatypes.FODimension; /** |