Compare commits
No commits in common. "c25421ceb6f7fe3f7db1b87556fe3d341dad398b" and "389847c9ca8b1b9ae8a41e6e9dda3b497790a5c6" have entirely different histories.
c25421ceb6
...
389847c9ca
@ -301,7 +301,6 @@
|
|||||||
<Content Include="fmtall\SHESAMall.xml" />
|
<Content Include="fmtall\SHESAMall.xml" />
|
||||||
<Content Include="fmtall\SHESSDall.xml" />
|
<Content Include="fmtall\SHESSDall.xml" />
|
||||||
<Content Include="fmtall\SHESSD_00all.xml" />
|
<Content Include="fmtall\SHESSD_00all.xml" />
|
||||||
<Content Include="fmtall\VEGPBckall.xml" />
|
|
||||||
<Content Include="fmtall\VEGP1all.xml" />
|
<Content Include="fmtall\VEGP1all.xml" />
|
||||||
<Content Include="fmtall\VEGP2all.xml" />
|
<Content Include="fmtall\VEGP2all.xml" />
|
||||||
<Content Include="fmtall\VEGPAlrall.xml" />
|
<Content Include="fmtall\VEGPAlrall.xml" />
|
||||||
@ -377,7 +376,7 @@
|
|||||||
<Content Include="fmtall\wst1all.xml" />
|
<Content Include="fmtall\wst1all.xml" />
|
||||||
<Content Include="fmtall\wst2all.xml" />
|
<Content Include="fmtall\wst2all.xml" />
|
||||||
<Content Include="fmtall\wstalrall.xml" />
|
<Content Include="fmtall\wstalrall.xml" />
|
||||||
<Content Include="fmtall\VEGPBckStpsall.xml" />
|
<Content Include="fmtall\VEGPBckall.xml" />
|
||||||
<Content Include="fmtall\wstbckall.xml" />
|
<Content Include="fmtall\wstbckall.xml" />
|
||||||
<Content Include="fmtall\wstcklall.xml" />
|
<Content Include="fmtall\wstcklall.xml" />
|
||||||
<Content Include="fmtall\wstdcsall.xml" />
|
<Content Include="fmtall\wstdcsall.xml" />
|
||||||
@ -513,7 +512,6 @@
|
|||||||
<Content Include="genmacall\shesam.svg" />
|
<Content Include="genmacall\shesam.svg" />
|
||||||
<Content Include="genmacall\shessd.svg" />
|
<Content Include="genmacall\shessd.svg" />
|
||||||
<Content Include="genmacall\VEGPBck.svg" />
|
<Content Include="genmacall\VEGPBck.svg" />
|
||||||
<Content Include="genmacall\VEGPBckStps.svg" />
|
|
||||||
<Content Include="genmacall\VEGP1.svg" />
|
<Content Include="genmacall\VEGP1.svg" />
|
||||||
<Content Include="genmacall\VEGP2.svg" />
|
<Content Include="genmacall\VEGP2.svg" />
|
||||||
<Content Include="genmacall\VEGPAlr.svg" />
|
<Content Include="genmacall\VEGPAlr.svg" />
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1091,11 +1091,6 @@ namespace VEPROMS
|
|||||||
DoCreatePDF();
|
DoCreatePDF();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void QPCreatePDF()
|
|
||||||
{
|
|
||||||
DoCreatePDF();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void DoCreatePDF()
|
private void DoCreatePDF()
|
||||||
{
|
{
|
||||||
if (_AllProcedures)
|
if (_AllProcedures)
|
||||||
|
@ -512,7 +512,6 @@ namespace VEPROMS
|
|||||||
ItemInfo.ItemDeleted += new ItemInfoEvent(RefreshDisplayHistory);
|
ItemInfo.ItemDeleted += new ItemInfoEvent(RefreshDisplayHistory);
|
||||||
|
|
||||||
tv.PrintProcedure += new vlnTreeViewEvent(tv_PrintProcedure);
|
tv.PrintProcedure += new vlnTreeViewEvent(tv_PrintProcedure);
|
||||||
tv.QPrintProcedure += new vlnTreeViewEvent(tv_QPrintProcedure);
|
|
||||||
tv.PrintAllProcedures += new vlnTreeViewEvent(tv_PrintAllProcedures);
|
tv.PrintAllProcedures += new vlnTreeViewEvent(tv_PrintAllProcedures);
|
||||||
tv.ApproveProcedure += new vlnTreeViewEvent(tv_ApproveProcedure);
|
tv.ApproveProcedure += new vlnTreeViewEvent(tv_ApproveProcedure);
|
||||||
tv.ApproveAllProcedures += new vlnTreeViewEvent(tv_ApproveAllProcedures);
|
tv.ApproveAllProcedures += new vlnTreeViewEvent(tv_ApproveAllProcedures);
|
||||||
@ -1153,40 +1152,6 @@ namespace VEPROMS
|
|||||||
pi.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
|
pi.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void tv_QPrintProcedure(object sender, vlnTreeEventArgs args) // Quick Print
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
ProcedureInfo pi = (args.Node as VETreeNode).VEObject as ProcedureInfo;
|
|
||||||
if (pi == null) return;
|
|
||||||
|
|
||||||
tc.SaveCurrentEditItem(pi);
|
|
||||||
|
|
||||||
pi.MyDocVersion.DocVersionConfig.SelectedSlave = args.UnitIndex;
|
|
||||||
|
|
||||||
using (DlgPrintProcedure prnDlg = new DlgPrintProcedure(pi))
|
|
||||||
{
|
|
||||||
prnDlg.SelectedSlave = args.UnitIndex;
|
|
||||||
prnDlg.MySessionInfo = MySessionInfo;
|
|
||||||
prnDlg.SetupForProcedure(); // Setup filename
|
|
||||||
prnDlg.QPCreatePDF(); // Create Print report
|
|
||||||
|
|
||||||
pi.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
catch(Exception ex)
|
|
||||||
{
|
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
|
|
||||||
sb.AppendLine("Could not create PDF Print");
|
|
||||||
sb.AppendLine();
|
|
||||||
MessageBox.Show(sb.ToString(), "Error when creating PDF Print", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
||||||
|
|
||||||
_MyLog.Warn("Failed to create PDF print", ex);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void tv_CreateContinuousActionSummary(object sender, vlnTreeEventArgs args)
|
void tv_CreateContinuousActionSummary(object sender, vlnTreeEventArgs args)
|
||||||
{
|
{
|
||||||
DialogResult dr = System.Windows.Forms.DialogResult.Yes;
|
DialogResult dr = System.Windows.Forms.DialogResult.Yes;
|
||||||
|
@ -4104,7 +4104,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
ItemInfo srcItem = ItemInfo.Get(eds[0].ItemID);
|
ItemInfo srcItem = ItemInfo.Get(eds[0].ItemID);
|
||||||
if (srcItem == null) return null;
|
if (srcItem == null) return null;
|
||||||
|
|
||||||
if (srcItem.IsHigh || srcItem.IsSection || srcItem.IsProcedure) return srcItem.Ordinal;
|
if (srcItem.IsHigh) return srcItem.Ordinal;
|
||||||
// B2018-118: the LinkedOrdinal count must take into account cautions versus notes types:
|
// B2018-118: the LinkedOrdinal count must take into account cautions versus notes types:
|
||||||
ItemInfo hls = srcItem.MyHLS;
|
ItemInfo hls = srcItem.MyHLS;
|
||||||
bool enIsCaution = this.IsCaution;
|
bool enIsCaution = this.IsCaution;
|
||||||
|
@ -172,7 +172,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
DSS_WordContentLandscaped = 0x800000000, // for this section, the word content is landscaped.
|
DSS_WordContentLandscaped = 0x800000000, // for this section, the word content is landscaped.
|
||||||
DSS_ChklstEditSize = 0x100000000, // Westinghouse checklist - edit window size
|
DSS_ChklstEditSize = 0x100000000, // Westinghouse checklist - edit window size
|
||||||
DSS_SameXOffSubsections = 0x2000000000, // print subsections at same offset as section & preceeding subsections,start HLS xoff at section text (not number)
|
DSS_SameXOffSubsections = 0x2000000000, // print subsections at same offset as section & preceeding subsections,start HLS xoff at section text (not number)
|
||||||
DSS_PageListBkgndStpContMsg = 0x4000000000, // Background Step Number printed via Pagelist with "{CM:(Cont)}" which will print "(cont)" next to step number if it's continued to the next page - (VEGPBckStp) F2023-112
|
|
||||||
};
|
};
|
||||||
public enum E_DocStyleUse : uint
|
public enum E_DocStyleUse : uint
|
||||||
{
|
{
|
||||||
|
@ -501,11 +501,6 @@ namespace Volian.Controls.Library
|
|||||||
{
|
{
|
||||||
if (PrintProcedure != null) PrintProcedure(sender, args);
|
if (PrintProcedure != null) PrintProcedure(sender, args);
|
||||||
}
|
}
|
||||||
public event vlnTreeViewEvent QPrintProcedure;
|
|
||||||
private void OnQPrintProcedure(object sender, vlnTreeEventArgs args)
|
|
||||||
{
|
|
||||||
if (QPrintProcedure != null) QPrintProcedure(sender, args);
|
|
||||||
}
|
|
||||||
public event vlnTreeViewEvent PrintAllProcedures;
|
public event vlnTreeViewEvent PrintAllProcedures;
|
||||||
private void OnPrintAllProcedures(object sender, vlnTreeEventArgs args)
|
private void OnPrintAllProcedures(object sender, vlnTreeEventArgs args)
|
||||||
{
|
{
|
||||||
@ -836,7 +831,6 @@ namespace Volian.Controls.Library
|
|||||||
MenuItem micas = new MenuItem("Create Continuous Action Summary");
|
MenuItem micas = new MenuItem("Create Continuous Action Summary");
|
||||||
MenuItem mitcas = new MenuItem("Create Time Critical Action Summary"); //F2022-024 added menu option
|
MenuItem mitcas = new MenuItem("Create Time Critical Action Summary"); //F2022-024 added menu option
|
||||||
MenuItem mip = new MenuItem("Print");
|
MenuItem mip = new MenuItem("Print");
|
||||||
MenuItem miqp = new MenuItem("Quick Print");
|
|
||||||
MenuItem mia = new MenuItem("Approve");
|
MenuItem mia = new MenuItem("Approve");
|
||||||
int k = 0;
|
int k = 0;
|
||||||
foreach (string s in pri.MyDocVersion.UnitNames)
|
foreach (string s in pri.MyDocVersion.UnitNames)
|
||||||
@ -847,9 +841,6 @@ namespace Volian.Controls.Library
|
|||||||
MenuItem mp = mip.MenuItems.Add(s, new EventHandler(miMultiUnit_Click));
|
MenuItem mp = mip.MenuItems.Add(s, new EventHandler(miMultiUnit_Click));
|
||||||
mp.Enabled = procAppl;
|
mp.Enabled = procAppl;
|
||||||
mp.Tag = k;
|
mp.Tag = k;
|
||||||
MenuItem mqp = miqp.MenuItems.Add(s, new EventHandler(miMultiUnit_Click));
|
|
||||||
mqp.Enabled = procAppl;
|
|
||||||
mqp.Tag = k;
|
|
||||||
MenuItem ma = mia.MenuItems.Add(s, new EventHandler(miMultiUnit_Click));
|
MenuItem ma = mia.MenuItems.Add(s, new EventHandler(miMultiUnit_Click));
|
||||||
ma.Enabled = procAppl;
|
ma.Enabled = procAppl;
|
||||||
ma.Tag = k;
|
ma.Tag = k;
|
||||||
@ -863,7 +854,6 @@ namespace Volian.Controls.Library
|
|||||||
cm.MenuItems.Add(micas);
|
cm.MenuItems.Add(micas);
|
||||||
cm.MenuItems.Add(mitcas);
|
cm.MenuItems.Add(mitcas);
|
||||||
cm.MenuItems.Add(mip);
|
cm.MenuItems.Add(mip);
|
||||||
cm.MenuItems.Add(miqp);
|
|
||||||
AddShowChangeBarsAfterMenuItem(cm.MenuItems, pri);
|
AddShowChangeBarsAfterMenuItem(cm.MenuItems, pri);
|
||||||
cm.MenuItems.Add(mia);
|
cm.MenuItems.Add(mia);
|
||||||
AddApprovedRevisionsMultiUnit(cm.MenuItems, pri);
|
AddApprovedRevisionsMultiUnit(cm.MenuItems, pri);
|
||||||
@ -873,8 +863,6 @@ namespace Volian.Controls.Library
|
|||||||
cm.MenuItems.Add("Create Continuous Action Summary", new EventHandler(mi_Click));
|
cm.MenuItems.Add("Create Continuous Action Summary", new EventHandler(mi_Click));
|
||||||
cm.MenuItems.Add("Create Time Critical Action Summary", new EventHandler(mi_Click));
|
cm.MenuItems.Add("Create Time Critical Action Summary", new EventHandler(mi_Click));
|
||||||
cm.MenuItems.Add("Print", new EventHandler(mi_Click));
|
cm.MenuItems.Add("Print", new EventHandler(mi_Click));
|
||||||
cm.MenuItems.Add("Quick Print", new EventHandler(mi_Click));
|
|
||||||
//MenuItem miqp = new MenuItem("Print");
|
|
||||||
AddShowChangeBarsAfterMenuItem(cm.MenuItems, pri);
|
AddShowChangeBarsAfterMenuItem(cm.MenuItems, pri);
|
||||||
cm.MenuItems.Add("Approve", new EventHandler(mi_Click));
|
cm.MenuItems.Add("Approve", new EventHandler(mi_Click));
|
||||||
//_MyLog.WarnFormat("Context Menu 1 before - {0}", GC.GetTotalMemory(true));
|
//_MyLog.WarnFormat("Context Menu 1 before - {0}", GC.GetTotalMemory(true));
|
||||||
@ -889,24 +877,19 @@ namespace Volian.Controls.Library
|
|||||||
if (pri.MyDocVersion.MultiUnitCount > 1)
|
if (pri.MyDocVersion.MultiUnitCount > 1)
|
||||||
{
|
{
|
||||||
MenuItem mip = new MenuItem("Print");
|
MenuItem mip = new MenuItem("Print");
|
||||||
MenuItem miqp = new MenuItem("Quick Print");
|
|
||||||
int k = 0;
|
int k = 0;
|
||||||
foreach (string s in pri.MyDocVersion.UnitNames)
|
foreach (string s in pri.MyDocVersion.UnitNames)
|
||||||
{
|
{
|
||||||
k++;
|
k++;
|
||||||
MenuItem mp = mip.MenuItems.Add(s, new EventHandler(miMultiUnit_Click));
|
MenuItem mp = mip.MenuItems.Add(s, new EventHandler(miMultiUnit_Click));
|
||||||
mp.Tag = k;
|
mp.Tag = k;
|
||||||
MenuItem mqp = miqp.MenuItems.Add(s, new EventHandler(miMultiUnit_Click));
|
|
||||||
mqp.Tag = k;
|
|
||||||
}
|
}
|
||||||
cm.MenuItems.Add(mip);
|
cm.MenuItems.Add(mip);
|
||||||
cm.MenuItems.Add(miqp);
|
|
||||||
AddApprovedRevisionsMultiUnit(cm.MenuItems, pri);
|
AddApprovedRevisionsMultiUnit(cm.MenuItems, pri);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cm.MenuItems.Add("Print", new EventHandler(mi_Click));
|
cm.MenuItems.Add("Print", new EventHandler(mi_Click));
|
||||||
cm.MenuItems.Add("Quick Print", new EventHandler(mi_Click));
|
|
||||||
AddApprovedRevisions(cm.MenuItems, pri);
|
AddApprovedRevisions(cm.MenuItems, pri);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1744,9 +1727,6 @@ namespace Volian.Controls.Library
|
|||||||
case "Print":
|
case "Print":
|
||||||
OnPrintProcedure(this, new vlnTreeEventArgs(SelectedNode as VETreeNode, null, 0, mi.Text, (int)mi.Tag));
|
OnPrintProcedure(this, new vlnTreeEventArgs(SelectedNode as VETreeNode, null, 0, mi.Text, (int)mi.Tag));
|
||||||
break;
|
break;
|
||||||
case "Quick Print":
|
|
||||||
OnQPrintProcedure(this, new vlnTreeEventArgs(SelectedNode as VETreeNode, null, 0, mi.Text, (int)mi.Tag));
|
|
||||||
break;
|
|
||||||
case "Print All Procedures for":
|
case "Print All Procedures for":
|
||||||
OnPrintAllProcedures(this, new vlnTreeEventArgs(SelectedNode as VETreeNode, null, 0,mi.Text,(int)mi.Tag));
|
OnPrintAllProcedures(this, new vlnTreeEventArgs(SelectedNode as VETreeNode, null, 0,mi.Text,(int)mi.Tag));
|
||||||
break;
|
break;
|
||||||
@ -1987,9 +1967,6 @@ namespace Volian.Controls.Library
|
|||||||
case "Print":
|
case "Print":
|
||||||
OnPrintProcedure(this, new vlnTreeEventArgs(SelectedNode as VETreeNode, null, 0));
|
OnPrintProcedure(this, new vlnTreeEventArgs(SelectedNode as VETreeNode, null, 0));
|
||||||
break;
|
break;
|
||||||
case "Quick Print":
|
|
||||||
OnQPrintProcedure(this, new vlnTreeEventArgs(SelectedNode as VETreeNode, null, 0));
|
|
||||||
break;
|
|
||||||
case "Print All Procedures":
|
case "Print All Procedures":
|
||||||
OnPrintAllProcedures(this, new vlnTreeEventArgs(SelectedNode as VETreeNode, null, 0));
|
OnPrintAllProcedures(this, new vlnTreeEventArgs(SelectedNode as VETreeNode, null, 0));
|
||||||
break;
|
break;
|
||||||
|
@ -682,35 +682,12 @@ namespace Volian.Print.Library
|
|||||||
// Console.WriteLine("To {0}.{1} Page: {2}",LastWordSection.DisplayNumber,LastWordSection.DisplayText,_PageCountOfWordSection);
|
// Console.WriteLine("To {0}.{1} Page: {2}",LastWordSection.DisplayNumber,LastWordSection.DisplayText,_PageCountOfWordSection);
|
||||||
// PreviousWordSection = LastWordSection;
|
// PreviousWordSection = LastWordSection;
|
||||||
//}
|
//}
|
||||||
private PdfContentByte OpenDoc(ref string outputFileName, iTextSharp.text.Rectangle rect)
|
private PdfContentByte OpenDoc(string outputFileName, iTextSharp.text.Rectangle rect)
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
PdfWriter writer=null;
|
PdfWriter writer=null;
|
||||||
iTextSharp.text.Document document = new iTextSharp.text.Document(rect);
|
iTextSharp.text.Document document = new iTextSharp.text.Document(rect);
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (File.Exists(outputFileName))
|
|
||||||
{
|
|
||||||
String tmpExt = System.IO.Path.GetExtension(outputFileName);
|
|
||||||
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";
|
|
||||||
} while (files.Contains(filename));
|
|
||||||
|
|
||||||
outputFileName = filename;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
writer = PdfWriter.GetInstance(document, new FileStream(outputFileName, FileMode.Create));
|
writer = PdfWriter.GetInstance(document, new FileStream(outputFileName, FileMode.Create));
|
||||||
// PDFA1B does not allow layers, so this is disabled for now
|
// PDFA1B does not allow layers, so this is disabled for now
|
||||||
// If enabled, CreateLayers will need to be skipped.
|
// If enabled, CreateLayers will need to be skipped.
|
||||||
@ -744,21 +721,6 @@ namespace Volian.Print.Library
|
|||||||
MyContentByte = writer.DirectContent;
|
MyContentByte = writer.DirectContent;
|
||||||
return MyContentByte;
|
return MyContentByte;
|
||||||
}
|
}
|
||||||
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
sb.AppendLine("Error occured when creating Print PDF");
|
|
||||||
sb.AppendLine();
|
|
||||||
sb.AppendLine(outputFileName + ".");
|
|
||||||
sb.AppendLine();
|
|
||||||
sb.AppendLine("If it is open, close and retry.");
|
|
||||||
MessageBox.Show(sb.ToString(), "Error Creating PDF", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
||||||
//MessageBox.Show("Could not create " + outputFileName + ". If it is open, close and retry.", "Error on CreatePdf");
|
|
||||||
return MyContentByte = null;
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//private string CreateFileName(string procNumber, string sectNumber, string sectTitle)
|
//private string CreateFileName(string procNumber, string sectNumber, string sectTitle)
|
||||||
//{
|
//{
|
||||||
// return FixFileName(procNumber + "_" + ((sectNumber ?? "") != "" ? sectNumber : sectTitle));
|
// return FixFileName(procNumber + "_" + ((sectNumber ?? "") != "" ? sectNumber : sectTitle));
|
||||||
@ -909,7 +871,7 @@ namespace Volian.Print.Library
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
PdfContentByte cb = OpenDoc(ref outputFileName, rct);
|
PdfContentByte cb = OpenDoc(outputFileName, rct);
|
||||||
if (cb == null)
|
if (cb == null)
|
||||||
{
|
{
|
||||||
ProfileTimer.Pop(profileDepth);
|
ProfileTimer.Pop(profileDepth);
|
||||||
@ -2336,7 +2298,7 @@ namespace Volian.Print.Library
|
|||||||
else SupInfoPdfPage.Clear();
|
else SupInfoPdfPage.Clear();
|
||||||
string SupInfoPdfName = Volian.Base.Library.VlnSettings.TemporaryFolder + @"\SupInfo" + vlnParagraph.MyItemInfo.ItemID.ToString() + @".pdf";
|
string SupInfoPdfName = Volian.Base.Library.VlnSettings.TemporaryFolder + @"\SupInfo" + vlnParagraph.MyItemInfo.ItemID.ToString() + @".pdf";
|
||||||
iTextSharp.text.Rectangle pageSize = PDFPageSize.UsePaperSize(MyItem.ActiveFormat.PlantFormat.FormatData.PDFPageSize.PaperSize); // C2020-002 paper size is now set in the format files
|
iTextSharp.text.Rectangle pageSize = PDFPageSize.UsePaperSize(MyItem.ActiveFormat.PlantFormat.FormatData.PDFPageSize.PaperSize); // C2020-002 paper size is now set in the format files
|
||||||
PdfContentByte cb = OpenDoc(ref SupInfoPdfName, pageSize);
|
PdfContentByte cb = OpenDoc(SupInfoPdfName, pageSize);
|
||||||
if (cb == null) return;
|
if (cb == null) return;
|
||||||
VlnSvgPageHelper myPageHelper = new VlnSvgPageHelper(vlnParagraph.MyItemInfo as SectionInfo, this, null, 0);
|
VlnSvgPageHelper myPageHelper = new VlnSvgPageHelper(vlnParagraph.MyItemInfo as SectionInfo, this, null, 0);
|
||||||
cb.PdfWriter.PageEvent = myPageHelper;
|
cb.PdfWriter.PageEvent = myPageHelper;
|
||||||
@ -2998,4 +2960,3 @@ namespace Volian.Print.Library
|
|||||||
// }
|
// }
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1912,11 +1912,7 @@ namespace Volian.Print.Library
|
|||||||
float bcm_yLocation = TableBottom == -1 ? yLocation: Math.Min(TableBottom,yLocation);
|
float bcm_yLocation = TableBottom == -1 ? yLocation: Math.Min(TableBottom,yLocation);
|
||||||
DoBottomContinueMsg(cb, yBottomMargin, bcm_yLocation, docstyle, doThreeContinues);
|
DoBottomContinueMsg(cb, yBottomMargin, bcm_yLocation, docstyle, doThreeContinues);
|
||||||
MyPromsPrinter.NewPage();
|
MyPromsPrinter.NewPage();
|
||||||
// C2018-003 fixed use of getting the active section
|
if (MyItemInfo.IsStep && (MyItemInfo.ActiveSection != null && ((MyItemInfo.ActiveSection.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_PageListSpBckgrnd) == E_DocStructStyle.DSS_PageListSpBckgrnd))) // C2018-003 fixed use of getting the active section
|
||||||
// F2023-112 Vogtle Units 3 & 4 background document format DSS_PageListBkgndStpContMsg to print continue message next to step number
|
|
||||||
if (MyItemInfo.IsStep && (MyItemInfo.ActiveSection != null &&
|
|
||||||
((MyItemInfo.ActiveSection.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_PageListSpBckgrnd) == E_DocStructStyle.DSS_PageListSpBckgrnd) ||
|
|
||||||
((MyItemInfo.ActiveSection.MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_PageListBkgndStpContMsg) == E_DocStructStyle.DSS_PageListBkgndStpContMsg)))
|
|
||||||
{
|
{
|
||||||
// check if parent (can be HLS, Caution or Note) has the UseOldTemplate. If so,
|
// check if parent (can be HLS, Caution or Note) has the UseOldTemplate. If so,
|
||||||
// flag that a continue message should be printed as part of a pagelist header (if pagelist
|
// flag that a continue message should be printed as part of a pagelist header (if pagelist
|
||||||
|
Loading…
x
Reference in New Issue
Block a user