To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=93815 Issue #|93815 Summary|Custom properties of DocumentInfo are not accessible b |y BASIC code Component|framework Version|OOo 3.0 RC1 Platform|PC URL| OS/Version|Windows XP Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|scripting Assigned to|ab Reported by|mchris
------- Additional comments from [EMAIL PROTECTED] Fri Sep 12 08:42:22 +0000 2008 ------- Try the following code in any OOo document (I've already tried it on Writer documents and on Base forms): Sub Main if ThisComponent.DocumentInfo.PropertySetInfo.hasPropertyByName("MyProperty") then ThisComponent.DocumentInfo.MyProperty="MyValue" else ThisComponent.DocumentInfo.addProperty("MyProperty",193,"MyValue") endif print ThisComponent.DocumentInfo.MyProperty ' It prints a null string REM you have to install XRayTool to run this line Xray ThisComponent.DocumentInfo REM XRay tool shows the correct string "MyValue" in "MyProperty" but when you REM double click on it, it shows a null string (really weird). End Sub In conclusion every time I try to access a custom property from DocumentInfo the program returns a null string. This was not the case with previous versions. I tried it only on OOo 3 RC1 under Win XP. --------------------------------------------------------------------- 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]