public class RunUtil extends Object
Modifier and Type | Method and Description |
---|---|
static org.docx4j.wml.R |
create(String text)
Creates a new run with the specified text.
|
static String |
getText(org.docx4j.wml.R run)
Returns the text string of a run.
|
static void |
setText(org.docx4j.wml.R run,
String text)
Sets the text of the given run to the given value.
|
public static String getText(org.docx4j.wml.R run)
run
- the run whose text to get.public static void setText(org.docx4j.wml.R run, String text)
run
- the run whose text to change.text
- the text to set.public static org.docx4j.wml.R create(String text)
text
- the initial text of the run.Copyright © 2016. All rights reserved.