Word is converted into PDF files when distortion

I use asponse, Word will find there will be a Word document into PDF picture is missing, and partial view text not situation, but not all the doc document will appear, but it still makes us very headache

@airTisan,

Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please attach the output PDF file that shows the undesired behavior.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we’ll start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

file.zip (109.8 KB)
Thank you for your reply, I have the code and the source file to you, processing is completed, please give me a reply in time, thank you

@airTisan,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-16015. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

@tahir.manzoor Thank you for your concern, I want to know, if appear this kind of transformation is not ideal or content distortion, is there any exception mechanism to remind, so that we can in the transformation is not ideally, choose not to deal with these files

@airTisan,

Thanks for your inquiry. Your issue is related to table grid calculation. Aspose.Words provides the IWarningCallback which can be implemented to receive warnings of potential fidelity loss when loading or saving a document. Please refer to the following article.

Receive Notification Solution

@tahir.manzoor Thank you for your advice, after testing, we found that the warning types and accurate said to our current distortion is unusual, if you have found the suggestion to solve the distortion of form, please timely feedback, thanks again

@airTisan,

Thanks for your inquiry. Unfortunately, there is no workaround available for this issue. We will inform you via this forum thread once there is any update available on this issue. We apologize for your inconvenience.

@airTisan,

Thanks for your patience. In your case, Aspose.Words fails to set CompatibilityOptions.UseFELayout to true. You can workaround this issue by manually setting this property. We will inform you via this forum thread one this issue is resolved. We apologize for your inconvenience.

@tahir.manzoor Hello, thank you for your attention, after we test set up UseFELayout is true, the document content and don’t have any change, or will we feedback problems

@airTisan,

Thanks for your inquiry.

Your input document was saved by MS Word and it is MHT file. Aspose.Words does not recognize and use special CSS styles and HTML elements saved by MS Word to facilitate conversion back to DOCX. This is related to missing feature WORDSNET-10399 (Add support of MSO attributes durng HTML import). We will inform you via this forum thread once this issue is resolved.

We apologize for your inconvenience.