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

Free Support Forum - aspose.com

Some Group Drawings Are Missing When Convert Word To PDF-A1

Hello Supporter.

Our Company is planning to buy Aspose Total Product Family. And We are checking how well Aspose Total Product Family fit with our requirement.

We used the library to convert directly Word to PDF-A1. But When converting like that, some drawings in Word were missing in output PDF-A1.

Please see the picture
18191_2017-11-01_MH_PdfA_ConvertedByAspose_MissingGroupedShapes.png (211.6 KB)
to know my problem.

I also attach a origin Word for you to check.
18191_2017-11-01_MH_Compliancekonzept_CaseNet_docx.zip (1.0 MB)

Hope you can reprocedure my problem.

Please let me know your answer.

Thank you very much for your support.

Yours,
Nghia.

@nguyen.xuan.nghia

Thanks for your inquiry. We have tested the scenario and noticed the reported issue. We have logged a ticket WORDSNET-16077 in our issue tracking system for further investigation and rectification. We will notify you as soon as it is resolved.

We are sorry for the inconvenience.

Thank you very much for your support.

We also tried a another way to convert word to PDF/A1 in steps:

  1. Convert word to PDF
  2. Convert PDF of step 1 to PDF/A1

I checked PDF/A1, I can see group drawing APPEARS.
But when I validate the file in PDF Validator, I see there are some problems. You can see validate result in:
validator.PNG (6.5 KB)

Could you explain me why I have the result like that?

Thank you very much
Yours,
Nghia

@nguyen.xuan.nghia

Thanks for your feedback. Please share your sample code snippet along with output PDFA document. We will look into it and will guide you accordingly. As a workaround, you can convert Word to PDF/A1 with collaboration of Aspose.Words and Aspose.Pdf. First convert Word document to PDF using Aspose.Words and then convert PDF to PDFA using Aspose.Pdf.

(134.3 KB)

Thank for your feedback.

  1. To convert Word to PDF, we used code:
    public bool DocToPdf(string input, string output)
    {
    try
    {
    var doc = new AsposeWord.Document(input);

                 var opt = new AsposeWord.Saving.PdfSaveOptions();
                 doc.Save(output, opt);
                 return true;
             }
             catch (Exception e)
             {
                 return false;
             }
             
         }
    
  2. To Convert PDF to PDF/A, we used code:
    public bool PdfToPdfA(string input, string output)
    {
    try
    {
    var doc = new AsposePdf.Document(input);
    doc.Convert(“D:\xmllog.xml”, PdfFormat.PDF_A_1A, ConvertErrorAction.Delete);

                 // Save output document
                 doc.Save(output);
                 return true;
             }
             catch (Exception e)
             {
                 log = e.ToString();
                 return false;
             }
          
         }
    

And you can get the output PDFA document in here:
18191_2017-11-02_MH_WordToPdf_PdfToPdfA_PdfA.pdf (1.5 MB)

NOTE:
Make sure you will answer questions from us:
A) Missing Shapes when converting directly Word to PDF/A1
B) Validation PDFA When converting Word to PDF, and then convert PDF to PDF/A1

Because they are different problems we would like to ask you.

Thank you very much for your support.

Yours,
Nghia

@nguyen.xuan.nghia
Thanks for your feedback.

As stated above, we have already logged a ticket for investigation of the issue and will keep you updated about the issue resolution progress.

Please use Adobe Acrobat for PDFA validation. We have validated your shared document with Adobe Acrobat without any issue.
image.png (85.1 KB)

Thank for your feedback.
We are using tool https://www.pdf-online.com/osa/validate.aspx to validate PDF/A.
So there are differences from Adobe Acrobat and the tool we use.
Am I right?

  1. Could you please try to validate by https://www.pdf-online.com/osa/validate.aspx ? Is it a trust service for validating?
  2. Could you explain a bit why we have such a difference when using https://www.pdf-online.com/osa/validate.aspx and
    Adobe Acrobat?
  3. Which validation tool is correct/better?

Thank for your feedback.
Yours,
Nghia

@nguyen.xuan.nghia

Thanks for your feedback. Please note we follow Adobe Preflight for validating PDF/A conformance and recommend to use it for the purpose. As all tools, available in market, have their own “representation” of PDF/A conformance. Please check this blog post for the reference. We chose Adobe products as tools for verifying how Aspose.Pdf produces PDF files just because Adobe is in the center of all which are connected with PDF.

Hello Tilal.ahmad.

We choose veraPDF as a master validation Tool for PDF/A.
We tried to test your product to convert from PDF To PDF/A1, and we can see most of output PDF/A is passed with veraPDF.

BUT we see a output PDF/A, which is NOT passed in veraPDF.

So I would like to give you the output PDF/A, and please use “Adobe Acrobat” to validate the file for us(we do not have Adobe Acrobat Pro to validate).
You can get the output PDF/A in here
18483_2017-11-07_DP_PSB_I_0121_Integrationsplan_v26_PdfA.pdf (322.7 KB)

Hope it is passed with “Adobe Acrobat”. If not, please let us know the reason.

If you need original file Word document, you can get here:
18483_2017-11-07_DP_PSB_I_0121_Integrationsplan_v26.pdf (255.9 KB)

Thank for your feedback.
Yours,
Nghia

@nguyen.xuan.nghia

Thanks for your feedback. We have validated your shared PDF with Adobe Acrobat XI without any issue.

(97.4 KB)