How to retain font format in xlsx

  • 62 Views
  • Last Post 18 October 2018
samala goutham posted this 17 October 2018

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

Helen Osetrova posted this 18 October 2018

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.

 

Close