internal CellFormat(CellFormat cf)
 {
     CellX = cf.CellX;
     IsCellXSet = cf.IsCellXSet;
     Width = new CellWidth(cf.Width);
     CB = cf.CB;
     CF = cf.CF;
     Shading = cf.Shading;
     PaddingTop = cf.PaddingTop;
     PaddingBottom = cf.PaddingBottom;
     PaddingRight = cf.PaddingRight;
     PaddingLeft = cf.PaddingLeft;
     BorderLeft = new BorderFormat(cf.BorderLeft);
     BorderRight = new BorderFormat(cf.BorderRight);
     BorderBottom = new BorderFormat(cf.BorderBottom);
     BorderTop = new BorderFormat(cf.BorderTop);
     SpacingTop = cf.SpacingTop;
     SpacingBottom = cf.SpacingBottom;
     SpacingRight = cf.SpacingRight;
     SpacingLeft = cf.SpacingLeft;
     VAlign = VAlign.AlignTop;
     IsPending = true;
     IsHMerge = cf.IsHMerge;
     IsHMergeFirst = cf.IsHMergeFirst;
     IsVMerge = cf.IsVMerge;
     IsVMergeFirst = cf.IsVMergeFirst;
 }
Beispiel #2
0
 // Token: 0x0600335E RID: 13150 RVA: 0x000E5DA9 File Offset: 0x000E3FA9
 internal BorderFormat(BorderFormat cb)
 {
     this.CF    = cb.CF;
     this.Width = cb.Width;
     this.Type  = cb.Type;
 }
        internal CellFormat()
        {
            BorderLeft = new BorderFormat();
            BorderRight = new BorderFormat();
            BorderBottom = new BorderFormat();
            BorderTop = new BorderFormat();

            Width = new CellWidth();

            SetDefaults();

            IsPending = true;
        }
 internal ParaBorder(ParaBorder pb)
 {
     BorderLeft = new BorderFormat(pb.BorderLeft);
     BorderTop = new BorderFormat(pb.BorderTop);
     BorderRight = new BorderFormat(pb.BorderRight);
     BorderBottom = new BorderFormat(pb.BorderBottom);
     BorderAll = new BorderFormat(pb.BorderAll);
     Spacing = pb.Spacing;
 }
 internal ParaBorder()
 {
     BorderLeft = new BorderFormat();
     BorderTop = new BorderFormat();
     BorderRight = new BorderFormat();
     BorderBottom = new BorderFormat();
     BorderAll = new BorderFormat();
     Spacing = 0;
 }
 internal BorderFormat(BorderFormat cb)
 {
     CF = cb.CF;
     Width = cb.Width;
     Type = cb.Type;
 }
Beispiel #7
0
 private void WriteBorder(string borderControlWord, BorderFormat bf) 
 {
     _rtfBuilder.Append(borderControlWord); 
     _rtfBuilder.Append(bf.RTFEncoding);
 }