Uses of Interface
pro.verron.officestamper.api.OfficeStamperConfiguration
Package
Description
This package provides presets and recommended configurations for docxstamper library users;
-
Uses of OfficeStamperConfiguration in pro.verron.officestamper.api
Modifier and TypeMethodDescriptionOfficeStamperConfiguration.addCommentProcessor
(Class<?> interfaceClass, Function<ParagraphPlaceholderReplacer, CommentProcessor> commentProcessorFactory) Adds a comment processor to the OfficeStamperConfiguration.OfficeStamperConfiguration.addResolver
(ObjectResolver resolver) Adds an ObjectResolver to the OfficeStamperConfiguration.OfficeStamperConfiguration.exposeInterfaceToExpressionLanguage
(Class<?> interfaceClass, Object implementation) Exposes an interface to the expression language.OfficeStamperConfiguration.leaveEmptyOnExpressionError
(boolean leaveEmpty) Deprecated, for removal: This API element is subject to removal in a future version.This method is deprecated because it offers limited functionality by just checking a flag.OfficeStamperConfiguration.replaceUnresolvedExpressions
(boolean replaceUnresolvedExpressions) Deprecated, for removal: This API element is subject to removal in a future version.This method is deprecated because it offers limited functionality by just checking a flag.OfficeStamperConfiguration.setEvaluationContextConfigurer
(EvaluationContextConfigurer evaluationContextConfigurer) Sets the EvaluationContextConfigurer for configuring the Spring Expression Language (SPEL) EvaluationContext.OfficeStamperConfiguration.setExceptionResolver
(ExceptionResolver exceptionResolver) OfficeStamperConfiguration.setFailOnUnresolvedExpression
(boolean failOnUnresolvedExpression) Deprecated, for removal: This API element is subject to removal in a future version.This method is deprecated because it offers limited functionality by just checking a flag.OfficeStamperConfiguration.setLineBreakPlaceholder
(String lineBreakPlaceholder) Sets the line break placeholder used in the OfficeStamper configuration.OfficeStamperConfiguration.setResolvers
(List<ObjectResolver> resolvers) Sets the list of object resolvers for the OfficeStamper configuration.OfficeStamperConfiguration.setSpelParserConfiguration
(org.springframework.expression.spel.SpelParserConfiguration spelParserConfiguration) Sets the SpelParserConfiguration used by the OfficeStamperConfiguration.OfficeStamperConfiguration.unresolvedExpressionsDefaultValue
(String unresolvedExpressionsDefaultValue) Deprecated, for removal: This API element is subject to removal in a future version.This method is deprecated because it offers limited functionality by just checking a flag. -
Uses of OfficeStamperConfiguration in pro.verron.officestamper.preset
Modifier and TypeMethodDescriptionstatic OfficeStamperConfiguration
OfficeStamperConfigurations.raw()
Creates a new standard OfficeStamperConfiguration.static OfficeStamperConfiguration
OfficeStamperConfigurations.standard()
Creates a new standard OfficeStamperConfiguration.static OfficeStamperConfiguration
OfficeStamperConfigurations.standardWithPreprocessing()
Creates a new OfficeStamperConfiguration with the standard configuration and additional preprocessors.Modifier and TypeMethodDescriptionstatic StreamStamper
<org.docx4j.openpackaging.packages.WordprocessingMLPackage> OfficeStampers.docxStamper
(OfficeStamperConfiguration config) Creates a new instance of theDocxStamper
class with the specifiedOfficeStamperConfiguration
.