I am uploading docx, xlsx(excel files) and pdfs to nuxeo and able to see them in Nuxeo UI correctly.
Using the java client's method streamBlobByPath I am able to fetch the blob of document in my custom code.
nuxeoClient.repository().streamBlobByPath(path, "file:content");
For the docx or xlsx files, when I use Nuxeo UI I am able to see the documents embedded in a pdf previewer.
How can I get the docx and xlsx as pdf blobs so it can be rendered by my custom pdf previewer?
I do not want the pdf previewer embedded in the blob. Just the content as pdf formatted blob.