Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excel,Docs Files Not supported in Base64 Input method #66

Closed
knaveenstar opened this issue Dec 24, 2020 · 5 comments
Closed

Excel,Docs Files Not supported in Base64 Input method #66

knaveenstar opened this issue Dec 24, 2020 · 5 comments

Comments

@knaveenstar
Copy link

Hi Team,

I try to load the files using the Base64 method. such as below

<DocViewer
documents={[{uri: this.state.FileBase64}]}
pluginRenderers={DocViewerRenderers} config={{header:{ disableHeader: true,
disableFileName:true}}}/>

Its working fine for PDF and Images but not working for Docx,doc,xlsx files.

image

please help me to fix this issue

@mattmogford-alcumus
Copy link
Collaborator

mattmogford-alcumus commented Dec 24, 2020 via email

@knaveenstar
Copy link
Author

HI Alucumus,

can you please help me create the custom render which supports base64 as input and support for office file such as word,excel and PPT

@mattmogford-alcumus
Copy link
Collaborator

@knaveenstar Hi,
There are ways to convert DocX to html and possibly pdf.
But there's not really a common way to locally render all ms docs. Each ms document type is very complex on its own and would take A LOT of manual conversion to display in the browser.

@shantha2210
Copy link

HI Alucumus,

can you please help me create the custom render which supports base64 as input and support for office file such as word,excel and PPT

@knaveenstar hi,
do you find any solution for rendering docx, ppt files using base64, i had same scenario for my current work. any suggestions might be useful.

Thanks
Shanthakumar

@redmob
Copy link

redmob commented Dec 23, 2022

Docs and excel files not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants