Package org.docx4j.toc
Class TocStyles
java.lang.Object
org.docx4j.toc.TocStyles
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetStyleIdForName(String name) Get the style ID corresponding to this name.static TocStylesgetTocStyles(MainDocumentPart documentPart)
-
Field Details
-
TOC_STYLE_MASK
- See Also:
-
TOC_HEADING
- See Also:
-
HEADING_1
- See Also:
-
-
Constructor Details
-
TocStyles
-
-
Method Details
-
getTocStyles
- Throws:
TocException
-
getStyleIdForName
Get the style ID corresponding to this name. If it isn't in the docx styles.xml part, use our default definition to add it.- Parameters:
name-documentStyles-- Returns:
-