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