Ask Your Question
0

how to know which template assigned to master document or odt file

asked 2017-03-21 08:56:26 +0100

pjms9 gravatar image

I guess I lost track of which template is used for creating master document. I see 2 templates one with _2.ott and another _21.ott . Are there any way I can see which template is used ( ie path and file name of the template) ?. Appreciate any input.

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
1

answered 2017-03-21 11:31:53 +0100

pjms9 gravatar image

Thank you for the input. I could find it in meta.xml. I was able to get the same information, if I add a field ( in footer) > template > file / path too ( CB_Template_ott_2.ott). But my original issue which I haven't mentioned before is still there. My real problem is when I try to edit my custom template ( CB_Template_ott_2.ott) using file >new> template > CB_Template_ott_2.ott & Edit, it is automatically opening CB_template_ott_21.ott. I am not sure why this is happening.

If I add a new style in CB_template_ott_21.ott ; it is not coming to my master document.

To test it , I removed the CB_template_ott_21.ott from my templates directory and when I opened CB_Template_ott_2.ott , it recreated CB_template_ott_21.ott opening. I am not sure why this is happening. Wondering whether template got corrupted or some issue with Libreoffice or it may be doing something wrong.

edit flag offensive delete link more

Comments

I'm not sure I understand: does it actually have two models (2 .otm)? Anyway with Tools▸Options▸LibO▸Advanced▸Expert conf.▸search template name▸org.openoffice.ucb.Hierarchy that Entry & Url match.

pierre-yves samyn gravatar imagepierre-yves samyn ( 2017-03-21 12:06:22 +0100 )edit

Thank you Samyn for the path. I searched the my template file: template_ott_2.ottand took the screenshot. Here it is https://drive.google.com/open?id=0Bxc... . As for as i remember I haven't saved it Template_21.ott ; I need to to use just Template_ott_2.ott . I am not sure how to fix it though. Appreciate your input.

pjms9 gravatar imagepjms9 ( 2017-03-21 14:25:19 +0100 )edit

Screenshot shows you have one HierarchyEntry (Cookbook..._ott_2) whose url points to Cookbook..._ott21.ott

It is normal for me that LibreOffice opens this template.

History shows that you have opened a Cookbook..._ott_2.ott. If this file still exists you should be able to right click> open from the explorer then use File> Templates> Save as template

pierre-yves samyn gravatar imagepierre-yves samyn ( 2017-03-21 15:34:54 +0100 )edit

Thank you Pierre. I did saved the Cookbook..._ott_2.ott as template. Now, when I open ( file> open) a odt file which was based on the _ott_2.ott , It is showing "The template 'OttTemplateStyle' on which this document is based, has been modified", but If I insert the field( insert> field>template>file/path) it shows Cookbook..._ott_2. This makes me confused. The template is OttTemplateStyle or Cookbook..._ott_2 ?. which one to change OttTemplateStyle or Cook...ott_2.ott?

pjms9 gravatar imagepjms9 ( 2017-03-22 11:48:06 +0100 )edit
0

answered 2017-03-21 09:43:00 +0100

pierre-yves samyn gravatar image

Hi

Have you looked at whether the name of the template used did not appear in FilePropertiesGeneral tab?

image description

Regards

edit flag offensive delete link more
1

answered 2017-03-21 09:26:33 +0100

Open the document as ZIP archive, and look into meta.xml.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2017-03-21 08:56:26 +0100

Seen: 54 times

Last updated: Mar 21 '17