Community

How to retain font format in xlsx

Hi,

We converted the pdf file to xlsx using abbyy fine reader engine.But unable to retain the font format in xlsx.Please suggest any procedures.

 

 

Thanks,

Goutham

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Helen Osetrova

    Hi Goutham,

     

    To help us assist you better, please post here the source PDF document, the XLSX output, and the code which is used for processing and export. For now, we can suggest you setting the LayoutRetentionMode property of the XLExportParams object to XLLRM_ExactDocument value:

     

    // C# sample code
    FREngine.Engine Engine;
    FREngine.FRDocument frDocument;
    ...
    // Tuning parameters of export
    FREngine.XLExportParams exportParams = Engine.CreateXLExportParams();
    exportParams.LayoutRetentionMode = FREngine.XLSXLayoutRetentionModeEnum.XLLRM_ExactDocument;
    // Save results using specified parameters
    frDocument.Export( "D:\Demo.xslx", FREngine.FileExportFormatEnum.FEF_XLSX, exportParams);

     

    Please find more on tuning export parameters in Developer's Help → Guided Tour → Advanced Techniques → Tuning Export Parameters.

     

    0

Please sign in to leave a comment.