C2024-003-print-sub-section
This commit is contained in:
@@ -533,8 +533,8 @@ namespace VEPROMS
|
||||
if (dtPre != PDFDTPrefix.None) PDFFilePrefix = ""; // incase user entered prefix text but then selected a date/time (in working draft properties)
|
||||
if (dtSuf != PDFDTSuffix.None) PDFFileSuffix = ""; // incase user entered suffix text but then selected a date/time (in working draft properties)
|
||||
// B2020-062 control the toggle of date/time prefix/suffix on pdf file name
|
||||
// disable the date/time Prefix/Suffix switch if no date/time was selected
|
||||
// This switch is does not affect the use of it if the user typed in text for prefix/suffix
|
||||
// disable the date/time Prefix/Suffix switch if no date/time was selected
|
||||
// This switch is does not affect the use of it if the user typed in text for prefix/suffix
|
||||
if (!AllowDateTimePrefixSuffix || (dtPre == PDFDTPrefix.None && dtSuf == PDFDTSuffix.None))
|
||||
{
|
||||
swtbtnPDFdtPrefixSuffix.Value = false;
|
||||
@@ -962,8 +962,8 @@ namespace VEPROMS
|
||||
}
|
||||
MyProcedure.SelectedChildToPrint = SelectedSlave; // B2023-035 for BNPP Alarms save the number of the child selected to print
|
||||
// B2021-127: BNPPalr - Auto set of serial #, skip Front Matter as per PAL 11/1/21 (set to 1 not 0)
|
||||
// Only do if set has applicability, printing an individual procedure, need to determine
|
||||
// applicability count.
|
||||
// Only do if set has applicability, printing an individual procedure, need to determine
|
||||
// applicability count.
|
||||
if (MyProcedure.MyDocVersion.MultiUnitCount > 1)
|
||||
{
|
||||
VlnSvgPageHelper.CountInApplProcs = 1;
|
||||
|
@@ -1200,7 +1200,7 @@ namespace VEPROMS
|
||||
int[] _prtSectID = new int[3]; // C2024-003 parameter contains parent section itemid, child section itemid, issubsection flag.
|
||||
if (si2.IsSubsection == true)
|
||||
{
|
||||
// If section is a subsection. assign values is section is a subsection.
|
||||
// If section is a subsection. Assigned values are section and subsection.
|
||||
_prtSectID[0] = si2.MyParent.ItemID; // section
|
||||
_prtSectID[1] = si2.ItemID; // sub section
|
||||
_prtSectID[2] = Convert.ToInt32(si2.IsSubsection); // IsSubSection flag
|
||||
@@ -1221,7 +1221,7 @@ namespace VEPROMS
|
||||
|
||||
using (DlgPrintProcedure prnDlg = new DlgPrintProcedure(si2.MyProcedure))
|
||||
{
|
||||
prnDlg.PrtSectID = _prtSectID;
|
||||
prnDlg.PrtSectID = _prtSectID; // Assign Section print values to parameter used in print secetions / sub sections.
|
||||
prnDlg.SelectedSlave = args.UnitIndex;
|
||||
prnDlg.MySessionInfo = MySessionInfo;
|
||||
prnDlg.SetupForProcedure(); // Setup filename
|
||||
|
Reference in New Issue
Block a user