Class BaseCommentProcessor
java.lang.Object
org.wickedsource.docxstamper.processor.BaseCommentProcessor
- All Implemented Interfaces:
ICommentProcessor
- Direct Known Subclasses:
DisplayIfProcessor,ParagraphRepeatProcessor,RepeatDocPartProcessor,RepeatProcessor,ReplaceWithProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetCurrentCommentWrapper(CommentWrapper currentCommentWrapper) Passes the comment range wrapper that is currently being processed (i.e. the start and end of comment that in the .docx template.voidsetCurrentParagraphCoordinates(ParagraphCoordinates coordinates) Passes the paragraph that is currently being processed (i.e. the paragraph that is commented in the .docx template.voidsetCurrentRunCoordinates(RunCoordinates currentRunCoordinates) Passes the run that is currently being processed (i.e. the run that is commented in the .docx template.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wickedsource.docxstamper.api.commentprocessor.ICommentProcessor
commitChanges, reset
-
Constructor Details
-
BaseCommentProcessor
public BaseCommentProcessor()
-
-
Method Details
-
getCurrentRunCoordinates
-
setCurrentRunCoordinates
Description copied from interface:ICommentProcessorPasses the run that is currently being processed (i.e. the run that is commented in the .docx template. This method is always called BEFORE the custom methods of the custom comment processor interface are called.- Specified by:
setCurrentRunCoordinatesin interfaceICommentProcessor- Parameters:
currentRunCoordinates- coordinates of the currently processed run within the template.
-
setCurrentParagraphCoordinates
Description copied from interface:ICommentProcessorPasses the paragraph that is currently being processed (i.e. the paragraph that is commented in the .docx template. This method is always called BEFORE the custom methods of the custom comment processor interface are called.- Specified by:
setCurrentParagraphCoordinatesin interfaceICommentProcessor- Parameters:
coordinates- coordinates of the currently processed paragraph within the template.
-
getCurrentParagraphCoordinates
-
setCurrentCommentWrapper
Description copied from interface:ICommentProcessorPasses the comment range wrapper that is currently being processed (i.e. the start and end of comment that in the .docx template. This method is always called BEFORE the custom methods of the custom comment processor interface are called.- Specified by:
setCurrentCommentWrapperin interfaceICommentProcessor- Parameters:
currentCommentWrapper- of the currently processed comment within the template.
-
getCurrentCommentWrapper
-