I couldn’t find accurate information concerning XAML / Flow Document support. Is it yet supported as announced in older posts from last year? I couldn’t find information on the product page, it states that only xps is supported.
Although this thread is a bit out of date, it is relevant (for us, at least :).
The issue of converting Word document into a Flow document is essential, and imperative in our project.
The lastest version (downloaded yesterday) seems to enable conversion to Xaml(Fixed), which would be a good start (until the XamlFlow is officially released), however, there seems to be a lot of elements which are not beign converted, like Images, WordArt, etc’…
Am i doing something wrong in the conversion, or is this a known issue?
Thanks for your request. Could you please attach your input and output documents here for testing? I will check the issue and provide you more information.
I noticed the new folder created by the Save Method, however, there are no URI packs and/or any other way of “binding” the Images in the document to the folder…
Thanks for your request. Unfortunately, there is no way automatically embed images into XAML. Maybe in your case, you can use XPS instead of XAML. You can easily display XPS document in your WPF application and in this case, all resources like images and fonts are inside XPS document.
You are Correct, However we need the ability to inject elements to the Xaml, after conversion, and retrieve certain elements from the Xaml, so xps is out of the question, I’m afraid.
Are you familiar with XamlPackage? can u embbed it into the code so we can achive the goal- ‘independent xaml’ ?
Thanks for your request. I am not familiar with XamlPackage, but it sounds like Xaml with embedded resources. Am I right? If so this might be an interesting save option for Fixed Xaml. Could you please attach an example of Xaml package here? I simply failed to find a specification for this format. I will investigate and let you know if it is possible to implement.
Thanks for your request. I investigated a capability. We can add such save format. But XAML package is an option only for flow XAML. Doe fixed XAML we have XPS format, which is actually a XAML package for FixedDocument.
Not sure we will provide this save format in the next version of Aspose.Words. but we will let you know once it is available.
Thanks for your request. We are working on this issue right now. Currently in our code base we support basic text and paragraph formatting and basic tables. Hopefully, we will release the next iteration of XAML in February or March release.