[Solved] XTextField.getPresentation() behaviour changed?

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
orania
Posts: 2
Joined: Fri Nov 25, 2011 3:42 pm

[Solved] XTextField.getPresentation() behaviour changed?

Post by orania »

This issue has been raised elsewhere (https://bugs.freedesktop.org/show_bug.cgi?id=41512), but I think I now have a better idea of what is going on. According to available info (http://bibliographic.openoffice.org/implementation.html and http://api.openoffice.org/docs/common/r ... raphy.html), and by behaviour observed under LibreOffice 3.3, it was possible to extract sorted keys to Bibliographic references in one of two formats (based on the setting of the boolean TextFieldMaster::IsNumberEntries) and also to temporarily override those identifiers by setting the Identifier attribute on the com.sun.star.text.TextField.Bibliography object (for the case in point, see lines 329 - 355 at http://bibus-biblio.cvs.sourceforge.net ... iew=markup). Since 3.4, these calls to getPresentation(false) no longer return the numeric values temporarily assigned to the Identifier fields, sticking instead with the values assigned at creation time, though I can't make out where these values could still be coming from.

Question: Could anyone shed light on what might have happened between 3.3 and 3.4 (this seems to cut across both OO and LO), and perhaps comment on whether this is likely a bug, or by design? Thank you sincerely in anticipation.
Last edited by orania on Mon Nov 28, 2011 10:35 am, edited 3 times in total.
LibreOffice 3.4.4 on Ubuntu 11.10
orania
Posts: 2
Joined: Fri Nov 25, 2011 3:42 pm

Re: Bibus: XTextField.getPresentation(false) behaviour chang

Post by orania »

The developer has acknowledged the bug in Bibus here: https://sourceforge.net/projects/bibus- ... c/4779862/
Thank you, the problem is solved.
LibreOffice 3.4.4 on Ubuntu 11.10
Post Reply