Special

Special Print Closeout!

We're clearing out the remainder of our print issues at fire sale prices -- as much as 75% off! Quantities are extremely limited and only available while supplies last. Hurry to take advantage of this one-time offer.

RBD Magazines

Once these printed back issues are gone, they are gone!

Article Preview


Buy Now

Print:
PDF:

Beginner's Corner

Generating PDF Files

Issue: 6.3 (March/April 2008)
Author: Marc Zeedar editor-at-rbdeveloper.com
Article Description: No description available.
Article Length (in bytes): 15,597
Starting Page Number: 34
RBD Number: 6315
Resource File(s):

Download Icon 6315.zip Updated: Saturday, March 15, 2008 at 12:35 PM

Related Web Link(s):

http://www.tobyrush.com/software/rbclasses/realbasicpdf.html

Known Limitations: None

Excerpt of article text...

Are you as sick of hierarchal listboxes as I am? I hope you don't mind, but I thought I'd cover a different topic this issue. Recently I had a project that involved me creating a slew of PDF files. This was essentially a conversion project, translating XML files to PDF.

Now there are a variety of ways this could be accomplished. For instance, the graphic designer in me thought I could write some scripts to automate Adobe InDesign to read in the XML, generate a layout from a template, and output the result as PDF. The problem with this idea is that I haven't had time to do much InDesign scripting, and it's in Javascript, which is too much like C for me to be comfortable. Also, I have experience in automating publishing tools and I knew that such a complicated script wouldn't be easy.

Another method is to use an XLST template to translate the XML to PDF. Here again is an area outside of my expertise: it'd probably take me months to learn how to make a proper XLST and though I might be able to find an existing XML-to-PDF XLST out there, I'd have to customize it for my precise needs, which sounds like I'd need to know what I was doing.

...End of Excerpt. Please purchase the magazine to read the full article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com