Class Toc

java.lang.Object
org.docx4j.toc.Toc

public class Toc extends Object
  • Field Details

    • DEFAULT_TOC_HEADING

      protected static String DEFAULT_TOC_HEADING
  • Constructor Details

  • Method Details

    • setTocHeadingText

      public static void setTocHeadingText(String tocHeadingText)
      Use the provided text for the ToC heading. (Except in ToC update case where the existing heading P is to be re-used)
      Parameters:
      tocHeadingText -
    • getTocHeadingText

      protected static String getTocHeadingText()
    • hasErrors

      public boolean hasErrors()
    • getSwitches

      public List<SwitchInterface> getSwitches()
    • getTocInstruction

      @Deprecated public List<R> getTocInstruction()
      Deprecated.