|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.transcoder.wmf.tosvg.AbstractWMFReader
org.apache.batik.transcoder.wmf.tosvg.WMFRecordStore
public class WMFRecordStore
Reads a WMF file, including an Aldus Placable Metafile Header.
Field Summary | |
---|---|
protected int |
numRecords
|
protected List |
records
|
protected float |
vpX
|
protected float |
vpY
|
Fields inherited from class org.apache.batik.transcoder.wmf.tosvg.AbstractWMFReader |
---|
bottom, bReading, height, inch, isAldus, isotropic, lastObjectIdx, left, MM_PER_PIXEL, mtHeaderSize, mtMaxRecord, mtNoObjects, mtNoParameters, mtSize, mtType, mtVersion, numObjects, objectVector, PIXEL_PER_INCH, right, scaleX, scaleXY, scaleY, top, vpH, vpW, width, windowHeight, windowWidth, xSign, ySign |
Constructor Summary | |
---|---|
WMFRecordStore()
|
Method Summary | |
---|---|
int |
getNumRecords()
Returns a number of records in the image |
MetaRecord |
getRecord(int idx)
Returns a meta record. |
URL |
getUrl()
Returns the current URL |
float |
getVpX()
Returns the viewport x origin |
float |
getVpY()
Returns the viewport y origin |
protected boolean |
readRecords(DataInputStream is)
Reads the WMF file from the specified Stream. |
void |
reset()
Resets the internal storage and viewport coordinates. |
void |
setUrl(URL newUrl)
Sets the current URL |
void |
setVpX(float newValue)
Sets the viewport x origin |
void |
setVpY(float newValue)
Sets the viewport y origin |
Methods inherited from class org.apache.batik.transcoder.wmf.tosvg.AbstractWMFReader |
---|
addObject, addObjectAt, getBottomUnits, getHeightPixels, getHeightUnits, getLeftUnits, getMetaFileUnitsPerInch, getNumObjects, getObject, getPixelsPerUnit, getRectangleInch, getRectanglePixel, getRectangleUnits, getRightUnits, getTopUnits, getUnitsToPixels, getViewportHeightInch, getViewportHeightUnits, getViewportWidthInch, getViewportWidthUnits, getVpH, getVpHFactor, getVpW, getVpWFactor, getWidthPixels, getWidthUnits, getXSign, getYSign, isReading, read, readInt, readShort, setReading |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int numRecords
protected float vpX
protected float vpY
protected List records
Constructor Detail |
---|
public WMFRecordStore()
Method Detail |
---|
public void reset()
reset
in class AbstractWMFReader
protected boolean readRecords(DataInputStream is) throws IOException
readRecords
in class AbstractWMFReader
IOException
WMFConstants
public URL getUrl()
public void setUrl(URL newUrl)
public MetaRecord getRecord(int idx)
public int getNumRecords()
public float getVpX()
public float getVpY()
public void setVpX(float newValue)
public void setVpY(float newValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |