OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

[Solved] How do I make Cookie Cutter Pages

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
Quaternion
Power User
Power User


Joined: 22 Apr 2009
Posts: 52

PostPosted: Fri Apr 24, 2009 10:09 am    Post subject: [Solved] How do I make Cookie Cutter Pages Reply with quote

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
View user's profile Send private message
David
Super User
Super User


Joined: 24 Oct 2003
Posts: 5668
Location: Canada

PostPosted: Fri Apr 24, 2009 12:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Quaternion
Power User
Power User


Joined: 22 Apr 2009
Posts: 52

PostPosted: Fri Apr 24, 2009 12:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 9183
Location: Lexinton, Kentucky, USA

PostPosted: Sat Apr 25, 2009 7:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group