To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=58667
User sw changed the following: What |Old value |New value ================================================================================ Subcomponent|code |documentation -------------------------------------------------------------------------------- ------- Additional comments from [EMAIL PROTECTED] Wed Nov 30 05:32:57 -0800 2005 ------- ok lets row back :-) Two reasons for not being saved are ... 1.) the namespace is already in use by the OpenDocument Format and 2.) "text:" is also already used and can't be used in a Userdefined Attribute ... so changing the macro to Sub Main xText = ThisComponent.Text xParagraph = xText.createEnumeration.nextElement dim attr as new com.sun.star.xml.AttributeData attr.Namespace = "http://my-namespace" attr.Type = "CDATA" attr.Value = "true" UserDefinedAttr = xParagraph.ParaUserDefinedAttributes UserDefinedAttr.insertByName("user:user-field-get3",attr) xParagraph.ParaUserDefinedAttributes = UserDefinedAttr UserDefinedAttr = xParagraph.ParaUserDefinedAttributes newattrib = UserDefinedAttr.getByName("user:user-field-get3") msgbox newattrib.Value End Sub will solve both and the data will be stored. sw->mib: I think we should document this in css.style.ParagraphProperties --------------------------------------------------------------------- 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]