code: private boolean resetAllParas(DocumentCursorTools docCursor, FlatParagraphTools flatPara) {
      allParas = docCursor.getAllTextParagraphs();
      if (allParas == null || allParas.size() < 1) {
        return false;
      }
      //  change all footnotes to \u200B (like in paraText)
      //  List of footnotes
      List<int[]> footnotes = flatPara.getFootnotePositions();
      divNum = footnotes.size() - allParas.size();
      if (divNum >= 0) {
        for (int i = 0; i < allParas.size(); i++) {
          for (int pos : footnotes.get(i + divNum)) {
            if(pos <= allParas.get(i).length()) {
              String paraText = allParas.get(i).substring(0, pos) + ZERO_WIDTH_SPACE;
              if (pos < allParas.get(i).length() - 1) {
                paraText += allParas.get(i).substring(pos + 1);
              }
              allParas.set(i, paraText);
            }
          }
        }
      }
      return true;
    }
docs: Reset allParas