Class ParagraphStylesInTableFix.StyleRenamer
java.lang.Object
org.docx4j.TraversalUtil.CallbackImpl
org.docx4j.convert.out.common.preprocess.ParagraphStylesInTableFix.StyleRenamer
- All Implemented Interfaces:
TraversalUtil.Callback
- Enclosing class:
- ParagraphStylesInTableFix
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisits a node in pre order (before its children have been visited).voidsetDefaultParagraphStyle(String defaultParagraphStyle) voidsetDefaultTableStyle(Style defaultTableStyle) voidvoidwalkJAXBElements(Object parent) Methods inherited from class org.docx4j.TraversalUtil.CallbackImpl
getChildren, shouldTraverse
-
Field Details
-
log
protected static org.slf4j.Logger log
-
-
Constructor Details
-
StyleRenamer
public StyleRenamer()
-
-
Method Details
-
setDefaultParagraphStyle
-
setDefaultTableStyle
-
setStyles
-
apply
Description copied from class:TraversalUtil.CallbackImplVisits a node in pre order (before its children have been visited). A node is visited only if all its parents have been traversed (TraversalUtil.CallbackImpl.shouldTraverse(Object)).Implementations can have side effects.
- Specified by:
applyin interfaceTraversalUtil.Callback- Specified by:
applyin classTraversalUtil.CallbackImpl
-
walkJAXBElements
- Specified by:
walkJAXBElementsin interfaceTraversalUtil.Callback- Overrides:
walkJAXBElementsin classTraversalUtil.CallbackImpl
-