Questions tagged [document-view]

32 questions
12
votes
3 answers

word document viewer browser plugin

Is there a browser plugin or an extension that allows the user to view .doc files in browser? I need to embed in my application, a document viewer. So far, I tried using services like google docs, but this solution doesn't work for our application,…
Madalina
  • 1,297
  • 6
  • 15
  • 25
8
votes
2 answers

How to view PDF document in VAADIN

I want to build a view in which a can display PDF, Word, plain/text documents in Vaadin. Is there a way to do this ? Thanks.
deltascience
  • 3,321
  • 5
  • 42
  • 71
6
votes
4 answers

Making Document View in Emacs fit to width of page

I'm trying to use Document View in Emacs to read PDFs, but I can't figure out how to make it behave similarly to the 'fit to width' command many PDF readers have. Is there an internal way to do this?
Koz Ross
  • 3,040
  • 2
  • 24
  • 44
4
votes
1 answer

How to use the Document/View architecture in MFC

I'm still working on a Data Acquisition program in MFC and am getting stuck working with the Document/View architecture. Basically, I want my application to have a couple windows. One is used to show a video that's recorded from a high speed…
Nate
  • 259
  • 1
  • 4
  • 12
4
votes
2 answers

Is MFC UpdateAllViews blocking or non blocking?

I have a MFC code based on Document View framework. I use UpdateAllViews(nullptr,0,nullptr) from Document class to invoke the View's OnDraw member function. void MyDocumentClass::MyFunction() { //.. Document code to create and process data …
The Vivandiere
  • 3,059
  • 3
  • 28
  • 50
2
votes
1 answer

What is the correct way to access DLL functions in a SDI app?

I have a simple SDI app which works pretty well. Lately I decided to make use some of functions, exported by a DLL. All those DLL functions work with a static memory buffer (which the app must define and use in the function calls) . Fact is, some…
Wartin
  • 1,965
  • 5
  • 25
  • 40
2
votes
2 answers

MFC doc/view architecture - create document without initial view

I'm transferring some old C++ code from an old build environment (VS2003) to a (slightly) newer one (VS2010) - a newer IDE is not appropriate for various reasons. I'm trying to build it with as few changes as I can manage. It loads up a set of views…
nmw01223
  • 1,611
  • 3
  • 23
  • 40
2
votes
1 answer

DocumentView shows me error while using custom font

Friends I am using the DocumentView for justifying and using a custom font in it. I works fine for justifying the font but when i place the path of custom font in it.It shows error to me. Here is my…
hasnain_ahmad
  • 325
  • 6
  • 17
2
votes
1 answer

MFC CView into CDockablePane

I need to place a CView derived class into a CDockablePane. Is there any code example somewhere, or can someone provide such code? What I tried: Apparently should be simple, online I found advice like "just create the view and set its parent to be…
Cristi Stoica
  • 169
  • 2
  • 7
1
vote
1 answer

Show files in browser that are not in web directory and not linkable

We are using Laravel v.5.8 and have our public files in a directory like... /www/public/pubfiles/myfile.php I can link to these with no problem. We also have an upload script that by design puts the files in... /uploads/nonlinkablefile And then…
Don
  • 1,570
  • 4
  • 22
  • 38
1
vote
1 answer

pe:documentviewer nameddest attribute doesn't work

I'am trying to show a pdf in a p:dialog , but i want to open pdf in a spécific destination, there is my code:
M.A.Bell
  • 398
  • 1
  • 16
1
vote
1 answer

Visual Studio 2013 Document Outline tool always empty

I'm currently editing a large CSS-file in the Visual Studio 2013 editor, and would hugely benefit from a tool that hierarchically listed the content of the files I'm editing. From what I understand, the Document Outline (DO) tool in VS is supposed…
Tormod Haugene
  • 3,538
  • 2
  • 29
  • 47
1
vote
3 answers

MFC WYSIWYG editor

I want to make an application in Visual C++ 2012 using MFC frameworks using Document/View structure; I want edit my view (that is the main window) with an editor, not handcoding, but Visual Studio seems that can edit in WYSIWYG mode just dialog…
volperossa
  • 1,339
  • 20
  • 33
1
vote
1 answer

How to close a MFC CVIEW while keeping the document open

I have a MFC CDocument and associated CView open in a MDI application. I would like to detach and close the view (and associated frame), while keeping the document open. Looking around the MFC code to see how it does it, reveals the following in…
SmacL
  • 22,555
  • 12
  • 95
  • 149
1
vote
2 answers

Creating My Own Document Viewer

I want to create a File Viewer with Java Servlets and JavaScript. I'm hosting various document formats in my server, i want to provide viewing option for the files through browser. I want to support MS Docs, Open office Docs,PDF Files,Text Files,…
Manikandaraj Srinivasan
  • 3,557
  • 5
  • 35
  • 62
1
2 3