https://bugs.freedesktop.org/show_bug.cgi?id=60232
--- Comment #5 from Jorendc <[email protected]> --- As far I understand the code, and what also is mentioned in the Apache bug: there is no link between the reference field and bibliography database. While selecting "from bibliography database" when creating a new reference field (insert > indexes and tables > Bibliography entry...), the entry selector is pulled from the bibliography database over here: http://opengrok.libreoffice.org/xref/core/sw/source/ui/index/swuiidxmrk.cxx#1331 Since there is no unique ID, there is no link between the reference and the database, once inserted into the document. Conclusion: there has to be an _hidden_ unique key. Hidden because users may not change this unique key manually (and thus break the linkage). To prevent automatically updating for certain entries, a checkbox needs to be introduced. Probably a part of this code http://opengrok.libreoffice.org/xref/core/sw/source/ui/fldui/fldmgr.cxx#1528 can be re-used, to update the field. This code is currently used to modify the reference field (http://opengrok.libreoffice.org/xref/core/sw/source/ui/index/swuiidxmrk.cxx#1278) when you manually edit the reference data inside your document (double click on the field -> edit). Anyone interested :)? -- 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
