Class TableResolver
- java.lang.Object
-
- org.wickedsource.docxstamper.processor.BaseCommentProcessor
-
- org.wickedsource.docxstamper.processor.table.TableResolver
-
- All Implemented Interfaces:
ICommentProcessor,ITableResolver
public class TableResolver extends BaseCommentProcessor implements ITableResolver
-
-
Field Summary
-
Fields inherited from class org.wickedsource.docxstamper.processor.BaseCommentProcessor
configuration, placeholderReplacer, typeResolverRegistry
-
-
Constructor Summary
Constructors Constructor Description TableResolver(DocxStamperConfiguration config, TypeResolverRegistry typeResolverRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommitChanges(org.docx4j.openpackaging.packages.WordprocessingMLPackage document)This method is called after all comments in the .docx template have been passed to the comment processor.voidreset()Resets all state in the comment processor so that it can be re-used in another stamping process.voidresolveTable(StampTable givenTable)-
Methods inherited from class org.wickedsource.docxstamper.processor.BaseCommentProcessor
getCurrentCommentWrapper, getCurrentRun, getDocument, getParagraph, setCurrentCommentWrapper, setCurrentRun, setDocument, setParagraph
-
-
-
-
Constructor Detail
-
TableResolver
public TableResolver(DocxStamperConfiguration config, TypeResolverRegistry typeResolverRegistry)
-
-
Method Detail
-
resolveTable
public void resolveTable(StampTable givenTable)
- Specified by:
resolveTablein interfaceITableResolver
-
commitChanges
public void commitChanges(org.docx4j.openpackaging.packages.WordprocessingMLPackage document)
Description copied from interface:ICommentProcessorThis method is called after all comments in the .docx template have been passed to the comment processor. All manipulations of the .docx document SHOULD BE done in this method. If certain manipulations are already done within in the custom methods of a comment processor, the ongoing iteration over the paragraphs in the document may be disturbed.- Specified by:
commitChangesin interfaceICommentProcessor- Parameters:
document- The Word document that can be manipulated by using the DOCX4J api.
-
reset
public void reset()
Description copied from interface:ICommentProcessorResets all state in the comment processor so that it can be re-used in another stamping process.- Specified by:
resetin interfaceICommentProcessor
-
-