Class AutoRepeatValue

java.lang.Object
com.itextpdf.layout.properties.grid.TemplateValue
com.itextpdf.layout.properties.grid.AutoRepeatValue

public class AutoRepeatValue extends TemplateValue
This class represents an auto-repeat template value. This value is preprocessed before grid sizing algorithm so its only exists at template level.
  • Constructor Details

    • AutoRepeatValue

      public AutoRepeatValue (boolean autoFit, List<GridValue> values)
      Create a new auto-repeat value
      Parameters:
      autoFit - determines whether to shrink flatten template values to match the grid size
      values - template values to repeat
  • Method Details

    • getValues

      public List<GridValue> getValues()
      Get template values which should be repeated.
      Returns:
      template values list
    • isAutoFit

      public boolean isAutoFit()
      Determines whether to shrink flatten template values to match the grid size.
      Returns:
      true if to shrink, false otherwise