This commit is contained in:
parent
e8033fe6d4
commit
146d4383b4
@ -490,9 +490,29 @@ namespace fmtxml
|
|||||||
case "RGESAM2.DOC":
|
case "RGESAM2.DOC":
|
||||||
AddREGSam2DOC(ref dcstyles);
|
AddREGSam2DOC(ref dcstyles);
|
||||||
break;
|
break;
|
||||||
|
// in shearon harris format, the fonts were set to 0 in the 16bit docstyle.
|
||||||
|
// we want them to inherit from plant format, not use the Prestige Elite (font 0)
|
||||||
|
// from 16bit, so delete those nodes:
|
||||||
|
case "SHE.DOC":
|
||||||
|
AddSheDOC(ref dcstyles);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void AddSheDOC(ref DocStyles dcstyles)
|
||||||
|
{
|
||||||
|
// fonts (dstyle) in DocStyles that had a '0' in the 16bit format file (she.doc), should
|
||||||
|
// inherit from the plant level in 32 bit rather than use Prestige Elite (0 -> Prestige Elite)
|
||||||
|
dcstyles.DcStyles[1].dstyle = null;
|
||||||
|
dcstyles.DcStyles[2].dstyle = null;
|
||||||
|
dcstyles.DcStyles[3].dstyle = null;
|
||||||
|
dcstyles.DcStyles[4].dstyle = null;
|
||||||
|
dcstyles.DcStyles[5].dstyle = null;
|
||||||
|
dcstyles.DcStyles[6].dstyle = null;
|
||||||
|
dcstyles.DcStyles[7].dstyle = null;
|
||||||
|
dcstyles.DcStyles[8].dstyle = null;
|
||||||
|
}
|
||||||
|
|
||||||
public void AddREGSam1DOC(ref DocStyles dcstyles)
|
public void AddREGSam1DOC(ref DocStyles dcstyles)
|
||||||
{
|
{
|
||||||
dcstyles.DcStyles[4].numberingsequence = 1; // count this section with total document page count
|
dcstyles.DcStyles[4].numberingsequence = 1; // count this section with total document page count
|
||||||
|
Loading…
x
Reference in New Issue
Block a user