|
|
@ -50,7 +50,7 @@ object ChapterProvider { |
|
|
|
val pageLines = arrayListOf<Int>() |
|
|
|
val pageLines = arrayListOf<Int>() |
|
|
|
val pageLengths = arrayListOf<Int>() |
|
|
|
val pageLengths = arrayListOf<Int>() |
|
|
|
val stringBuilder = StringBuilder() |
|
|
|
val stringBuilder = StringBuilder() |
|
|
|
val contents = content.splitNotBlank("\n") |
|
|
|
val contents = content.split("\n") |
|
|
|
var durY = 0f |
|
|
|
var durY = 0f |
|
|
|
textPages.add(TextPage()) |
|
|
|
textPages.add(TextPage()) |
|
|
|
for ((index, text) in contents.withIndex()) { |
|
|
|
for ((index, text) in contents.withIndex()) { |
|
|
|