com.docmosis.template.analysis
Class TableCellStyle.RepeatingRowTopAndBottomBorderStyles
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableCellStyle.RepeatingRowTopAndBottomBorderStyles
public TableCellStyle.RepeatingRowTopAndBottomBorderStyles(String topBorderFirst,
String topBorderIntermediate,
String bottomBorderIntermediate,
String bottomBorderFinal)
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.
Copyright © 2014–2024 Docmosis Pty Ltd. All rights reserved.