https://bugs.freedesktop.org/show_bug.cgi?id=58920
--- Comment #3 from Owen Genat <[email protected]> --- Created attachment 89678 --> https://bugs.freedesktop.org/attachment.cgi?id=89678&action=edit Screenshots taken under different LO versions of master and sub-doc 2. Thanks for providing the example file Robert. The cross-references do indeed appear to display an error, although to what degree this is a valid enhancement will need a developer / expert to look into.[1] I can understand how this particular use case might be seen as inappropriate for a cross-reference.[2] I am attaching screenshots taken under Ubuntu 10.04 x86_64 running these LO versions: - v3.3.0.4 OOO330m19 Build: 6 - v3.4.6.2 OOO340m1 Build: 602 - v3.5.7.2 Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b - v3.6.7.2 Build ID: e183d5b - v4.0.6.2 Build ID: 2e2573268451a50806fcd60ae2d9fe01dd0ce24 - v4.1.3.2 Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a In each case I have opened the master document (File > Open > GlobalDoc.odm) and then opened the sub-document (Doc2.odt) via Navigator. In all cases the screenshots show the "Fehler: Referenz nicht gefunden" (English: "Error: Reference not found") message when the sub-document is opened, as you originally reported. [1] Doc1.odt uses a ranged reference mark i.e., Insert > Cross-reference... > Cross-references tab > Set reference > Name of "One". XML for the anchor: <text:p text:style-name="P1"> Header <text:reference-mark-start text:name="One"/> One <text:reference-mark-end text:name="One"/> </text:p> Doc2.odt uses a cross-reference to a known reference mark (manually entered, rather than selected as the link is between two separate documents) i.e., Insert > Cross-reference... > Cross-references tab > Insert reference > Insert reference to "Reference" > Name of "One". XML for the source: <text:p text:style-name="P1"> Here is the reference: <text:reference-ref text:reference-format="text" text:ref-name="One">Fehler: Referenz nicht gefunden</text:reference-ref> </text:p> [2] Usually a cross-reference is made within a single document. Master + sub-documents complicate this of course, with separate documents effectively merging to form a single document (which is why the link works fine in the master view). I am unclear to what degree a cross-reference rather than hyperlink (which is a more global link that also can use bookmark and reference mark anchors) is expected to be used in this type of situation. -- 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
