To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=5091
------- Additional comments from [EMAIL PROTECTED] Fri Sep 28 08:20:08 +0000
2007 -------
@simone
Hi,
I've gathered some info lately. CDP's are supported currently by OOo.
Anyway in code:
Function AddMyDocProp (sName$, sValue$) as Integer
Dim vDocInfo, vDocSetInfo
On Error GoTo ErrorHandler
vDocInfo = ThisComponent.getDocumentInfo()
vDocSetInfo = vDocInfo.getPropertySetInfo
If Not vDocSetInfo.hasPropertyByName(sName) Then
vDocInfo.addProperty (sName, 0, sValue)
Else
vDocInfo.setPropertyValue (sName, sValue)
End If
AddMyDocProp = 1
Exit Function
ErrorHandler:
AddMyDocProp = - 1
MyErrMessenger ("AddMyDocProp")
End Function
---------------------------------------------------------------------
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]