Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Thu May 23, 2024 8:15 am

When converting docx files to pdf, if hyphenation is set in Word, the pdf conversion ignores this. Is there a way to get around this problem? Spire doc version is 12.4.6 (Java). Below is the code which should be pretty standard.

Code: Select all
        var document = new Document(inputStream);       
        var toPdfParameterList = new ToPdfParameterList();
        toPdfParameterList.isEmbeddedAllFonts(true);
        toPdfParameterList.setCreateWordBookmarksUsingHeadings(true);
        toPdfParameterList.setDisableLink(false);
        document.saveToStream(outputStream, toPdfParameterList);

spiidyee
 
Posts: 4
Joined: Tue Feb 20, 2024 7:54 am

Thu May 23, 2024 9:04 am

Hi,

Thanks for your message.
Can you send us your test files (input and output files) to '[email protected]' for us to test and investigate your issue? Thanks in advance for your assistance!

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 460
Joined: Mon Nov 07, 2022 8:10 am

Return to Spire.Doc

cron