B2025-048 Problem with Printing CAS Steps
This commit is contained in:
@@ -85,6 +85,14 @@ namespace Volian.Print.Library
|
||||
ProgressSetup,
|
||||
LoadVlnParagraph
|
||||
}
|
||||
|
||||
//B2025-048 Problem with Printing CAS Steps
|
||||
public enum PromsPrinterPrintType
|
||||
{
|
||||
Normal,
|
||||
CAS_Only,
|
||||
TCAS_only
|
||||
}
|
||||
public class PromsPrinter
|
||||
{
|
||||
public bool NeedSupInfoBreak = false;
|
||||
@@ -331,6 +339,12 @@ namespace Volian.Print.Library
|
||||
get { return _MergedPdf; }
|
||||
set { _MergedPdf = value; }
|
||||
}
|
||||
|
||||
//B2025-048 Problem with Printing CAS Steps
|
||||
// default to Normal
|
||||
// will skip certain logic if CAS Only or CTS Only
|
||||
public PromsPrinterPrintType PromsPrinterPrintType { get; set; } = PromsPrinterPrintType.Normal;
|
||||
|
||||
public PromsPrinter(ItemInfo myItem, string rev, string watermark, bool debugOutput, bool origPgBrk, string backgroundFolder, bool openPDF, bool overWrite,
|
||||
ChangeBarDefinition cbd, String pdfFile, bool insertBlankPages, bool batchPrint, string prefix, bool saveLinks, int removeTrailngHardReturnsAndManualPageBreaks, string blankPageText, bool didAll, MergedPdf mergedPdf, string watermarkColor, int PrtSectID = -1)
|
||||
{
|
||||
@@ -1266,7 +1280,7 @@ namespace Volian.Print.Library
|
||||
set { _MyTimeCriticalActSummary = value; }
|
||||
}
|
||||
|
||||
public void CreateWordDocPdf(PdfContentByte cb, SectionInfo mySection)
|
||||
public void CreateWordDocPdf(PdfContentByte cb, SectionInfo mySection)
|
||||
{
|
||||
if (mySection.PageNumber == -1) // If page num transition goes to a section, need the pagenumber of section.
|
||||
{
|
||||
|
Reference in New Issue
Block a user