We're sorry GroupDocsCloud doesn't work properply without JavaScript enabled.

Free Support Forum - groupdocs.cloud

PDF file containing progress bars doesn’t get properly converted to WORD file

Hey,

I’m using Groupdocs conversion API using Node.js to convert PDF to WORD.
I’m able to convert PDF to WORD but the converted word document is not 100% identical to the PDF file.
I’ve attaching both PDF and the converted Word file, In this I’m not getting the progress bars filled in bottom left section
I want the Word file to be identical to PDF, I’m using Paid API plan in my application,
For ease, I’ve also tried with Groupdocs website to convert but still getting same,
I’ve tried to convert this PDF on GroupDocs Online converter also, with the parameters
Width: 1050
Height: 1450
and I’m getting the word file as output that I attached.
The converted file is almost Identical but the progress bars are not filled as they are in the PDF in bottom left section

I’m using this on Windows 10 and I’ve attached my input and output documents

Please let us know, is there any solution for the same.

Any help would be greatly appreciated.

Thanks

input.pdf (6.1 KB)

input.pdf (6.13 KB)
output.docx (20.4 KB)

@CVJURY

I have tested the scenario using the latest version of GroupDocs.Conversion Cloud SDK for Node and unable to notice the issue. Please double check that you are using the latest SDK. Otherwise, please share your sample code with us for further investigation.
output_gd.docx (19.3 KB)

// load the module
var GroupDocs = require('groupdocs-conversion-cloud');
var fs = require('fs');

// get your appSid and appKey at https://dashboard.groupdocs.cloud (free registration is required).
var appSid = "xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx";
var appKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxx";


// construct Api
var api = GroupDocs.ConvertApi.fromKeys(appSid, appKey);

 var options = new GroupDocs.DocxConvertOptions();
	options.width=1050
	options.height=1450
 var settings = new GroupDocs.ConvertSettings();
            settings.filePath ="input.pdf";
            settings.format = "docx";
            settings.convertOptions = options;
	    settings.outputPath="output_gd.docx"
 
var request = new GroupDocs.ConvertDocumentRequest(settings);
//console.log(request); 
 api.convertDocument(request)
                .then((result) => {    
    console.log(result); 			    

}).catch(function(err) {
    // Deal with an error
    console.log(err);
});
1 Like

@tilal.ahmad

Thank you for detailed reply,
I’m not able to view the output docx you attached, as it’s private.
But with the code provided by you I was able to convert the word document right but only for that particular PDF.
I was using the latest SDK before but I was using code differently where, for width and height option I was using PDFConvertOptions instead of DocxConvertOptions.
Now, it seems to be working fine for that progress bar issue but there are few other case that it’s not working fine for same progress bars.

This is happening in many PDF’s where progress bars are overlapping the text in converted word document
I’m attaching few input PDF’s, and converted docx. when I’m converting these, progress bar is overlapping the text above them.

input1.pdf (5.6 KB)
output1.docx (16.8 KB)

input2.pdf (6.2 KB)
output2.docx (19.5 KB)

Please let us know, is there any solution for the same.

Thanks.

@bharat2913

Thanks for your detailed feedback. I have tested the scenario with shared PDF documents and noticed that text is overlapping on progress barcode images. So I logged a ticket(CONVERSIONCLOUD-489) for further investigation and rectification. We will keep you updated about the issue resolution progress in this forum thread.

1 Like

@tilal.ahmad

Thanks for looking into it.

1 Like

@tilal.ahmad
Ref - CONVERSIONCLOUD-489
Was there any update on this? TIA

@CVJURY

I am afraid we cannot share any ETA at the moment as we have recently noticed the issue and it is pending for investigation in the queue. We will share an update/ETA as soon as the investigation is completed.