Is it possible to add a Microsoft Office Word control to an aspx page? I want to be able to modify a load and modify a word document from a web page... I'm just not sure if this is possible?
I know there are AJAX controls out there that allow you to perform something somewhat similar, but I would like to use a Microsoft product if possible.
I am using Visual Studio 2010 and VB.NET to try and accomplish this.
You can use RadEditor for ASP.NET AJAX in your ASPX pages to import DOCX or RTF files, edit their contents in your browser and save them to DOCX,RFT or PDF format. The following examples show how to do that:
Import and Export to DOCX
Import and Export to RTF
Use Ms Word vía ActiveX in ASP.NET it's a bad bad idea. It's possible, but currently, this way is not supported by Microsoft, in fact (http://support.microsoft.com/default.aspx/kb/257757).
You will have troubles with performance, scalabity, user's word versions.... And you will have a lot out-controlled winword.exe processes, and so on.
For this reasons, I use a Silverlight Rich Edit Control, from Devxpress. I had a license already, so I didn't try other solutions, like Telerik's Richtextbox, or Google Docs.
Embed editable MS Word document on web page
Edit: I remembered that another way it's using WebDav. I mean, force to client MS Word to open a word doc in a WebDav location. Maybe you can consider it.
How to create a HTML link which forces MS Word to edit document on webdav server
This is the addin for IE:
http://www.microsoft.com/es-es/download/details.aspx?id=15123
Yes, from the reference i got, it look possible.
Follow this link : Click Here
Related
I am trying to create a Microsoft Word file in VB.net which is read only.
My aim is that user will input the data in a Windows form, after pressing export button it'll get exported to a Word document. But here's a twist: I want this Word file to be read only.
Is there any option to do this? I have tried exporting through Crystal Report, but its still editable.
Any help would be appreciated.
You can use the File.SetAttributes method for that, I think. Check the MSDN site.
I have written a code which utilizes Word Automation Service in order to convert the .DOCX file to the .PDF. I have noticed that in case the Word document contains a table of contents, its links are removed in the PDF. This is very bad for my business case.
On the other hand, manually opening MS Word and saving the same document as PDF preserves the links in the table of contents. This is the behavior I am looking for, but I want to keep my code independent form having MS Office Word installed on the machine running my code.
Has anyone had the similar issue and was anybody able to resolve it?
In my case, i found out that this is something related to Job Settings property. Try to comment or remove this line of code if you have one:
jobSettings.UpdateFields = true;
I would like to write a "quick look" feature for my web application, that allow user "view" these kind of document on the web page, how can I do so? Thank you.
You could use OpenOffice which can open all of those formats. OpenOffice can also be used to convert a document to HTML. All that can be done through a Java API on the server (no GUI required).
I do not know how good the generated HTML is though, but it might be worth trying.
For PDF you will need an OpenOffice plugin that enables OpenOffice to open PDFs (for editing).
Check out the Crocodoc API. Crocodoc provides an HTML5 viewer (no Flash!) which you can embed in your web pages. It's free for non-commercial use.
We just migrated my sites from 2007 to 2010. Now SharePoint 2010 offers to save Pdf document when clicking on the document in the document library. MOSS2007 was showing Pdf documents in the browser.
I have checked other posts and Web Application has Browser File Handling set to "Permissive". Please advise what else I can do.
Thanks,
Robert
There are several possible causes:
First of all you may have
BrowserFileHandling set to "Strict"
on the list level. According to
MSDN, list level property
BrowserFileHanlding is an override
setting.
Please check that your Document
Library settings are set to display
document in the browser. Sometimes,
option can be set to display in the
client first.
If you nothing helps, check my recent blog at https://www.pdfsharepoint.com/sharepoint-2010-and-pdf-integration-series-part-1/ There is solution #2 (PowerShell) that allows you to add Pdf MIME type to AllowedInlineDownloadedMimeTypes. This option does not require "Permissive" BrowserFileHandling at all. Also you can limit files that can be opened in browse to Pdf file types only.
If even "AllowedInlineDownloadedMimeTypes" does not help, then there is some issue on the client side. Check your Adobe Acrobat/Reader settings to ensure that nothing was changed since your upgrade to SharePoint 2010.
Thanks,
Dmitry
I'm currently running a SharePoint 2007. The documents in my libraries will get a PDF rendition when they are approved.
Is there a way to show the PDF rendition in stead of the file when browsing the libraries. Users should be able to edit these files when selecting edit from the context menu.
Thanks
Disclaimer: I work at Atalasoft
We sell a SharePoint solution (Vizit) that has PDF rendition and annotation capabilities: http://www.atalasoft.com/products/vizit
There is no support for doing this in SharePoint alone unless you implement a solution. You'd need to turn PDF into something web-browser compatible, and then implement the editing features you need.
If you have Acrobat installed on clients, you may be able to do what you need by using their ActiveX controls. The trick is getting the edits back into SharePoint and playing nice with version control, etc (Vizit does all of this for you).
If you just need reading, you can serve the PDF with an HTTP header called "Content-disposition" set to "inline" -- they will not be able to edit.