code: @Override
      public void addEmbeddedStylesFromFooterHeader(final StylesContainer stylesContainer) {
          for (final Paragraph par : this.paragraphs)
              par.addEmbeddedStylesFromFooterHeader(stylesContainer);
      }
docs: Add the styles to a container, in styles.xml/automatic-syles
  Use if the text is in a footer/header
  
  @param stylesContainer the container