public class WMFRecordStore extends AbstractWMFReader
| Modifier and Type | Field and Description |
|---|---|
protected int |
numRecords |
protected List |
records |
protected float |
vpX |
protected float |
vpY |
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 and Description |
|---|
WMFRecordStore() |
| Modifier and Type | Method and Description |
|---|---|
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
|
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, setReadingprotected int numRecords
protected float vpX
protected float vpY
protected List records
public void reset()
reset in class AbstractWMFReaderprotected boolean readRecords(DataInputStream is) throws IOException
readRecords in class AbstractWMFReaderIOExceptionWMFConstantspublic 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)
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.