code: public ReadOnlyStyledDocumentBuilder<PS, SEG, S> addParagraph(SEG segment, StyleSpans<S> styles, PS paragraphStyle) {
          return addPar(new Paragraph<>(argumentOrDefault(paragraphStyle), segmentOps, segment, styles));
      }
docs: Adds to the list  a paragraph that has only one segment but a number of different styles throughout that segment