I have a Database agent that generates a word document from IBM Notes data. I am using the Java2Word API to achieve this but unfortunately, this API has little Documentation and I couldn't find anything regarding table formatting (size, merging, etc.).
Here are my methods for row generating: `
public void AddFirstRow(String[] Items){
CurrentTable.addTableEle(TableEle.TH, Items);
}
public void AddRow(String[] items){
CurrentTable.addTableEle(TableEle.TD, items);
}
public void AddLastRow(String[] items){
CurrentTable.addTableEle(TableEle.TD, items);
}
`
Does anyone have prior experience using this library and knows how to implement table formatting?
为了防止任何人再次尝试这种情况,使用Java2Word的默认方法是不可能的,我以正确的格式创建了自己的oXML模板并将其添加到Jar中。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.