Aspose.PDF - PDF to DOCX conversion issues

When using the Aspose.PDF free converter at Convert PDF | Online and Free our PDF converts to DOCX with a nearly identical layout. However, when we attempt to convert using C# on .NET Core in Debian Linux the conversion is missing some of the signature lines and one page is jumbled. Can you help me understand what may be different about the Aspose online conversion tool and our .NET installation to help us achieve similar results?

Original PDF document: original.pdf (278.7 KB)

DOCX received from Aspose online conversion (nearly identical): converted-aspose.app.docx (24.6 KB)

DOCX received from Aspose.PDF C# on .NET Core (broken content): converted-NET-core.docx (36.2 KB)

Our .csproj file looks like:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp3.1</TargetFramework>
    <RuntimeIdentifiers>win10-x64;osx.10.12-x64;debian.10-x64;linux-x64</RuntimeIdentifiers>
    <TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Aspose.PDF" Version="21.7.0" />
    <PackageReference Include="Aspose.Words" Version="21.8.0" />
    <PackageReference Include="SkiaSharp" Version="2.80.3" />
    <PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="2.80.3" />
    <PackageReference Include="System.Collections" Version="4.3.0" />
    <PackageReference Include="System.Diagnostics.Debug" Version="4.3.0" />
    <PackageReference Include="System.IO.FileSystem.Primitives" Version="4.3.0" />
    <PackageReference Include="System.Runtime.Extensions" Version="4.3.0" />
    <PackageReference Include="System.Runtime.InteropServices" Version="4.3.0" />
  </ItemGroup>

</Project>

We’ve tried using both versions of the code samples at https://docs.aspose.com/pdf/java/convert-pdf-to-docx/. Our latest C# implementation looks like:

public static void PDFToWord(string sourceUri, string destUri)
{
    if (File.Exists(@sourceUri))
    {
        var pdfDoc = new Aspose.Pdf.Document(sourceUri);

        Aspose.Pdf.DocSaveOptions saveOptions = new Aspose.Pdf.DocSaveOptions();
        saveOptions.Format = Aspose.Pdf.DocSaveOptions.DocFormat.DocX;
        saveOptions.Mode = Aspose.Pdf.DocSaveOptions.RecognitionMode.Flow;
        saveOptions.RecognizeBullets = true;

        pdfDoc.Save(Path.GetFullPath(destUri), saveOptions);
    }
    else
    {
        Console.Error.WriteLine("Unable to find file");
        Environment.ExitCode = 1;
    }
}

This topic has been moved to the related forum: Aspose.PDF - PDF to DOCX conversion issues - Free Support Forum - aspose.com