[Solved] Templates: Reapply content

Using them, Making them , Finding them

[Solved] Templates: Reapply content

Postby mofog » Sun Dec 06, 2009 5:26 pm

Hi there,

I'm quite sure I already found the answer here (http://wiki.services.openoffice.org/wik ... a_template), but maybe this information has changed recently. Is there a way to reapply content coming from a template? It would be very handy to keep your business letters up-to-date, for example, when the logo or the general business terms have changed. Currently, you open up a previously created document and Writer will tell you that a newer version of the template was available. But instead of just reapplying the format definitions (like font face of the main text), it would also update the logo and other elements mentioned before.

Any ways to achieve that? Thanks for your support.


Morin
Last edited by mofog on Thu Dec 10, 2009 12:29 am, edited 2 times in total.
OOo 3.0.X on Ms Windows XP
mofog
 
Posts: 6
Joined: Sat Nov 01, 2008 3:49 pm

Re: Templates: Reapply content

Postby acknak » Sun Dec 06, 2009 9:13 pm

I don't see how that would work. How would OOo know for sure what parts to change? Automatically changing content sounds like a dangerous approach.

Also, it seems like it would be preferable to keep older documents as they were last modifed, as a record of what was sent, rather than automatically changing them.

If you do need to include items like an image or graphic that you may want to update, the best way I know of is to keep the object in its own file and include a link to the file in your documents. Then, if you modify the object, the link can bring in the modified version if you want.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Templates: Reapply content

Postby mofog » Mon Dec 07, 2009 3:23 pm

Okay, fair enough. I can see that this would be difficult to handle. But one approach could be to mark the elements, which should be updated automatically, by a flag etc.

On the one hand side, you're right: it makes sense to not change documents automatically -- as a proof of what was sent years ago, for example. On the other hand side, it is possible to think of certain documents, whose content will stay the same over years, but the outer appearance has to fit the current corporate identity. Right now, you'd have to manually transfer the content from the old document into the new one everytime you change the layout.

By "linking" do you mean "insert an OLE-Object" refering to another ODT? Theoretically this seems to be one possible approach, but the actual implementation (OOo 3.1.1, OOO310m19, Build: 9420) seems to be buggy: the included elements, like logos and text frames, move around arbitrary and sometimes even disappear.
mofog
 
Posts: 6
Joined: Sat Nov 01, 2008 3:49 pm

Re: Templates: Reapply content

Postby acknak » Mon Dec 07, 2009 5:31 pm

I wasn't thinking of OLE--as you said, it just doesn't work very well in OOo.

When you insert an image (Insert > Picture > From File), you have an option on the file dialog, named "Link". If that option is on, then the image file is included only by reference to the external file. If the external file is changed, then OOo will offer to update the document with the new image.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Templates: Reapply content

Postby mofog » Thu Dec 10, 2009 12:28 am

That's indeed a solution to achieve what I was aiming at -- not quite, but it'll do. Thanks for your suggestions!
Bye.
OOo 3.0.X on Ms Windows XP
mofog
 
Posts: 6
Joined: Sat Nov 01, 2008 3:49 pm


Return to Templates

Who is online

Users browsing this forum: No registered users and 1 guest