/** * 用于存放properties中枚举属性的可选值. * Created by TonyJiang on 16/8/10. */ export * from "../../configs/enums"; import {VerticalTextAlignEnum, HorizontalTextAlignEnum} from "../../configs/enums"; // export const PaperTypeEnumLabel:Map = new Map(); // PaperTypeEnumLabel.set(PaperTypeEnum.A4, "A4"); // PaperTypeEnumLabel.set(PaperTypeEnum.A5, "A5"); // PaperTypeEnumLabel.set(PaperTypeEnum.A8, "A8"); // PaperTypeEnumLabel.set(PaperTypeEnum.B4, "B4"); // PaperTypeEnumLabel.set(PaperTypeEnum.B5, "B5"); // PaperTypeEnumLabel.set(PaperTypeEnum.B8, "B8"); // PaperTypeEnumLabel.set(PaperTypeEnum.Custom, "自定义"); export const VerticalTextAlignEnumLabel:Map = new Map(); VerticalTextAlignEnumLabel.set(VerticalTextAlignEnum.Top, "顶部对齐"); VerticalTextAlignEnumLabel.set(VerticalTextAlignEnum.Middle, "居中对齐"); VerticalTextAlignEnumLabel.set(VerticalTextAlignEnum.Bottom, "底部对齐"); VerticalTextAlignEnumLabel.set(VerticalTextAlignEnum.Justified, "两端对齐"); export const HorizontalTextAlignEnumLabel:Map = new Map(); HorizontalTextAlignEnumLabel.set(HorizontalTextAlignEnum.Left, "左侧对齐"); HorizontalTextAlignEnumLabel.set(HorizontalTextAlignEnum.Center, "居中对齐"); HorizontalTextAlignEnumLabel.set(HorizontalTextAlignEnum.Right, "右侧对齐"); HorizontalTextAlignEnumLabel.set(HorizontalTextAlignEnum.Justified, "两侧对齐");