I'd suggest using HTML for the interface. You've already got the skills and it is fairly easy to build an attractive look and feel for the thing. Going with HTML has the added bonus that the programs would be available from anywhere there is internet access. (Do I need to discuss the virtues of the client/server development model?)

You might try Win32::OLE. You'll need a working copy of MS-Word on the computer you are programming for. I don't think there is a module specifically that parses templates. You'll probably end up rolling your own.

Since they already have their stuff in Word, Win32::OLE may be your best bet. You can probably do the same (or similar) with PDF. (Generate postscript, send to ps2pdf or equivalent). Heck you might even be able to make templates out of PDF files. I know there's text in some (though not all) PDF files. Perhaps a monk higher up the food chain would care to comment?


In reply to Re: Design Question by saintbrie
in thread parse MS Word Template fields for legal documents by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.