Created attachment 92905 [details]
For Roundtrip file, for xml tag <w:ind>;
There should not be any entry for right margin with value zero as it might override an entry from style.xml.
XML difference :
- Original file:
<w:ind w:left="562" w:firstLine="0"/>
- Roundtrip file:
<w:ind w:hanging="363" w:right="0" w:left="562"/>
Created attachment 92906 [details]
RoundTrip Document using LibreOffice (Before Fix)
Created attachment 93271 [details]
bothexplicit_implicit_right_ind_positive.docx (Sanity test Document)
Created attachment 93272 [details]
no_explicit_implicit_right_indentation.docx(Sanity test Document)
Created attachment 93273 [details]
positive_explicit_and_no_implicit_right_indentation.docx (Sanity test Document)
Created attachment 93274 [details]
positive_explicit_negative_implicit_right_ind (Sanity test Document)
Created attachment 93275 [details]
zero_explicit_and_positive_implicit_right_indentation.docx (Sanity test Document)
Created attachment 93286 [details]
pushed code changes for review review Link :
Tushar Bende committed a patch related to this issue.
It has been pushed to "master":
fdo#74141 :In <w:ind> Right margin gets added even if not present in orig doc.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.