https://bugs.freedesktop.org/show_bug.cgi?id=75430

          Priority: medium
            Bug ID: 75430
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: sdk: RemoveTextContent has no effect on input field
          Severity: normal
    Classification: Unclassified
                OS: Windows (All)
          Reporter: g...@yandex.ru
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.2.1.1 rc
         Component: Writer
           Product: LibreOffice

XText.RemoveTextContent(com.sun.star.text.TextField.Input) has no effect.

But with com.sun.star.text.TextField.User it works fine.

Example in Basic:

  dim Field as object
  Field = ThisComponent.createInstance("com.sun.star.text.TextField.Input")
  Field.Hint = "Field1"
  Field.Content = "Field1"
 
ThisComponent.getText.InsertTextContent(ThisComponent.getText.createTextCursor,
Field, True)
  Field.getAnchor.getText.RemoveTextContent(Field)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to