Class RowProperties

java.lang.Object
com.independentsoft.office.odf.styles.RowProperties

public class RowProperties extends Object
Represents formatting properties for table rows.
  • Constructor Details

    • RowProperties

      public RowProperties()
      Initializes a new instance of the RowProperties class.
  • Method Details

    • clone

      public RowProperties clone()
      Creates a new object that is a deep copy of the current instance.
      Overrides:
      clone in class Object
      Returns:
      A new object that is a copy of this instance.
    • toString

      public String toString()
      Converts the value of the current RowProperties object to its equivalent string representation.
      Overrides:
      toString in class Object
      Returns:
      the string
    • getHeight

      public Size getHeight()
      Gets the fixed row height.
      Returns:
      the height
    • setHeight

      public void setHeight(Size height)
      Sets the fixed row height.
      Parameters:
      height - the new height
    • getMinHeight

      public Size getMinHeight()
      Gets the fixed minimum height for a row.
      Returns:
      the min height
    • setMinHeight

      public void setMinHeight(Size minHeight)
      Sets the fixed minimum height for a row.
      Parameters:
      minHeight - the new min height
    • useOptimalHeight

      public boolean useOptimalHeight()
      Specifies that a row height should be recalculated automatically if content in the row changes.
      Returns:
      true, if successful
    • setUseOptimalHeight

      public void setUseOptimalHeight(boolean useOptimalHeight)
      Specifies that a row height should be recalculated automatically if content in the row changes.
      Parameters:
      useOptimalHeight - the new use optimal height
    • getBackgroundColor

      public String getBackgroundColor()
      Gets the background color for cell.
      Returns:
      the background color
    • setBackgroundColor

      public void setBackgroundColor(String backgroundColor)
      Sets the background color for cell.
      Parameters:
      backgroundColor - the new background color
    • getBreakBefore

      public Break getBreakBefore()
      Gets the break before.
      Returns:
      the break before
    • setBreakBefore

      public void setBreakBefore(Break breakBefore)
      Sets the break before.
      Parameters:
      breakBefore - the new break before
    • getBreakAfter

      public Break getBreakAfter()
      Gets the break after.
      Returns:
      the break after
    • setBreakAfter

      public void setBreakAfter(Break breakAfter)
      Sets the break after.
      Parameters:
      breakAfter - the new break after
    • getKeepTogether

      public KeepTogether getKeepTogether()
      Gets the keep together.
      Returns:
      the keep together
    • setKeepTogether

      public void setKeepTogether(KeepTogether keepTogether)
      Sets the keep together.
      Parameters:
      keepTogether - the new keep together
    • getBackgroundImage

      public BackgroundImage getBackgroundImage()
      Gets the background image.
      Returns:
      the background image
    • setBackgroundImage

      public void setBackgroundImage(BackgroundImage backgroundImage)
      Sets the background image.
      Parameters:
      backgroundImage - the new background image