Class RecordStore
java.lang.Object
org.apache.batik.transcoder.wmf.tosvg.RecordStore
Deprecated.
jan '07 : this class is not used anywhere in Batik, it might be removed in the future.
Probably WMFRecordStore is what you need.
An object that stores the vector graphics records.
- Version:
- $Id$
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanDeprecated.intDeprecated.protected intDeprecated.protected intDeprecated.protected VectorDeprecated.protected VectorDeprecated.private URLDeprecated.protected intDeprecated.protected intDeprecated.protected intDeprecated.protected intDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Adds a GdiObject to the internal handle table.voidaddObjectAt(int type, Object obj, int idx) Deprecated.Adds a GdiObject to the internal handle table.intDeprecated.Returns the number of GdiObjects in the handle tableintDeprecated.Returns a number of records in the imagegetObject(int idx) Deprecated.Returns a GdiObject from the handle tablegetRecord(int idx) Deprecated.Returns a meta record.getUrl()Deprecated.Returns the current URLintgetVpH()Deprecated.Returns the viewport heightintgetVpW()Deprecated.Returns the viewport widthintgetVpX()Deprecated.Returns the viewport x originintgetVpY()Deprecated.Returns the viewport y origin(package private) booleanDeprecated.booleanread(DataInputStream is) Deprecated.Reads the Wmf file from the specified Stream.voidreset()Deprecated.Resets the internal storage and viewport coordinates.(package private) voidsetReading(boolean state) Deprecated.voidDeprecated.Sets the current URLvoidsetVpH(int newValue) Deprecated.Sets the viewport heightvoidsetVpW(int newValue) Deprecated.Sets the viewport widthvoidsetVpX(int newValue) Deprecated.Sets the viewport x originvoidsetVpY(int newValue) Deprecated.Sets the viewport y origin
-
Field Details
-
url
Deprecated. -
numRecords
protected transient int numRecordsDeprecated. -
numObjects
protected transient int numObjectsDeprecated. -
lastObjectIdx
public transient int lastObjectIdxDeprecated. -
vpX
protected transient int vpXDeprecated. -
vpY
protected transient int vpYDeprecated. -
vpW
protected transient int vpWDeprecated. -
vpH
protected transient int vpHDeprecated. -
records
Deprecated. -
objectVector
Deprecated. -
bReading
protected transient boolean bReadingDeprecated.
-
-
Constructor Details
-
RecordStore
public RecordStore()Deprecated.
-
-
Method Details
-
reset
public void reset()Deprecated.Resets the internal storage and viewport coordinates. -
setReading
void setReading(boolean state) Deprecated. -
isReading
boolean isReading()Deprecated. -
read
Deprecated.Reads the Wmf file from the specified Stream. A Wmf file can be produced using the GConvert utility found at http://www.asd.ie/Wmf.htm The Wmf format is slightly more compact than the original WMF format and in some cases may produce better handling of colours.- Throws:
IOException
-
addObject
Deprecated.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. -
addObjectAt
Deprecated.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. -
getUrl
-
setUrl
-
getObject
-
getRecord
-
getNumRecords
public int getNumRecords()Deprecated.Returns a number of records in the image -
getNumObjects
public int getNumObjects()Deprecated.Returns the number of GdiObjects in the handle table -
getVpX
public int getVpX()Deprecated.Returns the viewport x origin -
getVpY
public int getVpY()Deprecated.Returns the viewport y origin -
getVpW
public int getVpW()Deprecated.Returns the viewport width -
getVpH
public int getVpH()Deprecated.Returns the viewport height -
setVpX
public void setVpX(int newValue) Deprecated.Sets the viewport x origin -
setVpY
public void setVpY(int newValue) Deprecated.Sets the viewport y origin -
setVpW
public void setVpW(int newValue) Deprecated.Sets the viewport width -
setVpH
public void setVpH(int newValue) Deprecated.Sets the viewport height
-