95 lines
2.3 KiB
C#
95 lines
2.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.ComponentModel;
|
|
using DescriptiveEnum;
|
|
|
|
namespace VEPROMS.CSLA.Library
|
|
{
|
|
//class ConfigEnum
|
|
//{
|
|
[TypeConverter(typeof(EnumDescConverter))]
|
|
public enum PrintWatermark : int
|
|
{
|
|
None = 0, Reference, Draft, Master, Sample,
|
|
[Description("Information Only")]
|
|
InformationOnly
|
|
}
|
|
// Change Bar Use from 16-bit code:
|
|
// No Default
|
|
// Without Change Bars
|
|
// With Default Change Bars
|
|
// With User Specified Change Bars
|
|
[TypeConverter(typeof(EnumDescConverter))]
|
|
public enum PrintChangeBar : int
|
|
{
|
|
[Description("No Default, Select Before Printing")]
|
|
SelectBeforePrinting = 0,
|
|
[Description("Without Change Bars")]
|
|
Without,
|
|
[Description("With Default Change Bars")]
|
|
WithDefault,
|
|
[Description("With Custom Change Bar Text")]
|
|
WithUserSpecified
|
|
}
|
|
// User Specified Change Bar Location from16-bit code:
|
|
// With Text
|
|
// Outside Box
|
|
// AER on LEFT, RNO on Right
|
|
// To the Left of Text
|
|
[TypeConverter(typeof(EnumDescConverter))]
|
|
public enum PrintChangeBarLoc : int
|
|
{
|
|
[Description("With Text")]
|
|
WithText = 0,
|
|
[Description("Outside Box")]
|
|
OutsideBox,
|
|
[Description("AER on Left RNO on Right")]
|
|
AERleftRNOright,
|
|
[Description("To the Left of the Text")]
|
|
LeftOfText
|
|
}
|
|
// Change Bar Text from16-bit code:
|
|
// Date and Change ID
|
|
// Revision Number
|
|
// Change ID
|
|
// No Change Bar Message
|
|
// User Defined Message
|
|
[TypeConverter(typeof(EnumDescConverter))]
|
|
public enum PrintChangeBarText : int
|
|
{
|
|
[Description("Date and Change ID")]
|
|
DateChgID = 0,
|
|
[Description("Revision Number")]
|
|
RevNum,
|
|
[Description("Change ID")]
|
|
ChgID,
|
|
[Description("No Change Bar Text")]
|
|
None,
|
|
[Description("Custom Change Bar Text")]
|
|
UserDef
|
|
}
|
|
[TypeConverter(typeof(EnumDescConverter))]
|
|
public enum PrintPagination : int
|
|
{
|
|
Free = 0, Fixed,
|
|
[Description("Automatic")]
|
|
Auto
|
|
}
|
|
[TypeConverter(typeof(EnumDescConverter))]
|
|
public enum FormatColumns : int
|
|
{
|
|
Default = 0,
|
|
[Description("Single Column")]
|
|
OneColumn,
|
|
[Description("Dual Column")]
|
|
TwoColumn,
|
|
[Description("Triple Column")]
|
|
ThreeColumn,
|
|
[Description("Quad Column")]
|
|
FourColumns
|
|
}
|
|
//
|
|
//}
|
|
}
|