Class BaseCommentProcessor
- java.lang.Object
-
- org.wickedsource.docxstamper.processor.BaseCommentProcessor
-
- All Implemented Interfaces:
ICommentProcessor
- Direct Known Subclasses:
DisplayIfProcessor,ParagraphRepeatProcessor,RepeatDocPartProcessor,RepeatProcessor,ReplaceWithProcessor
public abstract class BaseCommentProcessor extends Object implements ICommentProcessor
-
-
Constructor Summary
Constructors Constructor Description BaseCommentProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommentWrappergetCurrentCommentWrapper()ParagraphCoordinatesgetCurrentParagraphCoordinates()RunCoordinatesgetCurrentRunCoordinates()voidsetCurrentCommentWrapper(CommentWrapper currentCommentWrapper)Passes the comment range wrapper that is currently being processed (i.e.voidsetCurrentParagraphCoordinates(ParagraphCoordinates coordinates)Passes the paragraph that is currently being processed (i.e.voidsetCurrentRunCoordinates(RunCoordinates currentRunCoordinates)Passes the run that is currently being processed (i.e.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wickedsource.docxstamper.api.commentprocessor.ICommentProcessor
commitChanges, reset
-
-
-
-
Method Detail
-
getCurrentRunCoordinates
public RunCoordinates getCurrentRunCoordinates()
-
setCurrentRunCoordinates
public void setCurrentRunCoordinates(RunCoordinates currentRunCoordinates)
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
public void setCurrentParagraphCoordinates(ParagraphCoordinates coordinates)
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
public ParagraphCoordinates getCurrentParagraphCoordinates()
-
setCurrentCommentWrapper
public void setCurrentCommentWrapper(CommentWrapper currentCommentWrapper)
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
public CommentWrapper getCurrentCommentWrapper()
-
-