Added flag CompressPropSubSup for compressing proportional fonts sub & superscript (used by Calvert)
Use CompressPropSubSup Use CompressPropSubSup
This commit is contained in:
@@ -674,6 +674,7 @@ public struct StepSection
|
||||
public string ContinueSectionHeader;
|
||||
public string CompressHPSub;
|
||||
public string CompressHPSuper;
|
||||
public string CompressPropSubSup;
|
||||
//public string UndSpecialStepsFoldout;
|
||||
public string UnderlineAllMetaTitles;
|
||||
public string BoldOnlySectionZero;
|
||||
@@ -4017,6 +4018,7 @@ namespace fmtxml
|
||||
else fmtdata.SectData.StepSectionData.CompressHPSub = "False";
|
||||
if (XtraFlags.CompressHPSuper == "True") fmtdata.SectData.StepSectionData.CompressHPSuper = "True";
|
||||
else fmtdata.SectData.StepSectionData.CompressHPSuper = "False";
|
||||
fmtdata.SectData.StepSectionData.CompressPropSubSup = "False";
|
||||
//if (XtraFlags.UndSpecialStepsFoldout == "True") fmtdata.SectData.StepSectionData.UndSpecialStepsFoldout = "True";
|
||||
//else fmtdata.SectData.StepSectionData.UndSpecialStepsFoldout = "False";
|
||||
if (XtraFlags.UnderlineAllMetaTitles == "True") fmtdata.SectData.StepSectionData.UnderlineAllMetaTitles = "True";
|
||||
@@ -5061,6 +5063,7 @@ namespace fmtxml
|
||||
if (msctstp.ContinueSectionHeader != null && msctstp.ContinueSectionHeader == ssctstp.ContinueSectionHeader) subFmt.SectData.StepSectionData.ContinueSectionHeader = "null";
|
||||
if (msctstp.CompressHPSub != null && msctstp.CompressHPSub == ssctstp.CompressHPSub) subFmt.SectData.StepSectionData.CompressHPSub = "null";
|
||||
if (msctstp.CompressHPSuper != null && msctstp.CompressHPSuper == ssctstp.CompressHPSuper) subFmt.SectData.StepSectionData.CompressHPSuper = "null";
|
||||
if (msctstp.CompressPropSubSup != null && msctstp.CompressPropSubSup == ssctstp.CompressPropSubSup) subFmt.SectData.StepSectionData.CompressPropSubSup = "null";
|
||||
//if (msctstp.UndSpecialStepsFoldout != null && msctstp.UndSpecialStepsFoldout == ssctstp.UndSpecialStepsFoldout) subFmt.SectData.StepSectionData.UndSpecialStepsFoldout = "null";
|
||||
if (msctstp.UnderlineAllMetaTitles != null && msctstp.UnderlineAllMetaTitles == ssctstp.UnderlineAllMetaTitles) subFmt.SectData.StepSectionData.UnderlineAllMetaTitles = "null";
|
||||
if (msctstp.BoldOnlySectionZero != null && msctstp.BoldOnlySectionZero == ssctstp.BoldOnlySectionZero) subFmt.SectData.StepSectionData.BoldOnlySectionZero = "null";
|
||||
|
@@ -7,8 +7,19 @@ namespace fmtxml
|
||||
{
|
||||
public partial class FmtFileToXml
|
||||
{
|
||||
private void AddBGEALNfmt(ref FormatData fmtdata)
|
||||
{
|
||||
fmtdata.SectData.StepSectionData.CompressHPSub = "False";
|
||||
fmtdata.SectData.StepSectionData.CompressPropSubSup = "True";
|
||||
fmtdata.PrintData.SpecialCaseCalvert = "True";
|
||||
fmtdata.StepData[2].TabData.IdentEdit = "WINDOW ";
|
||||
fmtdata.StepData[2].TabData.Ident = "WINDOW ";
|
||||
fmtdata.StepData[42].UseOldTemplate = "True";
|
||||
}
|
||||
private void AddBGEEOPfmt(ref FormatData fmtdata)
|
||||
{
|
||||
fmtdata.SectData.StepSectionData.CompressHPSub = "False";
|
||||
fmtdata.SectData.StepSectionData.CompressPropSubSup = "True";
|
||||
fmtdata.PrintData.UnitNumber = "True";
|
||||
fmtdata.PrintData.SpecialCaseCalvert = "True";
|
||||
fmtdata.SectData.SectionNumber.Level0Big = "True";
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user