Yes I do want only the chart to export to flapOpc, but even this flatOpc you provided has table tags. What happens because of that is when I insert this xml I get the table design and layout options along with chart design which I would like to avoid. I believe whenever the SaveAsEditableShapes is enabled the table will be present in the OOXML. So the only way I have been able to avoid that is after saving it to Docx I copy only the chart into a new doc and then save that as flatOpc. If we can replicate this great, otherwise I am absolutely fine with just having EmbedXlsxAsChartDataSource saveoption. Hope this makes sense.
@Adhirath
Thank you for your feedback. We have understood your needs. You need to directly convert the chart to flapOpc, and there are no table tags in the conversion result file.
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): CELLSNET-58963
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
This new enhancement/fix will be included in the next release (Aspose.Cells v25.9), which will be released before the end of this week of September 2025. We will notify you once the new version is available.
The issues you have found earlier (filed as CELLSNET-58945,CELLSNET-58963,CELLSNET-58933,CELLSNET-58958) have been fixed in this update. This message was posted using Bugs notification tool by leoluo
Thank you for your kind words. We glad to hear that the new version meets your needs. If you have any further questions or feedback, please don’t hesitate to reach out to us.
Hi guys, it’s working great unfortunately I am facing issue with retrieving the WordML in case of the following charts-
Box and Whisker, Histogram, Pareto, Treemap, map .
Are these not supported or my code is at fault.
Could you please elaborate on the issue you are experiencing? Also, please zip and attach sample input Excel file(s) along with any output files (if generated). Additionally, we would appreciate it if you could share the sample code snippet you are using with Aspose.Cells APIs. We will check your issue soon.
@Adhirath
Thank you for your feedback. Please take your time to zip and attach sample excel files along with any output files (if generated). It would be helpful to provide runnable sample code and screenshots to reproduce the issue. We will check it soon.
@Adhirath
If we directly convert xlsx to docx, BoxAndWhisker Chart works fine in docx.
Workbook workbook = new Workbook(dir + "BoxAndWhisker.xlsx");
var saveOptions = new DocxSaveOptions();
//saveOptions.AsFlatOpc = true;
saveOptions.SaveAsEditableShapes = true;
workbook.Save(dir + "net259.4.docx", saveOptions);
net259.zip (34.3 KB)
We fixed an issue of theme color of docx file in 25.9.4
Maybe it should be issue that Aspose.Words does not support advance charts(Histogram, Pareto, Treemap, map ) since office 2016.
If you still want to use Aspose.Words to extract charts , please contact Aspose.Words team.
And is there any issue in docx flatopc file generated by Cells?
Yes, even when using AsFlatOpc true the OOXML seems to have no chart details. I tried copy/pasting as well and I get what you’re saying even word does not support pasting these charts with data. Let me look further into it.