I realise this may just be speculation, but I'd appreciate comments from anyone who has some insight into this. Something like MS Word COM add-in, or an OO bridge, or a custom implementation.
The reason I want to know is that I want to provide basic online document editing (really basic, basically just rich text at this point) for a php web app. I'm guess I will store the markup in html format then convert to rtf/doc etc for user convenience.
1 Microsoft Office Online In that case, Microsoft Office Online can be a viable alternative to Google Docs. It basically brings all the desktop Word features you love online for real-time collaboration. If you get it as part of a Microsoft 365 plan, it comes with Excel, Powerpoint, and OneDrive cloud storage.
Zoho Writer is an online word processor that allows you to write, edit, and collaborate on documents, as well as publish them to multiple platforms.
Google Drive gives you access to a suite of tools that allows you to create and edit a variety of files, including documents, spreadsheets, and presentations.
The Apache POI project (written in Java) offers an interface to many file types from the MS Office suite.
You can run the Java code from within PHP using the PHP/Java bridge.
I used this once for an application where MS Word documents had to be indexed in a web application. I remember that setting everything up was quite a hassle, but then it worked very well and reasonably fast. (Unfortunately, the code was written in PHP4 and I don't own it, so I cannot help you out with any snippets here.)
P.S. I cannot post links since I'm a new user, so google for "Apache POI" and "PHP/Java bridge" to get to the respective project's homepage.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With