]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Brought the branch in sync with rev. r1556164 of trunk
authorVincent Hennebert <vhennebert@apache.org>
Mon, 13 Jan 2014 20:39:34 +0000 (20:39 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Mon, 13 Jan 2014 20:39:34 +0000 (20:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_InlineContainer@1557840 13f79535-47bb-0310-9956-ffa450edef68

1  2 
src/java/org/apache/fop/area/AreaTreeParser.java
src/java/org/apache/fop/fo/flow/InlineContainer.java
src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java
src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java
src/java/org/apache/fop/layoutmgr/list/ListBlockLayoutManager.java
src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java
src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java

index bcff3dc721aa14009690fedc1d0502b429440112,cf970c3255163c815295e5028a059f23e7ade4da..5c95fa34e5bc3891356ae3d47e1dbdd111110cda
@@@ -87,7 -96,8 +87,8 @@@ public class InlineContainer extends FO
          overflow = pList.get(PR_OVERFLOW).getEnum();
          referenceOrientation = pList.get(PR_REFERENCE_ORIENTATION).getNumeric();
          writingModeTraits = new WritingModeTraits(
-                 WritingMode.valueOf(pList.get(PR_WRITING_MODE).getEnum()));
 -            WritingMode.valueOf(pList.get(PR_WRITING_MODE).getEnum()),
 -            pList.getExplicit(PR_WRITING_MODE) != null);
++                WritingMode.valueOf(pList.get(PR_WRITING_MODE).getEnum()),
++                pList.getExplicit(PR_WRITING_MODE) != null);
      }
  
      /**
          return lineHeight;
      }
  
 -    /** @return the "overflow" FO trait */
 -    public int getOverflow() {
 -        return overflow;
 +    public Length getAlignmentAdjust() {
 +        return alignmentAdjust;
      }
  
 -    /** @return the "reference-orientation" FO trait */
 -    public int getReferenceOrientation() {
 -        return referenceOrientation.getValue();
 +    public int getAlignmentBaseline() {
 +        return alignmentBaseline;
 +    }
 +
 +    public Length getBaselineShift() {
 +        return baselineShift;
 +    }
 +
 +    public int getDominantBaseline() {
 +        return dominantBaseline;
 +    }
 +
 +    public WritingMode getWritingMode() {
 +        return writingModeTraits.getWritingMode();
      }
  
 -     * Obtain inline progression direction.
 -     * @return the inline progression direction
+     /**
++     * Obtain writing mode explicit indicator.
++     * @return the writing mode explicit indicator
+      */
++    public boolean getExplicitWritingMode() {
++        return writingModeTraits.getExplicitWritingMode();
++    }
++
      public Direction getInlineProgressionDirection() {
          return writingModeTraits.getInlineProgressionDirection();
      }
          return false;
      }
  
 +    @Override
 +    public boolean generatesReferenceAreas() {
 +        return true;
 +    }
 +
+     @Override
+     protected boolean isBidiBoundary(boolean propagate) {
+         return getExplicitWritingMode();
+     }
  }