Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
On 6/24/2011 9:13 AM, lee wrote:
I have a text document with mostly static data, and since it's kind
of a letter, there are a few things that are variable data, like a
company name, street, city, eventually a persons name and a
salutation.

Now I would like to make it so that I can press a button and be
presented with a form or the like that lets me fill in the
variable data, inserts the data at the appropriate places into the
document, saves the document to a file I specify and exports the
document as PDF with a password for access rights to the PDF file
set.

How do I do that? Does it take some kind of advanced programming?

I do *some* of that on a regular basis in my law office, since I send
out a lot of letters that are virtually identical ("Dear <TITLE>
<FIRSTNAME> <LASTNAME>, This letter is to remind you that your
<HEARING_TYPE> is scheduled to take place on <HEARING_DATE> at
<HEARING_TIME> before Judge <JUDGENAME> . . .").

What I ended up doing is just putting a blank page at the beginning of
the document where I list all the variables, then I just fill them in
there. I do the same thing when I know I'll have several documents to
print using the same information: for instance, initiating certain
kinds of lawsuits (where I'll have an initial demand letter, a copy of
the first draft of the complaint, a proposed settlement agreement, a
summons, and envelopes that will all contain pretty much all of the
same information) and for doing intake of criminal defense cases
(where I'll have the engagement letter, my client intake form, my
Appearance, the demand for information known to the prosecuting
attorney, retainer agreement, and so on). I just make all of those
documents part of a single LibO document, typing in the information on
the blank page at the beginning, and printing them out. To create the
PDF, I just export all of the pages except the initial blank data page.

I don't know if this is EXACTLY what you're looking for, but it might
accomplish much of the same thing.

- -- 
Steven Shelton
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iEYEARECAAYFAk4E0WgACgkQXUonIzCvpdOUDgCgruXJIq5X6Fz7fbvyrqrK2qpL
ZpsAoKMVuvpjwOr//DumjQwoziVGv1ex
=4Lnd
-----END PGP SIGNATURE-----


-- 
Unsubscribe instructions: E-mail to users+help@global.libreoffice.org
In case of problems unsubscribing, write to postmaster@documentfoundation.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.