[]
Use this class to associate an IRange with title or tail rows and columns that can be repeated when the range is processed for pagination.
IRange range = worksheet.getRange("A1:D20");
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setRange(range);
repeatSetting.setTitleRowStart(0);
repeatSetting.setTitleRowEnd(1);
final IRangegetRange()final intfinal intfinal intfinal intfinal intfinal intfinal intfinal intfinal voidIRange instance whose repeat settings are represented by this RepeatSetting.final voidsetTailColumnEnd(int value) final voidsetTailColumnStart(int value) final voidsetTailRowEnd(int value) final voidsetTailRowStart(int value) final voidsetTitleColumnEnd(int value) final voidsetTitleColumnStart(int value) final voidsetTitleRowEnd(int value) final voidsetTitleRowStart(int value) Use this method to retrieve the first row in the title row range configured by setTitleRowStart(int) and setTitleRowEnd(int).
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setTitleRowStart(1);
repeatSetting.setTitleRowEnd(3);
int titleRowStart = repeatSetting.getTitleRowStart();
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setTitleRowStart(1);
repeatSetting.setTitleRowEnd(3);
value - The start index of the rows that are the title of the range.Use this method to retrieve the last row index in the title-row range configured by setTitleRowStart(int) and setTitleRowEnd(int).
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setTitleRowStart(1);
repeatSetting.setTitleRowEnd(3);
int titleRowEnd = repeatSetting.getTitleRowEnd();
-1 if the title row end index has not been set.
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setTitleRowStart(1);
repeatSetting.setTitleRowEnd(3);
value - The end index of the rows that are printed at the top of the page. Sets -1 if the title row end index has not been set.This value identifies the first tail row in the RepeatSetting. Tail rows are the rows at the end of the associated range that can be repeated during pagination.
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setTailRowStart(2);
repeatSetting.setTailRowEnd(4);
int tailRowStart = repeatSetting.getTailRowStart();
This value identifies the first tail row in the RepeatSetting. Tail rows are the rows at the end of the associated range that can be repeated during pagination.
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setTailRowStart(2);
repeatSetting.setTailRowEnd(4);
value - The start index of the tail rows in the range.This value identifies the last tail row in the RepeatSetting. Tail rows are the rows at the end of the associated range that can be repeated during pagination.
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setTailRowStart(2);
repeatSetting.setTailRowEnd(4);
int tailRowEnd = repeatSetting.getTailRowEnd();
-1 if the tail row end index has not been set.This value identifies the last tail row in the RepeatSetting. Tail rows are the rows at the end of the associated range that can be repeated during pagination.
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setTailRowStart(2);
repeatSetting.setTailRowEnd(4);
value - The end index of the tail rows in the range. Sets -1 if the tail row end index has not been set.This value identifies the first title column in the RepeatSetting. Title columns are the columns at the left side of the associated range that can be repeated during pagination.
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setTitleColumnStart(1);
repeatSetting.setTitleColumnEnd(3);
int titleColumnStart = repeatSetting.getTitleColumnStart();
-1 if the title column start index has not been set.This value identifies the first title column in the RepeatSetting. Title columns are the columns at the left side of the associated range that can be repeated during pagination.
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setTitleColumnStart(1);
repeatSetting.setTitleColumnEnd(3);
value - The start index of the title columns in the range. Sets -1 if the title column start index has not been set.Use this method to retrieve the last column index in the title-column range configured by setTitleColumnStart(int) and setTitleColumnEnd(int).
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setTitleColumnStart(1);
repeatSetting.setTitleColumnEnd(3);
int titleColumnEnd = repeatSetting.getTitleColumnEnd();
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setTitleColumnStart(1);
repeatSetting.setTitleColumnEnd(3);
value - The end index of the columns that are printed at the left of the page.This value identifies the first tail column in the RepeatSetting. Tail columns are the columns at the end of the associated range that can be repeated during pagination.
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setTailColumnStart(2);
repeatSetting.setTailColumnEnd(4);
int tailColumnStart = repeatSetting.getTailColumnStart();
-1 if the tail column start index has not been set.This value identifies the first tail column in the RepeatSetting. Tail columns are the columns at the end of the associated range that can be repeated during pagination.
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setTailColumnStart(2);
repeatSetting.setTailColumnEnd(4);
value - The start index of the tail columns in the range. Sets -1 if the tail column start index has not been set.This value identifies the last tail column in the RepeatSetting. Tail columns are the columns at the end of the associated range that can be repeated during pagination.
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setTailColumnStart(2);
repeatSetting.setTailColumnEnd(4);
int tailColumnEnd = repeatSetting.getTailColumnEnd();
-1 if the tail column end index has not been set.This value identifies the last tail column in the RepeatSetting. Tail columns are the columns at the end of the associated range that can be repeated during pagination.
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setTailColumnStart(2);
repeatSetting.setTailColumnEnd(4);
value - The end index of the tail columns in the range. Sets -1 if the tail column end index has not been set.
IRange range = worksheet.getRange("A1:D20");
RepeatSetting repeatSetting = new RepeatSetting();
repeatSetting.setRange(range);
repeatSetting.setTitleRowStart(0);
repeatSetting.setTitleRowEnd(1);
IRange repeatedRange = repeatSetting.getRange();
IRange instance whose repeat settings are represented by this RepeatSetting. Use this method to associate the repeat setting with a specific worksheet range.
RepeatSetting repeatSetting = new RepeatSetting();
IRange range = worksheet.getRange("A1:C5");
repeatSetting.setRange(range);
value - The range whose repeat settings are the same as this RepeatSetting; may be null.