cancel
Showing results for 
Search instead for 
Did you mean: 

How to fetch docx and xlsx blobs as pdf from REST api or Java client

Jyothsna_SM
Champ in-the-making
Champ in-the-making

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.

3 REPLIES 3

Patrick_Abgrall
Star Contributor
Star Contributor

I can try a suggestion

Jyothsna_SM
Champ in-the-making
Champ in-the-making

[Patrick Abgrall](https

Patrick_Abgrall
Star Contributor
Star Contributor

The way I have described is in fact documented at https

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.