parse Page Range
open fun parsePageRange(@NonNull rangeString: String, @IntRange(from = 0 ) documentPagesCount: Int): List<Range>
Parse page ranges strings.
Return
List of parsed page ranges. If input range is invalid returns empty list.
Parameters
range String
String with page range specification (e.g "1-5,8,11-13"). Page indexes are are 1-based.
document Pages Count
Number of pages in the document.