https://bugs.documentfoundation.org/show_bug.cgi?id=107253
Bug ID: 107253
Summary: Import from docx with variable in ASK field produces
invalid ODF on resave
Product: LibreOffice
Version: 5.4.0.0.alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Created attachment 132672
--> https://bugs.documentfoundation.org/attachment.cgi?id=132672&action=edit
example with ASK and REF field to be converted
The attached document has a variable myVar, which was set by an ASK field and
has a REF field to show its value. (Besides that it has some info text to
remind me how to use fields in Word.)
Open the attached document.
Without any changes save it in odt-format.
The odt-Format has invalid parts:
The ASK field was translated to a <text:bookmark> element and a
<text:variable-input> element. The <text:variable-input> element was written
with attributes text:name, text:description, text:display, text:formula,
office:value-type, and office:string-value.
But the attributes text:formula and office:string-value are not allowed for a
<text:variable-input> element.
To get the same behavior as in Word neither office:string-value nor
text:formula is needed, but the content of the <text:variable-input> element is
the value of the variable. The ASK field does not show its content in Word. To
get this behavior, the attribute text:display="none" can be used.
--
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