I have tried something like this but it doesn't seem to work ...
- Code: Select all
wordMLPackage.getMainDocumentPart().addStyledParagraphOfText("Title", "Hello Word!" + "\n" + "Try This!" + "\t\t\t\t\t\taa");
It is currently Sun Feb 23, 2025 3:53 am
wordMLPackage.getMainDocumentPart().addStyledParagraphOfText("Title", "Hello Word!" + "\n" + "Try This!" + "\t\t\t\t\t\taa");
public static void main(String[] args) throws Exception {
String inputfilepath = System.getProperty("user.dir") + "/checkbox.docx";
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.load(new java.io.File(inputfilepath));
Total posts 10142 • Total topics 2852 • Total members 2083