Docmosis API 4.8.0

com.docmosis.template.analysis
Class TableCellStyle.RepeatingRowTopAndBottomBorderStyles

java.lang.Object
  extended by com.docmosis.template.analysis.TableCellStyle.RepeatingRowTopAndBottomBorderStyles
All Implemented Interfaces:
Serializable
Enclosing class:
TableCellStyle

public static class TableCellStyle.RepeatingRowTopAndBottomBorderStyles
extends Object
implements Serializable

This class manages the transitions for border styles for repeating rows. It provides up to four distinct values for a border: - first - intermediate - last - only When the first row is being rendered "first" applies, subsequent rows use the "intermediate" border up to the last row which uses "last". The "only" setting applies when there is a singular row and the first and last styles both apply.

See Also:
Serialized Form

Constructor Summary
TableCellStyle.RepeatingRowTopAndBottomBorderStyles(String topBorderFirst, String topBorderIntermediate, String bottomBorderIntermediate, String bottomBorderFinal)
           
 
Method Summary
 String getFirstRowStyle()
           
 String getIntermediateRowStyle()
           
 String getLastRowStyle()
           
 String getOnlyRowStyle()
           
 boolean stylesVary()
          Determine if the styles vary from row to row or if they are all the same.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableCellStyle.RepeatingRowTopAndBottomBorderStyles

public TableCellStyle.RepeatingRowTopAndBottomBorderStyles(String topBorderFirst,
                                                           String topBorderIntermediate,
                                                           String bottomBorderIntermediate,
                                                           String bottomBorderFinal)
Method Detail

getFirstRowStyle

public String getFirstRowStyle()

getIntermediateRowStyle

public String getIntermediateRowStyle()

getLastRowStyle

public String getLastRowStyle()

getOnlyRowStyle

public String getOnlyRowStyle()

stylesVary

public boolean stylesVary()
Determine if the styles vary from row to row or if they are all the same.

Returns:
true if any border style variation occurs.

Docmosis API 4.8.0

Copyright © 2014–2024 Docmosis Pty Ltd. All rights reserved.