View Single Post
Old 02-05-2009, 10:52 PM   #1 (permalink)
Tanax
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default Text from Word-document

Hi!

I run the website for our neighbourghhood, and sometimes they have protocols that I need to publish on our website.

The problem is that when they write the protocol, they use Word.
If it's just text, it's working great to just copy, and paste it into the newsmanager I've coded.

However, sometimes they've used bold stuff, which is quite easy to just use <strong>. The real problem is when they use tables.

So I'm wondering if PHP can access a worddocument's properties and copy the text from it(with a custom function perhaps?), and if it locates a table, write out a html table that matches it? Bold text to be strong, and italic text as it is.


Thanks in advance!
Tanax
__________________
Tanax is offline  
Reply With Quote