diff --git a/PROMS/Formats/fmtall/wstsamall.xml b/PROMS/Formats/fmtall/wstsamall.xml new file mode 100644 index 00000000..11822cbf Binary files /dev/null and b/PROMS/Formats/fmtall/wstsamall.xml differ diff --git a/PROMS/Formats/genmacall/wstsam.svg b/PROMS/Formats/genmacall/wstsam.svg new file mode 100644 index 00000000..5fe372e8 Binary files /dev/null and b/PROMS/Formats/genmacall/wstsam.svg differ diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index 9c25aacd..20f45bf2 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -6935,7 +6935,11 @@ namespace VEPROMS.CSLA.Library private List _StepSectPageBreaks = null; public List StepSectPageBreaks { - get { return _StepSectPageBreaks; } + get + { + if (_StepSectPageBreaks == null) _StepSectPageBreaks = new List(); + return _StepSectPageBreaks; + } set { _StepSectPageBreaks = value; } } // Determine if this section contains any Supplemental information steps. This is used for print to determine diff --git a/PROMS/Volian.Print.Library/PromsPrinter.cs b/PROMS/Volian.Print.Library/PromsPrinter.cs index 966052f1..984b4cd4 100644 --- a/PROMS/Volian.Print.Library/PromsPrinter.cs +++ b/PROMS/Volian.Print.Library/PromsPrinter.cs @@ -1623,8 +1623,7 @@ namespace Volian.Print.Library { if (section.StepSectPageBreaksForSupInfo == null) section.StepSectPageBreaksForSupInfo = new List(); else section.StepSectPageBreaksForSupInfo.Clear(); - if (section.StepSectPageBreaks == null) section.StepSectPageBreaks = new List(); - else section.StepSectPageBreaks.Clear(); + section.StepSectPageBreaks.Clear(); } // 792: 72 * 11 inches - TopRow - Top is high value float _PointsPerPage = 792;