Added ‘UseSpecificPageNo’ for printing of explicit page number transitions

Use ‘UseSpecificPageNo’ for printing of explicit page number transitions
Allow Change Id for each procedure (not one for entire session). Request from Calvert.
Implement ‘UseSpecificPageNo’ flag.
Added ‘UseSpecificPageNo’ flag
Change Id dialog (moved from VEPROMS UI)
This commit is contained in:
2014-07-02 13:14:33 +00:00
parent b1740f888c
commit f9bfbea84a
12 changed files with 343 additions and 15 deletions

View File

@@ -871,13 +871,13 @@ namespace VEPROMS
StepTabRibbon.PasteNoReturnsSetting = Properties.Settings.Default.PasteNoReturns;
StepTabRibbon.PastePlainTextSetting = Properties.Settings.Default.PastePlainText;
Activate();
FolderInfo fi = FolderInfo.Get(1);
FormatInfo frmI = FormatInfo.Get(fi.FormatID ?? 1);
if (frmI.PlantFormat.FormatData.ProcData.ChangeBarData.ChangeIds)
{
dlgChgId dlgCI = new dlgChgId(tc);
dlgCI.ShowDialog(this);
}
//FolderInfo fi = FolderInfo.Get(1);
//FormatInfo frmI = FormatInfo.Get(fi.FormatID ?? 1);
//if (frmI.PlantFormat.FormatData.ProcData.ChangeBarData.ChangeIds)
//{
// dlgChgId dlgCI = new dlgChgId(tc);
// dlgCI.ShowDialog(this);
//}
}
void tmrCloseTabItems_Tick(object sender, EventArgs e)
@@ -1925,6 +1925,12 @@ namespace VEPROMS
if (tvii == null || tc.SelectedDisplayTabItem.MyItemInfo.ItemID != tvii.ItemID)
tv.AdjustTree(tc.SelectedDisplayTabItem.MyItemInfo);
}
// the following line will determine if the format uses the change id feature, and if so
// either prompts the user for change id, or uses an already input one if the procedure has been
// accessed. This gets run when the user clicks on procedure tabs in the step editor.
tc.HandleChangeId(tc.SelectedDisplayTabItem.MyItemInfo, tc.SelectedDisplayTabItem);
SetCaption(tv.SelectedNode as VETreeNode);
displayApplicability.MyDisplayTabItem = tc.SelectedDisplayTabItem;
if (tc.SelectedDisplayTabItem.MyItemInfo.MyDocVersion.DocVersionAssociationCount > 0)