The way to provide HTML content into Docx document: we add altChunk into P (paragraph) (in this case altChunk and R (run) are siblings) and then before saving the document convert these altChunks and add altChunk content into P. The second part of this approach is not ideal. If we have HTML content containing P and add content from P to other P, we lost the RPR (paragraph runtime properties) (settings of indentations, tabs, etc). I suggest we should add the HTML content into P parent content (P containing R with altChunk) - now content parts from altChunk andP are siblings.
The way to provide HTML content into Docx document: we add
altChunk
intoP
(paragraph) (in this casealtChunk
andR
(run) are siblings) and then before saving the document convert thesealtChunks
and addaltChunk
content intoP
. The second part of this approach is not ideal. If we have HTML content containingP
and add content fromP
to otherP
, we lost theRPR
(paragraph runtime properties) (settings of indentations, tabs, etc). I suggest we should add the HTML content intoP
parent content (P
containingR
withaltChunk
) - now content parts fromaltChunk
andP
are siblings.