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: RecordStore.java 1808001 2017-09-11 09:51:29Z ssteiner $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
Deprecated.int
Deprecated.protected int
Deprecated.protected int
Deprecated.protected Vector
Deprecated.protected Vector
Deprecated.private URL
Deprecated.protected int
Deprecated.protected int
Deprecated.protected int
Deprecated.protected int
Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Adds a GdiObject to the internal handle table.void
addObjectAt
(int type, Object obj, int idx) Deprecated.Adds a GdiObject to the internal handle table.int
Deprecated.Returns the number of GdiObjects in the handle tableint
Deprecated.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 URLint
getVpH()
Deprecated.Returns the viewport heightint
getVpW()
Deprecated.Returns the viewport widthint
getVpX()
Deprecated.Returns the viewport x originint
getVpY()
Deprecated.Returns the viewport y origin(package private) boolean
Deprecated.boolean
read
(DataInputStream is) Deprecated.Reads the Wmf file from the specified Stream.void
reset()
Deprecated.Resets the internal storage and viewport coordinates.(package private) void
setReading
(boolean state) Deprecated.void
Deprecated.Sets the current URLvoid
setVpH
(int newValue) Deprecated.Sets the viewport heightvoid
setVpW
(int newValue) Deprecated.Sets the viewport widthvoid
setVpX
(int newValue) Deprecated.Sets the viewport x originvoid
setVpY
(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
Deprecated.Returns the current URL -
setUrl
Deprecated.Sets the current URL -
getObject
Deprecated.Returns a GdiObject from the handle table -
getRecord
Deprecated.Returns a meta record. -
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
-