If I understand what you are looking for, you want to change the listed author on already existing comments, correct?
If so, here is Macro that should do what you need. But take note, it currently will change ALL comments to have the same Author, it can, however, be made to only change the ones made “by your wife”.
You will be running this macro in the Document you want the comment author changed in.
Before running it, change the sAuthor value to your name (Or what name you want to appear).
To make the changes appear, you will have to re-open the document, or uncomment the indicated line in the Macro, which will re-insert each comment, but retain the date/placement.
Maybe test this on a copy of the document to make sure it does what you want first.
Option Explicit
Sub ReAuthorComments
Dim oTextFields, oTextField
Dim sAuthor
sAuthor = "Name" ' Change this.
oTextFields = ThisComponent.getTextFields.createEnumeration()
If Not IsObject(oTextFields) Then
MsgBox "No Fields found."
Exit Sub
EndIf
REM Cycle through all fields
While oTextFields.hasMoreElements()
oTextField = oTextFields.nextElement()
REM If TextField is a Comment, check the Author and modify as necessary.
If oTextField.supportsService("com.sun.star.text.TextField.Annotation") Then
If oTextField.Author() <> sAuthor Then
oTextField.Author = sAuthor
REM Uncomment this next line if you want the comments to be visually updated instantly.
REM Otherwise re-open the document after running the Macro.
' ThisComponent.Text.createTextCursorByRange(oTextField.Anchor()).Text.insertTextContent(oTextField.Anchor(), oTextField, True)
EndIf
EndIf
WEnd
MsgBox "Comments updated successfully."
End Sub