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

let JV = {
    NODE_MAIN_INFO: "主信息",
    NODE_PAGE_INFO: "打印页面_信息",
    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"],
    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"],

    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"
};
