//数据类型
export enum IDataObjProps {
    detail_data = 'detail_data',         //从数据指标_集合
    detail_data_ex = 'detail_data_ex',   //从数据指标_拓展集合
    discrete_data = 'discrete_data',    // 离散指标_集合
    master_data = 'master_data',        //主数据指标_集合
    master_data_ex = 'master_data_ex',  //主数据指标_拓展集合
    NA = 'NA'
}

export enum IEventType {
    GRP_ON_CREATE = 'GRP_ON_CREATE',
    FLOW_CONTENT_ON_CREATE = 'FLOW_CONTENT_ON_CREATE',
}

//操作的步骤
export enum IRunType {
    beforeAnalyzing = 'before_analyzing',
    beforePaging = 'before_paging',
    beforeOutput = 'before_output',
    beforeCombine = 'before_combine',
    afterCombine = 'after_combine',
}

export enum IPagingOption {
    normal = 'normal',
    infinity = 'infinity'
}

export enum IControlProps {
    Shrink,
    ShowZero,
    Horizon,
    Vertical,
    Wrap,
    VerticalForExcel,
    ShrinkFirst,
    CloseOutput
}
export enum IFontProps {
    Name,
    FontHeight,
    FontColor,
    FontBold,
    FontItalic,
    FontUnderline,
    FontStrikeOut,
    FontAngle
}

export enum IPositionProps {
    Top='Top',
    Bottom='Bottom',
    Left='Left',
    Right='Right'
}

export enum IPositionIdx {
    Left = 0,
    Top = 1,
    Right = 2,
    Bottom = 3,
}




//常量，上下左右的顺序，对应于逻辑代码中某些数组的顺序
export const IDX_LEFT = 0;
export const IDX_TOP = 1;
export const IDX_RIGHT = 2;
export const IDX_BOTTOM = 3;

//输出的偏移量
export enum IOutputOffset {
    LEFT = 2,
    TOP = 2,
    RIGHT = 1,
    BOTTOM = 3,
}

//垂直角度
export const VERTICAL_ANGLE = '90';
export const ANTI_VERTICAL_ANGLE = '-90';
export const VERTICAL_ANGLE_INT = 90;
export const ANTI_VERTICAL_ANGLE_INT = -90;

export enum FONT_PROPS {
    NAME = 'Name',
    FONT_HEIGHT = 'FontHeight',
    FONT_COLOR = 'FontColor',
    FONT_BOLD = 'FontBold',
    FONT_ITALIC = 'FontItalic',
    FONT_UNDERLINE = 'FontUnderline',
    FONT_STRIKEOUT = 'FontStrikeOut',
    FONT_ANGLE = 'FontAngle',
}

export enum CONTROL_PROPS {
    SHRINK = 'Shrink',
    SHOWZERO = 'ShowZero',
    HORIZON = 'Horizon',
    VERTICAL = 'Vertical',
    WRAP = 'Wrap',
    VERTIVAL_FOR_EXCEL = 'VerticalForExcel',
    SHRIK_FIRST = 'ShrinkFirst',
    CLOSE_OUTPUT = 'CloseOutput',
}
export const PROP_FONT = 'font';

export enum PAGES_SIZE_STR {
    A3 = 'A3',
    A4 = 'A4',
    A5 = 'A5',
    B5 = 'B5',
    LETTER = 'LETTER',
    LEGAL = 'LEGAL',
    EXECUTIVE = 'EXECUTIVE',
    '16K' = '16K',
}
export enum PAGES_SIZE {
    A3 = 8,
    A4 = 9,
    A5 = 11,
    B5 = 13,
    LETTER = 1,
    LEGAL = 5,
    EXECUTIVE = 7,
    '16K' = 93,
}

