Package org.apache.poi.hssf.record.UnicodeString

Examples of org.apache.poi.hssf.record.UnicodeString.UnicodeRecordStats


        LittleEndian.putShort(data, 4 + offset, field_1_number_of_sheets);
              
        if(isExternalReferences()) {
           
            int currentOffset = 6 + offset;
            UnicodeRecordStats urs = new UnicodeRecordStats();
            field_2_encoded_url.serialize(urs, currentOffset, data);
            currentOffset += urs.recordSize;
           
            for(int i=0; i<field_3_sheet_names.length; i++) {
                urs = new UnicodeRecordStats();
                field_3_sheet_names[i].serialize(urs, currentOffset, data);
                currentOffset += urs.recordSize;
            }
        } else {
            short field2val = _isAddInFunctions ? TAG_ADD_IN_FUNCTIONS : TAG_INTERNAL_REFERENCES;
View Full Code Here


  private static UnicodeString readUnicodeString(RecordInputStream in) {
    return new UnicodeString(in);
  }

  private static int serializeUnicodeString(UnicodeString us, int offset, byte[] data) {
    UnicodeRecordStats urs = new UnicodeRecordStats();
    us.serialize(urs, offset, data);
    return urs.recordSize;
  }
View Full Code Here

TOP

Related Classes of org.apache.poi.hssf.record.UnicodeString.UnicodeRecordStats

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.