Removed Debug Print
Moved code to add sections to Procedure parts Moved code to add steps to Section parts Moved code to add steps to Step parts Changed Debug Print Fixed a Format Flag conversion DontBreakOptEquipmentList Changed GetItemFont so that parent items would not be left in the cache Changed AddIncludedStepNumber to allow for ranges to sub levels. Added a array reference to StepDataList by index.
This commit is contained in:
1 parent
332e35c484
commit
5af2c31559
9 files changed
+108
-44
No files matched your search
@@ -2016,7 +2016,8 @@ namespace fmtxml
|
||||
if ((flg & DOSECTIONSEPARATORLINE) > 0) XtraFlags.DoSectionSeparatorLine = true.ToString();
|
||||
if ((flg & PARENSONEXTPAGENUMTRANS) > 0) XtraFlags.ParensOnExtPagenumTrans = true.ToString();
|
||||
if ((flg & ATLEASTTWODIGITSFORHLS) > 0) XtraFlags.AtLeastTwoDigitsForHLS = true.ToString();
|
||||
if ((flg & DONTBREAKOPTEQUIPMENTLIST) > 0) XtraFlags.DontBreakEquipmentList = true.ToString();
|
||||
if ((flg & DONTBREAKOPTEQUIPMENTLIST) > 0)
|
||||
XtraFlags.DontBreakOptEquipmentList = true.ToString();
|
||||
if ((flg & PAGELISTCHANGEIDSWITHCOMMAS) > 0) XtraFlags.PagelistChangeIDsWithCommas = true.ToString();
|
||||
if ((flg & DONTSTARTLINEWITHDASH) > 0) XtraFlags.DontStartLineWithDash = true.ToString();
|
||||
if ((flg & NOBLANKLINEBEFORESUBSTEP) > 0) XtraFlags.NoBlankLineBeforeSubstep = true.ToString();
|
||||
@@ -3532,6 +3533,12 @@ namespace fmtxml
|
||||
// All EquipmentOpt get this thru inheritance
|
||||
if (XtraFlags.QuotedSubsteps == "True") fmtdata.StepData[i].Quoted = "True";
|
||||
else fmtdata.StepData[i].Quoted = "False";
|
||||
|
||||
// Note that only opt equipment lists (and wblank) get this - no inherit - must be done in code!
|
||||
if (XtraFlags.DontBreakOptEquipmentList == "True")
|
||||
fmtdata.StepData[i].BreakEquipmentList = "False";
|
||||
else
|
||||
fmtdata.StepData[i].BreakEquipmentList = "True";
|
||||
}
|
||||
else if (i == 31) // EquipmentOptWBlank
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user