help with document print
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

help with document print

From: Mauro D. <mauro.destroSpammmm@tinspam.it>
Date: Mon Oct 31 2005 - 11:24:52 CET

Hi guys,
i'm trying to make a website for a jewelery so the user can print
warranties for every jewel it sold.

My first try was: let the user create an openoffice document with
variable placeholder {tag} that I substitute with the real value of $tag
and then open the document (with mimetype application/vnd. ...) for print.

Now user want to be able to insert formatting and styles to the text so
I can't mantain the same structure if I user FCKeditor or similar
because these products returns a string with HTML code inside that I
have to translate to OO.

I want to use pdf that is more standard in web application but I don't
want to create the document "by hand" because it's a user task!

So if there's some methods to take a pdf template (made by user) and
substitute placeholders inside with an HTML formatted text, I'll be happy.

Any of you as some hint?

Mauro
Received on Mon Nov 21 02:53:27 2005