public class RunsStyleHandler extends Object
| Constructor and Description |
|---|
RunsStyleHandler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
preserveAndSetText(org.apache.poi.xwpf.usermodel.XWPFRun run,
String newText)
保存原有格式并设置新文本
|
public static void preserveAndSetText(org.apache.poi.xwpf.usermodel.XWPFRun run,
String newText)
run - XWPFRun对象newText - 新文本Copyright © 2024. All rights reserved.