Understanding what is stored in a template

Using them, Making them , Finding them

Understanding what is stored in a template

Postby gorc » Tue May 03, 2016 3:16 pm

Hi,

I have to write a structure of templates that will be used in my company. I stareted with a simple "base" template that will be modifed later for certian needs. I made a very few changes to built-in "template" and than copied my temnplate to another computer. To my surprise a new document on another computer looked different than on mine. In my understanding some user default template was set on another computer and properties from that template were used in all cases but changes stored in my template. For example, let's say I have only changed the font size to 12'0% in Header 1 style and saved the document as "My template". On my computer alignment in Header 1 style is Left by deafult. When I try to use this template on another computer where alignment in Header 1 style is Center by default the alignment in new docoument will stay Center.

Question: I will deploy my set of templates on many computers. How can I guarantee that all properties of all styles will be the same as on my computer. Or in other words, how to store the whole styles hierarchy in the template?

Regards,
gorc
OpenOffice 4.1.2 on Windows 10
gorc
 
Posts: 2
Joined: Tue May 03, 2016 3:02 pm

Re: Understanding what is stored in a template

Postby RoryOF » Tue May 03, 2016 3:19 pm

Did you set your new template to be the default template on the target computer?

Have you referred for guidance to the details in
https://forum.openoffice.org/en/forum/viewtopic.php?f=71&t=1161

Also: check that the desired fonts are installed on all target computers.
Apache OpenOffice 4.1.5 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 27336
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Understanding what is stored in a template

Postby gorc » Tue May 03, 2016 3:38 pm

No, I didn't set my new template as default template on then target computer. If not absolutely necessary I don't want to do that as some co-wrokers (and peop'le from outside working for us) are used to their own default styles whne writing documents out of scope of my template(s). I 'd like to force my hierarchy of styles only when my template is used. Therefore I need some kind of "full" template that will behave *like* default template. Possible?

Thx, gorc
OpenOffice 4.1.2 on Windows 10
gorc
 
Posts: 2
Joined: Tue May 03, 2016 3:02 pm

Re: Understanding what is stored in a template

Postby RoryOF » Tue May 03, 2016 4:20 pm

If your template is installed in their template directory then they can select it and use it, but they have to select it - the Default template is exactly that - the default used when nothing is explicitly selected.
Apache OpenOffice 4.1.5 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 27336
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Understanding what is stored in a template

Postby Bill » Tue May 03, 2016 4:42 pm

If you're trying to use some styles from a default template on the target computer and other styles from your template, create a new document using the default template, then copy the styles from your template to the newly created document. AFAIK, this can be only be done manually.
AOO 4.1.5 and LO 6.0.3.2 on Manjaro MATE
Bill
Volunteer
 
Posts: 6861
Joined: Sat Nov 24, 2007 6:48 am


Return to Templates

Who is online

Users browsing this forum: No registered users and 1 guest