When using a HTML content string, embedded as a altchunk in docx using docx4j, and converted to docx elements using mainDocumentPart.convertAltChunks()
, by default there is some indentation and line spacing applied which I want to customize only for the whole altchunk converted..
Tried decreasing the indentation by 0.08
for all the elements which cause issues with non-altchunk converted elements that could possibly be excluded.
Is there a more subtle way to have no formatting applied over altchunk converted elements or apply default formatting over only these elements?