Compare commits
12
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
59bc3141e8 | ||
|
|
dc73cc3a50 | ||
|
|
1433f14a0b | ||
|
|
6e3fc49517 | ||
|
|
d0f7da7ef6 | ||
|
|
b0776fb8b7 | ||
|
|
cae3e2323d | ||
|
|
ce8497e61f | ||
|
|
72eaac478f | ||
|
|
776d9891d9 | ||
|
|
6e37911462 | ||
|
|
d2cad3a9f7 |
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large.
Load diff
@@ -1,92 +0,0 @@
|
|||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
|
|
||||||
|
|
||||||
// General Information about an assembly is controlled through the following
|
|
||||||
// set of attributes. Change these attribute values to modify the information
|
|
||||||
// associated with an assembly.
|
|
||||||
[assembly: AssemblyTitle("PROMS")]
|
|
||||||
[assembly: AssemblyDescription("Create, Edit, and Maintain Procedures Sets.")]
|
|
||||||
[assembly: AssemblyConfiguration("")]
|
|
||||||
[assembly: AssemblyCompany("Volian Enterprises, Inc.")]
|
|
||||||
[assembly: AssemblyProduct("PROMS")]
|
|
||||||
[assembly: AssemblyCopyright("Copyright © 2012. All Rights Reserved.")]
|
|
||||||
[assembly: AssemblyTrademark("")]
|
|
||||||
[assembly: AssemblyCulture("")]
|
|
||||||
|
|
||||||
// Setting ComVisible to false makes the types in this assembly not visible
|
|
||||||
// to COM components. If you need to access a type in this assembly from
|
|
||||||
// COM, set the ComVisible attribute to true on that type.
|
|
||||||
[assembly: ComVisible(false)]
|
|
||||||
|
|
||||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
|
||||||
[assembly: Guid("2ffeb031-bf85-4153-baa2-2d4da2fd5556")]
|
|
||||||
|
|
||||||
// Version information for an assembly consists of the following four values:
|
|
||||||
//
|
|
||||||
// Major Version
|
|
||||||
// Minor Version
|
|
||||||
// Build YYMM (two digit year, two digit month)
|
|
||||||
// Revision DHH (day - no leading zero, two digit hour - military time
|
|
||||||
//
|
|
||||||
[assembly: AssemblyVersion("11.6.1205.316")]
|
|
||||||
[assembly: AssemblyFileVersion("11.6.1205.316")]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -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));
|
||||||
|
|||||||
Reference in new issue
Block a user