code: @Override
      public void addEmbeddedStyles(final StylesContainer stylesContainer) {
          if (this.header != null) this.header.addEmbeddedStyles(stylesContainer);
          if (this.footer != null) this.footer.addEmbeddedStyles(stylesContainer);
      }
docs: Add the style embedded in this master page style to a container
  
  @param stylesContainer the container