diff --git a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs index e2e1ecbc..3755ccf8 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs @@ -120,21 +120,21 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Name, "@Name"); } } - private LazyLoad _XtraFlags; - public string XtraFlags - { - get - { - return LazyLoad(ref _XtraFlags, "XtraFlags"); - } - } - public bool XtraOptions(string attr) - { - XmlNode nd = this.SelectSingleNode("XtraFlags/@" + attr); - if (nd == null) return false; - if (nd.InnerText.ToUpper() == "TRUE") return true; - return false; - } + //private LazyLoad _XtraFlags; + //public string XtraFlags + //{ + // get + // { + // return LazyLoad(ref _XtraFlags, "XtraFlags"); + // } + //} + //public bool XtraOptions(string attr) + //{ + // XmlNode nd = this.SelectSingleNode("XtraFlags/@" + attr); + // if (nd == null) return false; + // if (nd.InnerText.ToUpper() == "TRUE") return true; + // return false; + //} private LazyLoad _PurchaseOptions; public E_PurchaseOptions? PurchaseOptions { @@ -274,6 +274,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _EMode, "@EMode"); } } + private LazyLoad _PromptForCautionType; + public bool PromptForCautionType + { + get + { + return LazyLoad(ref _PromptForCautionType, "@PromptForCautionType"); + } + } } #endregion #region PrintDataAll @@ -315,6 +323,78 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _TopOfPageThing, "@TopOfPageThing"); } } + private LazyLoad _DoRevDate; + public bool DoRevDate + { + get + { + return LazyLoad(ref _DoRevDate, "@DoRevDate"); + } + } + private LazyLoad _AlternateFoldoutPages; + public bool AlternateFoldoutPages + { + get + { + return LazyLoad(ref _AlternateFoldoutPages, "@AlternateFoldoutPages"); + } + } + private LazyLoad _AlternateFloatingFoldout; + public bool AlternateFloatingFoldout + { + get + { + return LazyLoad(ref _AlternateFloatingFoldout, "@AlternateFloatingFoldout"); + } + } + private LazyLoad _SectionLevelFoldouts; + public bool SectionLevelFoldouts + { + get + { + return LazyLoad(ref _SectionLevelFoldouts, "@SectionLevelFoldouts"); + } + } + private LazyLoad _RevDateWithForwardSlash; + public bool RevDateWithForwardSlash + { + get + { + return LazyLoad(ref _RevDateWithForwardSlash, "@RevDateWithForwardSlash"); + } + } + private LazyLoad _SpecialStepsFoldout; + public bool SpecialStepsFoldout + { + get + { + return LazyLoad(ref _SpecialStepsFoldout, "@SpecialStepsFoldout"); + } + } + private LazyLoad _AccessoryDocsInDuplex; + public bool AccessoryDocsInDuplex + { + get + { + return LazyLoad(ref _AccessoryDocsInDuplex, "@AccessoryDocsInDuplex"); + } + } + private LazyLoad _FoldoutsInDuplex; + public bool FoldoutsInDuplex + { + get + { + return LazyLoad(ref _FoldoutsInDuplex, "@FoldoutsInDuplex"); + } + } + private LazyLoad _PagelistChangeIDsWithCommas; + public bool PagelistChangeIDsWithCommas + { + get + { + return LazyLoad(ref _PagelistChangeIDsWithCommas, "@PagelistChangeIDsWithCommas"); + } + } } #endregion #region VersionIdText @@ -449,6 +529,38 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ProcedureSuffixFlags, "@ProcedureSuffixFlags"); } } + private LazyLoad _CapitalizeTitle; + public bool CapitalizeTitle + { + get + { + return LazyLoad(ref _CapitalizeTitle, "@CapitalizeTitle"); + } + } + private LazyLoad _ChangeStyleForEverySection; + public bool ChangeStyleForEverySection + { + get + { + return LazyLoad(ref _ChangeStyleForEverySection, "@ChangeStyleForEverySection"); + } + } + private LazyLoad _PrintNoTitle; + public bool PrintNoTitle + { + get + { + return LazyLoad(ref _PrintNoTitle, "@PrintNoTitle"); + } + } + private LazyLoad _CountFoldoutPages; + public bool CountFoldoutPages + { + get + { + return LazyLoad(ref _CountFoldoutPages, "@CountFoldoutPages"); + } + } private LazyLoad _PSInfFile; public string PSInfFile { @@ -554,6 +666,22 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _CheckOffAdjustment, "@CheckOffAdjustment"); } } + private LazyLoad _DropCheckOff; + public bool DropCheckOff + { + get + { + return LazyLoad(ref _DropCheckOff, "@DropCheckOff"); + } + } + private LazyLoad _CheckOffOnHLSOnly; + public bool CheckOffOnHLSOnly + { + get + { + return LazyLoad(ref _CheckOffOnHLSOnly, "@CheckOffOnHLSOnly"); + } + } } #endregion #region RightCheckOffBox @@ -757,6 +885,62 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _SpecialChangeBar, "@SpecialChangeBar"); } } + private LazyLoad _CondensedChangeBar; + public bool CondensedChangeBar + { + get + { + return LazyLoad(ref _CondensedChangeBar, "@CondensedChangeBar"); + } + } + private LazyLoad _AbsoluteFixedChangeColumn; + public bool AbsoluteFixedChangeColumn + { + get + { + return LazyLoad(ref _AbsoluteFixedChangeColumn, "@AbsoluteFixedChangeColumn"); + } + } + private LazyLoad _ContinuousChangeBars; + public bool ContinuousChangeBars + { + get + { + return LazyLoad(ref _ContinuousChangeBars, "@ContinuousChangeBars"); + } + } + private LazyLoad _ChgBarMessageFromEdit; + public bool ChgBarMessageFromEdit + { + get + { + return LazyLoad(ref _ChgBarMessageFromEdit, "@ChgBarMessageFromEdit"); + } + } + private LazyLoad _MultipleChangeIds; + public bool MultipleChangeIds + { + get + { + return LazyLoad(ref _MultipleChangeIds, "@MultipleChangeIds"); + } + } + private LazyLoad _ChangeBarToRNOSep; + public bool ChangeBarToRNOSep + { + get + { + return LazyLoad(ref _ChangeBarToRNOSep, "@ChangeBarToRNOSep"); + } + } + private LazyLoad _ChangeBarsOnLinkedText; + public bool ChangeBarsOnLinkedText + { + get + { + return LazyLoad(ref _ChangeBarsOnLinkedText, "@ChangeBarsOnLinkedText"); + } + } } #endregion #endregion @@ -845,6 +1029,102 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _BackColor, "@BackColor"); } } + private LazyLoad _CancelSecTitlesOnS1; + public bool CancelSecTitlesOnS1 + { + get + { + return LazyLoad(ref _CancelSecTitlesOnS1, "@CancelSecTitlesOnS1"); + } + } + private LazyLoad _CancelSecTitlesOnS2; + public bool CancelSecTitlesOnS2 + { + get + { + return LazyLoad(ref _CancelSecTitlesOnS2, "@CancelSecTitlesOnS2"); + } + } + private LazyLoad _CancelSecTitlesOnE0; + public bool CancelSecTitlesOnE0 + { + get + { + return LazyLoad(ref _CancelSecTitlesOnE0, "@CancelSecTitlesOnE0"); + } + } + private LazyLoad _CancelSecTitlesOnE2; + public bool CancelSecTitlesOnE2 + { + get + { + return LazyLoad(ref _CancelSecTitlesOnE2, "@CancelSecTitlesOnE2"); + } + } + private LazyLoad _MetaSectEndMessage; + public bool MetaSectEndMessage + { + get + { + return LazyLoad(ref _MetaSectEndMessage, "@MetaSectEndMessage"); + } + } + private LazyLoad _ReadOnlyTypeInContMsg; + public bool ReadOnlyTypeInContMsg + { + get + { + return LazyLoad(ref _ReadOnlyTypeInContMsg, "@ReadOnlyTypeInContMsg"); + } + } + private LazyLoad _ReplaceWordsInROs; + public bool ReplaceWordsInROs + { + get + { + return LazyLoad(ref _ReplaceWordsInROs, "@ReplaceWordsInROs"); + } + } + private LazyLoad _UseMetaSections; + public bool UseMetaSections + { + get + { + return LazyLoad(ref _UseMetaSections, "@UseMetaSections"); + } + } + private LazyLoad _NonEditableSteps; + public bool NonEditableSteps + { + get + { + return LazyLoad(ref _NonEditableSteps, "@NonEditableSteps"); + } + } + private LazyLoad _SearchAllReplaceWords; + public bool SearchAllReplaceWords + { + get + { + return LazyLoad(ref _SearchAllReplaceWords, "@SearchAllReplaceWords"); + } + } + private LazyLoad _SecTitleContinue; + public bool SecTitleContinue + { + get + { + return LazyLoad(ref _SecTitleContinue, "@SecTitleContinue"); + } + } + private LazyLoad _ConvertCaretToDelta; + public bool ConvertCaretToDelta + { + get + { + return LazyLoad(ref _ConvertCaretToDelta, "@ConvertCaretToDelta"); + } + } } #endregion #region SectionNumber @@ -1103,6 +1383,150 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _IdentB, "@IdentB"); } } + private LazyLoad _WolfCreekBackgroundFormat; + public bool WolfCreekBackgroundFormat + { + get + { + return LazyLoad(ref _WolfCreekBackgroundFormat, "@WolfCreekBackgroundFormat"); + } + } + private LazyLoad _WolfcreekCKLFormat; + public bool WolfcreekCKLFormat + { + get + { + return LazyLoad(ref _WolfcreekCKLFormat, "@WolfcreekCKLFormat"); + } + } + private LazyLoad _WolfcreekCKLBackgndFormat; + public bool WolfcreekCKLBackgndFormat + { + get + { + return LazyLoad(ref _WolfcreekCKLBackgndFormat, "@WolfcreekCKLBackgndFormat"); + } + } + private LazyLoad _FortranFormatNumbers; + public bool FortranFormatNumbers + { + get + { + return LazyLoad(ref _FortranFormatNumbers, "@FortranFormatNumbers"); + } + } + private LazyLoad _UseTopContinueMessageAtEnd; + public bool UseTopContinueMessageAtEnd + { + get + { + return LazyLoad(ref _UseTopContinueMessageAtEnd, "@UseTopContinueMessageAtEnd"); + } + } + private LazyLoad _FloatingContinueMessage; + public bool FloatingContinueMessage + { + get + { + return LazyLoad(ref _FloatingContinueMessage, "@FloatingContinueMessage"); + } + } + private LazyLoad _WrapSameAsEdit; + public bool WrapSameAsEdit + { + get + { + return LazyLoad(ref _WrapSameAsEdit, "@WrapSameAsEdit"); + } + } + private LazyLoad _ContinueSectionHeader; + public bool ContinueSectionHeader + { + get + { + return LazyLoad(ref _ContinueSectionHeader, "@ContinueSectionHeader"); + } + } + private LazyLoad _CompressHPSub; + public bool CompressHPSub + { + get + { + return LazyLoad(ref _CompressHPSub, "@CompressHPSub"); + } + } + private LazyLoad _CompressHPSuper; + public bool CompressHPSuper + { + get + { + return LazyLoad(ref _CompressHPSuper, "@CompressHPSuper"); + } + } + private LazyLoad _UndSpecialStepsFoldout; + public bool UndSpecialStepsFoldout + { + get + { + return LazyLoad(ref _UndSpecialStepsFoldout, "@UndSpecialStepsFoldout"); + } + } + private LazyLoad _UnderlineAllMetaTitles; + public bool UnderlineAllMetaTitles + { + get + { + return LazyLoad(ref _UnderlineAllMetaTitles, "@UnderlineAllMetaTitles"); + } + } + private LazyLoad _BoldOnlySectionZero; + public bool BoldOnlySectionZero + { + get + { + return LazyLoad(ref _BoldOnlySectionZero, "@BoldOnlySectionZero"); + } + } + private LazyLoad _ImperfectStructure; + public bool ImperfectStructure + { + get + { + return LazyLoad(ref _ImperfectStructure, "@ImperfectStructure"); + } + } + private LazyLoad _ImperfectSubstep; + public bool ImperfectSubstep + { + get + { + return LazyLoad(ref _ImperfectSubstep, "@ImperfectSubstep"); + } + } + private LazyLoad _ImperfectStructurePlus4; + public bool ImperfectStructurePlus4 + { + get + { + return LazyLoad(ref _ImperfectStructurePlus4, "@ImperfectStructurePlus4"); + } + } + private LazyLoad _CountAllSubLevels; + public bool CountAllSubLevels + { + get + { + return LazyLoad(ref _CountAllSubLevels, "@CountAllSubLevels"); + } + } + private LazyLoad _UseMultiLineSectionTitle; + public bool UseMultiLineSectionTitle + { + get + { + return LazyLoad(ref _UseMultiLineSectionTitle, "@UseMultiLineSectionTitle"); + } + } } #endregion #region TextTypeValue @@ -1701,6 +2125,278 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _NonLinkedRNONumber, "@NonLinkedRNONumber"); } } + private LazyLoad _Dev_Format; + public bool Dev_Format + { + get + { + return LazyLoad(ref _Dev_Format, "@Dev_Format"); + } + } + private LazyLoad _EnhancedShortFormDev; + public bool EnhancedShortFormDev + { + get + { + return LazyLoad(ref _EnhancedShortFormDev, "@EnhancedShortFormDev"); + } + } + private LazyLoad _SpecialPageBreakFlag; + public bool SpecialPageBreakFlag + { + get + { + return LazyLoad(ref _SpecialPageBreakFlag, "@SpecialPageBreakFlag"); + } + } + private LazyLoad _PaginateOnFirstSubstep; + public bool PaginateOnFirstSubstep + { + get + { + return LazyLoad(ref _PaginateOnFirstSubstep, "@PaginateOnFirstSubstep"); + } + } + private LazyLoad _PaginateOnFirstSubstep2X; + public bool PaginateOnFirstSubstep2X + { + get + { + return LazyLoad(ref _PaginateOnFirstSubstep2X, "@PaginateOnFirstSubstep2X"); + } + } + private LazyLoad _UseHalfLines; + public bool UseHalfLines + { + get + { + return LazyLoad(ref _UseHalfLines, "@UseHalfLines"); + } + } + private LazyLoad _TryToFillHalfOfPage; + public bool TryToFillHalfOfPage + { + get + { + return LazyLoad(ref _TryToFillHalfOfPage, "@TryToFillHalfOfPage"); + } + } + private LazyLoad _CompressSteps; + public bool CompressSteps + { + get + { + return LazyLoad(ref _CompressSteps, "@CompressSteps"); + } + } + private LazyLoad _DoSTExtraAtTop; + public bool DoSTExtraAtTop + { + get + { + return LazyLoad(ref _DoSTExtraAtTop, "@DoSTExtraAtTop"); + } + } + private LazyLoad _KeepStepsOnPage; + public bool KeepStepsOnPage + { + get + { + return LazyLoad(ref _KeepStepsOnPage, "@KeepStepsOnPage"); + } + } + private LazyLoad _BreakOnSections; + public bool BreakOnSections + { + get + { + return LazyLoad(ref _BreakOnSections, "@BreakOnSections"); + } + } + private LazyLoad _ShowSectionTitles; + public bool ShowSectionTitles + { + get + { + return LazyLoad(ref _ShowSectionTitles, "@ShowSectionTitles"); + } + } + private LazyLoad _EndForSingle; + public bool EndForSingle + { + get + { + return LazyLoad(ref _EndForSingle, "@EndForSingle"); + } + } + private LazyLoad _PaginateOnFirstSubstep3X; + public bool PaginateOnFirstSubstep3X + { + get + { + return LazyLoad(ref _PaginateOnFirstSubstep3X, "@PaginateOnFirstSubstep3X"); + } + } + private LazyLoad _PaginateOnLowerStepLevel; + public bool PaginateOnLowerStepLevel + { + get + { + return LazyLoad(ref _PaginateOnLowerStepLevel, "@PaginateOnLowerStepLevel"); + } + } + private LazyLoad _CustomSpacing; + public bool CustomSpacing + { + get + { + return LazyLoad(ref _CustomSpacing, "@CustomSpacing"); + } + } + private LazyLoad _SplitStepInPrntStep; + public bool SplitStepInPrntStep + { + get + { + return LazyLoad(ref _SplitStepInPrntStep, "@SplitStepInPrntStep"); + } + } + private LazyLoad _LineAboveUnderSection; + public bool LineAboveUnderSection + { + get + { + return LazyLoad(ref _LineAboveUnderSection, "@LineAboveUnderSection"); + } + } + private LazyLoad _PicaIgnoreFiveSixths; + public bool PicaIgnoreFiveSixths + { + get + { + return LazyLoad(ref _PicaIgnoreFiveSixths, "@PicaIgnoreFiveSixths"); + } + } + private LazyLoad _SpaceForNoSecNumb; + public bool SpaceForNoSecNumb + { + get + { + return LazyLoad(ref _SpaceForNoSecNumb, "@SpaceForNoSecNumb"); + } + } + private LazyLoad _PageBreakOnFirstBlankLine; + public bool PageBreakOnFirstBlankLine + { + get + { + return LazyLoad(ref _PageBreakOnFirstBlankLine, "@PageBreakOnFirstBlankLine"); + } + } + private LazyLoad _PutOnPageByItself; + public bool PutOnPageByItself + { + get + { + return LazyLoad(ref _PutOnPageByItself, "@PutOnPageByItself"); + } + } + private LazyLoad _PaginateAtHighestPaginLevel; + public bool PaginateAtHighestPaginLevel + { + get + { + return LazyLoad(ref _PaginateAtHighestPaginLevel, "@PaginateAtHighestPaginLevel"); + } + } + private LazyLoad _UseSTExtraRealValue; + public bool UseSTExtraRealValue + { + get + { + return LazyLoad(ref _UseSTExtraRealValue, "@UseSTExtraRealValue"); + } + } + private LazyLoad _DoSectionSeparatorLine; + public bool DoSectionSeparatorLine + { + get + { + return LazyLoad(ref _DoSectionSeparatorLine, "@DoSectionSeparatorLine"); + } + } + private LazyLoad _TieTabToLevel; + public bool TieTabToLevel + { + get + { + return LazyLoad(ref _TieTabToLevel, "@TieTabToLevel"); + } + } + private LazyLoad _HighLevelRNOBeforeAERSubsteps; + public bool HighLevelRNOBeforeAERSubsteps + { + get + { + return LazyLoad(ref _HighLevelRNOBeforeAERSubsteps, "@HighLevelRNOBeforeAERSubsteps"); + } + } + private LazyLoad _UseStepTypeWidthOverride; + public bool UseStepTypeWidthOverride + { + get + { + return LazyLoad(ref _UseStepTypeWidthOverride, "@UseStepTypeWidthOverride"); + } + } + private LazyLoad _UseStepTypeWidthOverrideEditPrint; + public bool UseStepTypeWidthOverrideEditPrint + { + get + { + return LazyLoad(ref _UseStepTypeWidthOverrideEditPrint, "@UseStepTypeWidthOverrideEditPrint"); + } + } + private LazyLoad _PartialStepCompression; + public bool PartialStepCompression + { + get + { + return LazyLoad(ref _PartialStepCompression, "@PartialStepCompression"); + } + } + private LazyLoad _VirtualDotInHLSTab; + public bool VirtualDotInHLSTab + { + get + { + return LazyLoad(ref _VirtualDotInHLSTab, "@VirtualDotInHLSTab"); + } + } + private LazyLoad _OverrideEnhancedTabs; + public bool OverrideEnhancedTabs + { + get + { + return LazyLoad(ref _OverrideEnhancedTabs, "@OverrideEnhancedTabs"); + } + } + private LazyLoad _RNO; + public bool RNO + { + get + { + return LazyLoad(ref _RNO, "@RNO"); + } + } + private LazyLoad _OnlySingleColumn; + public bool OnlySingleColumn + { + get + { + return LazyLoad(ref _OnlySingleColumn, "@OnlySingleColumn"); + } + } } #endregion #region TopOfPage @@ -1829,6 +2525,30 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _HLRNOStpSeparatorString, "@HLRNOStpSeparatorString"); } } + private LazyLoad _LowerCaseRevNum; + public bool LowerCaseRevNum + { + get + { + return LazyLoad(ref _LowerCaseRevNum, "@LowerCaseRevNum"); + } + } + private LazyLoad _UseXtraRevNumber; + public bool UseXtraRevNumber + { + get + { + return LazyLoad(ref _UseXtraRevNumber, "@UseXtraRevNumber"); + } + } + private LazyLoad _SpecialLandscapeMode; + public bool SpecialLandscapeMode + { + get + { + return LazyLoad(ref _SpecialLandscapeMode, "@SpecialLandscapeMode"); + } + } private VE_Font _ModifiedTextStyle; public VE_Font ModifiedTextStyle { @@ -2200,6 +2920,462 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _VertPos, "@VertPos"); } } + private LazyLoad _DoubleSpace; + public bool DoubleSpace + { + get + { + return LazyLoad(ref _DoubleSpace, "@DoubleSpace"); + } + } + private LazyLoad _EnhancedStepNumFromPrev; + public bool EnhancedStepNumFromPrev + { + get + { + return LazyLoad(ref _EnhancedStepNumFromPrev, "@EnhancedStepNumFromPrev"); + } + } + private LazyLoad _UseSmartTemplate; + public bool UseSmartTemplate + { + get + { + return LazyLoad(ref _UseSmartTemplate, "@UseSmartTemplate"); + } + } + private LazyLoad _AlwaysUseExtraLines; + public bool AlwaysUseExtraLines + { + get + { + return LazyLoad(ref _AlwaysUseExtraLines, "@AlwaysUseExtraLines"); + } + } + private LazyLoad _SeparateBox; + public bool SeparateBox + { + get + { + return LazyLoad(ref _SeparateBox, "@SeparateBox"); + } + } + private LazyLoad _SeparateBoxCautions; + public bool SeparateBoxCautions + { + get + { + return LazyLoad(ref _SeparateBoxCautions, "@SeparateBoxCautions"); + } + } + private LazyLoad _SpaceDouble; + public bool SpaceDouble + { + get + { + return LazyLoad(ref _SpaceDouble, "@SpaceDouble"); + } + } + private LazyLoad _ReduceLineAfter; + public bool ReduceLineAfter + { + get + { + return LazyLoad(ref _ReduceLineAfter, "@ReduceLineAfter"); + } + } + private LazyLoad _SameLevel; + public bool SameLevel + { + get + { + return LazyLoad(ref _SameLevel, "@SameLevel"); + } + } + private LazyLoad _BoldHighLevel; + public bool BoldHighLevel + { + get + { + return LazyLoad(ref _BoldHighLevel, "@BoldHighLevel"); + } + } + private LazyLoad _OneLineBeforeTab; + public bool OneLineBeforeTab + { + get + { + return LazyLoad(ref _OneLineBeforeTab, "@OneLineBeforeTab"); + } + } + private LazyLoad _CheckOffOnAllSteps; + public bool CheckOffOnAllSteps + { + get + { + return LazyLoad(ref _CheckOffOnAllSteps, "@CheckOffOnAllSteps"); + } + } + private LazyLoad _BoxIt; + public bool BoxIt + { + get + { + return LazyLoad(ref _BoxIt, "@BoxIt"); + } + } + private LazyLoad _Boxed; + public bool Boxed + { + get + { + return LazyLoad(ref _Boxed, "@Boxed"); + } + } + private LazyLoad _XLines_StepFix; + public bool XLines_StepFix + { + get + { + return LazyLoad(ref _XLines_StepFix, "@XLines_StepFix"); + } + } + private LazyLoad _Rebox; + public bool Rebox + { + get + { + return LazyLoad(ref _Rebox, "@Rebox"); + } + } + private LazyLoad _SpcHdr; + public bool SpcHdr + { + get + { + return LazyLoad(ref _SpcHdr, "@SpcHdr"); + } + } + private LazyLoad _ContinueOnly; + public bool ContinueOnly + { + get + { + return LazyLoad(ref _ContinueOnly, "@ContinueOnly"); + } + } + private LazyLoad _SepAfterAER; + public bool SepAfterAER + { + get + { + return LazyLoad(ref _SepAfterAER, "@SepAfterAER"); + } + } + private LazyLoad _UseAlternateStepBox; + public bool UseAlternateStepBox + { + get + { + return LazyLoad(ref _UseAlternateStepBox, "@UseAlternateStepBox"); + } + } + private LazyLoad _UnderlineAfterDashSpace; + public bool UnderlineAfterDashSpace + { + get + { + return LazyLoad(ref _UnderlineAfterDashSpace, "@UnderlineAfterDashSpace"); + } + } + private LazyLoad _SpaceIn; + public bool SpaceIn + { + get + { + return LazyLoad(ref _SpaceIn, "@SpaceIn"); + } + } + private LazyLoad _PageBreakOnStep; + public bool PageBreakOnStep + { + get + { + return LazyLoad(ref _PageBreakOnStep, "@PageBreakOnStep"); + } + } + private LazyLoad _AlignNullTabWSectHead; + public bool AlignNullTabWSectHead + { + get + { + return LazyLoad(ref _AlignNullTabWSectHead, "@AlignNullTabWSectHead"); + } + } + private LazyLoad _TextSubFollowsTextStyle; + public bool TextSubFollowsTextStyle + { + get + { + return LazyLoad(ref _TextSubFollowsTextStyle, "@TextSubFollowsTextStyle"); + } + } + private LazyLoad _TreatAsSequential; + public bool TreatAsSequential + { + get + { + return LazyLoad(ref _TreatAsSequential, "@TreatAsSequential"); + } + } + private LazyLoad _MatchUpRNO; + public bool MatchUpRNO + { + get + { + return LazyLoad(ref _MatchUpRNO, "@MatchUpRNO"); + } + } + private LazyLoad _InPageList; + public bool InPageList + { + get + { + return LazyLoad(ref _InPageList, "@InPageList"); + } + } + private LazyLoad _CenterOneLineOnly; + public bool CenterOneLineOnly + { + get + { + return LazyLoad(ref _CenterOneLineOnly, "@CenterOneLineOnly"); + } + } + private LazyLoad _SubTableGetsUp1Level; + public bool SubTableGetsUp1Level + { + get + { + return LazyLoad(ref _SubTableGetsUp1Level, "@SubTableGetsUp1Level"); + } + } + private LazyLoad _Remember; + public bool Remember + { + get + { + return LazyLoad(ref _Remember, "@Remember"); + } + } + private LazyLoad _CenterOneLineAdjust; + public bool CenterOneLineAdjust + { + get + { + return LazyLoad(ref _CenterOneLineAdjust, "@CenterOneLineAdjust"); + } + } + private LazyLoad _Break; + public bool Break + { + get + { + return LazyLoad(ref _Break, "@Break"); + } + } + private LazyLoad _BreakEquipmentList; + public bool BreakEquipmentList + { + get + { + return LazyLoad(ref _BreakEquipmentList, "@BreakEquipmentList"); + } + } + private LazyLoad _BreakCautionsNotesOnSubstps; + public bool BreakCautionsNotesOnSubstps + { + get + { + return LazyLoad(ref _BreakCautionsNotesOnSubstps, "@BreakCautionsNotesOnSubstps"); + } + } + private LazyLoad _CenterTextWithinWidth; + public bool CenterTextWithinWidth + { + get + { + return LazyLoad(ref _CenterTextWithinWidth, "@CenterTextWithinWidth"); + } + } + private LazyLoad _NewlineAfter; + public bool NewlineAfter + { + get + { + return LazyLoad(ref _NewlineAfter, "@NewlineAfter"); + } + } + private LazyLoad _StartLineWithDash; + public bool StartLineWithDash + { + get + { + return LazyLoad(ref _StartLineWithDash, "@StartLineWithDash"); + } + } + private LazyLoad _BlankLineBeforeSubStep; + public bool BlankLineBeforeSubStep + { + get + { + return LazyLoad(ref _BlankLineBeforeSubStep, "@BlankLineBeforeSubStep"); + } + } + private LazyLoad _AlwaysTab; + public bool AlwaysTab + { + get + { + return LazyLoad(ref _AlwaysTab, "@AlwaysTab"); + } + } + private LazyLoad _MixCautionsAndNotes; + public bool MixCautionsAndNotes + { + get + { + return LazyLoad(ref _MixCautionsAndNotes, "@MixCautionsAndNotes"); + } + } + private LazyLoad _NumberHighLevel; + public bool NumberHighLevel + { + get + { + return LazyLoad(ref _NumberHighLevel, "@NumberHighLevel"); + } + } + private LazyLoad _OffsetTab; + public bool OffsetTab + { + get + { + return LazyLoad(ref _OffsetTab, "@OffsetTab"); + } + } + private LazyLoad _LeftJustifyBorderless; + public bool LeftJustifyBorderless + { + get + { + return LazyLoad(ref _LeftJustifyBorderless, "@LeftJustifyBorderless"); + } + } + private LazyLoad _StepNumIfOnlyOne; + public bool StepNumIfOnlyOne + { + get + { + return LazyLoad(ref _StepNumIfOnlyOne, "@StepNumIfOnlyOne"); + } + } + private LazyLoad _LJTabs; + public bool LJTabs + { + get + { + return LazyLoad(ref _LJTabs, "@LJTabs"); + } + } + private LazyLoad _NumberSubs; + public bool NumberSubs + { + get + { + return LazyLoad(ref _NumberSubs, "@NumberSubs"); + } + } + private LazyLoad _Bullet; + public bool Bullet + { + get + { + return LazyLoad(ref _Bullet, "@Bullet"); + } + } + private LazyLoad _StepNumberForHighLevel; + public bool StepNumberForHighLevel + { + get + { + return LazyLoad(ref _StepNumberForHighLevel, "@StepNumberForHighLevel"); + } + } + private LazyLoad _SameRowAsParent; + public bool SameRowAsParent + { + get + { + return LazyLoad(ref _SameRowAsParent, "@SameRowAsParent"); + } + } + private LazyLoad _CheckoffSameAsParent; + public bool CheckoffSameAsParent + { + get + { + return LazyLoad(ref _CheckoffSameAsParent, "@CheckoffSameAsParent"); + } + } + private LazyLoad _AtLeastTwoDigits; + public bool AtLeastTwoDigits + { + get + { + return LazyLoad(ref _AtLeastTwoDigits, "@AtLeastTwoDigits"); + } + } + private LazyLoad _UseInAcTable; + public bool UseInAcTable + { + get + { + return LazyLoad(ref _UseInAcTable, "@UseInAcTable"); + } + } + private LazyLoad _Number; + public bool Number + { + get + { + return LazyLoad(ref _Number, "@Number"); + } + } + private LazyLoad _ThreeBlanksAbove; + public bool ThreeBlanksAbove + { + get + { + return LazyLoad(ref _ThreeBlanksAbove, "@ThreeBlanksAbove"); + } + } + private LazyLoad _CheckOffs; + public bool CheckOffs + { + get + { + return LazyLoad(ref _CheckOffs, "@CheckOffs"); + } + } + private LazyLoad _Quoted; + public bool Quoted + { + get + { + return LazyLoad(ref _Quoted, "@Quoted"); + } + } private VE_Font _Font; public VE_Font Font { @@ -2654,6 +3830,118 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _ThroughString, "@ThroughString"); } } + private LazyLoad _SpecifiedSubstepsOnly; + public bool SpecifiedSubstepsOnly + { + get + { + return LazyLoad(ref _SpecifiedSubstepsOnly, "@SpecifiedSubstepsOnly"); + } + } + private LazyLoad _CapsTransitions; + public bool CapsTransitions + { + get + { + return LazyLoad(ref _CapsTransitions, "@CapsTransitions"); + } + } + private LazyLoad _CapTranStep; + public bool CapTranStep + { + get + { + return LazyLoad(ref _CapTranStep, "@CapTranStep"); + } + } + private LazyLoad _TStepNoFlag; + public bool TStepNoFlag + { + get + { + return LazyLoad(ref _TStepNoFlag, "@TStepNoFlag"); + } + } + private LazyLoad _LowerCaseTranNumber; + public bool LowerCaseTranNumber + { + get + { + return LazyLoad(ref _LowerCaseTranNumber, "@LowerCaseTranNumber"); + } + } + private LazyLoad _UpcaseTranAnd; + public bool UpcaseTranAnd + { + get + { + return LazyLoad(ref _UpcaseTranAnd, "@UpcaseTranAnd"); + } + } + private LazyLoad _SuppressAndInTran; + public bool SuppressAndInTran + { + get + { + return LazyLoad(ref _SuppressAndInTran, "@SuppressAndInTran"); + } + } + private LazyLoad _Cap1stCharTrans; + public bool Cap1stCharTrans + { + get + { + return LazyLoad(ref _Cap1stCharTrans, "@Cap1stCharTrans"); + } + } + private LazyLoad _UseTransitionModifier; + public bool UseTransitionModifier + { + get + { + return LazyLoad(ref _UseTransitionModifier, "@UseTransitionModifier"); + } + } + private LazyLoad _UseSecTitles; + public bool UseSecTitles + { + get + { + return LazyLoad(ref _UseSecTitles, "@UseSecTitles"); + } + } + private LazyLoad _HardSpTranProcNumb; + public bool HardSpTranProcNumb + { + get + { + return LazyLoad(ref _HardSpTranProcNumb, "@HardSpTranProcNumb"); + } + } + private LazyLoad _XchngTranSpForHard; + public bool XchngTranSpForHard + { + get + { + return LazyLoad(ref _XchngTranSpForHard, "@XchngTranSpForHard"); + } + } + private LazyLoad _AbsoluteTransitionUpdate; + public bool AbsoluteTransitionUpdate + { + get + { + return LazyLoad(ref _AbsoluteTransitionUpdate, "@AbsoluteTransitionUpdate"); + } + } + private LazyLoad _LowerCaseStepInTran; + public bool LowerCaseStepInTran + { + get + { + return LazyLoad(ref _LowerCaseStepInTran, "@LowerCaseStepInTran"); + } + } } #endregion #region TransType @@ -2719,6 +4007,69 @@ namespace VEPROMS.CSLA.Library public TransTypeList(XmlNodeList xmlNodeList) : base(xmlNodeList) { } } #endregion + #region RoData + [TypeConverter(typeof(ExpandableObjectConverter))] + public class RoData : vlnFormatItem + { + public RoData(XmlNode xmlNode) : base(xmlNode) { } + private LazyLoad _AllUnits; + public bool AllUnits + { + get + { + return LazyLoad(ref _AllUnits, "@AllUnits"); + } + } + private LazyLoad _UpRoAftrDash; + public bool UpRoAftrDash + { + get + { + return LazyLoad(ref _UpRoAftrDash, "@UpRoAftrDash"); + } + } + private LazyLoad _UpcaseAllRoUnits; + public bool UpcaseAllRoUnits + { + get + { + return LazyLoad(ref _UpcaseAllRoUnits, "@UpcaseAllRoUnits"); + } + } + private LazyLoad _CapHighRo; + public bool CapHighRo + { + get + { + return LazyLoad(ref _CapHighRo, "@CapHighRo"); + } + } + private LazyLoad _CapRoIfLastLower; + public bool CapRoIfLastLower + { + get + { + return LazyLoad(ref _CapRoIfLastLower, "@CapRoIfLastLower"); + } + } + private LazyLoad _UpRoIfPrevUpper; + public bool UpRoIfPrevUpper + { + get + { + return LazyLoad(ref _UpRoIfPrevUpper, "@UpRoIfPrevUpper"); + } + } + private LazyLoad _UnderlineRo; + public bool UnderlineRo + { + get + { + return LazyLoad(ref _UnderlineRo, "@UnderlineRo"); + } + } + } + #endregion #endregion } diff --git a/PROMS/VEPROMS.CSLA.Library/Format/vlnFormat.cs b/PROMS/VEPROMS.CSLA.Library/Format/vlnFormat.cs index e3ed0e3d..a8b7df18 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/vlnFormat.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/vlnFormat.cs @@ -258,6 +258,16 @@ namespace VEPROMS.CSLA.Library { return vlnFormatDocument.EnumLookup(_XmlNode, path); } + public bool LazyLoad(ref LazyLoad ll, string xPath) + { + if (ll == null) + { + XmlNode xn = SelectSingleNode(xPath); + string tstr = xn != null ? xn.InnerText : "FALSE"; + ll = new LazyLoad(tstr.ToUpper() == "TRUE" ? true : false); + } + return ll.Value; + } public string LazyLoad(ref LazyLoad ll, string xPath) { if (ll == null)