Hello.
I’m developing a Qt application and I need to render office files (.pptx, .xlsx, .docx).
My application uses Qml interface rather than QWidgets.
As I understand I have to use Apose.Slides, Aspose.Words and Aspose.Cels libraries. But I’ve not found any examples using Qml.
Does Aspose supports rendering into Qml engine, something like custom QQuickItem?
@AlexAvrBB
Can you please clarify what specific functionality you are looking for regarding rendering office files in QML using Aspose libraries?
@AlexAvrBB,
As for Aspose.Slides, we have opened the following new ticket(s) in our internal issue tracking system and will consider your question according to the terms mentioned in Free Support Policies.
Issue ID(s): SLIDESCPP-3969
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.
@AlexAvrBB,
For Aspose.Cells, we have opened the following new ticket(s) in our internal issue tracking system and will evaluate your requirements regarding XLSX files Qt application rendering according to the terms mentioned in Free Support Policies.
Issue ID(s): CELLSCPP-1126
By the way, Aspose.Cells might not directly support rendering XLSX files in a visual or UI context in Qt app as it is primarily a back-end library designed for manipulating and processing Excel files programmatically. But you may cope with it, i.e., use Aspose.Cells to convert the .xlsx file into images, PDF or HTML, and then display those images, PDF or HTML in your QML interface by yourselves.
@AlexAvrBB Please see our documentation to lean how to use Aspose.Words for C++ in Qt:
https://docs.aspose.com/words/cpp/work-with-word-documents-in-qt/
Thank you for the response.
I’ve already seen the documentation. It’s very informative. But it doesn’t answer my qustions:
- Does it support direct rendering into Qml (QQuickItem) without any conversion into images or pdf? I haven’t found any examples.
- Does Aspose.Slides support animations, auto-advancing slides?
- And I’ve seen only examples for Qt 5. Does it support Qt 6 ?
The main question is will I be able to embed office files viewer (like native MS Office) using Aspose libraries into my Qt6 Qml application?
@AlexAvrBB,
As for Aspose.Slides, I’ve added your questions to the ticket SLIDESCPP-3969.
@AlexAvrBB,
For Aspose.Cells, please spare us little time to evaluate your queries/requirements (we already logged a ticket “CELLSCPP-1126” for it) thoroughly and then we will provide updates on it.
@AlexAvrBB
Aspose.Cells for C++ doesn’t support such feature yet.
It works fine in Qt 6 to process Excel files.
@AlexAvrBB
No, there is no way to render document directly to Qml. All formats supported by Aspose.Words are described here:
https://docs.aspose.com/words/cpp/supported-document-formats/
There should not be a significant difference between Qt 5 and Qt 6.
Aspose.Words is class library for document processing. It does not provide any user interface for viewing or editing documents. This is out of Aspose.Words scope.
Thank you.
No, there is way to render …
Did you mean “a way” or “no way”?
There should not be a significant difference between Qt 5 and Qt 6.
Ok. By the way on my experience we caught a few breacking changes during update from 5 to 6.
Aspose.Words is class library for document processing. It does not provide any user interface for viewing or editing documents. This is out of Aspose.Words scope.
Got it. But I need only view documents and without interface elements and without editing. And the most significant part is viewing pptx files with all the animations.
Got it. Thank you.
Then, unfortunately it doesn’t fit the requirements.
@AlexAvrBB,
We are afraid, Aspose C++ APIs do not directly support rendering into Qml (QQuickItem). If you have any other questions or comments, please feel free to contact us.