Is there a Microsoft Word Component for the Classic ASP?
Is there a Microsoft Word (or Word-Like) Component for the Web - Spe开发者_运维技巧cifically, Classic ASP? Something that can attach to multiple instances of HTML textareas...
The platform is a homegrown, in-house corporate-type app, so it really limits our maneuverability. That said, we just need it to work in plain old web pages using Classic ASP.
Requirements:
- IE6+ Compatible
- WYSIWYG
- Spell Check (offline data dictionary)
- jQuery (More wish list than requirement)
Please, no why are you using Classic ASP answers! Believe me, if we could use something else, we would...Thanks!
Maybe try CKEditor
Online text editor (DHTML editor), for ASP, ASP.NET, ColdFusion, PHP, Java and JavaScript brings to the web many of the powerful features of known desktop editors like Word. It's XHTML compliant and works with Firefox, Mozilla, Netscape and IE.
Sorry, I cannot post comments.
But does requirement of jQuery imply that processing has to be on client machine?
Anyway, please note [1] that
- Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment" [1]
Plz check the enumeration of problems in "Problems using server-side Automation of Office" section of [1]
Just from the coder who coded it - don't do that (it hurts!) through Office components/libraries. MS Office is not created for non-attended (non-interactive) use.
And it is violation of MS licensing if you cannot assure that all clients have licenses for MS Office. But how can you assure it in web application, if it is not for corporate internal use
[1]
Considerations for server-side Automation of Office
http://support.microsoft.com/kb/257757
For spellchecking in a web page in IE, just install ieSpell.
Here is another editor: http://www.fccn.pt/htmlarea/
Consider finding a solution involving Google Docs.
Here's an example on how to Open Any Document in Google Docs Via a Url
Perhaps create an <iframe>
, and have it load docs.google.com with your .doc/.docx
精彩评论