src/components/form/PDFFunctions.js
/**
  * Long narritve placed by the user. If the user enters a long entry, it'll be divided
  * by multiple pages.
  *
  * @param  {Number}   story_lines number of lines within the story
  * @param  {jsPDF}    doc         the pdf document
  * @param  {Number}   offset      the cordinate to start place the string
  * @param  {Number}   page_width  fixed size of the textfield area, usually the same are box_height
  * @return                        void
  *
  */
Long narritve placed by the user. If the user enters a long entry, it'll be divided
by multiple pages.


Long narritve placed by the user . If the user enters a long entry it ' ll be divided by multiple pages .
function epic_story(story_lines, doc, offset, page_width){
      if(story_lines > 66)
      {
        add_jounrnal_page(doc, offset, page_width)
      }
      else {
        journal.CONTINUE_PAGING =true
        journal.MAX_PARAGRAPH_LENGTH = 44
        journal.EPIC_JOURNAL = ''
    }
  }
function epic_story ( story_lines , doc , offset , page_width ) { if ( story_lines > 66 ) { add_jounrnal_page ( doc , offset , page_width ) } else { journal . CONTINUE_PAGING = true journal . MAX_PARAGRAPH_LENGTH = 44 journal . EPIC_JOURNAL = '' } }
Long narritve placed by the user.
Long narritve placed by the user .