aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/traits/WritingMode.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/traits/WritingMode.java')
-rw-r--r--src/java/org/apache/fop/traits/WritingMode.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/java/org/apache/fop/traits/WritingMode.java b/src/java/org/apache/fop/traits/WritingMode.java
index 2d87a4715..8241dcedf 100644
--- a/src/java/org/apache/fop/traits/WritingMode.java
+++ b/src/java/org/apache/fop/traits/WritingMode.java
@@ -55,13 +55,13 @@ public final class WritingMode extends TraitEnum {
* writing mode traits setter.
* @param wms a writing mode traits setter
*/
- public void assignWritingModeTraits ( WritingModeTraitsSetter wms ) {
+ public void assignWritingModeTraits (WritingModeTraitsSetter wms) {
Direction inlineProgressionDirection;
Direction blockProgressionDirection;
Direction columnProgressionDirection;
Direction rowProgressionDirection;
Direction shiftDirection;
- switch ( getEnumValue() ) {
+ switch (getEnumValue()) {
case Constants.EN_RL_TB:
inlineProgressionDirection = Direction.RL;
blockProgressionDirection = Direction.TB;
@@ -92,12 +92,12 @@ public final class WritingMode extends TraitEnum {
shiftDirection = Direction.BT;
break;
}
- wms.setInlineProgressionDirection ( inlineProgressionDirection );
- wms.setBlockProgressionDirection ( blockProgressionDirection );
- wms.setColumnProgressionDirection ( columnProgressionDirection );
- wms.setRowProgressionDirection ( rowProgressionDirection );
- wms.setShiftDirection ( shiftDirection );
- wms.setWritingMode ( this );
+ wms.setInlineProgressionDirection (inlineProgressionDirection);
+ wms.setBlockProgressionDirection (blockProgressionDirection);
+ wms.setColumnProgressionDirection (columnProgressionDirection);
+ wms.setRowProgressionDirection (rowProgressionDirection);
+ wms.setShiftDirection (shiftDirection);
+ wms.setWritingMode (this);
}
/**
@@ -105,7 +105,7 @@ public final class WritingMode extends TraitEnum {
* @return true if horizontal
*/
public boolean isHorizontal() {
- switch ( getEnumValue() ) {
+ switch (getEnumValue()) {
case Constants.EN_LR_TB:
case Constants.EN_RL_TB:
return true;