int _ico24 = -1; // default to -1 so we can ignore it for word 97 files public CharacterProperties() { field_17_fcPic = -1; field_22_dttmRMark = new DateAndTime(); field_23_dttmRMarkDel = new DateAndTime(); field_36_dttmPropRMark = new DateAndTime(); field_40_dttmDispFldRMark = new DateAndTime(); field_41_xstDispFldRMark = new byte[36]; field_42_shd = new ShadingDescriptor(); field_43_brc = new BorderCode(); field_7_hps = 20; field_24_istd = 10; field_16_wCharScale = 100; field_13_lidDefault = 0x0400; field_14_lidFE = 0x0400; }
public TableProperties(int columns) { field_7_itcMac = (short)columns; field_10_rgshd = new ShadingDescriptor[columns]; for (int x = 0; x < columns; x++) { field_10_rgshd[x] = new ShadingDescriptor(); } field_11_brcBottom = new BorderCode(); field_12_brcTop = new BorderCode(); field_13_brcLeft = new BorderCode(); field_14_brcRight = new BorderCode(); field_15_brcVertical = new BorderCode(); field_16_brcHorizontal = new BorderCode(); field_8_rgdxaCenter = new short[columns]; field_9_rgtc = new TableCellDescriptor[columns]; for (int x = 0; x < columns; x++) { field_9_rgtc[x] = new TableCellDescriptor(); } }
/** * Set the shd field for the CHP record. */ public void SetShd(ShadingDescriptor field_42_shd) { this.field_42_shd = field_42_shd; }
public void SetShading(ShadingDescriptor shd) { base.SetShd(shd); }
protected PAPAbstractType() { this.field_11_lspd = new LineSpacingDescriptor(); this.field_11_lspd = new LineSpacingDescriptor(); this.field_28_dcs = new DropCapSpecifier(); this.field_32_fWidowControl = true; this.field_41_lvl = 9; this.field_61_brcTop = new BorderCode(); this.field_62_brcLeft = new BorderCode(); this.field_63_brcBottom = new BorderCode(); this.field_64_brcRight = new BorderCode(); this.field_65_brcBetween = new BorderCode(); this.field_66_brcBar = new BorderCode(); this.field_67_shd = new ShadingDescriptor(); this.field_68_anld = new byte[0]; this.field_69_phe = new byte[0]; this.field_72_dttmPropRMark = new DateAndTime(); this.field_74_rgdxaTab = new int[0]; this.field_75_rgtbd = new byte[0]; this.field_76_numrm = new byte[0]; this.field_77_ptap = new byte[0]; }
/** * Set the rgshd field for the TAP record. */ public void SetRgshd(ShadingDescriptor[] field_10_rgshd) { this.field_10_rgshd = field_10_rgshd; }
public void SetShading(ShadingDescriptor shd) { _props.SetShd(shd); _papx.UpdateSprm(SPRM_SHD, shd.ToShort()); }