| View previous topic :: View next topic |
| Author |
Message |
Quaternion Power User

Joined: 22 Apr 2009 Posts: 52
|
Posted: Fri Apr 24, 2009 10:09 am Post subject: [Solved] How do I make Cookie Cutter Pages |
|
|
This is what I want:
I want to lay out a document in landscape and set the paper type to #10 envelope. This I have as a style saved to a template... Now I want a picture in the upper left corner (inside the margins), an address beside the picture and fields for the senders address... now _this_ is the important part: Each time I move to the next page, I want an exact copy of this original layout so I can just plop the values into the fields. Cut and Past is NOT an option.
If you know of a tutorial that does just this I would be very happy.
Last edited by Quaternion on Mon May 04, 2009 1:15 pm; edited 1 time in total |
|
| Back to top |
|
 |
David Super User


Joined: 24 Oct 2003 Posts: 5668 Location: Canada
|
Posted: Fri Apr 24, 2009 12:37 pm Post subject: |
|
|
I'm not sure on this, but isn't the single page [form] a template, and the fields automatically filled in sequentially using a registered database? You don't need a new page for each in that case. I'm not sure if you need a different picture for each and how to do that, except through a dedicated database program.
David. |
|
| Back to top |
|
 |
Quaternion Power User

Joined: 22 Apr 2009 Posts: 52
|
Posted: Fri Apr 24, 2009 12:53 pm Post subject: |
|
|
I want to automate the process from outside OpenOffice Writer... I can create what ever content I want on an OpenOffice Writer page from my Application though the API. What I want to do... is have someone else create a one page template with fields (Which have agreed upon names). The content user (end user) can then move the content where ever they want and worry about presentation while I supply the content source...
I've come the the conclusion that I will have to load a new writer document from a template copy the contents... fill in the form, create a new page and then paste the contents. I don't like this solution because if the user copies anything during a run of the program that will replace the clip-board contents and mess up the program (it could be long running if thousands of letters are printed).
Although I am hoping a better solution will fall from the sky. I also thought of enforcing that all the templates put all the formating in a header and put the fields in the header as well, but the document body can not be eliminated it seems making layout a bit tricky... and this would put stress on the end user as the solution is obviously wacko. |
|
| Back to top |
|
 |
JohnV Administrator

Joined: 07 Mar 2003 Posts: 8995 Location: Lexinton, Kentucky, USA
|
Posted: Sat Apr 25, 2009 7:45 am Post subject: |
|
|
I'm not sure this will help but here's a macro that will produce as many copies of your one page as you tell it to, i.e., you start with a file with one page and end up with a file with X pages.
http://www.oooforum.org/forum/viewtopic.phtml?t=29291 |
|
| Back to top |
|
 |
|