code: public Paragraph paragraph() {
          Paragraph paragraph = new Paragraph(before.getLeading());
          paragraph.add(before);
          if (numbered) {
              paragraph.addSpecial(new Chunk(String.valueOf(pageN), before.getFont()));
          }
          if (after != null) {
              paragraph.addSpecial(after);
          }
          paragraph.setAlignment(alignment);
          return paragraph;
      }
docs: Gets the <CODE>Paragraph</CODE> that can be used as header or footer.
  
  @return		a <CODE>Paragraph</CODE>