https://bugs.documentfoundation.org/show_bug.cgi?id=103278

--- Comment #26 from Julien Nabet <[email protected]> ---
On pc Debian x86-64 with master sources updated today, I gave it a new try.

When opening dot file, LO displays "Untitled 1", I don't know if it's ok.
Then right clicking on any fields, I don't have "Fields...", perhaps missed it.

I tried the following macro:
Sub Main
  oDocument = ThisComponent
  oFieldsEnum = oDocument.getTextFields().createEnumeration()

 While oFieldsEnum.hasMoreElements()
  oElement = oFieldsEnum.nextElement() 
  If oElement.supportsService("com.sun.star.text.TextField.Input") Then 
    oHint = oElement.getPropertyValue("Hint") 
    MsgBox oHint
   End If
 Wend
End Sub

Indeed, there's no "com.sun.star.text.TextField.Input" service, there are only:
-com.sun.star.text.TextField.PageNumber
-com.sun.star.text.textfield.PageNumber
-com.sun.star.text.TextContent
I don't know if it's expected or not.

The bug indicates it concerns dot files but does it work on another file type?
Indeed, the goal would be to compare both.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to