Questions tagged [ngx-doc-viewer]

15 questions
4
votes
0 answers

How to load blob data or original file content using ngx-doc viewer in angular 9?

Actually I want to load my blob data or original file content in ngx-doc-viewer, I could not see any solutions here to load the blob or file content in ngx-doc-viewer It requires file path But Instead of using file path we need to load blob data…
perumal N
  • 641
  • 2
  • 10
  • 27
1
vote
0 answers

How can I solve my issue with Ngx doc viewer with office viewer and google viewer?

I am using ngx-doc-viewer for previewing Microsoft office files. The viewer I am taking is office, which results in an issue. When I preview PowerPoint (ppt) file, it is showing spreadsheet; however, this behavior is not constant. Every-time I…
1
vote
1 answer

Angular - Ngx Doc Viewer - Document displaying blank sometimes

I am using ngx-doc-viewer(Version 2.0.4) for previewing documents in my angular application. I am using google viewer. Its loading the documents fast but sometimes its not previewing the document and showing the blank content without any console…
1
vote
1 answer

How to preview *.docx and *.xlsx inside the application using Library like 'ngx-doc-viewer2'

It's been 3 days, I am searching for a solution to display my *.docx and *.xlxs file in my angular application. I have an API which is returning the files as blob. Now, I want to use that blob to show the file. I can easily download the file using…
Srijon Chakraborty
  • 2,007
  • 2
  • 7
  • 20
1
vote
1 answer

Unable to install ngx-doc-viewer in angular 9

I am trying to install ngx-doc-viewer in angular 9 project. But it throws some error, here I have attached the error. Anyone faced this issues? or Suggest me any other document viewer using angular 9 npm ERR! code ERESOLVE npm ERR! ERESOLVE unable…
perumal N
  • 641
  • 2
  • 10
  • 27
0
votes
1 answer

ngx-doc-viewer downloading xlsx rather than previewing?

I setup ngx-doc-viewer to preview various file types using url, and while it works for pdfs, jpegs, and everything else I've tried, excel files just seem to not preview anything(it doesn't say "no preview available" like I've ran into before) and…
J64
  • 74
  • 1
  • 2
  • 10
0
votes
0 answers

ngx-doc-viewer - didnot support large files

larger files (PDF) is not getting viewed.I want to view large pdf file. In ngx doc viewer documentation its given google viewer will accepts 25mb files but url file limit is not mentioned any where , i need to view pdf file with 50mb…
0
votes
1 answer

Getting 404 while trying to preview a newly edited office document in ngx doc viewer Angular

I'm working on ngx-doc-viewer in angular and when I'm trying to get a document preview of Docx file I'm getting 404 in one case. I'm uploading my document to a blob storage and giving that blob URL for the file URL of the document. Normally, If I…
0
votes
0 answers

open doc file, excel file in my angular app

is there any way to open doc file, excel file in my angular app rather using ngx-doc-viewer becuasthis package need file to be public on the net and my files will be public only on local network (example: //myserver/mydoc.extension) ? myserver…
0
votes
0 answers

Browser getting crash while previewing file using ngx-doc-viewer

I am trying to preview the files like pdf, txt using angular ngx-doc-viewer. When I click on a preview button where Another Matdialog open and in matdialog I used ngx-doc-viewer with viewer="url". My whole browser is getting crash. So if there is…
0
votes
1 answer

Angular - ngx-doc-viewer - Google Doc Viewer - Getting 400 Malformed Url when creating url from a blob

Using Angular 10 and the library ngx-doc-viewer : https://www.npmjs.com/package/ngx-doc-viewer. I am getting this error: "400. That’s an error.The server cannot process the request because it is malformed. It should not be retried. That’s all we…
0
votes
0 answers

Angular catching a 404 file not found error while using ngx-doc-viewer

I have implemented ngx-doc-viewer to be able to render docx files in my webapp. Since the webapp is multilanguage, I do have different docx for every implemented language and I do load the correct docx, depending on the current language selected.…
0
votes
1 answer

How we can preview list of documents in ngx-doc-viewer?

I am using an angular package, I am having an array of documents which includes images and pdf documents. The demo and documentation of the package are showing one file in the viewer, however, my requirement is to display an array of documents in…
0
votes
0 answers

how to display .xls or word file in ngx-doc-viewer angular 8?

I want to display .xls or word in file my previewer. I am using ngx-doc-viewer. can anyone tell me how can i do this? html code for previewer:
Stuti Shah
  • 24
  • 8
-1
votes
1 answer

I am using angular 9 (Ivy complier) and I need to display the pdf file in preview. For this i just want to use the ngx-doc-viewer but it showing error

ERROR in ./node_modules/ngx-doc-viewer/fesm2015/ngx-doc-viewer.mjs 200:181-193 Can't import the named export 'CommonModule' from non EcmaScript module (only default export is available) ERROR in…