aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area/inline/InlineParent.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/area/inline/InlineParent.java')
-rw-r--r--src/java/org/apache/fop/area/inline/InlineParent.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/java/org/apache/fop/area/inline/InlineParent.java b/src/java/org/apache/fop/area/inline/InlineParent.java
index 1be3aff0f..cc2dd577c 100644
--- a/src/java/org/apache/fop/area/inline/InlineParent.java
+++ b/src/java/org/apache/fop/area/inline/InlineParent.java
@@ -64,7 +64,7 @@ public class InlineParent extends InlineArea {
if (autoSize) {
increaseIPD(childArea.getAllocIPD());
}
- updateLevel ( childArea.getBidiLevel() );
+ updateLevel (childArea.getBidiLevel());
int childOffset = childArea.getVirtualOffset();
minChildOffset = Math.min(minChildOffset, childOffset);
maxAfterEdge = Math.max(maxAfterEdge, childOffset + childArea.getVirtualBPD());
@@ -114,10 +114,10 @@ public class InlineParent extends InlineArea {
}
@Override
- public List collectInlineRuns ( List runs ) {
- for ( Iterator<InlineArea> it = getChildAreas().iterator(); it.hasNext();) {
+ public List collectInlineRuns (List runs) {
+ for (Iterator<InlineArea> it = getChildAreas().iterator(); it.hasNext();) {
InlineArea ia = it.next();
- runs = ia.collectInlineRuns ( runs );
+ runs = ia.collectInlineRuns (runs);
}
return runs;
}
@@ -127,20 +127,20 @@ public class InlineParent extends InlineArea {
* signalling that they will inherit the level of their parent text area.
*/
public void resetChildrenLevel() {
- for ( Iterator it = inlines.iterator(); it.hasNext();) {
- ( (InlineArea) it.next() ) .resetBidiLevel();
+ for (Iterator it = inlines.iterator(); it.hasNext();) {
+ ((InlineArea) it.next()) .resetBidiLevel();
}
}
- private void updateLevel ( int newLevel ) {
- if ( newLevel >= 0 ) {
+ private void updateLevel (int newLevel) {
+ if (newLevel >= 0) {
int curLevel = getBidiLevel();
- if ( curLevel >= 0 ) {
- if ( newLevel < curLevel ) {
- setBidiLevel ( newLevel );
+ if (curLevel >= 0) {
+ if (newLevel < curLevel) {
+ setBidiLevel (newLevel);
}
} else {
- setBidiLevel ( newLevel );
+ setBidiLevel (newLevel);
}
}
}