Skip to content

Commit

Permalink
Rename class
Browse files Browse the repository at this point in the history
  • Loading branch information
James authored and James committed May 5, 2019
1 parent fec7248 commit f2f2612
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/org/idiosapps/BuilderPipeline.kt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class BuilderPipeline : Task<Parent>() {
TexUtils.copyToTex(texWriter, Filenames.inputTitleFilename)
TexUtils.copyToTex(texWriter, Filenames.inputStoryFilename)

SummaryPageWriter.writeVocabSection(texWriter, vocab) // TODO add summary / grammar pages too
SummaryPageUtils.writeVocabSection(texWriter, vocab) // TODO add summary / grammar / names pages too

texWriter.append("\\end{document}")
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/org/idiosapps/FooterUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class FooterUtils {
pagesVocab.forEach { vocabItem ->
val vocabFooter = "${vocabItem.firstOccurencePage!! - 1}.${vocabItem.vocabOrderIndex!! + 1} " +
"${vocabItem.L2Word} ${LanguageUtils.getMarkedL2Extra(vocabItem)} - " +
"${vocabItem.L1Word}${SummaryPageWriter.endLine}"
"${vocabItem.L1Word}${SummaryPageUtils.endLine}"
when (doLeftFooter) {
true -> {
leftFooter.append(vocabFooter); doLeftFooter = !doLeftFooter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package org.idiosapps

import org.idiosapps.OSUtils.Companion.SPACE
import java.io.PrintWriter

class SummaryPageWriter {
class SummaryPageUtils {
// TODO fun writeTeXGrammarSection
// TODO fun writeTeXQuestionsSection
// TODO fun writeNamesSection
companion object {
val endLine = "\\\\"
const val endLine = "\\\\"
fun writeVocabSection(
outputStoryWriter: PrintWriter,
vocab: MutableList<Vocab>
Expand Down

0 comments on commit f2f2612

Please sign in to comment.