https://bugs.freedesktop.org/show_bug.cgi?id=35669

Steve Kelem <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Version|LibO 3.4.0 release          |LibO 3.4.4 release

--- Comment #6 from Steve Kelem <[email protected]> 2011-11-17 12:40:13 PST ---
This problem still exists in LibreOffice 3.4.4 OOO340m1 (Build:402)

What information is missing to keep the fixing of this bug from going forward?
Cross references work within a sub-document, but they get really messed up when
I try to update those chapters that are part of a master document!

In my subdocument, my text references figures 47, then 48, then 47.
When included into the master document, these get damaged, and end up as
figures 10.5, then 10.48, then 10.5!

When I look inside the xml for the sub-document, the references are messed up!
For example, one reference ends up like:
<text:sequence-ref text:reference-format="category-and-value"
text:ref-name="refIllustration46">Illustration
1.48</text:sequence-ref></text:span>

Note that the refIllustration46 is wrong!  It's supposed to be
refIllustration48!

I then re-inserted the correct references from inside L.O., ran "Tools/Update
Fields", and got:
<text:sequence-ref text:reference-format="category-and-value"
text:ref-name="refIllustration85">Illustration 1.47</text:sequence-ref>

It got even more messed up.  I finally edited the content.xml, correcting the
refIllustration, which was now called refIllustration85, and was used to define
two illustrations, 1.47 and 1.48!  I fixed both of them to use appropriate
names (refIllustration47 and refIllustration48), ran Tools/Update Fields, and
the names stayed the way they were supposed to.

Then I went to the master document, clicked on the chapter I had updated,
selected Update Selection, then, from inside the master document, clicked
Tools/Update Fields.  The sub-document file then turned on its "modified" flag.
I saved the file, then looked at the xml.  Some of the references got messed
up!
Here's one:
<text:sequence-ref text:reference-format="category-and-value"
text:ref-name="refIllustration48">Illustration 1.49</text:sequence-ref>

One thing that's unusual, is that Illustrations 48 and 49 show up in the
document in that order, but are in the other order in the content.xml.

Maybe that's messing up the Update Fields command.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to