From 8f962bc778c418abf7498550395665a0c62dd836 Mon Sep 17 00:00:00 2001 From: Rich Date: Tue, 11 Jun 2013 18:44:03 +0000 Subject: [PATCH] Added LandscapePageList property for processing VCSummer data Added CenterLineX, CenterLineYTop and CenterLineYBottom properties for processing VCSummer data Added FixedMessage property to support end message with CRLF characters Added RelXLocation, RNOWidthSameAsHighParent, SingleColumnRNOIndent, RNOExcludeMacros and MacroTabAdjust properties for processing VCSummer data --- .../VEPROMS.CSLA.Library/Format/DocStyles.cs | 55 +++++++++++++++++++ .../Format/PlantFormat.cs | 40 ++++++++++++++ 2 files changed, 95 insertions(+) diff --git a/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs b/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs index 3bd90ba5..a7b1164c 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/DocStyles.cs @@ -106,6 +106,18 @@ namespace VEPROMS.CSLA.Library } } #endregion + #region LandscapePageList + [Category("Miscellaneous")] + [Description("Should PageList be landscape")] + private LazyLoad _LandscapePageList; + public bool LandscapePageList + { + get + { + return LazyLoad(ref _LandscapePageList, "@LandscapePageList"); + } + } + #endregion #region IncludeInTOC [Category("Miscellaneous")] [Description("Include in Auto Table Of Contents")] @@ -166,6 +178,42 @@ namespace VEPROMS.CSLA.Library } } #endregion + #region CenterLine + //CenterLineX="261.9" CenterLineYTop="673.2" CenterLineYBottom="44.2" + private LazyLoad _CenterLineX; + [Category("CenterLine")] + [DisplayName("X Location")] + [Description("Distance from left side of page")] + public float? CenterLineX + { + get + { + return LazyLoad(ref _CenterLineX, "@CenterLineX"); + } + } + private LazyLoad _CenterLineYTop; + [Category("CenterLine")] + [DisplayName("Y Top Location")] + [Description("starting vertical point of line")] + public float? CenterLineYTop + { + get + { + return LazyLoad(ref _CenterLineYTop, "@CenterLineYTop"); + } + } + private LazyLoad _CenterLineYBottom; + [Category("CenterLine")] + [DisplayName("Y Bottom Location")] + [Description("ending vertical point of line")] + public float? CenterLineYBottom + { + get + { + return LazyLoad(ref _CenterLineYBottom, "@CenterLineYBottom"); + } + } + #endregion #region OptionalSectionContent [Category("Miscellaneous")] [Description("Section Optional Content")] @@ -610,6 +658,13 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _Message, "@Message"); } } + public string FixedMessage + { + get + { + return Message == null ? null : Message.Replace("\n","\r\n"); + } + } #endregion } #endregion diff --git a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs index 36cb5223..35cd395f 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs @@ -1172,6 +1172,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _XLocation, "@XLocation"); } } + private LazyLoad _RelXLocation; + public float? RelXLocation + { + get + { + return LazyLoad(ref _RelXLocation, "@RelXLocation"); + } + } private LazyLoad _CheckOffXtraLines; public int? CheckOffXtraLines { @@ -2557,6 +2565,22 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _MaxRNOTable, "@MaxRNOTable"); } } + private LazyLoad _RNOWidthSameAsHighParent; + public bool RNOWidthSameAsHighParent + { + get + { + return LazyLoad(ref _RNOWidthSameAsHighParent, "@RNOWidthSameAsHighParent"); + } + } + private LazyLoad _SingleColumnRNOIndent; + public float? SingleColumnRNOIndent + { + get + { + return LazyLoad(ref _SingleColumnRNOIndent, "@SingleColumnRNOIndent"); + } + } private LazyLoad _ColRTable; public string ColRTable { @@ -4544,6 +4568,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _RNOIdentPrint, "TabData/@RNOIdent"); } } + private LazyLoad _RNOExcludeMacros; + public bool RNOExcludeMacros + { + get + { + return LazyLoad(ref _RNOExcludeMacros, "TabData/@RNOExcludeMacros"); + } + } private LazyLoad _Justify; public string Justify { @@ -4568,6 +4600,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _IdentWidth, "TabData/@IdentWidth"); } } + private LazyLoad _MacroTabAdjust; + public float? MacroTabAdjust + { + get + { + return LazyLoad(ref _MacroTabAdjust, "TabData/@MacroTabAdjust"); + } + } private VE_Font _Font; public VE_Font Font {