我使用words.java 试图在word中生成类似sidebar的功能,插入的竖向形状后插入富文本内容,我想知道怎么才能把富文本中的文字和图片都旋转 -90 ° 并保持内容正确,以下是我的代码
private void insertSidebarIntoHeader(Document Document, HeaderFooter header, String htmlContent) throws Exception {
…...insertSidebarIntoHea(Document document, HeaderFooter header,...Shape sidebar = new Shape(document, ShapeType.RECTANGLE); //...