public class ParagraphWrapper extends Object
Constructor and Description |
---|
ParagraphWrapper(org.docx4j.wml.P paragraph)
|
Modifier and Type | Method and Description |
---|---|
int |
cleanPlaceholder(String placeholder)
Removes the specified placeholder from the runs that are touched
by it and returns the index at which
a replacement for the placeholder may be inserted into the paragraph.
|
List<org.docx4j.wml.R>
|
getRuns()
Returns the list of runs that are aggregated.
|
String |
getText()
Returns the aggregated text over all runs.
|
void |
recalculateRuns()
|
String |
toString()
|
public void recalculateRuns()
public int cleanPlaceholder(String placeholder)
placeholder
- the placeholder which is to be removed from the
paragraph.
public String getText()
public List<org.docx4j.wml.R> getRuns()
Copyright © 2016. All rights reserved.