Development #292
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -44,8 +44,11 @@ using System.Runtime.InteropServices;
|
|||||||
// Revision DHH (day - no leading zero, two digit hour - military time
|
// Revision DHH (day - no leading zero, two digit hour - military time
|
||||||
//
|
//
|
||||||
// ********* REMEMBER TO CHECK THE AssemblyConfiguration SETTING (ABOVE) ********
|
// ********* REMEMBER TO CHECK THE AssemblyConfiguration SETTING (ABOVE) ********
|
||||||
[assembly: AssemblyVersion("2.1.2403.2209")]
|
[assembly: AssemblyVersion("2.1.2404.509")]
|
||||||
[assembly: AssemblyFileVersion("2.1.2403.2209")]
|
[assembly: AssemblyFileVersion("2.1.2404.509")]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -4452,9 +4452,10 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// F2024-037 reset the seq sub-step numbering if the parent is an un-numbered high level step
|
// F2024-037 reset the seq sub-step numbering if the parent is an un-numbered high level step
|
||||||
else if (sd.StepSectionLayoutData.ResetSeqNumberingAfterUnnumberedHLS && IsSequential && MyParent != null && MyParent.IsHigh && MyParent.MyTab.Text.Length == 0)
|
// F2024-049 changed to specify the level via the format file (Generic EOP and Vogtle 3&4)
|
||||||
|
else if (sd.StepSectionLayoutData.ResetSeqNumberingAfterUnnumberedHLS != null && IsSequential && MyParent != null && MyParent.IsHigh && MyParent.MyTab.Text.Length == 0)
|
||||||
{
|
{
|
||||||
localPrintLevel--; // since parent is a high level step we only need to go back one level
|
localPrintLevel = (int)sd.StepSectionLayoutData.ResetSeqNumberingAfterUnnumberedHLS;
|
||||||
itmp = (localPrintLevel + PrintBias + OffsetTab) % seqtabs.MaxIndex;
|
itmp = (localPrintLevel + PrintBias + OffsetTab) % seqtabs.MaxIndex;
|
||||||
}
|
}
|
||||||
if (!tbformat.Contains(@"{!C"))
|
if (!tbformat.Contains(@"{!C"))
|
||||||
|
@ -4508,8 +4508,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
return LazyLoad(ref _AllowNoteCautionAdd, "@AllowNoteCautionAdd");
|
return LazyLoad(ref _AllowNoteCautionAdd, "@AllowNoteCautionAdd");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private LazyLoad<bool> _ResetSeqNumberingAfterUnnumberedHLS;
|
// F2024-049 changed to specify the sub-step level via the format file (Generic EOP and Vogtle 3&4)
|
||||||
public bool ResetSeqNumberingAfterUnnumberedHLS
|
private LazyLoad<int?> _ResetSeqNumberingAfterUnnumberedHLS;
|
||||||
|
public int? ResetSeqNumberingAfterUnnumberedHLS
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
@ -701,22 +701,24 @@ namespace Volian.Print.Library
|
|||||||
{
|
{
|
||||||
if (File.Exists(outputFileName))
|
if (File.Exists(outputFileName))
|
||||||
{
|
{
|
||||||
String tmpExt = System.IO.Path.GetExtension(outputFileName);
|
if (!BaselineTesting)
|
||||||
String tmpPTH = System.IO.Path.GetDirectoryName(outputFileName);
|
|
||||||
String tmpFN = System.IO.Path.GetFileName(outputFileName);
|
|
||||||
String tmpFNNoExt = System.IO.Path.GetFileNameWithoutExtension(outputFileName);
|
|
||||||
|
|
||||||
var files = new HashSet<string>(Directory.GetFiles(tmpPTH, "*.pdf"));
|
|
||||||
//string baseName = Path.Combine(scpath, "Screenshot_");
|
|
||||||
string filename;
|
|
||||||
int i = 0;
|
|
||||||
do
|
|
||||||
{
|
{
|
||||||
filename = tmpPTH + @"\" + tmpFNNoExt + "_" + ++i + ".pdf";
|
String tmpExt = System.IO.Path.GetExtension(outputFileName);
|
||||||
} while (files.Contains(filename));
|
String tmpPTH = System.IO.Path.GetDirectoryName(outputFileName);
|
||||||
|
String tmpFN = System.IO.Path.GetFileName(outputFileName);
|
||||||
|
String tmpFNNoExt = System.IO.Path.GetFileNameWithoutExtension(outputFileName);
|
||||||
|
|
||||||
outputFileName = filename;
|
var files = new HashSet<string>(Directory.GetFiles(tmpPTH, "*.pdf"));
|
||||||
|
//string baseName = Path.Combine(scpath, "Screenshot_");
|
||||||
|
string filename;
|
||||||
|
int i = 0;
|
||||||
|
do
|
||||||
|
{
|
||||||
|
filename = tmpPTH + @"\" + tmpFNNoExt + "_" + ++i + ".pdf";
|
||||||
|
} while (files.Contains(filename));
|
||||||
|
|
||||||
|
outputFileName = filename;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
writer = PdfWriter.GetInstance(document, new FileStream(outputFileName, FileMode.Create));
|
writer = PdfWriter.GetInstance(document, new FileStream(outputFileName, FileMode.Create));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user