org.apache.batik.transcoder.wmf.tosvg
Class WMFRecordStore

java.lang.Object
  |
  +--org.apache.batik.transcoder.wmf.tosvg.RecordStore
        |
        +--org.apache.batik.transcoder.wmf.tosvg.WMFRecordStore
All Implemented Interfaces:
WMFConstants

public class WMFRecordStore
extends RecordStore
implements WMFConstants

Reads a WMF file, including an Aldus Placable Metafile Header.


Fields inherited from class org.apache.batik.transcoder.wmf.tosvg.RecordStore
bReading, lastObjectIdx, numObjects, numRecords, objectVector, records, vpH, vpW, vpX, vpY
 
Fields inherited from interface org.apache.batik.transcoder.wmf.WMFConstants
META_ALDUS_APM, META_ANIMATEPALETTE, META_ARC, META_BITBLT, META_CHORD, META_CREATEBITMAP, META_CREATEBITMAPINDIRECT, META_CREATEBRUSH, META_CREATEBRUSHINDIRECT, META_CREATEFONTINDIRECT, META_CREATEPALETTE, META_CREATEPATTERNBRUSH, META_CREATEPENINDIRECT, META_CREATEREGION, META_DELETEOBJECT, META_DIBBITBLT, META_DIBCREATEPATTERNBRUSH, META_DIBSTRETCHBLT, META_DRAWTEXT, META_ELLIPSE, META_ESCAPE, META_EXCLUDECLIPRECT, META_EXTFLOODFILL, META_EXTTEXTOUT, META_FILLREGION, META_FLOODFILL, META_FRAMEREGION, META_INTERSECTCLIPRECT, META_INVERTREGION, META_LINETO, META_MOVETO, META_OBJ_ANSI_FIXED_FONT, META_OBJ_ANSI_VAR_FONT, META_OBJ_BLACK_BRUSH, META_OBJ_BLACK_PEN, META_OBJ_DEFAULT_PALETTE, META_OBJ_DEVICE_DEFAULT_FONT, META_OBJ_DKGRAY_BRUSH, META_OBJ_GRAY_BRUSH, META_OBJ_HOLLOW_BRUSH, META_OBJ_LTGRAY_BRUSH, META_OBJ_NULL_BRUSH, META_OBJ_NULL_PEN, META_OBJ_OEM_FIXED_FONT, META_OBJ_SYSTEM_FIXED_FONT, META_OBJ_SYSTEM_FONT, META_OBJ_WHITE_BRUSH, META_OBJ_WHITE_PEN, META_OFFSETCLIPRGN, META_OFFSETVIEWPORTORG, META_OFFSETWINDOWORG, META_PAINTREGION, META_PATBLT, META_PIE, META_POLYBEZIER16, META_POLYGON, META_POLYLINE, META_POLYPOLYGON, META_REALIZEPALETTE, META_RECTANGLE, META_RESIZEPALETTE, META_RESTOREDC, META_ROUNDRECT, META_SAVEDC, META_SCALEVIEWPORTEXT, META_SCALEWINDOWEXT, META_SELECTCLIPREGION, META_SELECTOBJECT, META_SELECTPALETTE, META_SETBKCOLOR, META_SETBKMODE, META_SETDIBTODEV, META_SETLAYOUT, META_SETMAPMODE, META_SETMAPPERFLAGS, META_SETPALENTRIES, META_SETPIXEL, META_SETPOLYFILLMODE, META_SETRELABS, META_SETROP2, META_SETSTRETCHBLTMODE, META_SETTEXTALIGN, META_SETTEXTCHAREXTRA, META_SETTEXTCOLOR, META_SETTEXTJUSTIFICATION, META_SETVIEWPORTEXT, META_SETVIEWPORTORG, META_SETWINDOWEXT, META_SETWINDOWORG, META_SETWINDOWORG_EX, META_STRETCHBLT, META_STRETCHDIB, META_TEXTOUT
 
Constructor Summary
WMFRecordStore()
           
 
Method Summary
 void addObject(int type, java.lang.Object obj)
          Adds a GdiObject to the internal handle table.
 boolean read(java.io.DataInputStream is)
          Reads the WMF file from the specified Stream.
 
Methods inherited from class org.apache.batik.transcoder.wmf.tosvg.RecordStore
addObjectAt, getNumObjects, getNumRecords, getObject, getRecord, getUrl, getVpH, getVpW, getVpX, getVpY, reset, setUrl, setVpH, setVpW, setVpX, setVpY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMFRecordStore

public WMFRecordStore()
Method Detail

read

public boolean read(java.io.DataInputStream is)
             throws java.io.IOException
Reads the WMF file from the specified Stream.
Overrides:
read in class RecordStore

addObject

public void addObject(int type,
                      java.lang.Object obj)
Description copied from class: RecordStore
Adds a GdiObject to the internal handle table. Adds the object at the next free location. This function should not normally be called by an application.
Overrides:
addObject in class RecordStore


Copyright © 2001 Apache Software Foundation. All Rights Reserved.