[api-issues] [Issue 82701] dev guide example is wrong

2008-05-29 Thread jsc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82701


User jsc changed the following:

What|Old value |New value

  Status|RESOLVED  |CLOSED





--- Additional comments from [EMAIL PROTECTED] Thu May 29 08:27:16 + 
2008 ---
closed

-
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]



[api-issues] [Issue 82701] dev guide example is wrong

2007-10-17 Thread laurentgodard
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82701





--- Additional comments from [EMAIL PROTECTED] Wed Oct 17 10:29:04 + 
2007 ---
;-)
thx Juergen


-
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]



[api-issues] [Issue 82701] dev guide example is wrong

2007-10-17 Thread jsc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82701


User jsc changed the following:

What|Old value |New value

  Status|NEW   |RESOLVED

  Resolution|  |FIXED





--- Additional comments from [EMAIL PROTECTED] Wed Oct 17 09:45:58 + 
2007 ---
fixed in the not yet published wiki version of the DevGuide

jsc -> lgodard: please don't start a discussion when the guide will be
available. It' will be soon :-)

-
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]



[api-issues] [Issue 82701] dev guide example is wrong

2007-10-17 Thread laurentgodard
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 + 
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]