Beispiel #1
0
        // private BorderItem _horizontalMiddle;
        // private BorderItem _verticalMiddle;

        public Border(EPBorder border)
        {
            _border   = border;
            _top      = new BorderItem(_border.Top);
            _bottom   = new BorderItem(_border.Bottom);
            _left     = new BorderItem(_border.Left);
            _right    = new BorderItem(_border.Right);
            _diagonal = new BorderItem(_border.Diagonal);
        }
Beispiel #2
0
 internal ExcelStyle(ExcelStyles styles, OfficeOpenXml.XmlHelper.ChangedEventHandler ChangedEvent, int PositionID, string Address, int xfsId)
     : base(styles, ChangedEvent, PositionID, Address)
 {
     Index = xfsId;
     ExcelXfs xfs = _styles.CellXfs[xfsId];
     Numberformat = new ExcelNumberFormat(styles, ChangedEvent, PositionID, Address, xfs.NumberFormatId);
     Font = new ExcelFont(styles, ChangedEvent, PositionID, Address, xfs.FontId);
     Fill = new ExcelFill(styles, ChangedEvent, PositionID, Address, xfs.FillId);
     Border = new Border(styles, ChangedEvent, PositionID, Address, xfs.BorderId);
 }