ThisComponent.DocumentInfo.EditingCycles Method not found. Reproduce: Sub Main print ThisComponent.DocumentInfo.EditingCycles End Sub
Hi Boudi, thanks for reporting. I can not help with this, but you have marked the bug with the severity as blocker. Please see the blocker bug definition here: https://wiki.documentfoundation.org/Release_Criteria#Blocker_Bug_Definition
The com.sun.star.document.DocumentInfo service had been deprecated since OpenOffice.org 3.0 and has finally been removed in LibreOffice 4.0. You should use com.sun.star.document.DocumentProperties instead.
Thanks for the advice's. What way could I have been aware of the deprecation status of com.sun.star.document.DocumentInfo? So I can try prevent this kind of misunderstanding in the future?
I am afraid the only way is to check the IDL files or the generated documentation at http://api.libreoffice.org/docs/common/ref/com/sun/star/module-ix.html
yes, mainly the @deprecated tags in the generated API reference. there was also an announcement at the time, though probably few users read that list: http://www.mail-archive.com/interface-announce@openoffice.org/msg00432.html
oh, i forgot: hopefully the release notes list all of the *intentional* API changes now, my expectation is that for version 4.0 only the Python 3, DocumentInfo and maybe IllegalArgumentException changes actually impact API clients in practice: https://wiki.documentfoundation.org/ReleaseNotes/4.0#API_Changes