fop 0.94

org.apache.fop.layoutmgr.table
Class CollapsingBorderModelEyeCatching

java.lang.Object
  extended by org.apache.fop.layoutmgr.table.CollapsingBorderModel
      extended by org.apache.fop.layoutmgr.table.CollapsingBorderModelEyeCatching

public class CollapsingBorderModelEyeCatching
extends CollapsingBorderModel

Implements the normal "collapse" border model defined in 6.7.10 in XSL 1.0. TODO Column groups are not yet checked in this algorithm!


Field Summary
 
Fields inherited from class org.apache.fop.layoutmgr.table.CollapsingBorderModel
AFTER, BEFORE, END, START, VERTICAL_START_END_OF_TABLE
 
Constructor Summary
CollapsingBorderModelEyeCatching()
           
 
Method Summary
 CommonBorderPaddingBackground.BorderInfo determineWinner(GridUnit currentGridUnit, GridUnit otherGridUnit, int side, int flags)
          Determines the winning BorderInfo.
 
Methods inherited from class org.apache.fop.layoutmgr.table.CollapsingBorderModel
getBorderModelFor, getOtherSide, getPreferenceValue, isVerticalRelation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollapsingBorderModelEyeCatching

public CollapsingBorderModelEyeCatching()
Method Detail

determineWinner

public CommonBorderPaddingBackground.BorderInfo determineWinner(GridUnit currentGridUnit,
                                                                GridUnit otherGridUnit,
                                                                int side,
                                                                int flags)
Description copied from class: CollapsingBorderModel
Determines the winning BorderInfo.

Specified by:
determineWinner in class CollapsingBorderModel
Parameters:
currentGridUnit - grid unit of the current element
otherGridUnit - grid unit of the neighbouring element
Returns:
the winning BorderInfo

fop 0.94

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.