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

Free Support Forum - aspose.com

Missing graph/chart when converting to pdf

I am having a problem with converting files to pdf, when I am trying to convert a word file wich contains a graph or a char previously copied from excel. The hole text is there but graphs are missing.


Thanks for your query. We had already logged this issue as WORDSNET-4494 in our issue tracking system. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

I would like to know, when do you expect this issue to be fixed.
This is very important for me/us, because this issue gives bed experience of pdf converting feature to users.
Best regards

Hi Miodrag,

Thanks for your patience.

I am afraid this issue WORDSNET-4494 has now been postponed till a later date due to some other important issues and new features. We will inform you as soon as there are any further developments.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-4494) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.

Hello again
I have downloaded the newest update and now have Aspose.Cells version, Aspose.Words and Aspose.Pdf ver in my code. Problem is that I still get exceptions when converting word files containing graphs from excel:

System.NullReferenceException: Object reference not set to an instance of an object.
at xcc8a79815d76af85.xc19947e71bdbe16a.get_x08c5d9f4b0653c8d()
at xcc8a79815d76af85.xc19947e71bdbe16a.x633d57e35b6715a4()
at xad5c68c1ad3b0224.x9b87766ad1dbe8d6.get_x759aa16c2016a289()
at xb3013071794e5415.xd17edb07eea89cb0.x19858496179c0d1c(xc48e9faacc88a3d5 x07f5d57888ef4f31, xcd7d6e7318ee6574 x0f7b23d1c393aed9)
at xb3013071794e5415.xc48e9faacc88a3d5.xb7ae55095fddecd9(xd4e66257276c6905 x02726bba19c4d190)
at xb3013071794e5415.xc48e9faacc88a3d5..ctor(xd4e66257276c6905 chartSpace, xcd7d6e7318ee6574 context, RectangleF targetRect)
at xb3013071794e5415.x6d22cf1ff5170ee8.x29e10d570eb15eb8()
at xb3013071794e5415.x6d22cf1ff5170ee8.x5f4110dcb07fa3ed()
at xb3013071794e5415.x6d22cf1ff5170ee8.xe406325e56f74b46()
at xb3013071794e5415.x6d22cf1ff5170ee8.xe406325e56f74b46(xd4e66257276c6905 x02726bba19c4d190, xcd7d6e7318ee6574 x0f7b23d1c393aed9)
at xad5c68c1ad3b0224.xd4e66257276c6905.Render(x2094302a66c2ec77 nodeRenderParams)
at x996431aaaaf00543.x3064c6a807d3a0a8.x5b81632e5b71b64c(XmlDocument x5510939d5b9dcd91, SizeF xbc26217ba3290abe, x56ef2519e07fdbb4 x10154c16e21df88a)
at x3d94286fe72124a8.x73d966e39902908a.xe406325e56f74b46(x7721ad963b03c6eb xa3d15e542708d37f)
at x59d6a4fc5007b7a4.xa7492065dee59ad0.x539f48f6ee6ea753(xdeb77ea37ad74c56 x1e972e751678e682, Boolean& xf31bd0ec37d2cc8b)
at x59d6a4fc5007b7a4.xa7492065dee59ad0.xe406325e56f74b46(xdeb77ea37ad74c56 x1e972e751678e682, Boolean& xf31bd0ec37d2cc8b)
at x4adf554d20d941a6.x544de0c6d24f79dc.x2b797a3c54087a9b()
at x4adf554d20d941a6.x544de0c6d24f79dc.get_xdc1bf80853046136()
at x4adf554d20d941a6.xa67197c42bddc7dc.get_x887b872a95caaab5()
at x4adf554d20d941a6.x56410a8dd70087c5.get_xdc1bf80853046136()
at x4adf554d20d941a6.xf0b374f4c0172a4c.xc7c6550a888abaf3()
at x4adf554d20d941a6.x6d3ade29d016f4ea.x51649cd72b44eb28()
at x4adf554d20d941a6.x6d3ade29d016f4ea.x5f6867bc5a977cb1()
at x4adf554d20d941a6.x6d3ade29d016f4ea.xc3819e13f60dd8e6(xf6937c72cebe4ad1 x311e7a92306d7199, Int32 xbfb9ad5ef64f6dc5)
at x4adf554d20d941a6.x20de8d9377d7de69.xc3819e13f60dd8e6(xf6937c72cebe4ad1 x311e7a92306d7199)
at x4adf554d20d941a6.x09e62a55cab70965.x5de571cf1cd1652c(xf6937c72cebe4ad1 x311e7a92306d7199)
at x4adf554d20d941a6.x09e62a55cab70965.xc3819e13f60dd8e6(xf6937c72cebe4ad1 x311e7a92306d7199, Int32 xcd3a9f82634fe5f9)
at x4adf554d20d941a6.x71da84fff8849445.xc3819e13f60dd8e6(x53cb1139c5c64ee6 xd7e5673853e47af4, Int32 xcd3a9f82634fe5f9, Boolean x3175070523842c98)
at x4adf554d20d941a6.x4ddd0723770f9758.xb47a6df2eae4ba51()
at x4adf554d20d941a6.x4ddd0723770f9758.xc3819e13f60dd8e6(x3d1ad8ce75f0db3a xd3311d815ca25f02, Int32 xd284dd7d525c5491, Boolean x3175070523842c98, Boolean x4097fa47409be495)
at x4adf554d20d941a6.x3f7228e953be72ed.xd79114a9e7bc0d9e()
at x4adf554d20d941a6.x3f7228e953be72ed.xc3819e13f60dd8e6(x852fe8bb5ac31098 xe3e287548b3d01f5, Int32 xd284dd7d525c5491)
at x4adf554d20d941a6.x4af2add38e634ad4.xcbc2273143eac9ec(x852fe8bb5ac31098 xb6842aa1e60562e1)
at x4adf554d20d941a6.x4af2add38e634ad4.xc3819e13f60dd8e6(xc7f90d9c7c51cede xbbe2f7d7c86e0379)
at x4adf554d20d941a6.xea876d525d28ff96.xc3819e13f60dd8e6(x398b3bd0acd94b61 xd7e5673853e47af4)
at x4adf554d20d941a6.xac6c82c74ce247fb.xc3819e13f60dd8e6(Boolean xfad304b5f8f3bb5b)
at x4adf554d20d941a6.xa268fdb9ca040dde.xc3819e13f60dd8e6(Boolean xfad304b5f8f3bb5b)
at x4adf554d20d941a6.x4e2f8bff72d83f71.xc3819e13f60dd8e6()
at x59d6a4fc5007b7a4.xcde671c53995c411.xd9db07500873ae98(Document x3664041d21d73fdc, xdeb77ea37ad74c56 xdfde339da46db651)
at Aspose.Words.Document.UpdatePageLayout()
at Aspose.Words.Document.x410db0f4a89a6ef1(Boolean x24af0daafcd8fb8c)
at xf989f31a236ff98c.x6c74398bceb133f8.xa2e0b7f7da663553(x8556eed81191af11 x5ac1382edb7bf2c2)
at Aspose.Words.Document.xf381a641001e6830(Stream xcf18e5243f8d5fd3, String xafe2f3653ee64ebc, SaveOptions xc27f01f21f67608c)
at Aspose.Words.Document.Save(Stream stream, SaveOptions saveOptions)
at Aspose.Words.Document.Save(Stream stream, SaveFormat saveFormat)

This my method for converting word files:

private static byte[] GetWordDocumentAsPdf(byte[] fileData)
    using(var result = new MemoryStream())
        using(var fileDataStream = new MemoryStream(fileData))
            var document = new Document(fileDataStream);
            document.Save(result, SaveFormat.Pdf);
            return result.ToArray();

Any help will be appreciated.
Best regards

Hi Miodrag,

Please accept my apologies for late response.

Thanks for your inquiry. Could you please attach your input Word document here for testing? I will investigate the issue on my side and provide you more information.

Here is my docx file,

Hi Miodrag,

Thanks for sharing the file. I have managed to reproduce the same issue at my side. I have logged this issue as WORDSNET-7285 in our issue tracking system. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi Tahir
Thanks for your answer.
Our customer is pretty annoyed about this, do you have any estimat when this is going to be fixed?

Hi Tahir
Thanks for your answer.
Our customer is pretty annoyed about this issue, do you have any estimat when this is going to be fixed?

Hi Miodrag,

Thank you for your patience. We have a good news for you that is WORDSNET-7285 has now been resolved and its fix will be included in the next version of Aspose.Words (v11.10.0) which is planned to be released by the end of this month. We will inform you via this forum thread as soon as the new release is published.

Best regards,

The issues you have found earlier (filed as WORDSNET-7285) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.