On Wed, 24 Jan 2007 18:39:16 -0000
"Harold Fuchs" <[EMAIL PROTECTED]> dijo:
> OK. Please try this.
> 1. Create a blank document with all the settings, including tabs, that you
> want.
>
> 2. Go to File>Templates>Save and enter a name, in the "New template" box,
> for this "document" which is going to become your default template. The name
> "DefaultTemplate" springs to mind ;-) I suggest you don't use any special
> characters in this name, just in case. Make sure "My Templates" is
> highlighted in the lower left panel (labelled "Categories"). Click OK.
>
> 3. Go to File>Templates>Organise and double click "My Templates". The folder
> will expand and you should see the name you just chose within it. Select it
> (the name you just chose) and click "Commands". Click "Set as Default
> Template". Click "Close"
>
> 4. Now shut down OO and restart it. Do the tabs conform to what you want? If
> so, hoorah. If not, sorry you'll have to ask a real guru instead of this
> fake one.
I followed all the above steps. The new template is now the default.
When I saved it I had set the default tab stop in Tools > Options >
Writer > General to 21.6 points. I shut down the computer and restarted
it, then launched Writer. Going into Tools > Options > Writer >
General, the default tab stop is still 56.7 points.
Today I found something else that I tried to use to force the change.
In /home/jjj/.openoffice.org2/user/registry/data/org/openoffice/Office
there is a file called Writer.xcu. I opened this in a text editor and I
found a line that said:
</prop>
<prop oor:name="TabStop" oor:type="xs:int">
<value>762</value>
</prop>
I note that every time I go into Templates > Organize and tell it to
set a template to the default template the timestamp on this file
changes and a backup version of it is created. So it seems logical that
the above lines are where the "56.7" setting is coming from.
Now, 762 must be something that is equal to 56.7 points. I tried to
figure out what the 762 refers to. The setting 56.7 points is the same
as 0.7875 inches, which doesn't match "762" at all. It must be some
measurement unit, but what? It turns out that 56.7 points is also 2.000
centimeters. So apparently the default setting is in centimeters, which
I changed elsewhere in Options to points, which made it appear as 56.7
points. Thinking that maybe the problem is that it won't take a default
tab setting unless I specify it in centimeters, I changed the
measurement unit to centimeters and the default tab stop to .76
centimeters (about .3 inches). I typed a few words in the document and
saved it as "test." Then I closed OOo, relaunched it, opened test.odt,
and looked at the default tab settings in Tools > Options > Writer >
General. The default had been .76 centimeters when I saved and closed
the document, but when I reopened it the default was reset back to 2.00
centimeters.
That was with just a general text document, not a template. But it
sufficed to illustrate something: Writer is not saving the default tab
setting for the document in the document. That's why I can set the
default tab setting for a template, save the template, and when I open
a new, blank document, the default tab settings are back to 2.00 cm
(56.7 points). The problem is not in the choice of measurement unit, it
is a bug where Writer is not saving all the data in the document with
the document.
Having come to this conclusion I decided to change the "762" in the
Writer.xcu file to something equalling .76 centimeters. I was hoping
this would force OOo to use a different default tab stop setting. A
little ratio work with the calculator tells me that if "762" is 2.00
cm., then "290" would represent 0.76 cm. That is, unless there is some
completely different logic behind what "762" means.
I changed it to 290, saved the file, closed the text editor, and
launched OOo. Then I went into Tools > Options > Writer > General, and
noted that the default tab stop was still 2.00 cm. I opened the
Writer.xcu file and my change to 290 was still there. Conclusion:
Writer.xcu is not where OOo is taking the default tab stop value from.
So at this point I know that OOo is not getting the default tab stop
value from the template, nor is it getting it from the Writer.xcu file.
So where is it coming from?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]