Class AutoRepeatValue
java.lang.Object
com.itextpdf.layout.properties.grid.TemplateValue
com.itextpdf.layout.properties.grid.AutoRepeatValue
This class represents an auto-repeat template value. This value is preprocessed before grid sizing algorithm so its only exists at template level.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.itextpdf.layout.properties.grid.TemplateValue
TemplateValue.ValueType
-
Field Summary
Fields inherited from class com.itextpdf.layout.properties.grid.TemplateValue
type
-
Constructor Summary
ConstructorDescriptionAutoRepeatValue
(boolean autoFit, List<GridValue> values) Create a new auto-repeat value -
Method Summary
Methods inherited from class com.itextpdf.layout.properties.grid.TemplateValue
getType
-
Constructor Details
-
AutoRepeatValue
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
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
-