Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What do sites like Google Docs and Zoho Writer use to generate MS Office documents

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.

like image 804
menko Avatar asked May 21 '09 01:05

menko


People also ask

What Microsoft program is like Google Docs?

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.

What is Zoho Writer used for?

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.

What kind of web tool is Google which is used to upload or create word documents Excel files PPT files and other online forms?

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.


1 Answers

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.

like image 191
rodion Avatar answered Oct 15 '22 23:10

rodion