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.
|
getCurrentParagraphCoordinates,
setCurrentParagraphCoordinates
public RepeatProcessor(TypeResolverRegistry typeResolverRegistry)
public void commitChanges(org.docx4j.openpackaging.packages.WordprocessingMLPackage document)
ICommentProcessor
commitChanges
in
interface ICommentProcessor
document
- The word document that can be manipulated by using the
DOCX4J api.
public void repeatTableRow(List<Object> objects)
IRepeatProcessor
repeatTableRow
in
interface IRepeatProcessor
objects
- the objects which serve as context root for expressions
found in the template table row.
Copyright © 2016. All rights reserved.