Пример #1
0
 protected void fillFields(RecordInputStream in) {
   field_1_xBasis = in.readShort();
   field_2_yBasis = in.readShort();
   field_3_heightBasis = in.readShort();
   field_4_scale = in.readShort();
   field_5_indexToFontTable = in.readShort();
 }
Пример #2
0
 protected void fillFields(RecordInputStream in) {
   field_1_first_row = in.readInt();
   field_2_last_row = in.readInt();
   field_3_first_col = in.readShort();
   field_4_last_col = in.readShort();
   field_5_zero = in.readShort();
 }
Пример #3
0
 /** @param in the RecordInputstream to read the record from */
 protected void fillFields(RecordInputStream in) {
   // field_1_row       = LittleEndian.getShort(data, 0 + offset);
   field_1_row = in.readUShort();
   field_2_first_col = in.readShort();
   field_3_rks = parseRKs(in);
   field_4_last_col = in.readShort();
 }
Пример #4
0
 /** @param in the RecordInputstream to read the record from */
 protected void fillFields(RecordInputStream in) {
   // field_1_row   = LittleEndian.getShort(data, 0 + offset);
   field_1_row = in.readUShort();
   field_2_col = in.readShort();
   field_3_xf = in.readShort();
   field_4_value = in.readDouble();
 }
Пример #5
0
 protected void fillFields(RecordInputStream in) {
   field_1_linkType = in.readByte();
   field_2_referenceType = in.readByte();
   field_3_options = in.readShort();
   field_4_indexNumberFmtRecord = in.readShort();
   field_5_formulaOfLink = new loci.poi.hssf.record.LinkedDataFormulaField();
   field_5_formulaOfLink.fillField(in);
 }
Пример #6
0
  private ArrayList parseRKs(RecordInputStream in) {
    ArrayList retval = new ArrayList();
    while ((in.remaining() - 2) > 0) {
      RkRec rec = new RkRec();

      rec.xf = in.readShort();
      rec.rk = in.readInt();
      retval.add(rec);
    }
    return retval;
  }
Пример #7
0
 protected void fillFields(RecordInputStream in) {
   field_1_paper_size = in.readShort();
   field_2_scale = in.readShort();
   field_3_page_start = in.readShort();
   field_4_fit_width = in.readShort();
   field_5_fit_height = in.readShort();
   field_6_options = in.readShort();
   field_7_hresolution = in.readShort();
   field_8_vresolution = in.readShort();
   field_9_headermargin = in.readDouble();
   field_10_footermargin = in.readDouble();
   field_11_copies = in.readShort();
 }
Пример #8
0
  protected void fillFields(RecordInputStream in) {
    fHighByte = BitFieldFactory.getInstance(0x01); // have to init here, since we are being called
    // from super, and class level init hasnt been done.
    field_1_xf_index = in.readShort();
    if (getType() == STYLE_BUILT_IN) {
      field_2_builtin_style = in.readByte();
      field_3_outline_style_level = in.readByte();
    } else if (getType() == STYLE_USER_DEFINED) {
      field_2_name_length = in.readShort();
      field_3_string_options = in.readByte();

      byte[] string = in.readRemainder();
      if (fHighByte.isSet(field_3_string_options)) {
        field_4_name = StringUtil.getFromUnicodeBE(string, 0, field_2_name_length);
      } else {
        field_4_name = StringUtil.getFromCompressedUnicode(string, 0, field_2_name_length);
      }
    }

    // todo sanity check exception to make sure we're one or the other
  }
Пример #9
0
 protected void fillFields(RecordInputStream in) {
   field_1_codepage = in.readShort();
 }
Пример #10
0
 protected void fillFields(RecordInputStream in) {
   field_1_precision = in.readShort();
 }
Пример #11
0
  protected void fillFields(RecordInputStream in) {

    field_1_formatFlags = in.readShort();
  }
Пример #12
0
 protected void fillFields(RecordInputStream in) {
   field_1_x = in.readInt();
   field_2_y = in.readInt();
   field_3_width = in.readInt();
   field_4_height = in.readInt();
 }
Пример #13
0
 protected void fillFields(RecordInputStream in) {
   field_1_password = in.readShort();
 }
Пример #14
0
 protected void fillFields(RecordInputStream in) {
   field_1_id = in.readShort();
   field_2_textLength = in.readByte();
   field_3_undocumented = in.readByte();
   field_4_text = in.readUnicodeLEString(field_2_textLength);
 }
Пример #15
0
 protected void fillFields(RecordInputStream in) {
   field_1_hide_obj = in.readShort();
 }
Пример #16
0
 public AttrPtg(RecordInputStream in) {
   field_1_options = in.readByte();
   field_2_data = in.readShort();
 }
Пример #17
0
 public RefErrorPtg(RecordInputStream in) {
   field_1_reserved = in.readInt();
 }
Пример #18
0
 protected void fillFields(RecordInputStream in) {
   field_1_default_country = in.readShort();
   field_2_current_country = in.readShort();
 }