/**
 * Created by Tony on 2017/1/4.
 */

let JV = {
    NODE_MAIN_INFO: "主信息",
    NODE_PAGE_INFO: "打印页面_信息",
    NODE_MAIN_INFO_RPT_NAME: "报表名称",
    NODE_PAGE_SIZE: "纸张宽高",
    NODE_MARGINS: "页边距",

    NODE_FONT_COLLECTION: "font_collection",
    NODE_STYLE_COLLECTION: "style_collection",
    NODE_CONTROL_COLLECTION: "control_collection",

    BAND_PROP_MERGE_BAND: "MergeBand",
    PROP_PAGE_MERGE_BORDER: "page_merge_border",

    PROP_NAME: "Name",
    PROP_VALUE: "Value",
    PROP_FONT: "font",
    PROP_CONTROL: "control",
    PROP_STYLE: "style",
    PROP_AREA: "area",
    PROP_ID: "ID",
    PROP_LEFT: "Left",
    PROP_RIGHT: "Right",
    PROP_TOP: "Top",
    PROP_BOTTOM: "Bottom",

    IDX_LEFT: 0,
    IDX_TOP: 1,
    IDX_RIGHT: 2,
    IDX_BOTTOM: 3,

    CONTROL_PROPS: ["Shrink", "ShowZero", "Horizon", "Vertical", "Wrap", "VerticalForExcel", "ShrinkFirst", "CloseOutput"],
    CONTROL_PROP_IDX_SHRINK: 0,
    CONTROL_PROP_IDX_SHOW_ZERO: 1,
    CONTROL_PROP_IDX_HORIZON: 2,
    CONTROL_PROP_IDX_VERTICAL: 3,
    CONTROL_PROP_IDX_WRAP: 4,
    CONTROL_PROP_IDX_VERTICAL_EXCEL: 5,
    CONTROL_PROP_IDX_SHRINK_FIRST: 6,
    CONTROL_PROP_IDX_CLOSE_OUTPUT: 7,
    BORDER_STYLE_PROPS: ["LineWeight", "DashStyle", "Color"],
    PROP_LINE_WEIGHT: "LineWeight",
    PROP_DASH_STYLE: "DashStyle",
    PROP_COLOR: "Color",
    FONT_PROPS: ["Name", "FontHeight", "FontColor", "FontBold", "FontItalic", "FontUnderline", "FontStrikeOut", "FontAngle"],
    FONT_PROP_IDX_NAME: 0,
    FONT_PROP_IDX_HEIGHT: 1,
    FONT_PROP_IDX_COLOR: 2,
    FONT_PROP_IDX_BOLD: 3,
    FONT_PROP_IDX_ITALIC: 4,
    FONT_PROP_IDX_UNDERLINE: 5,
    FONT_PROP_IDX_STRIKEOUT: 6,
    FONT_PROP_IDX_ANGLE: 7,

    PAGES_SIZE_STR: ["A3", "A4", "A5", "B5", "LETTER", "LEGAL", "EXECUTIVE", "16K"],
    PAGES_SIZE_IDX: [8, 9, 11, 13, 1, 5, 7, 93],
    PAGES_SIZE: [[11.69, 16.54], [8.27, 11.69], [5.83, 8.27], [6.93, 9.84], [8.5, 11.0], [8.5, 14.0], [7.25, 10.5], [7.25, 10.5]],

    OUTPUT_OFFSET: [2,2,1,3],
    OFFSET_IDX_LEFT: 0,
    OFFSET_IDX_RIGHT: 1,
    OFFSET_IDX_TOP: 2,
    OFFSET_IDX_BOTTOM: 3,

    VERTICAL_ANGLE_INT: 90,
    ANTI_VERTICAL_ANGLE_INT: -90,
    VERTICAL_ANGLE: "90",
    ANTI_VERTICAL_ANGLE: "-90"
};
