CTP和PPR是什么意思? [英] What does it mean CTP and PPR?

查看:564
本文介绍了CTP和PPR是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始在apache.poi中弄清楚,但我不明白XWPFParagraph中的CTP和PPr是什么意思.我有以下代码:

I starting figure out in apache.poi and I couldn't understand what does it mean CTP and PPr in XWPFParagraph. I have following code:

targetParagraph.getCTP()
               .setPPr(index.getParagraph().getCTP().getPPr());

在官方文档apache.poi中找不到该方法的描述 您能给我解释一下这是什么吗?或者给我一些可以阅读的链接?

I not found describing of this methods in official documentation apache.poi Can you explain to me what is it or get me some link where I can read about it?

感谢帮助!

推荐答案

getCTP()返回org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP,根据我的理解,该文本在较低的层次上代表了一个与以下内容严格相关的段落: xml.它被注释为@Internal-可以更改而无需太多通知.

getCTP() returns org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP which from my understanding represends a paragraph on a lower level, strictly related to the xml. It is annotated as @Internal - it can be changed without much notice.

更多猜测,但我想说getPPr()返回一个代表段落属性的对象.

More of a guess but I'd say that getPPr() returns an object that represents a paragraph properties.

这篇关于CTP和PPR是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆