Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: ACTIVEX PDF y fusi贸n de datos usando PDFTK.EXE
Posted: Fri Aug 19, 2011 01:29 AM
Karinha,
From
http://www.pdf995.com/faq_dev.html read the following:
What is the easiest way to convert XML to formatted PDF?
OmniFormat will convert XML to PDF using a DOC file as a layout template. It may be run from the command line. It is free and may be downloaded from http://www.omniformat.com .
I have not tested it but it may be what you need....
XML Conversion
OmniFormat may be used to dynamically convert XML data to any output format supported by OmniFormat including PDF. A Microsoft Word file is used as a template to supply layout information. OmniFormat replaces fields in the Word template with values specified in the XML file. Next it converts the document to the final format.
Sample (acme.xml):
<ORDER
OutputFile="c:\invoices\acme corporation.pdf"
WordTemplate="c:\templates\invoice template.doc"
CompanyName="Acme Corporation Inc."
Address1="345 Garden Avenue"
Address2="San Gorge, CA 94301"
Item1="Widgets"
Quantity1="2"
Price1="500"
Item2=""
Quantity2=""
Price2=""
Total="500"
/>
OmniFormat will process acme.xml by
1. Substitution of the name-value pairs into "c:\templates\invoice template.doc" followed by
2. Conversion to c:\invoices\acme corporation.pdf. The template file is not modified by the process. "OutputFile" and "WordTemplate" are reserved names.
Note: PdfEdit995 may be used to batch convert Microsoft Office documents to PDF.
=====>
Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala
FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10
FiveWin, One line of code and it's done...