This commit is contained in:
@@ -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 <SECTIONLEVELTITLE> 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 <SECTIONLEVELTITLE> 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
|
||||
}
|
||||
|
@@ -2636,6 +2636,14 @@ namespace VEPROMS.CSLA.Library
|
||||
return LazyLoad(ref _TransFormat, "@TransFormat");
|
||||
}
|
||||
}
|
||||
private LazyLoad<E_TransUI?> _TransUI;
|
||||
public E_TransUI? TransUI
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad<E_TransUI>(ref _TransUI, "@TransUI");
|
||||
}
|
||||
}
|
||||
private LazyLoad<string> _TransMenu;
|
||||
public string TransMenu
|
||||
{
|
||||
|
Reference in New Issue
Block a user