To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=71018 Issue #|71018 Summary|python interface to Footnote Component|api Version|OOo 2.0.3 Platform|PC URL| OS/Version|Windows XP Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|jsc Reported by|jobermark
------- Additional comments from [EMAIL PROTECTED] Mon Oct 30 14:10:54 -0800 2006 ------- I need to automatically find the actual footnote mark, not its content, but its location in the document. According to the API reference at http://api.openoffice.org/docs/common/ref/com/sun/star/text/Footnote.html, the class com.sun.star.text.Footnote should give access to two different text anchors, one in the XFootnote interface for the label, and one in the XText interface for the note text. But no matter how I have interrogated the thing, I can only select or edit the note text. I am working in Python, and think this may be the root of my problem. Since the python bridge does not really use queryInterface, I think I am always getting the first interface with the corresponding functions in it, and I need the other one. And explicitly calling queryInterface() does not seem to help. If I understand the interface, the python statement [getattr(fn.queryInterface(x), 'String', None) for x in fn.getTypes()] should theoretically get me two different string values, and a bunch of None entries. Instead I get the note text string over and over. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]