public RecordStore(){ reset(); }
setReading( true ); reset(); setReading( false ); return true;
/** * Adds a GdiObject to the internal handle table. * Wmf files specify the index as given in EMF records such as * EMRCREATEPENINDIRECT whereas WMF files always use 0. * * This function should not normally be called by an application. */ public void addObjectAt( int type, Object obj, int idx ) { if (( idx == 0 ) || ( idx > numObjects )) { addObject( type, obj ); return; } lastObjectIdx = idx; for ( int i = 0; i < numObjects; i++ ) { GdiObject gdi = (GdiObject)objectVector.get( i ); if ( i == idx ) { gdi.Setup( type, obj ); break; } } }
setReading( true ); reset(); setReading( false ); return true;
/** * Adds a GdiObject to the internal handle table. * Wmf files specify the index as given in EMF records such as * EMRCREATEPENINDIRECT whereas WMF files always use 0. * * This function should not normally be called by an application. */ public void addObjectAt( int type, Object obj, int idx ) { if (( idx == 0 ) || ( idx > numObjects )) { addObject( type, obj ); return; } lastObjectIdx = idx; for ( int i = 0; i < numObjects; i++ ) { GdiObject gdi = (GdiObject)objectVector.get( i ); if ( i == idx ) { gdi.Setup( type, obj ); break; } } }
public RecordStore(){ reset(); }