https://bugs.documentfoundation.org/show_bug.cgi?id=94768
Bug ID: 94768
Summary: LO creates invalid ODF
Product: LibreOffice
Version: 5.0.1.2 release
Hardware: Other
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Created attachment 119286
--> https://bugs.documentfoundation.org/attachment.cgi?id=119286&action=edit
input file to recreate the bug
Under certain circumstances, LO can create seriously invalid ODF.
An element <style:style style:family="paragraph" ...> may not have a child
element <style:graphic-properties>. In LO 5.0.1.2, it can create such elements.
To recreate the problem, open the attached before.odt. Now save it and look at
styles.xml. This will contain this fragment:
<style:style style:name="Code" style:family="paragraph"
style:parent-style-name="Standard">
<style:graphic-properties draw:fill="solid" draw:fill-color="#d9d9d9"
draw:opacity="100%"/>
<style:paragraph-properties fo:margin-left="0cm" fo:margin-right="0cm"
fo:
To recreate the issue, LO is configured to save to 'ODF 1.2'. The option 'ODF
format version:' is set to '1.2'.
--
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