/** * Constructs a PrintSetup (SetUP) record and Sets its fields appropriately. * @param in the RecordInputstream to Read the record from */ public PrintSetupRecord(RecordInputStream in1) { field_1_paper_size = in1.ReadShort(); field_2_scale = in1.ReadShort(); field_3_page_start = in1.ReadShort(); field_4_fit_width = in1.ReadShort(); field_5_fit_height = in1.ReadShort(); field_6_options = in1.ReadShort(); field_7_hresolution = in1.ReadShort(); field_8_vresolution = in1.ReadShort(); field_9_headermargin = in1.ReadDouble(); field_10_footermargin = in1.ReadDouble(); field_11_copies = in1.ReadShort(); }
/** * Constructs a Delta record and Sets its fields appropriately. * @param in the RecordInputstream to Read the record from */ public DeltaRecord(RecordInputStream in1) { field_1_max_change = in1.ReadDouble(); }
/** * Constructs a TopMargin record and Sets its fields appropriately. * * @param in the RecordInputstream to Read the record from */ public TopMarginRecord(RecordInputStream in1) { field_1_margin = in1.ReadDouble(); }
/** * Constructs a Number record and Sets its fields appropriately. * * @param in the RecordInputstream to Read the record from */ public NumberRecord(RecordInputStream in1) : base(in1) { field_4_value = in1.ReadDouble(); }