https://bugs.freedesktop.org/show_bug.cgi?id=63436
Priority: medium
Bug ID: 63436
Assignee: [email protected]
Summary: Support for ODF fields as written by KWord
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: unspecified
Component: Writer
Product: LibreOffice
See the bugreport from AOO bugzilla:
https://issues.apache.org/ooo/show_bug.cgi?id=79611
We do not support this; but should be reasonably straight-forward to implement.
In essence, you need to make sure that in SvxFieldData::Create() from
editeng/source/items/flditem.cxx, none of the xPropSet->getPropertyValue(...);
throws.
To achieve that, you want to extend the
XMLSenderFieldImportContext::PrepareField() from xmloff/source/text/txtfldi.cxx
so that it fills all the appropriate properties during load, like for example:
aAny <<= text::textfield::Type::EXTENDED_TIME;
rPropSet->setPropertyValue(UNO_TC_PROP_TEXTFIELD_TYPE, aAny);
for date/time.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs