This topic is locked

Calling office document from a button

1/10/2011 5:56:18 PM
PHPRunner General questions
S
sandrotab author

Work with PHPRunner 5.2 (Build 6735)

When I am in editing a record, with a button you can retrieve a document in Print Preview by taking an absolute path to the file / files.
The file name is always the same and can be a kind of Office document (. doc,. docx,. rtf)
When you open should be filled with data in the current record, like a mail merge on a single record.
Can I have some suggestions or help?
At the following link you will find a sample document that I fill in at least some parts

http://www.tabacchino.net/Protezione_beni.docx
Thank you for your cooperation.
Sandro

Sergey Kornilov admin 1/11/2011

The scope of this task is way outside of PHPRunner application.
If your application runs on Windows server you can use Word automation.

Example: http://efreedom.com/Question/1-1467044/Word-Automation-Issue-PHP
Another choice is to use a third party PHP library that allows to manipulate Word documents.

Example: http://www.phplivedocx.org/articles/brief-introduction-to-phplivedocx/