@Override public NoteRecord clone() { NoteRecord rec = new NoteRecord(); rec.field_1_row = field_1_row; rec.field_2_col = field_2_col; rec.field_3_flags = field_3_flags; rec.field_4_shapeid = field_4_shapeid; rec.field_6_author = field_6_author; return rec; } }
private static NoteRecord createNoteRecord() { NoteRecord note = new NoteRecord(); note.setFlags(NoteRecord.NOTE_HIDDEN); note.setAuthor(""); return note; }
public Object clone() { NoteRecord rec = new NoteRecord(); rec.field_1_row = field_1_row; rec.field_2_col = field_2_col; rec.field_3_flags = field_3_flags; rec.field_4_shapeid = field_4_shapeid; rec.field_6_author = field_6_author; return rec; } }
@Override public NoteRecord clone() { NoteRecord rec = new NoteRecord(); rec.field_1_row = field_1_row; rec.field_2_col = field_2_col; rec.field_3_flags = field_3_flags; rec.field_4_shapeid = field_4_shapeid; rec.field_6_author = field_6_author; return rec; } }
public Object clone() { NoteRecord rec = new NoteRecord(); rec.field_1_row = field_1_row; rec.field_2_col = field_2_col; rec.field_3_flags = field_3_flags; rec.field_4_shapeid = field_4_shapeid; rec.field_6_author = field_6_author; return rec; } }
private NoteRecord createNoteRecord(){ NoteRecord note = new NoteRecord(); note.setFlags(NoteRecord.NOTE_HIDDEN); note.setAuthor(""); return note; }
private static NoteRecord createNoteRecord() { NoteRecord note = new NoteRecord(); note.setFlags(NoteRecord.NOTE_HIDDEN); note.setAuthor(""); return note; }
case NameRecord.sid: return new NameRecord(in); case NameCommentRecord.sid: return new NameCommentRecord(in); case NoteRecord.sid: return new NoteRecord(in); case NumberRecord.sid: return new NumberRecord(in); case ObjRecord.sid: return new ObjRecord(in);
/** * Creates the low level <code>NoteRecord</code> * which holds the comment attributes. */ private NoteRecord createNoteRecord( HSSFComment shape, int shapeId ) { NoteRecord note = new NoteRecord(); note.setColumn(shape.getColumn()); note.setRow(shape.getRow()); note.setFlags(shape.isVisible() ? NoteRecord.NOTE_VISIBLE : NoteRecord.NOTE_HIDDEN); note.setShapeId(shapeId); note.setAuthor(shape.getAuthor() == null ? "" : shape.getAuthor()); return note; }
/** * Creates the low level <code>NoteRecord</code> * which holds the comment attributes. */ private NoteRecord createNoteRecord( HSSFComment shape, int shapeId ) { NoteRecord note = new NoteRecord(); note.setColumn(shape.getColumn()); note.setRow(shape.getRow()); note.setFlags(shape.isVisible() ? NoteRecord.NOTE_VISIBLE : NoteRecord.NOTE_HIDDEN); note.setShapeId(shapeId); note.setAuthor(shape.getAuthor() == null ? "" : shape.getAuthor()); return note; }
case NameRecord.sid: return new NameRecord(in); case NameCommentRecord.sid: return new NameCommentRecord(in); case NoteRecord.sid: return new NoteRecord(in); case NumberRecord.sid: return new NumberRecord(in); case ObjRecord.sid: return new ObjRecord(in);
case NameRecord.sid: return new NameRecord(in); case NameCommentRecord.sid: return new NameCommentRecord(in); case NoteRecord.sid: return new NoteRecord(in); case NumberRecord.sid: return new NumberRecord(in); case ObjRecord.sid: return new ObjRecord(in);
case NameRecord.sid: return new NameRecord(in); case NameCommentRecord.sid: return new NameCommentRecord(in); case NoteRecord.sid: return new NoteRecord(in); case NumberRecord.sid: return new NumberRecord(in); case ObjRecord.sid: return new ObjRecord(in);