Apache OpenOffice (AOO) Bugzilla – Issue 95815
Order of infofields changed after save
Last modified: 2008-11-04 13:45:39 UTC
I'm using some Properties (File -> Properties) of a document. On the third tab are the UserDefined properties. Then I give the infofields some names like "C", "B" and "A" (in that order). And after that I assign some values to that infofields. Now I can use that infofields in a Macro. But, after saving the document en re- open it, the order of the infofields is changed. The infofields in my document are now in alphabetical order! (A, B, C). And my Marco, that using the values of these infofields, failed.
Already tracked as issue 88163. *** This issue has been marked as a duplicate of 88163 ***
Closing duplicate.
hi boot_m_1961, your macro likely uses the deprecated XDocumentInfo interface to access the properties. please use XDocumentProperties instead, it is much nicer, and does not suffer from the design flaw of using an index.