Hi there,
I have the problem that I use a custom style in one document that I use for merging with the DocumentBuilder from the Open-Xml-PowerTools. If I merge this document to another one the styles are merged, too.
In the new document the style in style.xml is the same as in the source document and the using of the style in document.xml seems to look the same, too.
If I open that merged document in MS Word I have the problem that the style is different. The line spacing is different and the margin before one line is different, too.
This is the style in style.xml:
<w:style w:type="paragraph" w:customStyle="1" w:styleId="<Name>">
<w:name w:val="<Name>"/>
<w:qFormat/>
<w:pPr>
<w:widowControl w:val="0"/>
<w:autoSpaceDE w:val="0"/>
<w:autoSpaceDN w:val="0"/>
<w:adjustRightInd w:val="0"/>
</w:pPr>
<w:rPr>
<w:rFonts w:ascii="Arial" w:hAnsi="Arial" w:cs="Arial"/>
<w:sz w:val="24"/>
<w:szCs w:val="24"/>
</w:rPr>
</w:style>
And this is the paragraph where I use this style:
<w:p w:rsidR="00896DE0" w:rsidRDefault="00896DE0">
<w:pPr>
<w:pStyle w:val="<Name>"/>
<w:rPr>
<w:noProof/>
<w:sz w:val="12"/>
<w:szCs w:val="12"/>
</w:rPr>
</w:pPr>
</w:p>
Am I doing something wrong? Where do I find the linespacing and the margin that Word is showing me?
Thanks a lot in advance,
Michaela
-
This topic was modified 7 years, 11 months ago by Michaela.