- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.apache.poi.xslf.usermodel.XSLFTextParagraph.getTextRuns()
方法的一些代码示例,展示了XSLFTextParagraph.getTextRuns()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XSLFTextParagraph.getTextRuns()
方法的具体详情如下:
包路径:org.apache.poi.xslf.usermodel.XSLFTextParagraph
类名称:XSLFTextParagraph
方法名:getTextRuns
暂无
代码示例来源:origin: org.apache.poi/poi-ooxml
CTTextParagraph ctp = para.getXmlObject();
otherPPr = ctp.getPPr();
List<XSLFTextRun> runs = para.getTextRuns();
if (!runs.isEmpty()) {
XSLFTextRun r0 = runs.get(runs.size() - 1);
代码示例来源:origin: org.apache.poi/poi-ooxml
thisC.dispose();
for (XSLFTextRun tr : other.getTextRuns()) {
XmlObject xo = tr.getXmlObject();
XSLFTextRun run = (xo instanceof CTTextLineBreak)
代码示例来源:origin: apache/tika
continue;
for (XSLFTextRun run : p.getTextRuns()) {
代码示例来源:origin: stackoverflow.com
XSLFTextShape[] phs = slide[i].getPlaceholders();
for (XSLFTextShape ts : phs) {
java.util.List<XSLFTextParagraph> tpl = ts.getTextParagraphs();
for(XSLFTextParagraph tp: tpl) {
java.util.List<XSLFTextRun> trs = tp.getTextRuns();
for(XSLFTextRun tr: trs) {
logger.info(tr.getFontFamily());
tr.setFontFamily("SimSun");
}
}
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi
CTTextParagraph ctp = para.getXmlObject();
otherPPr = ctp.getPPr();
List<XSLFTextRun> runs = para.getTextRuns();
if (!runs.isEmpty()) {
XSLFTextRun r0 = runs.get(runs.size() - 1);
代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev
String buCharacter = getBulletCharacter();
String buFont = getBulletFont();
if(buFont == null) buFont = getTextRuns().get(0).getFontFamily();
if(buCharacter != null && buFont != null && _lines.size() > 0) {
AttributedString str = new AttributedString(buCharacter);
代码示例来源:origin: com.github.lafa.tikaNoExternal/tika-parsers
xhtml.startElement("p");
for (XSLFTextRun run : p.getTextRuns()) {
代码示例来源:origin: org.apache.tika/tika-parsers
continue;
for (XSLFTextRun run : p.getTextRuns()) {
代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev
List<XSLFTextRun> srcR = p.getTextRuns();
List<XSLFTextRun> tgtR = getTextRuns();
for(int i = 0; i < srcR.size(); i++){
XSLFTextRun r1 = srcR.get(i);
代码示例来源:origin: stackoverflow.com
Color fontColor = null;
String fontFamily = null;
double fontSize = 0.0;
boolean italic = false;
boolean bold = false;
boolean underline = false;
for (XSLFTextParagraph paragraph : autoShape.getTextParagraphs()) {
for (XSLFTextRun text : paragraph.getTextRuns()) {
fontColor = text.getFontColor();
fontFamily = text.getFontFamily();
fontSize = text.getFontSize();
italic = text.isItalic();
bold = text.isBold();
underline = text.isUnderline();
}
}
autoShape.clearText();
XSLFTextParagraph addNewTextParagraph = autoShape.addNewTextParagraph();
XSLFTextRun addNewTextRun = addNewTextParagraph.addNewTextRun();
addNewTextRun.setText(values.get(0)[1]);
addNewTextRun.setFontColor(fontColor);
addNewTextRun.setFontFamily(fontFamily);
addNewTextRun.setFontSize(fontSize);
addNewTextRun.setItalic(italic);
addNewTextRun.setBold(bold);
addNewTextRun.setUnderline(underline);
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi
thisC.dispose();
for (XSLFTextRun tr : other.getTextRuns()) {
XmlObject xo = tr.getXmlObject();
XSLFTextRun run = (xo instanceof CTTextLineBreak)
本文整理了Java中org.apache.poi.xslf.usermodel.XSLFTextParagraph.getTextRuns()方法的一些代码示例,展示了XSLFTextParagrap
我是一名优秀的程序员,十分优秀!