[Libreoffice-bugs] [Bug 125485] New: inserting ne TextField.URL failed with expection __main__.IllegalArgumentException
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat May 25 10:57:32 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=125485
Bug ID: 125485
Summary: inserting ne TextField.URL failed with expection
__main__.IllegalArgumentException
Product: LibreOffice
Version: 6.2.3.2 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: mt1-wiesent at web.de
Description:
Exception is received with following code:
text = model.Text
wtf = model.createInstance("com.sun.star.text.TextField.URL")
wtf.Representation = "testURL"
wtf.URL = "www.google.de"
curs = text.createTextCursor()
text.insertTextContent(curs, wtf, False)
Traceback (most recent call last):
File "C:/Users/mt1-w/PycharmProjects/untitled1/test.py", line 73, in <module>
text.insertTextContent(curs, wtf, False)
__main__.IllegalArgumentException
Other TextFields are working fine.
Steps to Reproduce:
see code from description
Actual Results:
canĀ“t set Hyperlinks by Python script
Expected Results:
execption is caused
Reproducible: Always
User Profile Reset: No
Additional Info:
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190525/b7820301/attachment.html>
More information about the Libreoffice-bugs
mailing list