As anyone working in a mid-sized company knows, getting 100 people to do the same thing correctly is pretty much an exercise in futility :-)
Now 98% of that form HR knew the answers too - name, address, date of first employment etc. etc. Open Office can do a 'mail merge' from the spreadsheet with that data in it to a document in Writer, but can't import PDF natively.
My first thought was to use the pdf import extension for Open Office. It works ok, but imports the PDF as a Draw document, rather than a Writer document. Draw documents don't do mail merges as far as I can see.
My second thought was to create a Writer document, and use the form as the page background. Turns out setting a page background with an image works ok, but the same image is repeated on every page. Won't work for our multipage document unless we created three documents and somebody played manual collator for a while. Sure as heck something would get scrambled.
What I did in the end was time consuming but worked well.
- Convert each page of the pdf form into a tiff or similar high quality image file
- Register your spreadsheet or database as a data source.
- Start with a new Write document. Hit return enough times to create number of pages you need.
- Choose Insert -> Frame.
- Make sure it's anchored to the page
- Positioned for the entire page
- Name it on the Options Tab (optional, but handy)
- Set borders to none on the Borders tab
- On the Background tab change it to Graphic instead of Color, and browse for your first page image.
- Move the image around until it covers the entire page properly
- Right click and choose Alignment -> Back
- Hit OK
- Repeat for each page
- Make sure it's anchored to the page
- Choose View -> Data Sources and highlight your data source so the fields you want are displayed at the top of your window.
- Choose Insert -> Frame.
- Make sure it's anchored to the page
- Make sure auto size is off
- Name it on the Options Tab (optional, but handy)
- Set borders to none on the Borders tab
- Hit OK
- Make sure it's anchored to the page
- Now drag the Heading from the first column of data into that frame
- Move the frame to the right spot on the background to fill in the blank
- Lather, rinse repeat for each piece of data on each page
When you choose 'Print' it will ask you if you want the blanks filled in, and away you go!
I haven't posted any screenshots - Let me know if you think you need them and I can create some.
Hope this helps somebody!