---- On Sat, 19 Aug 2017 07:55:00 -0400 Nicolas Goaziou
<[email protected]> wrote ----
> OK. So could you tell me what should be the style name?
>
> Do we need to add it to some style file somewhere? If so, what would be
> its definition?
OK, I just got the expected output by the following:
- Add "OrgListTextBody" to the stylesheet. I didn't try to do it directly in
text (I don't know ODT XML that well). I created the style with that name in
LO, setting the indent parameters to 0. That gave me this definition in
styles.xml:
<style:style style:name="OrgListTextBody" style:family="paragraph"
style:parent-style-name="Text_20_body">
<style:paragraph-properties fo:margin-left="0in" fo:margin-right="0in"
fo:text-indent="0in" style:auto-text-indent="false"/>
</style:style>
It's probably enough to specify only ~fo:text-indent="0in"~, but I didn't test
that because I'm not sure how to write the modified styles.xml back into the
ODT archive. (LO auto-generated all 4 parameters.)
- Then, use my filter to apply OrgListTextBody to the paragraphs contained
within list items.
The resulting display in LO is correct.
hjh