Apache POI,无法设置ms字表的固定单元格宽度

时间:2020-08-26 04:03:44

标签: apache-poi

在apap poms单词表的各个单元格中放置长文本时,单元格的宽度会增加。根据文档,我添加了以下代码

CTTblLayoutType type = table.getCTTbl().getTblPr().addNewTblLayout();
type.setType(STTblLayoutType.FIXED);

但是我遇到了以下问题:

 NoSuchMethodError: No interface method find_attribute_user(Ljavax/xml/namespace/QName;)Lorg/apache/xmlbeans/impl/values/TypeStoreUser; in class Lorg/apache/xmlbeans/impl/values/TypeStore; or its super classes (declaration of 'org.apache.xmlbeans.impl.values.TypeStore' appears in /data/app/in.tricta.pdfapplication-pngPxMsm4N7urOJRqp36PA==/base.apk!classes3.dex)

0 个答案:

没有答案
相关问题