Is it possible to embed somehow MS Word object in XPages? I would like to use MS word as preview at the same XPages. There will be some filed then What I enter into field will update MS Word just like you see preview in MS Word before what you would like to print
I just wonder even if it is possible or not? Any ideas will be appreciated.
It's unlikely this will be specific to XPages. My golden rule on "how do I do x in XPages" is search "how do I do x on the web" and go from there. This StackOverflow question is as good a starting point as any. How to embed a document in HTML page?
You are probably entering a world of hurt down that road.
The old options:
OLE embedding was Internet explorer only (not Chrome, Firefox, Safari or Edge) and Windows only. Required Office on the workstation and is typically disabled for security (nothing of that has to do with XPages as backend).
Word to Html (requires word or OpenOffice on the server) is a Pita.
Your mobile users will not be happy or the MAC folks. Try to stick to a HTML editor and render that part.
But if you have to:
Poi4Xpages allows rendering of MS office documents from XPages app (one way output)
WebDAV for Domino allows round-trip editing of attachments in Domino
Skip the Word part and render directly to PDF - at least you get print fidelity. There's a series on that
POI4XPages will allow you to send Domino data to bookmarks in Word. From there users can download the Word doc or you can output to pdf.
Related
Can anyone explain me how to display a word and excel in browser.
I had set content type as application/vnd.ms-excel for excel but still not working.
PDF is working fine.
You can save your word and excel files as webpage, just select that option webpage in the save as menu.
A browser is only able to display files from Microsoft Office when the application is installed. For some versions of Microsoft Office viewer applications exist.
But displaying Word and Excel files in modern browsers (especially Internet Explorer) has the drawback that the browser does not display the file in the original window but rather opens a new window.
This in turn is good because current MS Office versions hide some functions and windows when a file is not opened in the application but in the browser. This sometimes makes it impossible to uses formulas in Excel or reopen a file that was opened in readonly mode.
In short: if you want a good experience for your users either accept (if they have it installed) that a second window is opened for the Word and Excel file you present or (if possible) convert it into a html equivalent (which will have a different look) or a pdf (which then automatically is readonly and kind of protected)
I'm trying to embed Word, PPT, and Excel files on a website.
I've tried Google docs and Microsoft Office 365 but I had the following issues with them:
If I'm not signed in using my Gmail account for many days, the embedded document won't show up. Also, sometimes it says that I've reached the maximum number of views for the current document.
Microsoft office 365's problem is that it adds big top and bottom bars to the documents and they come with colors (red, green, and blue)..which makes the website look very ugly
You can install LibreOffice on your server and do the conversions from any doc files to PDF automatically.
An alternative is using VeryPDF.
Did you try this? It adds a bar at the bottom but that's required to navigate the slideshow
http://www.microsoft.com/web/solutions/powerpoint-embed.aspx
I'm searching for some kind of Programm / Java Applet / ActiveX Control or magic spell to view Word / Excel Documents inside Browsers (Browser independent would be the best case, but IE only ist just fine).
I don't want to open Word itsself inside a frame, because that gives users the false impression that they can edit and save the document i just want to display its contents.
I also found solutions which converts the word document to pdf first, but i can't do this due to some security restrictions on the environment i'm working on.
This can help when those proprietary file formats can first be converted to ODF (for example by LibreOffice/OpenOffice.org): http://webodf.org/
(I will not comment on "security restrictions" and using Microsoft software ...)
Sometimes when I secure a PDF document in Adobe Acrobat (9), other people using Adobe Acrobat 8 don't see text or images in that new document.
It's consistent on certain documents too. The only solution I have at the moment is to print a PDF of the document and then secure that version of the document. That seems to bypass the issue. But I have 5000 documents I'm batch processing and I'd rather not have to mess with such things.
Is there an alternative solution?
What type of security are you using? RC4, AES? What options are enabled/disabled? Do you need a password to open the PDF or just modify it?
The solution is to install Acrobat Pro 9 on all our users machines. Reader 9 is fine too.
HOWEVER, this only fixes it for viewing the PDF on our own machines. If someone else were to view that file in Acrobat 8, then they would see a blank pdf.
Our solution was to not bother with securing the document. It causes more trouble than it's worth and apparently it's pretty easy for people to break the security of it.
A friend of mine wants to have an application where people can upload documents in Word (or text) format, and then allow people to make edits to those documents within a browser.
Is there any mechanism that would support adding text "bubbles" for adding comments? Either floating, or off to the side.
Being able to save back to Word format is a must too. Or at least, some format supported by Word, that would still be editable. Saving it as an image is not acceptable.
I was thinking about opening the Word Document in an FCK Editor window, but FCK only seems to have "normal" inline text editing capabilities (although it is great).
Is this feasible?
Yes it is feasible. Google has done that (and it does have comments). So has Adobe. I'm sure there is more.
Xopus provides a programmable platform that allows you to define editable XML within a WYSIWYG environment. You could use it to define what you want to edit (XML), against which rules you want to edit it (an XSD) and how you want it to look while you edit it (XSL). Then you tie that all together with the Javascript API.
In other words, you could pretty easily define a document that contains multiple paragraphs with optional comments and then have them displayed as bubbles exactly the way you want them; when saved, a script on the server could be executed that converts the XML to a Word document.
Take a look at the demos.
If they are Word 2007 documents, you can use Silverlight. Here's an example application that uses Silverlight to open a Word 2007 document and display it in the browser.
Since StackOverflow is a programmer site, I'll assume you're a programmer. You can use Silverlight to add the bubbles and annotations to a Word 2007 document, but you'll need to know VB.NET or C#.
Take a look at docx2web.appspot.com which is (currently) a very bare bones editor with the distinguishing feature that the browser is directly manipulating (more or less) the "flat OPC" version of the docx.
This means that there is no lossy conversion on either the way in or the way out. So for example, when you save after editing, anything which was in the original docx is round tripped back to Word.
As far as support for older .doc is concerned, POI can be used to convert them to .docx (although your mileage may vary).
Why are you trying to compete with google docs?
I know that TinyMCE provides some rich controls for in browser editing. Last time i looked at it, it had 100% of the stuff i would normally use in word, and then some. On the other hand, i probably has 1% of the features that MS word provides. It would be VERY difficult to implement it all.
As far as saving to MS word compatible format. i am sure its possible. it would probably be easier to save to a non-doc format.
As far as popups etc, those can be easy built using jquery UI or any other javascript framework.
Bottom line: yes, its possible, but why?!
It is possible. For example eyeOS has a text processing application able to open and process Microsoft Office and OpenOffice.org text documents.