Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractCoordinates - Class in org.wickedsource.docxstamper.api.coordinates
- AbstractCoordinates() - Constructor for class org.wickedsource.docxstamper.api.coordinates.AbstractCoordinates
- AbstractToTextResolver<S> - Class in org.wickedsource.docxstamper.replace.typeresolver
-
Abstract ITypeResolver that takes a String from the implementing sub class and creates a Run of text from it.
- AbstractToTextResolver() - Constructor for class org.wickedsource.docxstamper.replace.typeresolver.AbstractToTextResolver
- addCommentProcessor(Class<?>, ICommentProcessor) - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
-
Registers the specified ICommentProcessor as an implementation of the specified interface.
- addEmptyParagraph(Tc) - Static method in class org.wickedsource.docxstamper.util.TableCellUtil
- addTypeResolver(Class<T>, ITypeResolver) - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
-
Registers the given ITypeResolver for the given class.
- applyParagraphStyle(P, R) - Static method in class org.wickedsource.docxstamper.util.RunUtil
-
Applies the style of the given paragraph to the given content object (if the content object is a Run).
B
- BaseCommentProcessor - Class in org.wickedsource.docxstamper.processor
- BaseCommentProcessor() - Constructor for class org.wickedsource.docxstamper.processor.BaseCommentProcessor
- BaseCoordinatesWalker - Class in org.wickedsource.docxstamper.util.walk
- BaseCoordinatesWalker(WordprocessingMLPackage) - Constructor for class org.wickedsource.docxstamper.util.walk.BaseCoordinatesWalker
- BaseDocumentWalker - Class in org.wickedsource.docxstamper.util.walk
- BaseDocumentWalker(ContentAccessor) - Constructor for class org.wickedsource.docxstamper.util.walk.BaseDocumentWalker
- build() - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
-
Creates a
DocxStamperinstance configured with this configuration. - build() - Method in class org.wickedsource.docxstamper.proxy.ProxyBuilder
-
Creates a proxy object out of the specified root object and the specified interfaces and implementations.
C
- CommentProcessingException - Exception in org.wickedsource.docxstamper.processor
- CommentProcessingException(String, ParagraphCoordinates) - Constructor for exception org.wickedsource.docxstamper.processor.CommentProcessingException
- CommentProcessingException(String, TableCoordinates) - Constructor for exception org.wickedsource.docxstamper.processor.CommentProcessingException
- CommentProcessorRegistry - Class in org.wickedsource.docxstamper.processor
-
Allows registration of ICommentProcessor objects.
- CommentProcessorRegistry(PlaceholderReplacer) - Constructor for class org.wickedsource.docxstamper.processor.CommentProcessorRegistry
- CommentUtil - Class in org.wickedsource.docxstamper.util
- CommentWrapper - Class in org.wickedsource.docxstamper.util
- CommentWrapper() - Constructor for class org.wickedsource.docxstamper.util.CommentWrapper
- CommentWrapper(Comments.Comment, CommentRangeStart, CommentRangeEnd) - Constructor for class org.wickedsource.docxstamper.util.CommentWrapper
- commitChanges(WordprocessingMLPackage) - Method in interface org.wickedsource.docxstamper.api.commentprocessor.ICommentProcessor
-
This method is called after all comments in the .docx template have been passed to the comment processor.
- commitChanges(WordprocessingMLPackage) - Method in class org.wickedsource.docxstamper.processor.displayif.DisplayIfProcessor
- commitChanges(WordprocessingMLPackage) - Method in class org.wickedsource.docxstamper.processor.repeat.ParagraphRepeatProcessor
- commitChanges(WordprocessingMLPackage) - Method in class org.wickedsource.docxstamper.processor.repeat.RepeatDocPartProcessor
- commitChanges(WordprocessingMLPackage) - Method in class org.wickedsource.docxstamper.processor.repeat.RepeatProcessor
- commitChanges(WordprocessingMLPackage) - Method in class org.wickedsource.docxstamper.processor.replaceExpression.ReplaceWithProcessor
-
Deprecated.
- configureEvaluationContext(StandardEvaluationContext) - Method in interface org.wickedsource.docxstamper.api.EvaluationContextConfigurer
-
Configure the context before it's used by docxstamper.
- configureEvaluationContext(StandardEvaluationContext) - Method in class org.wickedsource.docxstamper.el.NoOpEvaluationContextConfigurer
- CoordinatesWalker - Class in org.wickedsource.docxstamper.util.walk
- CoordinatesWalker(WordprocessingMLPackage) - Constructor for class org.wickedsource.docxstamper.util.walk.CoordinatesWalker
- create(Object) - Static method in class org.wickedsource.docxstamper.util.RunUtil
-
Creates a new run with the given object as content.
- create(String) - Static method in class org.wickedsource.docxstamper.util.RunUtil
-
Creates a new run with the specified text.
- create(String...) - Static method in class org.wickedsource.docxstamper.util.ParagraphUtil
-
Creates a new paragraph.
- create(String, P) - Static method in class org.wickedsource.docxstamper.util.RunUtil
-
Creates a new run with the specified text and inherits the style of the parent paragraph.
- createRunWithImage(WordprocessingMLPackage, byte[], String, String, Integer) - Static method in class org.wickedsource.docxstamper.replace.typeresolver.image.ImageResolver
D
- DateResolver - Class in org.wickedsource.docxstamper.replace.typeresolver
-
This ITypeResolver creates a formatted date String for expressions that return a Date object.
- DateResolver(String) - Constructor for class org.wickedsource.docxstamper.replace.typeresolver.DateResolver
-
Creates a new DateResolver.
- deleteComment(CommentWrapper) - Static method in class org.wickedsource.docxstamper.util.CommentUtil
- deleteParagraph(ParagraphCoordinates) - Method in class org.wickedsource.docxstamper.util.ObjectDeleter
- deleteTable(TableCoordinates) - Method in class org.wickedsource.docxstamper.util.ObjectDeleter
- deleteTableRow(TableRowCoordinates) - Method in class org.wickedsource.docxstamper.util.ObjectDeleter
- DisplayIfProcessor - Class in org.wickedsource.docxstamper.processor.displayif
- DisplayIfProcessor(DocxStamperConfiguration) - Constructor for class org.wickedsource.docxstamper.processor.displayif.DisplayIfProcessor
- displayParagraphIf(Boolean) - Method in class org.wickedsource.docxstamper.processor.displayif.DisplayIfProcessor
- displayParagraphIf(Boolean) - Method in interface org.wickedsource.docxstamper.processor.displayif.IDisplayIfProcessor
-
May be called to delete the commented paragraph or not, depending on the given boolean condition.
- displayParagraphIfPresent(Object) - Method in class org.wickedsource.docxstamper.processor.displayif.DisplayIfProcessor
- displayParagraphIfPresent(Object) - Method in interface org.wickedsource.docxstamper.processor.displayif.IDisplayIfProcessor
-
May be called to delete the commented paragraph or not, depending on the presence of the given data.
- displayTableIf(Boolean) - Method in class org.wickedsource.docxstamper.processor.displayif.DisplayIfProcessor
- displayTableIf(Boolean) - Method in interface org.wickedsource.docxstamper.processor.displayif.IDisplayIfProcessor
-
May be called to delete the table surrounding the commented paragraph, depending on the given boolean condition.
- displayTableRowIf(Boolean) - Method in class org.wickedsource.docxstamper.processor.displayif.DisplayIfProcessor
- displayTableRowIf(Boolean) - Method in interface org.wickedsource.docxstamper.processor.displayif.IDisplayIfProcessor
-
May be called to delete the table surrounding the commented paragraph, depending on the given boolean condition.
- DocumentWalker - Class in org.wickedsource.docxstamper.util.walk
- DocumentWalker(ContentAccessor) - Constructor for class org.wickedsource.docxstamper.util.walk.DocumentWalker
- DocxStamper<T> - Class in org.wickedsource.docxstamper
-
Main class of the docx-stamper library.
- DocxStamper() - Constructor for class org.wickedsource.docxstamper.DocxStamper
- DocxStamper(DocxStamperConfiguration) - Constructor for class org.wickedsource.docxstamper.DocxStamper
- DocxStamperConfiguration - Class in org.wickedsource.docxstamper
-
Provides configuration parameters for DocxStamper.
- DocxStamperConfiguration() - Constructor for class org.wickedsource.docxstamper.DocxStamperConfiguration
- DocxStamperException - Exception in org.wickedsource.docxstamper.api
-
This exception is thrown when DocxStamper encounters an error.
- DocxStamperException(String) - Constructor for exception org.wickedsource.docxstamper.api.DocxStamperException
- DocxStamperException(String, Throwable) - Constructor for exception org.wickedsource.docxstamper.api.DocxStamperException
- DocxStamperException(Throwable) - Constructor for exception org.wickedsource.docxstamper.api.DocxStamperException
E
- equals(Object) - Method in class org.wickedsource.docxstamper.api.coordinates.AbstractCoordinates
- equals(Object) - Method in class org.wickedsource.docxstamper.replace.IndexedRun
- EvaluationContextConfigurer - Interface in org.wickedsource.docxstamper.api
-
Allows for custom configuration of a spring expression language
EvaluationContext. - exposeInterfaceToExpressionLanguage(Class<?>, Object) - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
-
Exposes all methods of a given interface to the expression language.
- ExpressionResolver - Class in org.wickedsource.docxstamper.el
- ExpressionResolver() - Constructor for class org.wickedsource.docxstamper.el.ExpressionResolver
- ExpressionResolver(EvaluationContextConfigurer) - Constructor for class org.wickedsource.docxstamper.el.ExpressionResolver
- ExpressionUtil - Class in org.wickedsource.docxstamper.el
- ExpressionUtil() - Constructor for class org.wickedsource.docxstamper.el.ExpressionUtil
F
- FallbackResolver - Class in org.wickedsource.docxstamper.replace.typeresolver
-
This ITypeResolver may serve as a fallback when there is no ITypeResolver available for a certain type.
- FallbackResolver() - Constructor for class org.wickedsource.docxstamper.replace.typeresolver.FallbackResolver
- findProcessorExpressions(String) - Method in class org.wickedsource.docxstamper.el.ExpressionUtil
-
Finds all processor expressions in a text and returns them as list.
- findVariableExpressions(String) - Method in class org.wickedsource.docxstamper.el.ExpressionUtil
-
Finds all variable expressions in a text and returns them as list.
G
- getAltText() - Method in class org.wickedsource.docxstamper.replace.typeresolver.image.Image
- getCell() - Method in class org.wickedsource.docxstamper.api.coordinates.TableCellCoordinates
- getChildren() - Method in class org.wickedsource.docxstamper.util.CommentWrapper
- getComment() - Method in class org.wickedsource.docxstamper.util.CommentWrapper
- getCommentAround(R, WordprocessingMLPackage) - Static method in class org.wickedsource.docxstamper.util.CommentUtil
-
Returns the comment the given DOCX4J run is commented with.
- getCommentFor(ContentAccessor, WordprocessingMLPackage) - Static method in class org.wickedsource.docxstamper.util.CommentUtil
-
Returns the first comment found for the given docx object.
- getCommentRangeEnd() - Method in class org.wickedsource.docxstamper.util.CommentWrapper
- getCommentRangeStart() - Method in class org.wickedsource.docxstamper.util.CommentWrapper
- getComments(WordprocessingMLPackage) - Static method in class org.wickedsource.docxstamper.util.CommentUtil
- getCommentString(Comments.Comment) - Static method in class org.wickedsource.docxstamper.util.CommentUtil
-
Returns the string value of the specified comment object.
- getCommentStringFor(ContentAccessor, WordprocessingMLPackage) - Static method in class org.wickedsource.docxstamper.util.CommentUtil
- getCurrentCommentWrapper() - Method in class org.wickedsource.docxstamper.processor.BaseCommentProcessor
- getCurrentParagraphCoordinates() - Method in class org.wickedsource.docxstamper.processor.BaseCommentProcessor
- getCurrentRunCoordinates() - Method in class org.wickedsource.docxstamper.processor.BaseCommentProcessor
- getDefaultResolver() - Method in class org.wickedsource.docxstamper.api.typeresolver.TypeResolverRegistry
- getEndIndex() - Method in class org.wickedsource.docxstamper.replace.IndexedRun
- getExpressionFunctions() - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
- getFilename() - Method in class org.wickedsource.docxstamper.replace.typeresolver.image.Image
- getFormatString() - Method in class org.wickedsource.docxstamper.replace.typeresolver.DateResolver
- getImageBytes() - Method in class org.wickedsource.docxstamper.replace.typeresolver.image.Image
- getIndex() - Method in class org.wickedsource.docxstamper.api.coordinates.ParagraphCoordinates
- getIndex() - Method in class org.wickedsource.docxstamper.api.coordinates.RunCoordinates
- getIndex() - Method in class org.wickedsource.docxstamper.api.coordinates.TableCellCoordinates
- getIndex() - Method in class org.wickedsource.docxstamper.api.coordinates.TableCoordinates
- getIndex() - Method in class org.wickedsource.docxstamper.api.coordinates.TableRowCoordinates
- getIndexInParent() - Method in class org.wickedsource.docxstamper.replace.IndexedRun
- getLength() - Method in class org.wickedsource.docxstamper.replace.IndexedRun
- getMaxWidth() - Method in class org.wickedsource.docxstamper.replace.typeresolver.image.Image
- getNullValuesDefault() - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
- getParagraph() - Method in class org.wickedsource.docxstamper.api.coordinates.ParagraphCoordinates
- getParagraph() - Method in class org.wickedsource.docxstamper.util.ParagraphWrapper
- getParagraphsInsideComment(P) - Static method in class org.wickedsource.docxstamper.processor.repeat.ParagraphRepeatProcessor
- getParentTableCellCoordinates() - Method in class org.wickedsource.docxstamper.api.coordinates.ParagraphCoordinates
- getParentTableCellCoordinates() - Method in class org.wickedsource.docxstamper.api.coordinates.TableCoordinates
- getParentTableCoordinates() - Method in class org.wickedsource.docxstamper.api.coordinates.TableRowCoordinates
- getParentTableRowCoordinates() - Method in class org.wickedsource.docxstamper.api.coordinates.TableCellCoordinates
- getResolverForType(Class<T>) - Method in class org.wickedsource.docxstamper.api.typeresolver.TypeResolverRegistry
-
Gets the ITypeResolver that was registered for the specified type.
- getRow() - Method in class org.wickedsource.docxstamper.api.coordinates.TableRowCoordinates
- getRun() - Method in class org.wickedsource.docxstamper.api.coordinates.RunCoordinates
- getRun() - Method in class org.wickedsource.docxstamper.replace.IndexedRun
- getRuns() - Method in class org.wickedsource.docxstamper.util.ParagraphWrapper
-
Returns the list of runs that are aggregated.
- getStartIndex() - Method in class org.wickedsource.docxstamper.replace.IndexedRun
- getTable() - Method in class org.wickedsource.docxstamper.api.coordinates.TableCoordinates
- getText() - Method in class org.wickedsource.docxstamper.util.ParagraphWrapper
-
Returns the aggregated text over all runs.
- getText(R) - Static method in class org.wickedsource.docxstamper.util.RunUtil
-
Returns the text string of a run.
- getUnresolvedExpressionsDefaultValue() - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
H
- hasAtLeastOneParagraphOrTable(Tc) - Static method in class org.wickedsource.docxstamper.util.TableCellUtil
- hashCode() - Method in class org.wickedsource.docxstamper.api.coordinates.AbstractCoordinates
- hashCode() - Method in class org.wickedsource.docxstamper.replace.IndexedRun
I
- ICommentProcessor - Interface in org.wickedsource.docxstamper.api.commentprocessor
-
In a .docx template used by DocxStamper, you can comment paragraphs of text to manipulate them.
- IDisplayIfProcessor - Interface in org.wickedsource.docxstamper.processor.displayif
- Image - Class in org.wickedsource.docxstamper.replace.typeresolver.image
-
This class describes an image which will be inserted into document.
- Image(byte[]) - Constructor for class org.wickedsource.docxstamper.replace.typeresolver.image.Image
- Image(byte[], Integer) - Constructor for class org.wickedsource.docxstamper.replace.typeresolver.image.Image
- Image(InputStream) - Constructor for class org.wickedsource.docxstamper.replace.typeresolver.image.Image
- Image(InputStream, Integer) - Constructor for class org.wickedsource.docxstamper.replace.typeresolver.image.Image
- ImageResolver - Class in org.wickedsource.docxstamper.replace.typeresolver.image
-
This ITypeResolver allows context objects to return objects of type Image.
- ImageResolver() - Constructor for class org.wickedsource.docxstamper.replace.typeresolver.image.ImageResolver
- IndexedRun - Class in org.wickedsource.docxstamper.replace
- IndexedRun(int, int, int, R) - Constructor for class org.wickedsource.docxstamper.replace.IndexedRun
- invoke(Object, Method, Method, Object[]) - Method in class org.wickedsource.docxstamper.proxy.ProxyMethodHandler
- IParagraphRepeatProcessor - Interface in org.wickedsource.docxstamper.processor.repeat
- IRepeatDocPartProcessor - Interface in org.wickedsource.docxstamper.processor.repeat
- IRepeatProcessor - Interface in org.wickedsource.docxstamper.processor.repeat
- IReplaceWithProcessor - Interface in org.wickedsource.docxstamper.processor.replaceExpression
- isFailOnInvalidExpression() - Method in class org.wickedsource.docxstamper.processor.CommentProcessorRegistry
- isLeaveEmptyOnExpressionError() - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
- isLeaveEmptyOnExpressionError() - Method in class org.wickedsource.docxstamper.replace.PlaceholderReplacer
- isReplaceNullValues() - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
- isReplaceUnresolvedExpressions() - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
- isReplaceUnresolvedExpressions() - Method in class org.wickedsource.docxstamper.replace.PlaceholderReplacer
- isTouchedByRange(int, int) - Method in class org.wickedsource.docxstamper.replace.IndexedRun
-
Determines whether the specified range of start and end index touches this run.
- ITypeResolver<S,
T> - Interface in org.wickedsource.docxstamper.api.typeresolver -
A type resolver is responsible for mapping an object of a certain Java class to an object of the DOCX4J api that can be put into the .docx document.
L
- leaveEmptyOnExpressionError(boolean) - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
-
If an error is caught while evaluating an expression the expression will be replaced with an empty string instead of leaving the original expression in the document.
M
- methodCanBeHandledByInterface(Method, Class<?>) - Method in class org.wickedsource.docxstamper.proxy.ProxyMethodHandler
N
- NoOpEvaluationContextConfigurer - Class in org.wickedsource.docxstamper.el
-
EvaluationContextConfigurerthat does no customization. - NoOpEvaluationContextConfigurer() - Constructor for class org.wickedsource.docxstamper.el.NoOpEvaluationContextConfigurer
- nullValuesDefault(String) - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
-
Indicates if expressions that resolve to null should be replaced by a global default value.
O
- ObjectDeleter - Class in org.wickedsource.docxstamper.util
- ObjectDeleter(WordprocessingMLPackage) - Constructor for class org.wickedsource.docxstamper.util.ObjectDeleter
- onCommentRangeEnd(CommentRangeEnd) - Method in class org.wickedsource.docxstamper.util.walk.BaseDocumentWalker
- onCommentRangeEnd(CommentRangeEnd) - Method in class org.wickedsource.docxstamper.util.walk.DocumentWalker
- onCommentRangeStart(CommentRangeStart) - Method in class org.wickedsource.docxstamper.util.walk.BaseDocumentWalker
- onCommentRangeStart(CommentRangeStart) - Method in class org.wickedsource.docxstamper.util.walk.DocumentWalker
- onParagraph(P) - Method in class org.wickedsource.docxstamper.util.walk.BaseDocumentWalker
- onParagraph(P) - Method in class org.wickedsource.docxstamper.util.walk.DocumentWalker
- onParagraph(ParagraphCoordinates) - Method in class org.wickedsource.docxstamper.util.walk.BaseCoordinatesWalker
- onParagraph(ParagraphCoordinates) - Method in class org.wickedsource.docxstamper.util.walk.CoordinatesWalker
- onRun(RunCoordinates, ParagraphCoordinates) - Method in class org.wickedsource.docxstamper.util.walk.BaseCoordinatesWalker
- onRun(RunCoordinates, ParagraphCoordinates) - Method in class org.wickedsource.docxstamper.util.walk.CoordinatesWalker
- onTable(Tbl) - Method in class org.wickedsource.docxstamper.util.walk.BaseDocumentWalker
- onTable(Tbl) - Method in class org.wickedsource.docxstamper.util.walk.DocumentWalker
- onTable(TableCoordinates) - Method in class org.wickedsource.docxstamper.util.walk.BaseCoordinatesWalker
- onTable(TableCoordinates) - Method in class org.wickedsource.docxstamper.util.walk.CoordinatesWalker
- onTableCell(Tc) - Method in class org.wickedsource.docxstamper.util.walk.BaseDocumentWalker
- onTableCell(Tc) - Method in class org.wickedsource.docxstamper.util.walk.DocumentWalker
- onTableCell(TableCellCoordinates) - Method in class org.wickedsource.docxstamper.util.walk.BaseCoordinatesWalker
- onTableCell(TableCellCoordinates) - Method in class org.wickedsource.docxstamper.util.walk.CoordinatesWalker
- onTableRow(Tr) - Method in class org.wickedsource.docxstamper.util.walk.BaseDocumentWalker
- onTableRow(Tr) - Method in class org.wickedsource.docxstamper.util.walk.DocumentWalker
- onTableRow(TableRowCoordinates) - Method in class org.wickedsource.docxstamper.util.walk.BaseCoordinatesWalker
- onTableRow(TableRowCoordinates) - Method in class org.wickedsource.docxstamper.util.walk.CoordinatesWalker
- org.wickedsource.docxstamper - package org.wickedsource.docxstamper
- org.wickedsource.docxstamper.api - package org.wickedsource.docxstamper.api
- org.wickedsource.docxstamper.api.commentprocessor - package org.wickedsource.docxstamper.api.commentprocessor
- org.wickedsource.docxstamper.api.coordinates - package org.wickedsource.docxstamper.api.coordinates
- org.wickedsource.docxstamper.api.typeresolver - package org.wickedsource.docxstamper.api.typeresolver
- org.wickedsource.docxstamper.el - package org.wickedsource.docxstamper.el
- org.wickedsource.docxstamper.processor - package org.wickedsource.docxstamper.processor
- org.wickedsource.docxstamper.processor.displayif - package org.wickedsource.docxstamper.processor.displayif
- org.wickedsource.docxstamper.processor.repeat - package org.wickedsource.docxstamper.processor.repeat
- org.wickedsource.docxstamper.processor.replaceExpression - package org.wickedsource.docxstamper.processor.replaceExpression
- org.wickedsource.docxstamper.proxy - package org.wickedsource.docxstamper.proxy
- org.wickedsource.docxstamper.replace - package org.wickedsource.docxstamper.replace
- org.wickedsource.docxstamper.replace.typeresolver - package org.wickedsource.docxstamper.replace.typeresolver
- org.wickedsource.docxstamper.replace.typeresolver.image - package org.wickedsource.docxstamper.replace.typeresolver.image
- org.wickedsource.docxstamper.util - package org.wickedsource.docxstamper.util
- org.wickedsource.docxstamper.util.walk - package org.wickedsource.docxstamper.util.walk
P
- ParagraphCoordinates - Class in org.wickedsource.docxstamper.api.coordinates
- ParagraphCoordinates(P, int) - Constructor for class org.wickedsource.docxstamper.api.coordinates.ParagraphCoordinates
- ParagraphCoordinates(P, int, TableCellCoordinates) - Constructor for class org.wickedsource.docxstamper.api.coordinates.ParagraphCoordinates
- ParagraphRepeatProcessor - Class in org.wickedsource.docxstamper.processor.repeat
- ParagraphRepeatProcessor(TypeResolverRegistry, ExpressionResolver, DocxStamperConfiguration) - Constructor for class org.wickedsource.docxstamper.processor.repeat.ParagraphRepeatProcessor
- ParagraphUtil - Class in org.wickedsource.docxstamper.util
- ParagraphWrapper - Class in org.wickedsource.docxstamper.util
-
A "Run" defines a region of text within a docx document with a common set of properties.
- ParagraphWrapper(P) - Constructor for class org.wickedsource.docxstamper.util.ParagraphWrapper
- PlaceholderReplacer<T> - Class in org.wickedsource.docxstamper.replace
- PlaceholderReplacer(TypeResolverRegistry) - Constructor for class org.wickedsource.docxstamper.replace.PlaceholderReplacer
- PlaceholderReplacer(TypeResolverRegistry, String) - Constructor for class org.wickedsource.docxstamper.replace.PlaceholderReplacer
- ProxyBuilder<T> - Class in org.wickedsource.docxstamper.proxy
-
Allows an object to be wrapped by a proxy so that it will implement additional interfaces.
- ProxyBuilder() - Constructor for class org.wickedsource.docxstamper.proxy.ProxyBuilder
- ProxyException - Exception in org.wickedsource.docxstamper.proxy
- ProxyException(Throwable) - Constructor for exception org.wickedsource.docxstamper.proxy.ProxyException
- ProxyMethodHandler - Class in org.wickedsource.docxstamper.proxy
- ProxyMethodHandler(Object, Map<Class<?>, Object>) - Constructor for class org.wickedsource.docxstamper.proxy.ProxyMethodHandler
R
- recalculateRuns() - Method in class org.wickedsource.docxstamper.util.ParagraphWrapper
- registerCommentProcessor(Class<?>, ICommentProcessor) - Method in class org.wickedsource.docxstamper.processor.CommentProcessorRegistry
- registerTypeResolver(Class<T>, ITypeResolver) - Method in class org.wickedsource.docxstamper.api.typeresolver.TypeResolverRegistry
- repeatDocPart(List<Object>) - Method in interface org.wickedsource.docxstamper.processor.repeat.IRepeatDocPartProcessor
-
May be called to mark a document part to be copied once for each element in the passed-in list.
- repeatDocPart(List<Object>) - Method in class org.wickedsource.docxstamper.processor.repeat.RepeatDocPartProcessor
- RepeatDocPartProcessor - Class in org.wickedsource.docxstamper.processor.repeat
- RepeatDocPartProcessor(DocxStamperConfiguration) - Constructor for class org.wickedsource.docxstamper.processor.repeat.RepeatDocPartProcessor
- repeatParagraph(List<Object>) - Method in interface org.wickedsource.docxstamper.processor.repeat.IParagraphRepeatProcessor
-
May be called to mark a paragraph to be copied once for each element in the passed-in list.
- repeatParagraph(List<Object>) - Method in class org.wickedsource.docxstamper.processor.repeat.ParagraphRepeatProcessor
- RepeatProcessor - Class in org.wickedsource.docxstamper.processor.repeat
- RepeatProcessor(TypeResolverRegistry, ExpressionResolver, DocxStamperConfiguration) - Constructor for class org.wickedsource.docxstamper.processor.repeat.RepeatProcessor
- repeatTableRow(List<Object>) - Method in interface org.wickedsource.docxstamper.processor.repeat.IRepeatProcessor
-
May be called to mark a table row to be copied once for each element in the passed-in list.
- repeatTableRow(List<Object>) - Method in class org.wickedsource.docxstamper.processor.repeat.RepeatProcessor
- replace(int, int, String) - Method in class org.wickedsource.docxstamper.replace.IndexedRun
-
Replaces the substring starting at the given index with the given replacement string.
- replace(String, Object) - Method in class org.wickedsource.docxstamper.util.ParagraphWrapper
-
Replaces the given placeholder String with the replacement object within the paragraph.
- replace(ParagraphWrapper, String, Object) - Method in class org.wickedsource.docxstamper.replace.PlaceholderReplacer
- replaceNullValues(boolean) - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
-
Indicates if expressions that resolve to null should be processed.
- replaceUnresolvedExpressions(boolean) - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
-
Indicates if expressions that doesn't resolve should be replaced by a default value.
- ReplaceWithProcessor - Class in org.wickedsource.docxstamper.processor.replaceExpression
-
Deprecated.
- ReplaceWithProcessor(DocxStamperConfiguration) - Constructor for class org.wickedsource.docxstamper.processor.replaceExpression.ReplaceWithProcessor
-
Deprecated.
- replaceWordWith(String) - Method in interface org.wickedsource.docxstamper.processor.replaceExpression.IReplaceWithProcessor
-
May be called to replace a single word inside a paragraph with an expression defined in a comment.
- replaceWordWith(String) - Method in class org.wickedsource.docxstamper.processor.replaceExpression.ReplaceWithProcessor
-
Deprecated.
- reset() - Method in interface org.wickedsource.docxstamper.api.commentprocessor.ICommentProcessor
-
Resets all state in the comment processor so that it can be re-used in another stamping process.
- reset() - Method in class org.wickedsource.docxstamper.processor.CommentProcessorRegistry
- reset() - Method in class org.wickedsource.docxstamper.processor.displayif.DisplayIfProcessor
- reset() - Method in class org.wickedsource.docxstamper.processor.repeat.ParagraphRepeatProcessor
- reset() - Method in class org.wickedsource.docxstamper.processor.repeat.RepeatDocPartProcessor
- reset() - Method in class org.wickedsource.docxstamper.processor.repeat.RepeatProcessor
- reset() - Method in class org.wickedsource.docxstamper.processor.replaceExpression.ReplaceWithProcessor
-
Deprecated.
- resolve(WordprocessingMLPackage, Object) - Method in class org.wickedsource.docxstamper.replace.typeresolver.image.ImageResolver
- resolve(WordprocessingMLPackage, S) - Method in interface org.wickedsource.docxstamper.api.typeresolver.ITypeResolver
-
This method is called when a placeholder in the .docx template is to replaced by the result of an expression that was found in the .docx template.
- resolve(WordprocessingMLPackage, S) - Method in class org.wickedsource.docxstamper.replace.typeresolver.AbstractToTextResolver
- resolveExpression(String, Object) - Method in class org.wickedsource.docxstamper.el.ExpressionResolver
-
Runs the given expression against the given context object and returns the result of the evaluated expression.
- resolveExpressions(WordprocessingMLPackage, ProxyBuilder<T>) - Method in class org.wickedsource.docxstamper.replace.PlaceholderReplacer
-
Finds expressions in a document and resolves them against the specified context object.
- resolveExpressionsForParagraph(P, T, WordprocessingMLPackage) - Method in class org.wickedsource.docxstamper.replace.PlaceholderReplacer
- resolveStringForObject(Object) - Method in class org.wickedsource.docxstamper.replace.typeresolver.FallbackResolver
- resolveStringForObject(Date) - Method in class org.wickedsource.docxstamper.replace.typeresolver.DateResolver
- resolveStringForObject(S) - Method in class org.wickedsource.docxstamper.replace.typeresolver.AbstractToTextResolver
- RunCoordinates - Class in org.wickedsource.docxstamper.api.coordinates
- RunCoordinates(R, int) - Constructor for class org.wickedsource.docxstamper.api.coordinates.RunCoordinates
- runProcessors(WordprocessingMLPackage, ProxyBuilder<T>) - Method in class org.wickedsource.docxstamper.processor.CommentProcessorRegistry
-
Lets each registered ICommentProcessor have a run on the specified docx document.
- RunUtil - Class in org.wickedsource.docxstamper.util
S
- setAltText(String) - Method in class org.wickedsource.docxstamper.replace.typeresolver.image.Image
- setCurrentCommentWrapper(CommentWrapper) - Method in interface org.wickedsource.docxstamper.api.commentprocessor.ICommentProcessor
-
Passes the comment range wrapper that is currently being processed (i.e. the start and end of comment that in the .docx template.
- setCurrentCommentWrapper(CommentWrapper) - Method in class org.wickedsource.docxstamper.processor.BaseCommentProcessor
- setCurrentParagraphCoordinates(ParagraphCoordinates) - Method in interface org.wickedsource.docxstamper.api.commentprocessor.ICommentProcessor
-
Passes the paragraph that is currently being processed (i.e. the paragraph that is commented in the .docx template.
- setCurrentParagraphCoordinates(ParagraphCoordinates) - Method in class org.wickedsource.docxstamper.processor.BaseCommentProcessor
- setCurrentRunCoordinates(RunCoordinates) - Method in interface org.wickedsource.docxstamper.api.commentprocessor.ICommentProcessor
-
Passes the run that is currently being processed (i.e. the run that is commented in the .docx template.
- setCurrentRunCoordinates(RunCoordinates) - Method in class org.wickedsource.docxstamper.processor.BaseCommentProcessor
- setDefaultResolver(ITypeResolver) - Method in class org.wickedsource.docxstamper.api.typeresolver.TypeResolverRegistry
-
Sets the default ITypeResolver that is used for classes that have no ITypeResolver registered.
- setDefaultTypeResolver(ITypeResolver) - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
- setEvaluationContextConfigurer(EvaluationContextConfigurer) - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
-
Provides an
EvaluationContextConfigurerwhich may change the configuration of a SpringEvaluationContextwhich is used for evaluating expressions in comments and text. - setExpressionResolver(ExpressionResolver) - Method in class org.wickedsource.docxstamper.processor.CommentProcessorRegistry
- setExpressionResolver(ExpressionResolver) - Method in class org.wickedsource.docxstamper.replace.PlaceholderReplacer
- setFailOnInvalidExpression(boolean) - Method in class org.wickedsource.docxstamper.processor.CommentProcessorRegistry
- setFailOnUnresolvedExpression(boolean) - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
-
If set to true, stamper will throw an
UnresolvedExpressionExceptionif a variable expression or processor expression within the document or within the comments is encountered that cannot be resolved. - setFilename(String) - Method in class org.wickedsource.docxstamper.replace.typeresolver.image.Image
- setImageBytes(byte[]) - Method in class org.wickedsource.docxstamper.replace.typeresolver.image.Image
- setLeaveEmptyOnExpressionError(boolean) - Method in class org.wickedsource.docxstamper.replace.PlaceholderReplacer
- setLineBreakPlaceholder(String) - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
-
The String provided as lineBreakPlaceholder will be replaces with a line break when stamping a document.
- setNullValuesDefault(String) - Method in class org.wickedsource.docxstamper.replace.PlaceholderReplacer
- setReplaceNullValues(boolean) - Method in class org.wickedsource.docxstamper.replace.PlaceholderReplacer
- setReplaceUnresolvedExpressions(boolean) - Method in class org.wickedsource.docxstamper.replace.PlaceholderReplacer
- setText(R, String) - Static method in class org.wickedsource.docxstamper.util.RunUtil
-
Sets the text of the given run to the given value.
- setUnresolvedExpressionsDefaultValue(String) - Method in class org.wickedsource.docxstamper.replace.PlaceholderReplacer
- stamp(InputStream, T, OutputStream) - Method in class org.wickedsource.docxstamper.DocxStamper
-
Reads in a .docx template and "stamps" it into the given OutputStream, using the specified context object to fill out any expressions it finds.
- stamp(WordprocessingMLPackage, T, OutputStream) - Method in class org.wickedsource.docxstamper.DocxStamper
-
Same as stamp(InputStream, T, OutputStream) except that you may pass in a DOCX4J document as a template instead of an InputStream.
- stripExpression(String) - Method in class org.wickedsource.docxstamper.el.ExpressionUtil
-
Strips an expression of the leading "${" or "#{" and the trailing "}".
T
- TableCellCoordinates - Class in org.wickedsource.docxstamper.api.coordinates
- TableCellCoordinates(Tc, int, TableRowCoordinates) - Constructor for class org.wickedsource.docxstamper.api.coordinates.TableCellCoordinates
- TableCellUtil - Class in org.wickedsource.docxstamper.util
- TableCellUtil() - Constructor for class org.wickedsource.docxstamper.util.TableCellUtil
- TableCoordinates - Class in org.wickedsource.docxstamper.api.coordinates
- TableCoordinates(Tbl, int) - Constructor for class org.wickedsource.docxstamper.api.coordinates.TableCoordinates
- TableCoordinates(Tbl, int, TableCellCoordinates) - Constructor for class org.wickedsource.docxstamper.api.coordinates.TableCoordinates
- TableRowCoordinates - Class in org.wickedsource.docxstamper.api.coordinates
- TableRowCoordinates(Tr, int, TableCoordinates) - Constructor for class org.wickedsource.docxstamper.api.coordinates.TableRowCoordinates
- toString() - Method in class org.wickedsource.docxstamper.api.coordinates.AbstractCoordinates
- toString() - Method in class org.wickedsource.docxstamper.api.coordinates.ParagraphCoordinates
- toString() - Method in class org.wickedsource.docxstamper.api.coordinates.RunCoordinates
- toString() - Method in class org.wickedsource.docxstamper.api.coordinates.TableCellCoordinates
- toString() - Method in class org.wickedsource.docxstamper.api.coordinates.TableCoordinates
- toString() - Method in class org.wickedsource.docxstamper.api.coordinates.TableRowCoordinates
- toString() - Method in class org.wickedsource.docxstamper.replace.IndexedRun
- toString() - Method in class org.wickedsource.docxstamper.util.ParagraphWrapper
- TypeResolverRegistry - Class in org.wickedsource.docxstamper.api.typeresolver
-
Registry for all implementations of ITypeResolver that are used by DocxStamper.
- TypeResolverRegistry(ITypeResolver) - Constructor for class org.wickedsource.docxstamper.api.typeresolver.TypeResolverRegistry
U
- UnresolvedExpressionException - Exception in org.wickedsource.docxstamper.api
- UnresolvedExpressionException(String, Throwable) - Constructor for exception org.wickedsource.docxstamper.api.UnresolvedExpressionException
- unresolvedExpressionsDefaultValue(String) - Method in class org.wickedsource.docxstamper.DocxStamperConfiguration
-
Indicates the default value to use for expressions that doesn't resolve.
W
- walk() - Method in class org.wickedsource.docxstamper.util.walk.CoordinatesWalker
- walk() - Method in class org.wickedsource.docxstamper.util.walk.DocumentWalker
- withInterface(Class<?>, Object) - Method in class org.wickedsource.docxstamper.proxy.ProxyBuilder
-
Specifies an interfaces and an implementation of an interface by which the root object shall be extended.
- withRoot(T) - Method in class org.wickedsource.docxstamper.proxy.ProxyBuilder
-
Specifies the root object for the proxy that shall be enhanced.
All Classes and Interfaces|All Packages|Serialized Form