diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index 670bc551..acc03087 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -40,7 +40,7 @@ namespace VEPROMS Step _LastStep = null; StepInfo _LastStepInfo = null; Color _CommentTitleBckColor; - + DisplayRTB _MyRTB; VETreeNode _PrevBookMark = null; public frmVEPROMS() @@ -1174,9 +1174,12 @@ namespace VEPROMS // infotabTransitionFillIn uses other methods to fill in all controls on the // insert/modify transition tab. Note that, for now, curitm just be a 'step' // item (not a section or procedure). + private bool _InitializingTrans; private void infotabTransitionFillIn(ItemInfo curitm) { - if (curitm.MyContent.Type < 20000) return; + btnTranInsert.Text = "Select Transition"; + _InitializingTrans = true; + //if (curitm.MyContent.Type < 20000) return; listBoxTranFmtFillIn(curitm); // use curitm to find section level and procedure level. @@ -1186,11 +1189,12 @@ namespace VEPROMS tmpitm = tmpitm.MyParent; } ItemInfo secitm = tmpitm; - listBoxTranSectsFillIn(secitm); + listBoxTranSectsFillIn(secitm, secitm.ItemID); ItemInfo prcitm = secitm.MyParent; listBoxTranProcsFillIn(prcitm); tvTranFillIn(curitm); + _InitializingTrans = false; } private void listBoxTranFmtFillIn(ItemInfo curitm) { @@ -1205,24 +1209,36 @@ namespace VEPROMS { tvTran.Nodes.Clear(); // For the tree view, use parent, unless already at HLS. If at HLS, use this level. - if (!curitm.IsHigh) curitm = curitm.MyParent; + ItemInfo selitm = curitm; + if (!curitm.IsHigh) + { + curitm = curitm.MyParent; + selitm = curitm; + } curitm = curitm.FirstSibling; while (curitm != null) { - this.tvTran.Nodes.Add(new VETreeNode(curitm)); + VETreeNode tvn = new VETreeNode(curitm); + tvn.Tag = curitm; + int active = this.tvTran.Nodes.Add(tvn); //new VETreeNode(curitm)); + if (curitm.ItemID == selitm.ItemID) tvTran.SelectedNode = tvTran.Nodes[active]; curitm = (curitm.NextItemCount > 0 ? curitm.NextItems[0] : null); } tvTran.BeforeExpand += new TreeViewCancelEventHandler(tvTran_BeforeExpand); } - private void listBoxTranSectsFillIn(ItemInfo secitm) + private void listBoxTranSectsFillIn(ItemInfo secitm, int sectstart) { listBoxTranSects.Items.Clear(); + // if sectstart is not -1, then use this as the section to select, otherwise + // use the id for the item passed in. + int startitm = sectstart; + if (sectstart < 0) sectstart = secitm.ItemID; ItemInfo selitm = secitm; // this is the selected 'section' secitm = secitm.FirstSibling; while (secitm != null) { int active = listBoxTranSects.Items.Add(secitm); - if (secitm.MyContent.ContentID == selitm.MyContent.ContentID) listBoxTranSects.SelectedIndex = active; + if (secitm.ItemID == sectstart) listBoxTranSects.SelectedIndex = active; secitm = (secitm.NextItemCount > 0 ? secitm.NextItems[0] : null); } } @@ -1266,6 +1282,7 @@ namespace VEPROMS } private void listBoxTranFmt_Click(object sender, EventArgs e) { + if (_InitializingTrans) return; // depending on the selected format's type , display associated list/tree boxes... // // @@ -1280,7 +1297,7 @@ namespace VEPROMS DisplayTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel; ItemInfo curitm = dtp.ItemSelected; - int selitm = listBoxTranFmt.SelectedIndex; + //int selitm = listBoxTranFmt.SelectedIndex; int type = (int)(curitm.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[listBoxTranFmt.SelectedIndex].Type); if (type == 0 || type == 3 || type == 5) // show & allow selections for procedures. listBoxTranProcs.Enabled = true; @@ -1292,7 +1309,7 @@ namespace VEPROMS if (type == 0 || type == 3 || type == 4 || type == 5) { // find default step section and make it the selected item - then disable from further selection. - listBoxTranSects.SelectedIndex = 1; // TEMP until default step section found. + //listBoxTranSects.SelectedIndex = 1; // TEMP until default step section found. listBoxTranSects.Enabled = true; } else @@ -1302,6 +1319,7 @@ namespace VEPROMS } private void listBoxTranSects_SelectedIndexChanged(object sender, EventArgs e) { + if (_InitializingTrans) return; // a different section was selected, if step section, update step list, otherwise, empty // it & disable. ItemInfo secitm = (ItemInfo)listBoxTranSects.SelectedItem; @@ -1316,34 +1334,32 @@ namespace VEPROMS tvTran.Enabled = true; } } - #endregion - private void listBoxTranProcs_SelectedIndexChanged(object sender, EventArgs e) { + if (_InitializingTrans) return; ItemInfo prcitm = (ItemInfo)listBoxTranProcs.SelectedItem; - listBoxTranSectsFillIn(prcitm); + + ProcedureConfig pc = (ProcedureConfig)prcitm.MyConfig; + int sectstartid = -1; + if (pc != null) sectstartid = System.Convert.ToInt32(pc.SectionStart); // get default step section and fill it in, depending on format type.... // kbr - for now, use first - listBoxTranSectsFillIn(prcitm.Sections[0]); - if (!prcitm.Sections[0].IsStepSection) - { - tvTran.Nodes.Clear(); - tvTran.Enabled = false; - } - else - { - tvTranFillIn(prcitm.Sections[0].Steps[0]); - tvTran.Enabled = true; - } + IList chldrn = prcitm.GetChildren(); + + listBoxTranSectsFillIn((ItemInfo)chldrn[0], sectstartid); } - #endregion private void tc_ItemSelectedChanged(object sender, DisplayPanelEventArgs args) { - if(args == null) + if (args == null) itemAnnotationsBindingSource.DataSource = null; else + { itemAnnotationsBindingSource.DataSource = args.MyVlnCSLARTB.MyItem.ItemAnnotations; + this._MyRTB = args.MyVlnCSLARTB.MyDisplayRTB; + + } + } private void itemAnnotationsBindingSource_DataSourceChanged(object sender, EventArgs e) @@ -1363,5 +1379,52 @@ namespace VEPROMS } } + private ItemInfo _tranitem1; + private ItemInfo _tranitem2; + + private void btnTranInsert_Click(object sender, EventArgs e) + { + if (btnTranInsert.Text == "Select Transition") + { + _tranitem1 = null; + _tranitem1 = (ItemInfo)listBoxTranSects.SelectedItem; + if (tvTran.Enabled == false || _tranitem1.IsAccPages) + _tranitem1 = (ItemInfo)listBoxTranSects.SelectedItem; + else + _tranitem1 = (ItemInfo)tvTran.SelectedNode.Tag; + + // if range, set text on button to state to select 2nd trans. + DisplayTabPanel dtp = ((DisplayTabItem)tc.SelectedTab).MyTabPanel; + ItemInfo curitm = dtp.ItemSelected; + //int selitm = listBoxTranFmt.SelectedIndex; + int type = (int)(curitm.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[listBoxTranFmt.SelectedIndex].Type); + if (type == 2 || type == 3) + { + this.btnTranInsert.Text = "Select 2nd Transition"; + + } + else + { + string linktxt = string.Format("#Link:Transition: {0} xx {1}", type, curitm.ItemID); + _MyRTB.InsertTran("(Resolved Transition Text)", linktxt); + } + } + else + { + _tranitem2 = null; + _tranitem2 = (ItemInfo)listBoxTranSects.SelectedItem; + if (tvTran.Enabled == false || _tranitem2.IsAccPages) + _tranitem2 = (ItemInfo)listBoxTranSects.SelectedItem; + else + _tranitem2 = (ItemInfo)tvTran.SelectedNode.Tag; + } + } + #endregion + + private void btnSave_Click(object sender, EventArgs e) + { + _MyRTB.Save(); + } + #endregion } } \ No newline at end of file diff --git a/PROMS/VEPROMS.CSLA.Library/Format/ENums.cs b/PROMS/VEPROMS.CSLA.Library/Format/ENums.cs index 5add3817..c13d21a3 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/ENums.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/ENums.cs @@ -10,92 +10,105 @@ namespace VEPROMS.CSLA.Library [Flags] public enum E_PurchaseOptions : uint { - APPROVEONE = 0x0001, - ACCPAGINATION = 0x0002, - LIBMAINT = 0x0004, - TRANSFER = 0x0008, - STREES = 0x0010, - DATECHGSUMRPT = 0x0020, - SETPOINTUSAGE = 0x0040, - REPLACE = 0x0080, - FLOPPYTRANSFER = 0x0100, - APPROVEGENERICBACK = 0x0200, - DISTRIBUTEAPPROVED = 0x0400, - OUTSIDETRANSITIONS = 0x0800, - ENHANCEDBACKGROUNDS = 0x1000, - ENHANCEDDEVIATIONS = 0x2000, - AUTOTABLEOFCONTENTS = 0x4000, - AUTOPLACEKEEPER = 0x8000 + ApproveOne = 0x0001, + AccPagination = 0x0002, + LibMaint = 0x0004, + Transfer = 0x0008, + STrees = 0x0010, + DateChgSumRpt = 0x0020, + SetpointUsage = 0x0040, + Replace = 0x0080, + FloppyTransfer = 0x0100, + ApproveGenericBack = 0x0200, + DistributeApproved = 0x0400, + OutsideTransitions = 0x0800, + EnhancedBackGrounds = 0x1000, + EnhancedDeviations = 0x2000, + AutoTableOfContents = 0x4000, + AutoPlacekeeper = 0x8000 } [Flags] public enum E_Style : uint { // Fonts removed, not used here. - NONE = 0, - UNDERLINE = 64, BOLD = 128, LANDSCAPE = 256, ITALICS = 512, BOXED = 1024, BOXELEMENT = 0x00000800, - TBCENTERED = 4096, RTCHECKOFF = 8192, LTCHECKOFF = 16384, BIGSCRIPT = 32768, HLTEXTHL = 65536, - RTCHECKOFFWITHASTERISK = 131072, DB_UNDERLINE = 262144, COLDOTS = 524288, - MMBOLD = 1048576, RIGHTJUSTIFY = 2097152, SUBSCRIPT = 4194304, SUPERSCRIPT = 8388608, - PAGELISTITEM = 16777216, PRINTONTOPOFLINE = 33554432, HORZCENTER = 67108864, - CIRCLESTRING2 = 0x08000000, ALIGNWITHUP1 = 0x10000000, ALIGNWSECNUM = 0x20000000, - MATCHCOLUMNMODE = 0x40000000, KEEPRNOSUBSTYLE = 0x80000000 + None = 0, + Underline = 64, Bold = 128, Landscape = 256, Italics = 512, Boxed = 1024, BoxElement = 0x00000800, + TbCentered = 4096, RtCheckoff = 8192, LtCheckOff = 16384, BigScript = 32768, HlTextHl = 65536, + RtCheckoffWithAsterisk = 131072, DbUnderline = 262144, ColDots = 524288, + MmBold = 1048576, RightJustify = 2097152, Subscript = 4194304, Superscript = 8388608, + PageListItem = 16777216, PrintOnTopOfLine = 33554432, HorzCenter = 67108864, + CircleString2 = 0x08000000, AlighWithUp1 = 0x10000000, AlignWSecNum = 0x20000000, + MatchColumnMode = 0x40000000, KeepRNOSubStyle = 0x80000000 }; public enum E_ChangeBarMessage : uint { - DATEANDUSERID = 0, - REVNUMBER = 1, - USERID = 2, - NOTHING = 3 + DateAndUserId = 0, + RevNumber = 1, + UserId = 2, + Nothing = 3 + } + public enum E_TransUI : uint + { + None = 0, + ProcCur = 0x0001, + ProcMenu = 0x0002, + SectCur = 0x0004, + SectDefault = 0x0008, + SectMenuAny = 0x0010, + SectMenuStep = 0x0020, + StepAllowNone = 0x0040, + StepFirst = 0x0080, + StepLast = 0x0100 } public enum E_EMode : uint { - INSERT = 0, - OVERRIDE = 1 + Insert = 0, + Override = 1 } public enum E_ViewMode : uint { - VIEW = 0, - EDIT = 1 + View = 0, + Edit = 1 } public enum E_EditPrintMode : uint { - EDIT = 0, - PRINT = 1 + Edit = 0, + Print = 1 } [Flags] public enum E_Justify : uint { - PSCENTER = 0, // Page style, center field - PSLEFT = 1, // Page style, left justify - PSRIGHT = 2, // Page style, right justify + PSCenter = 0, // Page style, center field + PSLeft = 1, // Page style, left justify + PSRight = 2, // Page style, right justify // *** PS modifiers: *** - PSBOTTOM = 4, // Page style, always use bottom half line - PSTOP = 8, // Page style, always use top half line - PSTRUE = 16, // page style, don't adjust per CPI* (not needed after 4.0) - PSNOTFIRST = 32, // page style, don't put this token on the first page of section - PSONLYFIRST = 64, // page style, only put this token on the first page of section - PSRELROW = 128, // place in RelPageList - PSNOHALFLINE = 256, // DontDoHalflines for his paglist row item - PSNOTLAST = 0x200, // 512 - use this token on all but the last page of this section - PSRTFONLY = 0x400, // Only use this token when the driver is rtf - PSRTFNOT = 0x800, // Do NOT use token when driver is rtf - PSGDIONLY = 0X1000, // Only use this token when the driver is GDI - PSGDINOT = 0x2000, // Do NOT use token when driver is GDI - PSADJBNGROW = 0x4000 // If the pagelist item exceeds the row it's printed on, + PSBottom = 4, // Page style, always use bottom half line + PSTop = 8, // Page style, always use top half line + PSTrue = 16, // page style, don't adjust per CPI* (not needed after 4.0) + PSNotFirst = 32, // page style, don't put this token on the first page of section + PSOnlyFirst = 64, // page style, only put this token on the first page of section + PSRelRow = 128, // place in RelPageList + PSNoHalfLine = 256, // DontDoHalflines for his paglist row item + PSNotLast = 0x200, // 512 - use this token on all but the last page of this section + PSRtfOnly = 0x400, // Only use this token when the driver is rtf + PSRtfNot = 0x800, // Do NOT use token when driver is rtf + PSGDIOnly = 0X1000, // Only use this token when the driver is GDI + PSGDINot = 0x2000, // Do NOT use token when driver is GDI + PSAdjBngRow = 0x4000 // If the pagelist item exceeds the row it's printed on, // then adjust the starting row for the procedure body }; public enum E_NumberingSequence : uint { - NOPAGENUM = 0, - INCLUDEWOTHSTEPS = 1, - WITHINSECTIONS = 2, - WITHINACCESSORY = 3 + NoPageNum = 0, + IncludeWoThSteps = 1, + WithinSections = 2, + WithinAccessory = 3 }; public enum E_ContBottomLoc : uint { - ENDOFTEXT = 0, - BTWNTEXTANDBOTTOM = 1, - BOTTOMOFPAGE = 2 + EndOfText = 0, + BtwnTextAndBottom = 1, + BottomOfPage = 2 }; [Flags] public enum E_DocStructStyle : uint @@ -104,58 +117,58 @@ namespace VEPROMS.CSLA.Library //USEONFIRSTPAGE = 1, // Use only on the first page //USEONALLBUTFIRSTPAGE = 2, // Use on all but the first page //USEONLASTPAGE = 4, // NO LOGIC exists for this selection. Use only on the last page - NONE = 0, - USESECTIONFOLDOUT = 8, // Attach section foldouts (only active if using SectionLevelFoldouts_ON - DONTCOUNTFOLDOUTPGS = 16, // Used with the USESECTIONFOLDOUT flag. Keeps foldout pages from + None = 0, + UseSectionFoldout = 8, // Attach section foldouts (only active if using SectionLevelFoldouts_ON + DontCountFoldoutPgs = 16, // Used with the USESECTIONFOLDOUT flag. Keeps foldout pages from // being included in the section total page count. - TABLEOFCONTENTS = 32, - DONTCOUNTINTABOFCONT = 64, - PLACEKEEPER = 128, - ALIGN1STLEVSUBWHLS = 0x00000100, // guess? - DOUBLEBOXHLS = 0x00000200, - USEALTCNTRLINE = 0x00000400, - DONTNUMBERINTOC = 0x00000800, // Don't include page number for this section in the Table of Contents - USESPECIALFIGFRAME = 0x00001000, // for use with stp55 and 55a in bge - HLSUSELETTERS = 0x00002000, // docstyles with this bit set in the DocStructStyle will + TableOfContents = 32, + DontCountInTabOfCont = 64, + Placekeeper = 128, + Align1StLevSubWHLS = 0x00000100, // guess? + DoubleBoxHLS = 0x00000200, + UseAltCntrline = 0x00000400, + DontNumberInTOC = 0x00000800, // Don't include page number for this section in the Table of Contents + UseSpecialFigFrame = 0x00001000, // for use with stp55 and 55a in bge + HLSUseLetters = 0x00002000, // docstyles with this bit set in the DocStructStyle will // default to using letters for HLSteps - NOSECTIONINSTEPCONTINUE = 0x00004000, // don't include the section number in the step continue - BOTTOMSECTIONCONTINUE = 0x00008000, // print the continue message if the section continues - ALWAYSDOTSTEP = 0x00010000, // put the period after step number in the continue message - XBLANKW1STLEVSUB = 0x00020000, // insert an extra blank line before a 1st level substep - AFFECTEDPAGES = 0x00040000, - DSS_TREATASTRUESECTNUM = 0x00080000, // in conjunction with tietabtolevel, takes section number + NoSectionInStepContinue = 0x00004000, // don't include the section number in the step continue + BottomSectionContinue = 0x00008000, // print the continue message if the section continues + AlwaysDotStep = 0x00010000, // put the period after step number in the continue message + XBlankW1stLevSub = 0x00020000, // insert an extra blank line before a 1st level substep + AffectedPages = 0x00040000, + DSS_TreatAsTrueSectNum = 0x00080000, // in conjunction with tietabtolevel, takes section number // from the last space and appends a period - SAMPLEWATERMARK = 0x00100000, // Will force "SAMPLE" to be printed across the page + SampleWatermark = 0x00100000, // Will force "SAMPLE" to be printed across the page // on all pages in this section - DSS_PAGEBREAKHLS = 0x00200000, // Page Breaks on all high level steps - DSS_NOCHKIFCONTTYPEHIGH = 0x00400000, // Will suppress the checkoff if type is HIGH and the + DSS_PageBreakHLS = 0x00200000, // Page Breaks on all high level steps + DSS_NoChkIfContTypeHigh = 0x00400000, // Will suppress the checkoff if type is HIGH and the // step is continued on the next page - DSS_WIDTHOVRDSTDHLS = 0x00800000, // Width Override for Standard HLStep in this section - DSS_ADDDOTZEROSTDHLS = 0x01000000, // Append .0 to the Standard HLStep for this section - DSS_SECTIONCOMPRESS = 0x02000000, // Compress all the steps of this section (i.e. use 7 LPI) - DSS_PRINTSECTONFIRST = 0x04000000, // Prints section title/number only on the first + DSS_WidthOvrdStdHLS = 0x00800000, // Width Override for Standard HLStep in this section + DSS_AddDotZeroStdHLS = 0x01000000, // Append .0 to the Standard HLStep for this section + DSS_SectionCompress = 0x02000000, // Compress all the steps of this section (i.e. use 7 LPI) + DSS_PrintSectOnFirst = 0x04000000, // Prints section title/number only on the first // page of an attachment section, assuming numberingsequence is not 1 - DSS_UNNUMLIKEROMAN = 0x08000000, // the substeps underneath unnumbered HLSteps will have same tabs as romans - DSS_DONTCHANGEROMANLEVEL = 0x10000000, // Dont alter the the substep level for roman-numeral-tabbed hlsteps - DSS_SKIPTWOSTEPLEVELS = 0x20000000, // Skip two step levels for this doc style - DSS_SKIPONESTEPLEVEL = 0x40000000, // Skip one step level for this doc style - DSS_SIMPLETOPSECTIONCONTINUE = 0x80000000, // Use the Top continue message as the section continue */ + DSS_UnNumLikeRoman = 0x08000000, // the substeps underneath unnumbered HLSteps will have same tabs as romans + DSS_DontChangeRomanLevel = 0x10000000, // Dont alter the the substep level for roman-numeral-tabbed hlsteps + DSS_SkipTwoStepLevels = 0x20000000, // Skip two step levels for this doc style + DSS_SkipOneStepLevel = 0x40000000, // Skip one step level for this doc style + DSS_SimpleTopSectionContinue = 0x80000000, // Use the Top continue message as the section continue */ }; public enum E_DocStyleUse : uint { - USEONALLPAGES = 0, USEONFIRSTPAGE = 1, USEONALLBUTFIRSTPAGE = 2, USEONLASTPAGE = 4 + UseOnAllPages = 0, UseOnFirstPage = 1, UseOnAllButFirstPage = 2, UseOnLastPage = 4 }; [Flags] // acceptence list for adding Tables, Cautions, Notes, Substeps, Next, Previous and RNO public enum E_AccStep : uint { - ADDING_CAUTION = 1, - ADDING_NOTE = 2, - ADDING_RNO = 4, - ADDING_SUB = 8, - ADDING_TABLE = 16, - ADDING_NEXT = 32, - ADDING_PREV = 64 + AddingCaution = 1, + AddingNote = 2, + AddingRNO = 4, + AddingSub = 8, + AddingTable = 16, + AddingNext = 32, + AddingPrev = 64 } [Flags] public enum E_ReplaceFlags : uint @@ -169,31 +182,31 @@ namespace VEPROMS.CSLA.Library // CPLSSD: DIFFUNIT, TOC, STATTREE, HLSSETPNT // CWE: CASEINSENS, DIFFUNIT // MYA: CASEINSENSALL - HIGH = 0x0001, // Do ReplaceWords in HIGH LEVEL STEPS + High = 0x0001, // Do ReplaceWords in HIGH LEVEL STEPS RNO = 0x0002, // Do ReplaceWords in RNOS - CAUTION = 0x0004, // Do ReplaceWords in CAUTIONS - NOTE = 0x0008, // Do ReplaceWords in NOTES - TABLE = 0x0010, // Do ReplaceWords in TABLES - SUBSTEP = 0x0020, // Do ReplaceWords in SUBSTEPS - ATTACH = 0x0040, // Do ReplaceWords in ATTACHMENTS - BKGD = 0x0080, // Do ReplaceWords in BACKGROUNDS - DIFFUNIT = 0x0100, // Do ReplaceWords ONLY for different UNIT # + Caution = 0x0004, // Do ReplaceWords in CAUTIONS + Note = 0x0008, // Do ReplaceWords in NOTES + Table = 0x0010, // Do ReplaceWords in TABLES + Substep = 0x0020, // Do ReplaceWords in SUBSTEPS + Attach = 0x0040, // Do ReplaceWords in ATTACHMENTS + Bkgd = 0x0080, // Do ReplaceWords in BACKGROUNDS + DiffUnit = 0x0100, // Do ReplaceWords ONLY for different UNIT # TOC = 0x0200, // Do in auto table-of-contents - STATTREE = 0x0400, - HLSSETPNT = 0x0800, // Do ReplaceWords in HighLevelStep SETPoiNTs - TRAN = 0x1000, // Do ReplaceWords in TRANSITIONS - SETPOINT = 0x2000, // Do ReplaceWords in SETPOINTS + StatTree = 0x0400, + HLSSetpnt = 0x0800, // Do ReplaceWords in HighLevelStep SETPoiNTs + Trans = 0x1000, // Do ReplaceWords in TRANSITIONS + Setpoint = 0x2000, // Do ReplaceWords in SETPOINTS // Case Sensitivity Flags - default is off (Case Sensitive Replace) - CASEINSENS = 0x0000C000, // Do ReplaceWords for all words thatmatch, regardless of case, + CaseInsens = 0x0000C000, // Do ReplaceWords for all words thatmatch, regardless of case, // and replace with the ReplaceWith string as is - CASEINSENSFIRST = 0x4000, // Do ReplaceWords for all words thatexactly match the ReplaceWord, + CaseInsensFirst = 0x4000, // Do ReplaceWords for all words thatexactly match the ReplaceWord, // except the case of the first character may be different - CASEINSENSALL = 0x8000, // Do ReplaceWords for all words that match the ReplaceWord, regardless of case + CaseInsensAll = 0x8000, // Do ReplaceWords for all words that match the ReplaceWord, regardless of case - PARTIALS = 0x10000, // Do replace even on partial matches - PLACKEEP = 0x20000, // Do replace in PlaceKeepers - INSECTITLE = 0x40000 + Partials = 0x10000, // Do replace even on partial matches + Plackeep = 0x20000, // Do replace in PlaceKeepers + InSecTitle = 0x40000 } #endregion } diff --git a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs index f819ce26..72d18765 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs @@ -2636,6 +2636,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TransFormat, "@TransFormat"); } } + private LazyLoad _TransUI; + public E_TransUI? TransUI + { + get + { + return LazyLoad(ref _TransUI, "@TransUI"); + } + } private LazyLoad _TransMenu; public string TransMenu {