To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=82701 Issue #|82701 Summary|dev guide example is wrong Component|api Version|OOo 2.3 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|documentation Assigned to|jsc Reported by|laurentgodard
------- Additional comments from [EMAIL PROTECTED] Wed Oct 17 09:06:58 +0000 2007 ------- Hi the code sample for storing is wrong http://api.openoffice.org/docs/DevelopersGuide/OfficeDev/OfficeDev.xhtml#1_1_5_3_Storing_Documents // Build necessary argument list for store properties. // Use flag "Overwrite" to prevent exceptions, if file already exists. com.sun.star.beans.PropertyValue[] lProperties = new com.sun.star.beans.PropertyValue[2]; lProperties[0] = new com.sun.star.beans.PropertyValue(); lProperties[0].Name = "FilterName "; lProperties[0].Value = sFilter; lProperties[1] = new com.sun.star.beans.PropertyValue(); lProperties[1].Name = "Overwrite "; lProperties[1].Value = new Boolean(true); There should not be spaces at the end of the lProperties[x].Name strings --------------------------------------------------------------------- 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]
