https://bugs.documentfoundation.org/show_bug.cgi?id=103278
Bug ID: 103278
Summary: supportsService("com.sun.star.text.TextField.Input")
Product: LibreOffice
Version: unspecified
Hardware: x86 (IA32)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Hi,
Windows 10, 64bit.
Have a template (.dot) made in MS Word. Have been using it for creating
documents in both Word and openoffice for years without any problems.
However, now when I want to switch to libreoffice instead of openoffice, this
function fails.
Can't do oElement.getPropertyValue("Hint") either. It returns empty. Like I
said, the exact same stuff works with openoffice (both .org and apache).
oFieldsEnum = oDocument.getTextFields().createEnumeration()
while oFieldsEnum.hasMoreElements()
oElement = oFieldsEnum.nextElement()
...
...
// Fails in LO but works in OpenOffice.
oElement.supportsService("com.sun.star.text.TextField.Input")
// Also fails (well, logical I guess since the above line fails too...)
oElement.getPropertyValue("Hint")
...
...
Kind regards,
Christer B
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs