Esempio n. 1
0
 internal virtual void vmethod_0(DxfModel modelContext, DxfTableStyle tableStyle)
 {
     if (this.dxfTextStyle_0 != null)
     {
         return;
     }
     this.dxfTextStyle_0 = modelContext.DefaultTextStyle;
 }
Esempio n. 2
0
 internal override void vmethod_1(DxfTableStyle tableStyle)
 {
     base.vmethod_1(tableStyle);
     if (this.TableStyle != tableStyle)
     {
         return;
     }
     this.TableStyle = (DxfTableStyle)null;
 }
Esempio n. 3
0
 internal override void vmethod_0(DxfModel modelContext, DxfTableStyle tableStyle)
 {
     base.vmethod_0(modelContext, tableStyle);
     this.TableStyle = tableStyle;
     this.dxfTableBorder_0.method_4(modelContext);
     this.dxfTableBorder_1.method_4(modelContext);
     this.dxfTableBorder_2.method_4(modelContext);
     this.dxfTableBorder_3.method_4(modelContext);
     this.dxfTableBorder_4.method_4(modelContext);
     this.dxfTableBorder_5.method_4(modelContext);
 }
Esempio n. 4
0
        public override IGraphCloneable Clone(CloneContext cloneContext)
        {
            DxfTableStyle dxfTableStyle = (DxfTableStyle)cloneContext.GetExistingClone((IGraphCloneable)this);

            if (dxfTableStyle == null)
            {
                dxfTableStyle = new DxfTableStyle(this.Name, false);
                cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfTableStyle);
                dxfTableStyle.CopyFrom((DxfHandledObject)this, cloneContext);
            }
            return((IGraphCloneable)dxfTableStyle);
        }
Esempio n. 5
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            this.method_17()?.CellStyles.Clear();
            DxfTableStyle dxfTableStyle = (DxfTableStyle)from;

            this.string_1             = dxfTableStyle.string_1;
            this.tableFlowDirection_0 = dxfTableStyle.tableFlowDirection_0;
            this.ushort_0             = dxfTableStyle.ushort_0;
            this.bool_0 = dxfTableStyle.bool_0;
            this.bool_1 = dxfTableStyle.bool_1;
            this.dxfTableCellStyle_0 = (DxfTableCellStyle)dxfTableStyle.dxfTableCellStyle_0.Clone(cloneContext);
            foreach (DxfContentFormat dxfContentFormat in (Collection <DxfTableCellStyle>)dxfTableStyle.dxfTableCellStyleCollection_0)
            {
                this.dxfTableCellStyleCollection_0.Add((DxfTableCellStyle)dxfContentFormat.Clone(cloneContext));
            }
        }
Esempio n. 6
0
 internal virtual void vmethod_1(DxfTableStyle tableStyle)
 {
 }