您好:我使用aspose-words-21.5.0-jdk17.jar版本生成word。生成的word包含header和footer,还有body。分别是三个Table,每个Table的的cell都设置了段落。然后把header、body和footer中某一个段落放入到集合中,遍历集合move到对应段落,然后插入对应段落的shape。以下代码注释了计算坐标的代码就可以正常运行。
但是现在有这样的问题:我需要在插入shape的时候重新计…...while indenting the text with tab characters /// based on its depth...indent) throws Exception { String tabs = StringUtils.repeat("\t", indent);...