Class MultilineTextProcessorImpl
java.lang.Object
io.jmix.reports.yarg.formatters.impl.docx.MultilineTextProcessorImpl
- All Implemented Interfaces:
MultilineTextProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.docx4j.wml.Text
createLineText
(org.docx4j.wml.Text sourceText, String lineTextValue) getTextLines
(org.docx4j.wml.Text text) void
process
(TextWrapper wrapper) Replaces the text from the specified wrapper with the multiline text content if its value is a multiline string.void
process
(org.docx4j.wml.Text text) Replaces the specified text with the multiline text content if its value is a multiline string.
-
Constructor Details
-
MultilineTextProcessorImpl
public MultilineTextProcessorImpl()
-
-
Method Details
-
process
public void process(org.docx4j.wml.Text text) Description copied from interface:MultilineTextProcessor
Replaces the specified text with the multiline text content if its value is a multiline string.- Specified by:
process
in interfaceMultilineTextProcessor
- Parameters:
text
- a text with value
-
process
Description copied from interface:MultilineTextProcessor
Replaces the text from the specified wrapper with the multiline text content if its value is a multiline string.- Specified by:
process
in interfaceMultilineTextProcessor
- Parameters:
wrapper
- a wrapper for the text with a value
-
createLineText
-
getTextLines
-