Hi,
After compared the file structure of the two templates you sent, I found there were several differences. And I have narrowed down to below highlighted parts in w:document.xml.
I modified the table property of *** issues.docm to be the same with *** without issues.docm, the cell border aligned correctly. However I havent found if protected view has anything to do with this or it affected the table layout in what ways.
You may consider to set up a trusted location or make those documents trusted documents, so it will save you some trouble.
- A file is opened from a trusted location will not open in protected view.
- A file is considered a trusted document will not open in protected view.
<*** With issues.docm>
<w:gridSpan w:val="2"/>
<w:tcBorders>
<w:top w:val="single" w:sz="6" w:space="0" w:color="auto"/>
<w:bottom w:val="single" w:sz="4" w:space="0" w:color="auto"/>
<w:right w:val="single" w:sz="6" w:space="0" w:color="auto"/>
</w:tcBorders>
</w:tcPr>
<w:p w:rsidR="00813C46" w:rsidRPr="00BB78E9" w:rsidRDefault="00813C46" w:rsidP="00A25046">
<w:pPr>
<w:pStyle w:val="Default4"/>
<w:rPr>
<w:b/>
</w:rPr>
</w:pPr>
<w:r w:rsidRPr="00BB78E9">
<w:rPr>
<w:b/>
</w:rPr>
<w:t>
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
</w:t>
</w:r>
</w:p>
</w:tc>
</w:tr>
<w:tr w:rsidR="00813C46" w:rsidRPr="00FC53F0" w:rsidTr="00A25046">
<w:trPr>
<w:trHeight w:hRule="exact" w:val="166"/>
</w:trPr>
<w:tc>
<w:tcPr>
<w:tcW w:w="10251" w:type="dxa"/>
<w:gridSpan w:val="5"/>
<*** Without issues.docm>
<w:tcBorders>
<w:top w:val="single" w:sz="6" w:space="0" w:color="auto"/>
<w:bottom w:val="single" w:sz="4" w:space="0" w:color="auto"/>
<w:right w:val="single" w:sz="6" w:space="0" w:color="auto"/>
</w:tcBorders>
</w:tcPr>
<w:p w:rsidR="007D3792" w:rsidRPr="00BB78E9" w:rsidRDefault="007D3792" w:rsidP="001563CB">
<w:pPr>
<w:pStyle w:val="Default4"/>
<w:rPr>
<w:b/>
</w:rPr>
</w:pPr>
<w:r w:rsidRPr="00BB78E9">
<w:rPr>
<w:b/>
</w:rPr>
<w:t>
Anmrkning/Viktiga iakttagelser
</w:t>
</w:r>
</w:p>
</w:tc>
</w:tr>
<w:tr w:rsidR="007D3792" w:rsidRPr="00FC53F0" w:rsidTr="001563CB">
<w:trPr>
<w:trHeight w:hRule="exact" w:val="227"/>
</w:trPr>
<w:tc>
<w:tcPr>
<w:tcW w:w="10251" w:type="dxa"/>
<w:gridSpan w:val="4"/>
After deleting <w:gridSpan w:val="2"/> and modifying
<w:gridSpan w:val="5"/> to
<w:gridSpan w:val="4"/> the cell border aligned correctly. Sadly
<w:sdt checkbox="t" checkboxfontchecked="MS Gothic" checkboxfontunchecked="MS Gothic" checkboxischecked="f" checkboxvaluechecked="" checkboxvalueunchecked="" id="321012654" prefixmappings="xmlns:ns0='http://schemas.riksrevisionen.se/template/fsb'
xmlns:ns1='http://schemas.riksrevisionen.se/template/ap' " sdttag="isWithoutRemark" storeitemid="X_06A07418-A3B7-4FB4-8AA5-779AE8C42A29" title="isWithoutRemark" xpath="/ns0:Document[1]/ns0:Content[1]/ns0:Conclusion[1]/ns0:IsWithoutRemark[1]">
</w:sdt><w:sdt checkbox="t" checkboxfontchecked="MS Gothic" checkboxfontunchecked="MS Gothic" checkboxischecked="t" checkboxvaluechecked="" checkboxvalueunchecked="" id="-418175780"
prefixmappings="xmlns:ns0='http://schemas.riksrevisionen.se/template/fsb' xmlns:ns1='http://schemas.riksrevisionen.se/template/ap' " sdttag="hasRemark" storeitemid="X_06A07418-A3B7-4FB4-8AA5-779AE8C42A29" title="hasRemark"
xpath="/ns0:Document[1]/ns0:Content[1]/ns0:Conclusion[1]/ns0:HasRemark[1]"> </w:sdt>
********
|
<w:sdtpr></w:sdtpr>
|
*****************
|
<w:sdtpr></w:sdtpr>
|
****************
|
************************
|
<w:sdt docpart="641F605CDC354D40B616451A83C5F4A7" id="1556275524" prefixmappings="xmlns:ns0='http://schemas.riksrevisionen.se/template/fsb' xmlns:ns1='http://schemas.riksrevisionen.se/template/fsb/openquestion' xmlns:ns2='http://schemas.riksrevisionen.se/template/ap/observation'
xmlns:ns3='http://schemas.riksrevisionen.se/template/ap/openquestion' " sdttag="observationComment" storeitemid="X_06A07418-A3B7-4FB4-8AA5-779AE8C42A29" xpathrichtext="/ns0:Document[1]/ns0:Content[1]/ns0:Conclusion[1]/ns0:Comment[1]">
**************************<w:sdtpr></w:sdtpr>
***********
**********************************************************
</w:sdt> |
Regards,
Melon Chen
TechNet Community Support