| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <TITLE> |
| AbstractWMFReader (Apache Batik Javadoc) |
| </TITLE> |
| |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="AbstractWMFReader (Apache Batik Javadoc)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbstractWMFReader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFPainter.html" title="class in org.apache.batik.transcoder.wmf.tosvg"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/GdiObject.html" title="class in org.apache.batik.transcoder.wmf.tosvg"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AbstractWMFReader.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.batik.transcoder.wmf.tosvg</FONT> |
| <BR> |
| Class AbstractWMFReader</H2> |
| <PRE> |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.batik.transcoder.wmf.tosvg.AbstractWMFReader</B> |
| </PRE> |
| <DL> |
| <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/WMFHeaderProperties.html" title="class in org.apache.batik.transcoder.wmf.tosvg">WMFHeaderProperties</A>, <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/WMFRecordStore.html" title="class in org.apache.batik.transcoder.wmf.tosvg">WMFRecordStore</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public abstract class <B>AbstractWMFReader</B><DT>extends <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL> |
| </PRE> |
| |
| <P> |
| This class provides a general framework to read WMF Metafiles. |
| <P> |
| |
| <P> |
| <HR> |
| |
| <P> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#bottom">bottom</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#bReading">bReading</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#height">height</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#inch">inch</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#isAldus">isAldus</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#isotropic">isotropic</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#lastObjectIdx">lastObjectIdx</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#left">left</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static float</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#MM_PER_PIXEL">MM_PER_PIXEL</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtHeaderSize">mtHeaderSize</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtMaxRecord">mtMaxRecord</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtNoObjects">mtNoObjects</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtNoParameters">mtNoParameters</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtSize">mtSize</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtType">mtType</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtVersion">mtVersion</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#numObjects">numObjects</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#objectVector">objectVector</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static float</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#PIXEL_PER_INCH">PIXEL_PER_INCH</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#right">right</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected float</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#scaleX">scaleX</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected float</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#scaleXY">scaleXY</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected float</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#scaleY">scaleY</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#top">top</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#vpH">vpH</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#vpW">vpW</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#vpX">vpX</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#vpY">vpY</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#width">width</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#windowHeight">windowHeight</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#windowWidth">windowWidth</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#xSign">xSign</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#ySign">ySign</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#AbstractWMFReader()">AbstractWMFReader</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#AbstractWMFReader(int, int)">AbstractWMFReader</A></B>(int width, |
| int height)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#addObject(int, java.lang.Object)">addObject</A></B>(int type, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#addObjectAt(int, java.lang.Object, int)">addObjectAt</A></B>(int type, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| int idx)</CODE> |
| |
| <BR> |
| Adds a GdiObject to the internal handle table.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getBottomUnits()">getBottomUnits</A></B>()</CODE> |
| |
| <BR> |
| get the bottom units in the WMF Metafile.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getHeightPixels()">getHeightPixels</A></B>()</CODE> |
| |
| <BR> |
| get the height of the WMF Metafile, in pixels.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getHeightUnits()">getHeightUnits</A></B>()</CODE> |
| |
| <BR> |
| get the height units in the WMF Metafile.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getLeftUnits()">getLeftUnits</A></B>()</CODE> |
| |
| <BR> |
| get the left units in the WMF Metafile.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getMetaFileUnitsPerInch()">getMetaFileUnitsPerInch</A></B>()</CODE> |
| |
| <BR> |
| get the number of Metafile units per inch in the WMF Metafile.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getNumObjects()">getNumObjects</A></B>()</CODE> |
| |
| <BR> |
| Returns the number of GdiObjects in the handle table</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/GdiObject.html" title="class in org.apache.batik.transcoder.wmf.tosvg">GdiObject</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getObject(int)">getObject</A></B>(int idx)</CODE> |
| |
| <BR> |
| Returns a GdiObject from the handle table</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> float</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getPixelsPerUnit()">getPixelsPerUnit</A></B>()</CODE> |
| |
| <BR> |
| Return the number of pixels per unit.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/geom/Rectangle2D.html?is-external=true" title="class or interface in java.awt.geom">Rectangle2D</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getRectangleInch()">getRectangleInch</A></B>()</CODE> |
| |
| <BR> |
| get the Rectangle defining the viewport of the WMF Metafile, in inchs.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/geom/Rectangle2D.html?is-external=true" title="class or interface in java.awt.geom">Rectangle2D</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getRectanglePixel()">getRectanglePixel</A></B>()</CODE> |
| |
| <BR> |
| get the Rectangle defining the viewport of the WMF Metafile, in pixels.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getRectangleUnits()">getRectangleUnits</A></B>()</CODE> |
| |
| <BR> |
| get the Rectangle defining the viewport of the WMF Metafile, in Metafile units.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getRightUnits()">getRightUnits</A></B>()</CODE> |
| |
| <BR> |
| get the right units in the WMF Metafile.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getTopUnits()">getTopUnits</A></B>()</CODE> |
| |
| <BR> |
| get the top units in the WMF Metafile.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> float</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getUnitsToPixels()">getUnitsToPixels</A></B>()</CODE> |
| |
| <BR> |
| get the factor to transform Metafile dimensions in pixels</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> float</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getViewportHeightInch()">getViewportHeightInch</A></B>()</CODE> |
| |
| <BR> |
| Returns the viewport height, in inches.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> float</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getViewportHeightUnits()">getViewportHeightUnits</A></B>()</CODE> |
| |
| <BR> |
| Returns the viewport height, in Metafile Units</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> float</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getViewportWidthInch()">getViewportWidthInch</A></B>()</CODE> |
| |
| <BR> |
| Returns the viewport width, in inches.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> float</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getViewportWidthUnits()">getViewportWidthUnits</A></B>()</CODE> |
| |
| <BR> |
| Returns the viewport width, in Metafile Units</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getVpH()">getVpH</A></B>()</CODE> |
| |
| <BR> |
| Returns the viewport height, in pixels.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> float</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getVpHFactor()">getVpHFactor</A></B>()</CODE> |
| |
| <BR> |
| get the factor to transform logical units height in pixels</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getVpW()">getVpW</A></B>()</CODE> |
| |
| <BR> |
| Returns the viewport width, in pixels.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> float</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getVpWFactor()">getVpWFactor</A></B>()</CODE> |
| |
| <BR> |
| get the factor to transform logical units width in pixels</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getWidthPixels()">getWidthPixels</A></B>()</CODE> |
| |
| <BR> |
| get the width of the WMF Metafile, in pixels.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getWidthUnits()">getWidthUnits</A></B>()</CODE> |
| |
| <BR> |
| get the width units in the WMF Metafile.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getXSign()">getXSign</A></B>()</CODE> |
| |
| <BR> |
| Return the sign of X coordinates.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getYSign()">getYSign</A></B>()</CODE> |
| |
| <BR> |
| Return the sign of Y coordinates.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#isReading()">isReading</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#read(java.io.DataInputStream)">read</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/DataInputStream.html?is-external=true" title="class or interface in java.io">DataInputStream</A> is)</CODE> |
| |
| <BR> |
| Reads the WMF file from the specified Stream, read it and set the following |
| properties: |
| |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtType"><CODE>mtType</CODE></A> : File type (0 : memory, 1 : disk) |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtHeaderSize"><CODE>mtHeaderSize</CODE></A> : Size of header in WORDS (always 9) |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtVersion"><CODE>mtVersion</CODE></A> : Version of Microsoft Windows used |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtSize"><CODE>mtSize</CODE></A> : Total size of the metafile in WORDs |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtNoObjects"><CODE>mtNoObjects</CODE></A> : Number of objects in the file |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtMaxRecord"><CODE>mtMaxRecord</CODE></A> : The size of largest record in WORDs |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtNoParameters"><CODE>mtNoParameters</CODE></A> : Not Used (always 0) |
| |
| If the file contains an APM |
| (aldus placeable header), this method read these additionnal properties : |
| |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#left"><CODE>left</CODE></A> : Left coordinate in metafile units |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#right"><CODE>right</CODE></A> : Right coordinate in metafile units |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#top"><CODE>top</CODE></A> : Top coordinate in metafile units |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#bottom"><CODE>bottom</CODE></A> : Bottom coordinate in metafile units |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#inch"><CODE>inch</CODE></A> : Number of metafile units per inch |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#readInt(java.io.DataInputStream)">readInt</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/DataInputStream.html?is-external=true" title="class or interface in java.io">DataInputStream</A> is)</CODE> |
| |
| <BR> |
| Read the next int (4 bytes) value in the DataInputStream.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected abstract boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#readRecords(java.io.DataInputStream)">readRecords</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/DataInputStream.html?is-external=true" title="class or interface in java.io">DataInputStream</A> is)</CODE> |
| |
| <BR> |
| Read this InputStream records.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected short</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#readShort(java.io.DataInputStream)">readShort</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/DataInputStream.html?is-external=true" title="class or interface in java.io">DataInputStream</A> is)</CODE> |
| |
| <BR> |
| Read the next short (2 bytes) value in the DataInputStream.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>abstract void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#reset()">reset</A></B>()</CODE> |
| |
| <BR> |
| resets this WMFReader.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#setReading(boolean)">setReading</A></B>(boolean state)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="PIXEL_PER_INCH"><!-- --></A><H3> |
| PIXEL_PER_INCH</H3> |
| <PRE> |
| public static final float <B>PIXEL_PER_INCH</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="MM_PER_PIXEL"><!-- --></A><H3> |
| MM_PER_PIXEL</H3> |
| <PRE> |
| public static final float <B>MM_PER_PIXEL</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="left"><!-- --></A><H3> |
| left</H3> |
| <PRE> |
| protected int <B>left</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="right"><!-- --></A><H3> |
| right</H3> |
| <PRE> |
| protected int <B>right</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="top"><!-- --></A><H3> |
| top</H3> |
| <PRE> |
| protected int <B>top</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="bottom"><!-- --></A><H3> |
| bottom</H3> |
| <PRE> |
| protected int <B>bottom</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="width"><!-- --></A><H3> |
| width</H3> |
| <PRE> |
| protected int <B>width</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="height"><!-- --></A><H3> |
| height</H3> |
| <PRE> |
| protected int <B>height</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="inch"><!-- --></A><H3> |
| inch</H3> |
| <PRE> |
| protected int <B>inch</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="scaleX"><!-- --></A><H3> |
| scaleX</H3> |
| <PRE> |
| protected float <B>scaleX</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="scaleY"><!-- --></A><H3> |
| scaleY</H3> |
| <PRE> |
| protected float <B>scaleY</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="scaleXY"><!-- --></A><H3> |
| scaleXY</H3> |
| <PRE> |
| protected float <B>scaleXY</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="vpW"><!-- --></A><H3> |
| vpW</H3> |
| <PRE> |
| protected int <B>vpW</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="vpH"><!-- --></A><H3> |
| vpH</H3> |
| <PRE> |
| protected int <B>vpH</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="vpX"><!-- --></A><H3> |
| vpX</H3> |
| <PRE> |
| protected int <B>vpX</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="vpY"><!-- --></A><H3> |
| vpY</H3> |
| <PRE> |
| protected int <B>vpY</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="xSign"><!-- --></A><H3> |
| xSign</H3> |
| <PRE> |
| protected int <B>xSign</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ySign"><!-- --></A><H3> |
| ySign</H3> |
| <PRE> |
| protected int <B>ySign</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="bReading"><!-- --></A><H3> |
| bReading</H3> |
| <PRE> |
| protected volatile boolean <B>bReading</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="isAldus"><!-- --></A><H3> |
| isAldus</H3> |
| <PRE> |
| protected boolean <B>isAldus</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="isotropic"><!-- --></A><H3> |
| isotropic</H3> |
| <PRE> |
| protected boolean <B>isotropic</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="mtType"><!-- --></A><H3> |
| mtType</H3> |
| <PRE> |
| protected int <B>mtType</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="mtHeaderSize"><!-- --></A><H3> |
| mtHeaderSize</H3> |
| <PRE> |
| protected int <B>mtHeaderSize</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="mtVersion"><!-- --></A><H3> |
| mtVersion</H3> |
| <PRE> |
| protected int <B>mtVersion</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="mtSize"><!-- --></A><H3> |
| mtSize</H3> |
| <PRE> |
| protected int <B>mtSize</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="mtNoObjects"><!-- --></A><H3> |
| mtNoObjects</H3> |
| <PRE> |
| protected int <B>mtNoObjects</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="mtMaxRecord"><!-- --></A><H3> |
| mtMaxRecord</H3> |
| <PRE> |
| protected int <B>mtMaxRecord</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="mtNoParameters"><!-- --></A><H3> |
| mtNoParameters</H3> |
| <PRE> |
| protected int <B>mtNoParameters</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="windowWidth"><!-- --></A><H3> |
| windowWidth</H3> |
| <PRE> |
| protected int <B>windowWidth</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="windowHeight"><!-- --></A><H3> |
| windowHeight</H3> |
| <PRE> |
| protected int <B>windowHeight</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="numObjects"><!-- --></A><H3> |
| numObjects</H3> |
| <PRE> |
| protected int <B>numObjects</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="objectVector"><!-- --></A><H3> |
| objectVector</H3> |
| <PRE> |
| protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> <B>objectVector</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="lastObjectIdx"><!-- --></A><H3> |
| lastObjectIdx</H3> |
| <PRE> |
| public int <B>lastObjectIdx</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="AbstractWMFReader()"><!-- --></A><H3> |
| AbstractWMFReader</H3> |
| <PRE> |
| public <B>AbstractWMFReader</B>()</PRE> |
| <DL> |
| </DL> |
| <HR> |
| |
| <A NAME="AbstractWMFReader(int, int)"><!-- --></A><H3> |
| AbstractWMFReader</H3> |
| <PRE> |
| public <B>AbstractWMFReader</B>(int width, |
| int height)</PRE> |
| <DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="readShort(java.io.DataInputStream)"><!-- --></A><H3> |
| readShort</H3> |
| <PRE> |
| protected short <B>readShort</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/DataInputStream.html?is-external=true" title="class or interface in java.io">DataInputStream</A> is) |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
| <DL> |
| <DD>Read the next short (2 bytes) value in the DataInputStream. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="readInt(java.io.DataInputStream)"><!-- --></A><H3> |
| readInt</H3> |
| <PRE> |
| protected int <B>readInt</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/DataInputStream.html?is-external=true" title="class or interface in java.io">DataInputStream</A> is) |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
| <DL> |
| <DD>Read the next int (4 bytes) value in the DataInputStream. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getViewportWidthUnits()"><!-- --></A><H3> |
| getViewportWidthUnits</H3> |
| <PRE> |
| public float <B>getViewportWidthUnits</B>()</PRE> |
| <DL> |
| <DD>Returns the viewport width, in Metafile Units |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getViewportHeightUnits()"><!-- --></A><H3> |
| getViewportHeightUnits</H3> |
| <PRE> |
| public float <B>getViewportHeightUnits</B>()</PRE> |
| <DL> |
| <DD>Returns the viewport height, in Metafile Units |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getViewportWidthInch()"><!-- --></A><H3> |
| getViewportWidthInch</H3> |
| <PRE> |
| public float <B>getViewportWidthInch</B>()</PRE> |
| <DL> |
| <DD>Returns the viewport width, in inches. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getViewportHeightInch()"><!-- --></A><H3> |
| getViewportHeightInch</H3> |
| <PRE> |
| public float <B>getViewportHeightInch</B>()</PRE> |
| <DL> |
| <DD>Returns the viewport height, in inches. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPixelsPerUnit()"><!-- --></A><H3> |
| getPixelsPerUnit</H3> |
| <PRE> |
| public float <B>getPixelsPerUnit</B>()</PRE> |
| <DL> |
| <DD>Return the number of pixels per unit. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getVpW()"><!-- --></A><H3> |
| getVpW</H3> |
| <PRE> |
| public int <B>getVpW</B>()</PRE> |
| <DL> |
| <DD>Returns the viewport width, in pixels. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getVpH()"><!-- --></A><H3> |
| getVpH</H3> |
| <PRE> |
| public int <B>getVpH</B>()</PRE> |
| <DL> |
| <DD>Returns the viewport height, in pixels. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLeftUnits()"><!-- --></A><H3> |
| getLeftUnits</H3> |
| <PRE> |
| public int <B>getLeftUnits</B>()</PRE> |
| <DL> |
| <DD>get the left units in the WMF Metafile. This value is given |
| in the Aldus Placable Metafile. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRightUnits()"><!-- --></A><H3> |
| getRightUnits</H3> |
| <PRE> |
| public int <B>getRightUnits</B>()</PRE> |
| <DL> |
| <DD>get the right units in the WMF Metafile. This value is given |
| in the Aldus Placable Header. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTopUnits()"><!-- --></A><H3> |
| getTopUnits</H3> |
| <PRE> |
| public int <B>getTopUnits</B>()</PRE> |
| <DL> |
| <DD>get the top units in the WMF Metafile. This value is given |
| in the Aldus Placable Header. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getWidthUnits()"><!-- --></A><H3> |
| getWidthUnits</H3> |
| <PRE> |
| public int <B>getWidthUnits</B>()</PRE> |
| <DL> |
| <DD>get the width units in the WMF Metafile. This value is given |
| in the Aldus Placable Header. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getHeightUnits()"><!-- --></A><H3> |
| getHeightUnits</H3> |
| <PRE> |
| public int <B>getHeightUnits</B>()</PRE> |
| <DL> |
| <DD>get the height units in the WMF Metafile. This value is given |
| in the Aldus Placable Header. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getBottomUnits()"><!-- --></A><H3> |
| getBottomUnits</H3> |
| <PRE> |
| public int <B>getBottomUnits</B>()</PRE> |
| <DL> |
| <DD>get the bottom units in the WMF Metafile. This value is given |
| in the Aldus Placable Header. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMetaFileUnitsPerInch()"><!-- --></A><H3> |
| getMetaFileUnitsPerInch</H3> |
| <PRE> |
| public int <B>getMetaFileUnitsPerInch</B>()</PRE> |
| <DL> |
| <DD>get the number of Metafile units per inch in the WMF Metafile. |
| This value is given in the Aldus Placable Header. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRectangleUnits()"><!-- --></A><H3> |
| getRectangleUnits</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> <B>getRectangleUnits</B>()</PRE> |
| <DL> |
| <DD>get the Rectangle defining the viewport of the WMF Metafile, in Metafile units. |
| This viewport is defined in the Aldus Placable Header, by its left, top, bottom, right |
| components. |
| <P> |
| <DD><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getRightUnits()"><CODE>getRightUnits()</CODE></A>, |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getLeftUnits()"><CODE>getLeftUnits()</CODE></A>, |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getTopUnits()"><CODE>getTopUnits()</CODE></A>, |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#getBottomUnits()"><CODE>getBottomUnits()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRectanglePixel()"><!-- --></A><H3> |
| getRectanglePixel</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/geom/Rectangle2D.html?is-external=true" title="class or interface in java.awt.geom">Rectangle2D</A> <B>getRectanglePixel</B>()</PRE> |
| <DL> |
| <DD>get the Rectangle defining the viewport of the WMF Metafile, in pixels. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRectangleInch()"><!-- --></A><H3> |
| getRectangleInch</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/geom/Rectangle2D.html?is-external=true" title="class or interface in java.awt.geom">Rectangle2D</A> <B>getRectangleInch</B>()</PRE> |
| <DL> |
| <DD>get the Rectangle defining the viewport of the WMF Metafile, in inchs. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getWidthPixels()"><!-- --></A><H3> |
| getWidthPixels</H3> |
| <PRE> |
| public int <B>getWidthPixels</B>()</PRE> |
| <DL> |
| <DD>get the width of the WMF Metafile, in pixels. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getUnitsToPixels()"><!-- --></A><H3> |
| getUnitsToPixels</H3> |
| <PRE> |
| public float <B>getUnitsToPixels</B>()</PRE> |
| <DL> |
| <DD>get the factor to transform Metafile dimensions in pixels |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getVpWFactor()"><!-- --></A><H3> |
| getVpWFactor</H3> |
| <PRE> |
| public float <B>getVpWFactor</B>()</PRE> |
| <DL> |
| <DD>get the factor to transform logical units width in pixels |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getVpHFactor()"><!-- --></A><H3> |
| getVpHFactor</H3> |
| <PRE> |
| public float <B>getVpHFactor</B>()</PRE> |
| <DL> |
| <DD>get the factor to transform logical units height in pixels |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getHeightPixels()"><!-- --></A><H3> |
| getHeightPixels</H3> |
| <PRE> |
| public int <B>getHeightPixels</B>()</PRE> |
| <DL> |
| <DD>get the height of the WMF Metafile, in pixels. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getXSign()"><!-- --></A><H3> |
| getXSign</H3> |
| <PRE> |
| public int <B>getXSign</B>()</PRE> |
| <DL> |
| <DD>Return the sign of X coordinates. It is equal to 1 by default, but can be -1 if |
| all X coordinates are inversed. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getYSign()"><!-- --></A><H3> |
| getYSign</H3> |
| <PRE> |
| public int <B>getYSign</B>()</PRE> |
| <DL> |
| <DD>Return the sign of Y coordinates. It is equal to 1 by default, but can be -1 if |
| all Y coordinates are inversed. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setReading(boolean)"><!-- --></A><H3> |
| setReading</H3> |
| <PRE> |
| protected void <B>setReading</B>(boolean state)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isReading()"><!-- --></A><H3> |
| isReading</H3> |
| <PRE> |
| public boolean <B>isReading</B>()</PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>true if the reader is currently reading an InputStream.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="reset()"><!-- --></A><H3> |
| reset</H3> |
| <PRE> |
| public abstract void <B>reset</B>()</PRE> |
| <DL> |
| <DD>resets this WMFReader. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="readRecords(java.io.DataInputStream)"><!-- --></A><H3> |
| readRecords</H3> |
| <PRE> |
| protected abstract boolean <B>readRecords</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/DataInputStream.html?is-external=true" title="class or interface in java.io">DataInputStream</A> is) |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
| <DL> |
| <DD>Read this InputStream records. The aldus placeable header have already been |
| read (see <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#read(java.io.DataInputStream)"><CODE>read(DataInputStream)</CODE></A>). The behavior of this method is left |
| to the subclass. |
| <p>Each Metafile record is composed of : |
| <ul> |
| <li>the size of the Record in int (32 bits)</li> |
| <li>the function ID for the Record on a short word (16 bits)</li> |
| <li>the function parameters, according to the WMF Metafile specification. |
| the remaining size in short words (16 bits) for the parameters is equal to |
| the total size for the record minus 3 short words (= 16 + 32 bits)</li> |
| </ul> |
| </p> |
| <p>Example :</p> |
| <pre>while (functionId > 0) { |
| recSize = readInt( is ); |
| // Subtract size in 16-bit words of recSize and functionId; |
| recSize -= 3; |
| functionId = readShort( is ); |
| if ( functionId <= 0 ) |
| break; |
| switch ( functionId ) { |
| case WMFConstants.<a WMF function ID> { |
| do something when this function is encountered |
| } |
| break; |
| |
| default: |
| for ( int j = 0; j < recSize; j++ ) |
| readShort(is); |
| break; |
| </pre> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../../../org/apache/batik/transcoder/wmf/WMFConstants.html" title="interface in org.apache.batik.transcoder.wmf"><CODE>WMFConstants</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="read(java.io.DataInputStream)"><!-- --></A><H3> |
| read</H3> |
| <PRE> |
| public void <B>read</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/DataInputStream.html?is-external=true" title="class or interface in java.io">DataInputStream</A> is) |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
| <DL> |
| <DD>Reads the WMF file from the specified Stream, read it and set the following |
| properties: |
| <ul> |
| <li><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtType"><CODE>mtType</CODE></A> : File type (0 : memory, 1 : disk)</li> |
| <li><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtHeaderSize"><CODE>mtHeaderSize</CODE></A> : Size of header in WORDS (always 9)</li> |
| <li><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtVersion"><CODE>mtVersion</CODE></A> : Version of Microsoft Windows used</li> |
| <li><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtSize"><CODE>mtSize</CODE></A> : Total size of the metafile in WORDs</li> |
| <li><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtNoObjects"><CODE>mtNoObjects</CODE></A> : Number of objects in the file</li> |
| <li><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtMaxRecord"><CODE>mtMaxRecord</CODE></A> : The size of largest record in WORDs</li> |
| <li><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#mtNoParameters"><CODE>mtNoParameters</CODE></A> : Not Used (always 0)</li> |
| </ul> |
| If the file contains an APM |
| (aldus placeable header), this method read these additionnal properties : |
| <ul> |
| <li><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#left"><CODE>left</CODE></A> : Left coordinate in metafile units</li> |
| <li><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#right"><CODE>right</CODE></A> : Right coordinate in metafile units</li> |
| <li><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#top"><CODE>top</CODE></A> : Top coordinate in metafile units</li> |
| <li><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#bottom"><CODE>bottom</CODE></A> : Bottom coordinate in metafile units</li> |
| <li><A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#inch"><CODE>inch</CODE></A> : Number of metafile units per inch</li> |
| </ul> |
| <p>Then it calls the <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html#readRecords(java.io.DataInputStream)"><CODE>readRecords(DataInputStream)</CODE></A> abstract method, |
| whose behavior is left to the subclass</p>. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addObject(int, java.lang.Object)"><!-- --></A><H3> |
| addObject</H3> |
| <PRE> |
| public int <B>addObject</B>(int type, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addObjectAt(int, java.lang.Object, int)"><!-- --></A><H3> |
| addObjectAt</H3> |
| <PRE> |
| public int <B>addObjectAt</B>(int type, |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| int idx)</PRE> |
| <DL> |
| <DD>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. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the object index</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getObject(int)"><!-- --></A><H3> |
| getObject</H3> |
| <PRE> |
| public <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/GdiObject.html" title="class in org.apache.batik.transcoder.wmf.tosvg">GdiObject</A> <B>getObject</B>(int idx)</PRE> |
| <DL> |
| <DD>Returns a GdiObject from the handle table |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getNumObjects()"><!-- --></A><H3> |
| getNumObjects</H3> |
| <PRE> |
| public int <B>getNumObjects</B>()</PRE> |
| <DL> |
| <DD>Returns the number of GdiObjects in the handle table |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbstractWMFReader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/AbstractWMFPainter.html" title="class in org.apache.batik.transcoder.wmf.tosvg"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../org/apache/batik/transcoder/wmf/tosvg/GdiObject.html" title="class in org.apache.batik.transcoder.wmf.tosvg"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/apache/batik/transcoder/wmf/tosvg/AbstractWMFReader.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AbstractWMFReader.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2017 <a href='http://www.apache.org/'>Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |