Xavier Marichal wrote:
I did create my first OO master document following carefully the
instructions fro OOOAuthors' Writer Guide.
I does work well, but for two things:
- the most annoying one is the following:
I have a master document that holds one front page (i), followed by one
copyright page (ii). I then insert a break for a front matter page (iii)
that is immediately followed by an alternance of main right (5,...) and
left pages (6,...). Everything goes smoothly.
But then, when I get back to my front page where I want my Table of
Contents to be and insert it, I suddenly have two main right pages in a
sequence, obtaining the page sequence: i, ii, iii, 5, 7, ... When
printing, there is indeed an empty page 6!
Even stranger to me: if I close my document and then re-open it, page 6
is there again. But not in the ToC of course, which stills shows a jump
from page 5 to 7. If i try to update the ToC, it stays the same, but
create an empty page 6 again!
I can post all my documents if needed, but it is relatively heavy...
Several things could be causing this. The easiest way for me to
tell which one is the problem (and how to fix it) is to look at
your files. You can send them to me (offlist). I need the master
doc and the first chapter only, not all of the chapters.
- despite what is said in the book, when I modify the templates upon
which all my docs are based, I'm not asked anything when re-opening a
document based on it. And the new styles are not present.
There is a bug in OOo2.0.2 that stops docs updating from
templates. Here is what Mathias from the developers' list wrote
to me. (I posted this to the Authors list earlier today.)
---------------------
The problem lies in documents created with OOo2.0.2. A fix will
be available for 2.0.3. You will have to fix documents created
with 2.0.2 though because the fix only can prevent the creation
of further documents containing the error. Fortunately you can
fix your documents already now and get the updating procedure
back. Please do it in the following way:
Load the document you want to fix, execute the following macro on it:
Sub FixDocument
TemplateName = ThisComponent.DocumentInfo.Template
if TemplateName <> "" then
ThisComponent.DocumentInfo.Template = TemplateName
end if
End Sub
and then save the document. Next time when you open this document
you will have the update from template feature back.
This strange looking macro will set an internal switch in the
document meta data that enables the template update procedure.
BTW: the same macro will re-enable the update procedure in case
you have switched it off by answering the question "do you want
to update your styles" with "No".
You can execute this macro on every document if you want (e.g. by
assigning it to the "OnLoad" event on application level), if the
document is not based on a template it will not be modified by
this macro.
Best regards,
Mathias
-------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]