public class RepeatProcessor extends BaseCommentProcessor implements IRepeatProcessor
| Constructor and Description |
|---|
RepeatProcessor(TypeResolverRegistry typeResolverRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
commitChanges(org.docx4j.openpackaging.packages.WordprocessingMLPackage document)
This method is called after all comments in the .docx template have been passed to the comment processor.
|
void |
repeatTableRow(List<Object> objects)
May be called to mark a table row to be copied once for each element in the passed-in list.
|
void |
reset()
Resets all state in the comment processor so that it can be re-used in another stamping process.
|
getCurrentParagraphCoordinates, getCurrentRunCoordinates, setCurrentParagraphCoordinates, setCurrentRunCoordinatespublic RepeatProcessor(TypeResolverRegistry typeResolverRegistry)
public void commitChanges(org.docx4j.openpackaging.packages.WordprocessingMLPackage document)
ICommentProcessorcommitChanges in interface ICommentProcessordocument - The word document that can be manipulated by using the DOCX4J api.public void reset()
ICommentProcessorreset in interface ICommentProcessorpublic void repeatTableRow(List<Object> objects)
IRepeatProcessorrepeatTableRow in interface IRepeatProcessorobjects - the objects which serve as context root for expressions found in the template table row.Copyright © 2017. All rights reserved.