Error where paragraphs are broken during docx4j docx to pdf

hello i wort to docx to pdf

this is my convert code

    private void docxToPdf(String filePath) throws Exception {
        // i use AWS S3
        WordprocessingMLPackage wordMLPackage = loadDocxFromS3(filePath);
        ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();

        String appleSDGothicNeo = "AppleSDGothicNeo.ttc ";
        PhysicalFonts.getPhysicalFont(wordMLPackage, appleSDGothicNeo);

        Mapper fontMapper = new IdentityPlusMapper();
        fontMapper.put(appleSDGothicNeo, PhysicalFonts.get(appleSDGothicNeo));

        /*
        * i put on resources in font
        * */
        malgunGothicFontSettings(fontMapper, wordMLPackage);

        wordMLPackage.setFontMapper(fontMapper);

        Docx4J.toPDF(wordMLPackage, byteArrayOutputStream);

        ObjectMetadata objectMetadata = new ObjectMetadata();
        objectMetadata.setContentLength(byteArrayOutputStream.size());
        objectMetadata.setContentType("application/pdf");

        filePath = filePath.replace(".docx",".pdf");

        try (InputStream inputStream = new ByteArrayInputStream(byteArrayOutputStream.toByteArray())) {
            amazonS3Client.putObject(bucketName, filePath, inputStream, objectMetadata);
        } catch (IOException e) {
            throw new Docx4JException("Failed to upload the document to S3 in PDF", e);
        }
    }

this is my gradle

dependencies {
    implementation 'org.springframework.boot:spring-boot-starter'
    implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
    implementation 'org.springframework.boot:spring-boot-starter-web'
    implementation 'org.projectlombok:lombok'
    compileOnly 'org.projectlombok:lombok:1.18.24'
    annotationProcessor 'org.projectlombok:lombok:1.18.24'
    implementation 'org.springframework.boot:spring-boot-starter-validation'
    testImplementation 'org.springframework.boot:spring-boot-starter-test'
    testRuntimeOnly 'org.junit.platform:junit-platform-launcher'

    implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.17.2'
    implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.17.2'
    implementation group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.17.2'

    implementation group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.12.765'
    implementation 'commons-io:commons-io:2.13.0'

    implementation 'javax.xml.bind:jaxb-api:2.3.1'
    implementation 'org.glassfish.jaxb:jaxb-core:3.0.1'
    implementation group: 'com.sun.xml.bind', name: 'jaxb-impl', version: '4.0.5'

    implementation group: 'org.docx4j', name: 'docx4j-core', version: '11.4.11'
    implementation group: 'org.docx4j', name: 'docx4j-JAXB-ReferenceImpl', version: '11.4.11'
    implementation group: 'org.docx4j', name: 'docx4j-export-fo', version: '11.4.11'
}

originalFile(.docx)
enter image description here

convertedFile(.pdf)
enter image description here

The conversion itself goes well.
However, during conversion, all paragraphs are broken.

There are several related logs on my server.

1)

enter image description here

2)

2024-08-09T17:51:09.805+09:00 WARN 22686 — [nio-9000-exec-1] o.d.c.out.fo.FOPictWriterNoWrapImpl : No support for mso_position_horizontal_relative==false

2024-08-09T17:51:09.903+09:00 WARN 22686 — [nio-9000-exec-1] o.d.model.properties.paragraph.Indent : Only left/first-line indentation is handled at present

How to solve this problem?
and i how shoud we approach it?

I have seen similar cases stackoverflow
But I couldn’t solve this problem

I want to complete this task smoothly and for free.

New contributor

doby-jin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật