Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

issue with docx to pdf conversion

Avatar

Level 1

Hello,

 

We are currently facing a problem while converting a docx document to a PDF format using Adobe Experience Manager 6.5, The issue arises when the word document contains a double prime symbol (″). As a result, the generated PDF is corrupted, and the content following this special character is not fully displayed. For visual reference, please refer to the attached images above:

 

Word:

ImadAa_0-1703777719511.png

PDF : 

ImadAa_1-1703777751369.png

thanks in advance for your help.

 

 

2 Replies

Avatar

Community Advisor

Hi @ImadAa 

May I know how exactly you are doing the conversion? Have you written any custom code for it?

-Sravan

Avatar

Level 1

hello @B_Sravan,

Thank you for your response. Here are the actions we take for the conversion:

 

Home > Services >PDF Generator > Create PDF

ImadAa_1-1704189736488.png

 

ImadAa_0-1704189087677.png

 

here is the configuration we did :

'Home', 'Services', 'PDF Generator' then 'File type settings'

Standard => Standard_MC:

In Microsoft Excel :

  •  ncheck ‘Try OpenOffice as fallback converter’
  • Add the xlsm extension
  • Check 'Convert entire workbook'

In Microsoft Word:

  • Uncheck ‘Try OpenOffice as fallback converter’
  • Add .docm extension
  • Uncheck ‘Add bookmarks to Adobe PDF’
  • Uncheck ‘Convert document information’
  • Check ‘Keep annotations…’

Go to Home > Settings > Core System Settings > Configurations :

  • Change the value of ‘Default maximum document input line size’ to 10485760
  • Change the value of 'Default delay before deleting the document' to 3600

 

Go to Home > Services > Applications and services > Service management

Click on ConvertPdfService

  • Modify the value of ‘Transaction Time Out’ to 3600 

Go to Home > Services > Applications and services > Service management

Click on PDFGConfigService (page 3)

  • Change the value of 'Server Conversion Timeout' to 3600
  • Change the value of 'Server Global Timeout' to 3600

We also utilize a Java code to generate the PDF, and we have the same isue.

Thank you for your help.