https://bugs.documentfoundation.org/show_bug.cgi?id=161843
Tristin Alexander Schwartze <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTOURBUG Status|UNCONFIRMED |RESOLVED --- Comment #4 from Tristin Alexander Schwartze <[email protected]> --- (In reply to Werner Tietz from comment #3) > the gatekeeper called pyuno! Ah, I guess I'm barking up the wrong tree here. I'd assumed pyuno was developed by the same group since I couldn't find where to report bugs, but now that I searched for developers it looks like pyuno was is just a little side project more on the open-office side of things (http://www.openoffice.org/udk/python/python-bridge.html). It's unfortunate that's not getting much attention as someone more familiar with the backend should really be the addressing these issues. I'd do some basics myself, but I'm not qualified to contribute to APIs beyond some hacky wrapper classes on pre-existing python. Ah well, I apologize for bothering you about this. >back to your problem: Is it solved by ……Rsid? cursor_1 = main_text.createTextCursor() cursor_1.goRight(1, True) cursor_2 = main_text.createTextCursor() cursor_2.goRight(2, True) model.Text.End.String = f"{cursor_1.Rsid == cursor_2.Rsid}" This example should've produced false, but it produces True, so it's not really a solution to the wider "equals doesn't work" in pyuno classes problem. I have a much longer work around based on measuring strings changes to and from cursor positions. It's just an annoying and hacky/ugly way of going about things. Regardless, I think might be beyond the scope of what you're working on, so I apologize again for pestering you with it and will mark this as resolved. I appreciate you taking the time to try to help me. -- You are receiving this mail because: You are the assignee for the bug.
