public static class ParagraphStylesInTableFix.StyleRenamer extends TraversalUtil.CallbackImpl
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
ParagraphStylesInTableFix.StyleRenamer() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
apply(Object o)
Visits a node in pre order (before its children have been visited).
|
void |
setDefaultParagraphStyle(String defaultParagraphStyle) |
void |
setDefaultTableStyle(Style defaultTableStyle) |
void |
setNewStyles(Styles newStyles) |
void |
walkJAXBElements(Object parent) |
getChildren, shouldTraverse
public ParagraphStylesInTableFix.StyleRenamer()
public void setDefaultParagraphStyle(String defaultParagraphStyle)
public void setDefaultTableStyle(Style defaultTableStyle)
public void setNewStyles(Styles newStyles)
public List<Object> apply(Object o)
TraversalUtil.CallbackImpl
TraversalUtil.CallbackImpl.shouldTraverse(Object)
).
Implementations can have side effects.
apply
in interface TraversalUtil.Callback
apply
in class TraversalUtil.CallbackImpl
public void walkJAXBElements(Object parent)
walkJAXBElements
in interface TraversalUtil.Callback
walkJAXBElements
in class TraversalUtil.CallbackImpl
Copyright © 2007-2014. All Rights Reserved.