blob: 1977117969c1790d2074db8da71d01367fd6cb05 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Tue Mar 28 22:15:33 CEST 2017 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Image (Simple ODF v0.8.2-incubating - http://odftoolkit)
</TITLE>
<META NAME="date" CONTENT="2017-03-28">
<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="Image (Simple ODF v0.8.2-incubating - http://odftoolkit)";
}
}
</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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Image.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/odftoolkit/simple/draw/FrameStyleHandler.html" title="class in org.odftoolkit.simple.draw"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/odftoolkit/simple/draw/Textbox.html" title="class in org.odftoolkit.simple.draw"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/odftoolkit/simple/draw/Image.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="Image.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<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.odftoolkit.simple.draw</FONT>
<BR>
Class Image</H2>
<PRE>
<A HREF="http://download.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 "><A HREF="../../../../org/odftoolkit/simple/Component.html" title="class in org.odftoolkit.simple">org.odftoolkit.simple.Component</A>
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.odftoolkit.simple.draw.Image</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>Image</B><DT>extends <A HREF="../../../../org/odftoolkit/simple/Component.html" title="class in org.odftoolkit.simple">Component</A></DL>
</PRE>
<P>
This class provides method to add/remove/get images.
<P>
<P>
<DL>
<DT><B>Since:</B></DT>
<DD>0.5.5</DD>
</DL>
<HR>
<P>
<!-- ========== 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>static&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#configureInsertedImage(org.odftoolkit.odfdom.dom.OdfSchemaDocument, org.odftoolkit.odfdom.dom.element.draw.DrawImageElement, java.lang.String, boolean)">configureInsertedImage</A></B>(<A HREF="http://incubator.apache.org/odftoolkit/odfdom/index.html/apidocs/org/odftoolkit/odfdom/dom/OdfSchemaDocument.html?is-external=true" title="class or interface in org.odftoolkit.odfdom.dom">OdfSchemaDocument</A>&nbsp;mOdfSchemaDoc,
<A HREF="http://incubator.apache.org/odftoolkit/odfdom/index.html/apidocs/org/odftoolkit/odfdom/dom/element/draw/DrawImageElement.html?is-external=true" title="class or interface in org.odftoolkit.odfdom.dom.element.draw">DrawImageElement</A>&nbsp;imageElement,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;packagePath,
boolean&nbsp;isResetSize)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#getDesciption()">getDesciption</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the description of this image</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/odftoolkit/simple/draw/Frame.html" title="class in org.odftoolkit.simple.draw">Frame</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#getFrame()">getFrame</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the frame who contains this image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/odftoolkit/simple/style/StyleTypeDefinitions.FrameHorizontalPosition.html" title="enum in org.odftoolkit.simple.style">StyleTypeDefinitions.FrameHorizontalPosition</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#getHorizontalPosition()">getHorizontalPosition</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the horizontal position</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#getHyperlink()">getHyperlink</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the URI of hypertext reference if exists, or else, return null.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#getImageInputStream()">getImageInputStream</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the image resource as an input stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../org/odftoolkit/simple/draw/Image.html" title="class in org.odftoolkit.simple.draw">Image</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#getInstanceof(org.odftoolkit.odfdom.dom.element.draw.DrawImageElement)">getInstanceof</A></B>(<A HREF="http://incubator.apache.org/odftoolkit/odfdom/index.html/apidocs/org/odftoolkit/odfdom/dom/element/draw/DrawImageElement.html?is-external=true" title="class or interface in org.odftoolkit.odfdom.dom.element.draw">DrawImageElement</A>&nbsp;imageElement)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a image instance by an instance of <code>DrawImageElement</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#getInternalPath()">getInternalPath</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the internal path within the package of the image resource as a
string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#getMediaTypeString()">getMediaTypeString</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the media type of the image resource</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#getName()">getName</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the name of this image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://incubator.apache.org/odftoolkit/odfdom/index.html/apidocs/org/odftoolkit/odfdom/dom/element/draw/DrawImageElement.html?is-external=true" title="class or interface in org.odftoolkit.odfdom.dom.element.draw">DrawImageElement</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#getOdfElement()">getOdfElement</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the instance of "draw:image" element</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/odftoolkit/simple/Document.html" title="class in org.odftoolkit.simple">Document</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#getOwnerDocument()">getOwnerDocument</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the owner document of this image</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#getPackagePath(org.odftoolkit.odfdom.dom.OdfSchemaDocument, java.lang.String)">getPackagePath</A></B>(<A HREF="http://incubator.apache.org/odftoolkit/odfdom/index.html/apidocs/org/odftoolkit/odfdom/dom/OdfSchemaDocument.html?is-external=true" title="class or interface in org.odftoolkit.odfdom.dom">OdfSchemaDocument</A>&nbsp;mOdfSchemaDoc,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;imageRef)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/odftoolkit/simple/draw/FrameRectangle.html" title="class in org.odftoolkit.simple.draw">FrameRectangle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#getRectangle()">getRectangle</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the rectangle used by this image</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/odftoolkit/simple/draw/FrameStyleHandler.html" title="class in org.odftoolkit.simple.draw">FrameStyleHandler</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#getStyleHandler()">getStyleHandler</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return style handler for this frame</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#getTitle()">getTitle</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the title of this image</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/odftoolkit/simple/style/StyleTypeDefinitions.FrameVerticalPosition.html" title="enum in org.odftoolkit.simple.style">StyleTypeDefinitions.FrameVerticalPosition</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#getVerticalPosition()">getVerticalPosition</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the vertical position</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;<A HREF="../../../../org/odftoolkit/simple/draw/Image.html" title="class in org.odftoolkit.simple.draw">Image</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#imageIterator(org.odftoolkit.simple.draw.FrameContainer)">imageIterator</A></B>(<A HREF="../../../../org/odftoolkit/simple/draw/FrameContainer.html" title="interface in org.odftoolkit.simple.draw">FrameContainer</A>&nbsp;container)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an iterator of image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../org/odftoolkit/simple/draw/Image.html" title="class in org.odftoolkit.simple.draw">Image</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#newImage(org.odftoolkit.simple.draw.FrameContainer, java.net.URI)">newImage</A></B>(<A HREF="../../../../org/odftoolkit/simple/draw/FrameContainer.html" title="interface in org.odftoolkit.simple.draw">FrameContainer</A>&nbsp;container,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</A>&nbsp;uri)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an image and append it at the end of a container element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../org/odftoolkit/simple/draw/Image.html" title="class in org.odftoolkit.simple.draw">Image</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#newImage(org.odftoolkit.simple.draw.Frame, java.net.URI)">newImage</A></B>(<A HREF="../../../../org/odftoolkit/simple/draw/Frame.html" title="class in org.odftoolkit.simple.draw">Frame</A>&nbsp;frame,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</A>&nbsp;uri)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an image and add it to a frame.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#remove()">remove</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the image from the document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#setDescription(java.lang.String)">setDescription</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;description)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the description of this image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#setHorizontalPosition(org.odftoolkit.simple.style.StyleTypeDefinitions.FrameHorizontalPosition)">setHorizontalPosition</A></B>(<A HREF="../../../../org/odftoolkit/simple/style/StyleTypeDefinitions.FrameHorizontalPosition.html" title="enum in org.odftoolkit.simple.style">StyleTypeDefinitions.FrameHorizontalPosition</A>&nbsp;horizontalPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the horizontal position</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#setHyperlink(java.net.URI)">setHyperlink</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</A>&nbsp;linkto)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a hypertext reference to this image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#setName(java.lang.String)">setName</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the name of this image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#setRectangle(org.odftoolkit.simple.draw.FrameRectangle)">setRectangle</A></B>(<A HREF="../../../../org/odftoolkit/simple/draw/FrameRectangle.html" title="class in org.odftoolkit.simple.draw">FrameRectangle</A>&nbsp;rectangle)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the rectangle used by this image</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#setTitle(java.lang.String)">setTitle</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;title)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the title of this image</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#setVerticalPosition(org.odftoolkit.simple.style.StyleTypeDefinitions.FrameVerticalPosition)">setVerticalPosition</A></B>(<A HREF="../../../../org/odftoolkit/simple/style/StyleTypeDefinitions.FrameVerticalPosition.html" title="enum in org.odftoolkit.simple.style">StyleTypeDefinitions.FrameVerticalPosition</A>&nbsp;verticalPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the vertical position</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/draw/Image.html#updateImage(java.net.URI)">updateImage</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</A>&nbsp;imageUri)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update the image file with another resource.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.odftoolkit.simple.Component"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.odftoolkit.simple.<A HREF="../../../../org/odftoolkit/simple/Component.html" title="class in org.odftoolkit.simple">Component</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/odftoolkit/simple/Component.html#getComponentByElement(org.odftoolkit.odfdom.pkg.OdfElement)">getComponentByElement</A>, <A HREF="../../../../org/odftoolkit/simple/Component.html#registerComponent(org.odftoolkit.simple.Component, org.odftoolkit.odfdom.pkg.OdfElement)">registerComponent</A>, <A HREF="../../../../org/odftoolkit/simple/Component.html#unregisterComponent(org.odftoolkit.odfdom.pkg.OdfElement)">unregisterComponent</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<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://download.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://download.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://download.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://download.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://download.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://download.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://download.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://download.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://download.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://download.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://download.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://download.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>
&nbsp;
<P>
<!-- ============ 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="getInstanceof(org.odftoolkit.odfdom.dom.element.draw.DrawImageElement)"><!-- --></A><H3>
getInstanceof</H3>
<PRE>
public static <A HREF="../../../../org/odftoolkit/simple/draw/Image.html" title="class in org.odftoolkit.simple.draw">Image</A> <B>getInstanceof</B>(<A HREF="http://incubator.apache.org/odftoolkit/odfdom/index.html/apidocs/org/odftoolkit/odfdom/dom/element/draw/DrawImageElement.html?is-external=true" title="class or interface in org.odftoolkit.odfdom.dom.element.draw">DrawImageElement</A>&nbsp;imageElement)</PRE>
<DL>
<DD>Get a image instance by an instance of <code>DrawImageElement</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>imageElement</CODE> - - the instance of DrawImageElement
<DT><B>Returns:</B><DD>an instance of image</DL>
</DD>
</DL>
<HR>
<A NAME="setHyperlink(java.net.URI)"><!-- --></A><H3>
setHyperlink</H3>
<PRE>
public void <B>setHyperlink</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</A>&nbsp;linkto)</PRE>
<DL>
<DD>Add a hypertext reference to this image.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>linkto</CODE> - the hyperlink<DT><B>Since:</B></DT>
<DD>0.6.5</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getHyperlink()"><!-- --></A><H3>
getHyperlink</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</A> <B>getHyperlink</B>()</PRE>
<DL>
<DD>Return the URI of hypertext reference if exists, or else, return null.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the URI of hyperlink if exists</DL>
</DD>
</DL>
<HR>
<A NAME="getOwnerDocument()"><!-- --></A><H3>
getOwnerDocument</H3>
<PRE>
public <A HREF="../../../../org/odftoolkit/simple/Document.html" title="class in org.odftoolkit.simple">Document</A> <B>getOwnerDocument</B>()</PRE>
<DL>
<DD>Get the owner document of this image
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/odftoolkit/simple/Component.html#getOwnerDocument()">getOwnerDocument</A></CODE> in class <CODE><A HREF="../../../../org/odftoolkit/simple/Component.html" title="class in org.odftoolkit.simple">Component</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the document who owns this image</DL>
</DD>
</DL>
<HR>
<A NAME="getStyleHandler()"><!-- --></A><H3>
getStyleHandler</H3>
<PRE>
public <A HREF="../../../../org/odftoolkit/simple/draw/FrameStyleHandler.html" title="class in org.odftoolkit.simple.draw">FrameStyleHandler</A> <B>getStyleHandler</B>()</PRE>
<DL>
<DD>Return style handler for this frame
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the style handler</DL>
</DD>
</DL>
<HR>
<A NAME="getOdfElement()"><!-- --></A><H3>
getOdfElement</H3>
<PRE>
public <A HREF="http://incubator.apache.org/odftoolkit/odfdom/index.html/apidocs/org/odftoolkit/odfdom/dom/element/draw/DrawImageElement.html?is-external=true" title="class or interface in org.odftoolkit.odfdom.dom.element.draw">DrawImageElement</A> <B>getOdfElement</B>()</PRE>
<DL>
<DD>Return the instance of "draw:image" element
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/odftoolkit/simple/Component.html#getOdfElement()">getOdfElement</A></CODE> in class <CODE><A HREF="../../../../org/odftoolkit/simple/Component.html" title="class in org.odftoolkit.simple">Component</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the instance of "draw:image" element</DL>
</DD>
</DL>
<HR>
<A NAME="getFrame()"><!-- --></A><H3>
getFrame</H3>
<PRE>
public <A HREF="../../../../org/odftoolkit/simple/draw/Frame.html" title="class in org.odftoolkit.simple.draw">Frame</A> <B>getFrame</B>()</PRE>
<DL>
<DD>Return the frame who contains this image.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>- the frame who contains this image</DL>
</DD>
</DL>
<HR>
<A NAME="newImage(org.odftoolkit.simple.draw.FrameContainer, java.net.URI)"><!-- --></A><H3>
newImage</H3>
<PRE>
public static <A HREF="../../../../org/odftoolkit/simple/draw/Image.html" title="class in org.odftoolkit.simple.draw">Image</A> <B>newImage</B>(<A HREF="../../../../org/odftoolkit/simple/draw/FrameContainer.html" title="interface in org.odftoolkit.simple.draw">FrameContainer</A>&nbsp;container,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</A>&nbsp;uri)</PRE>
<DL>
<DD>Create an image and append it at the end of a container element.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>container</CODE> - - the frame container element<DD><CODE>uri</CODE> - - the URI of the image
<DT><B>Returns:</B><DD>the instance of Image</DL>
</DD>
</DL>
<HR>
<A NAME="newImage(org.odftoolkit.simple.draw.Frame, java.net.URI)"><!-- --></A><H3>
newImage</H3>
<PRE>
public static <A HREF="../../../../org/odftoolkit/simple/draw/Image.html" title="class in org.odftoolkit.simple.draw">Image</A> <B>newImage</B>(<A HREF="../../../../org/odftoolkit/simple/draw/Frame.html" title="class in org.odftoolkit.simple.draw">Frame</A>&nbsp;frame,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</A>&nbsp;uri)</PRE>
<DL>
<DD>Create an image and add it to a frame.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>frame</CODE> - - the frame which contains this image<DD><CODE>uri</CODE> - - the URI of the image
<DT><B>Returns:</B><DD>the instance of Image</DL>
</DD>
</DL>
<HR>
<A NAME="getPackagePath(org.odftoolkit.odfdom.dom.OdfSchemaDocument, java.lang.String)"><!-- --></A><H3>
getPackagePath</H3>
<PRE>
public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getPackagePath</B>(<A HREF="http://incubator.apache.org/odftoolkit/odfdom/index.html/apidocs/org/odftoolkit/odfdom/dom/OdfSchemaDocument.html?is-external=true" title="class or interface in org.odftoolkit.odfdom.dom">OdfSchemaDocument</A>&nbsp;mOdfSchemaDoc,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;imageRef)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="configureInsertedImage(org.odftoolkit.odfdom.dom.OdfSchemaDocument, org.odftoolkit.odfdom.dom.element.draw.DrawImageElement, java.lang.String, boolean)"><!-- --></A><H3>
configureInsertedImage</H3>
<PRE>
public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</A> <B>configureInsertedImage</B>(<A HREF="http://incubator.apache.org/odftoolkit/odfdom/index.html/apidocs/org/odftoolkit/odfdom/dom/OdfSchemaDocument.html?is-external=true" title="class or interface in org.odftoolkit.odfdom.dom">OdfSchemaDocument</A>&nbsp;mOdfSchemaDoc,
<A HREF="http://incubator.apache.org/odftoolkit/odfdom/index.html/apidocs/org/odftoolkit/odfdom/dom/element/draw/DrawImageElement.html?is-external=true" title="class or interface in org.odftoolkit.odfdom.dom.element.draw">DrawImageElement</A>&nbsp;imageElement,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;packagePath,
boolean&nbsp;isResetSize)
throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE>
<DL>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="imageIterator(org.odftoolkit.simple.draw.FrameContainer)"><!-- --></A><H3>
imageIterator</H3>
<PRE>
public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;<A HREF="../../../../org/odftoolkit/simple/draw/Image.html" title="class in org.odftoolkit.simple.draw">Image</A>&gt; <B>imageIterator</B>(<A HREF="../../../../org/odftoolkit/simple/draw/FrameContainer.html" title="interface in org.odftoolkit.simple.draw">FrameContainer</A>&nbsp;container)</PRE>
<DL>
<DD>Return an iterator of image.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>container</CODE> - the frame container.
<DT><B>Returns:</B><DD>the image iterator.</DL>
</DD>
</DL>
<HR>
<A NAME="remove()"><!-- --></A><H3>
remove</H3>
<PRE>
public boolean <B>remove</B>()</PRE>
<DL>
<DD>Remove the image from the document.
<p>
The resource is removed if it's only used by this object.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>true if the image object is successfully removed; false if
otherwise.</DL>
</DD>
</DL>
<HR>
<A NAME="updateImage(java.net.URI)"><!-- --></A><H3>
updateImage</H3>
<PRE>
public void <B>updateImage</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</A>&nbsp;imageUri)</PRE>
<DL>
<DD>Update the image file with another resource.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>imageUri</CODE> - - the URI of the new image resource</DL>
</DD>
</DL>
<HR>
<A NAME="getImageInputStream()"><!-- --></A><H3>
getImageInputStream</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> <B>getImageInputStream</B>()</PRE>
<DL>
<DD>Get the image resource as an input stream.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>- the input stream of the image resource</DL>
</DD>
</DL>
<HR>
<A NAME="getInternalPath()"><!-- --></A><H3>
getInternalPath</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getInternalPath</B>()</PRE>
<DL>
<DD>Get the internal path within the package of the image resource as a
string.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>- the internal path of the image resource</DL>
</DD>
</DL>
<HR>
<A NAME="getMediaTypeString()"><!-- --></A><H3>
getMediaTypeString</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getMediaTypeString</B>()</PRE>
<DL>
<DD>Get the media type of the image resource
<P>
<DD><DL>
<DT><B>Returns:</B><DD>- the media type of the image resource</DL>
</DD>
</DL>
<HR>
<A NAME="setName(java.lang.String)"><!-- --></A><H3>
setName</H3>
<PRE>
public void <B>setName</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
<DL>
<DD>Set the name of this image.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - - the name of the image</DL>
</DD>
</DL>
<HR>
<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getName</B>()</PRE>
<DL>
<DD>Get the name of this image.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the name of the image</DL>
</DD>
</DL>
<HR>
<A NAME="setRectangle(org.odftoolkit.simple.draw.FrameRectangle)"><!-- --></A><H3>
setRectangle</H3>
<PRE>
public void <B>setRectangle</B>(<A HREF="../../../../org/odftoolkit/simple/draw/FrameRectangle.html" title="class in org.odftoolkit.simple.draw">FrameRectangle</A>&nbsp;rectangle)</PRE>
<DL>
<DD>Set the rectangle used by this image
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rectangle</CODE> - - the rectangle used by this image</DL>
</DD>
</DL>
<HR>
<A NAME="getRectangle()"><!-- --></A><H3>
getRectangle</H3>
<PRE>
public <A HREF="../../../../org/odftoolkit/simple/draw/FrameRectangle.html" title="class in org.odftoolkit.simple.draw">FrameRectangle</A> <B>getRectangle</B>()</PRE>
<DL>
<DD>Return the rectangle used by this image
<P>
<DD><DL>
<DT><B>Returns:</B><DD>- the rectangle</DL>
</DD>
</DL>
<HR>
<A NAME="setTitle(java.lang.String)"><!-- --></A><H3>
setTitle</H3>
<PRE>
public void <B>setTitle</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;title)</PRE>
<DL>
<DD>Set the title of this image
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>title</CODE> - - the title of this image</DL>
</DD>
</DL>
<HR>
<A NAME="getTitle()"><!-- --></A><H3>
getTitle</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getTitle</B>()</PRE>
<DL>
<DD>Get the title of this image
<P>
<DD><DL>
<DT><B>Returns:</B><DD>- the title of this image</DL>
</DD>
</DL>
<HR>
<A NAME="getDesciption()"><!-- --></A><H3>
getDesciption</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getDesciption</B>()</PRE>
<DL>
<DD>Get the description of this image
<P>
<DD><DL>
<DT><B>Returns:</B><DD>- the description of this image</DL>
</DD>
</DL>
<HR>
<A NAME="setDescription(java.lang.String)"><!-- --></A><H3>
setDescription</H3>
<PRE>
public void <B>setDescription</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;description)</PRE>
<DL>
<DD>Set the description of this image.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>description</CODE> - - the description of this image</DL>
</DD>
</DL>
<HR>
<A NAME="setHorizontalPosition(org.odftoolkit.simple.style.StyleTypeDefinitions.FrameHorizontalPosition)"><!-- --></A><H3>
setHorizontalPosition</H3>
<PRE>
public void <B>setHorizontalPosition</B>(<A HREF="../../../../org/odftoolkit/simple/style/StyleTypeDefinitions.FrameHorizontalPosition.html" title="enum in org.odftoolkit.simple.style">StyleTypeDefinitions.FrameHorizontalPosition</A>&nbsp;horizontalPos)</PRE>
<DL>
<DD>Set the horizontal position
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>horizontalPos</CODE> - - the horizontal position</DL>
</DD>
</DL>
<HR>
<A NAME="setVerticalPosition(org.odftoolkit.simple.style.StyleTypeDefinitions.FrameVerticalPosition)"><!-- --></A><H3>
setVerticalPosition</H3>
<PRE>
public void <B>setVerticalPosition</B>(<A HREF="../../../../org/odftoolkit/simple/style/StyleTypeDefinitions.FrameVerticalPosition.html" title="enum in org.odftoolkit.simple.style">StyleTypeDefinitions.FrameVerticalPosition</A>&nbsp;verticalPos)</PRE>
<DL>
<DD>Set the vertical position
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>verticalPos</CODE> - - the vertical position</DL>
</DD>
</DL>
<HR>
<A NAME="getHorizontalPosition()"><!-- --></A><H3>
getHorizontalPosition</H3>
<PRE>
public <A HREF="../../../../org/odftoolkit/simple/style/StyleTypeDefinitions.FrameHorizontalPosition.html" title="enum in org.odftoolkit.simple.style">StyleTypeDefinitions.FrameHorizontalPosition</A> <B>getHorizontalPosition</B>()</PRE>
<DL>
<DD>Return the horizontal position
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the horizontal position</DL>
</DD>
</DL>
<HR>
<A NAME="getVerticalPosition()"><!-- --></A><H3>
getVerticalPosition</H3>
<PRE>
public <A HREF="../../../../org/odftoolkit/simple/style/StyleTypeDefinitions.FrameVerticalPosition.html" title="enum in org.odftoolkit.simple.style">StyleTypeDefinitions.FrameVerticalPosition</A> <B>getVerticalPosition</B>()</PRE>
<DL>
<DD>Return the vertical position
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the vertical position</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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Image.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/odftoolkit/simple/draw/FrameStyleHandler.html" title="class in org.odftoolkit.simple.draw"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/odftoolkit/simple/draw/Textbox.html" title="class in org.odftoolkit.simple.draw"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/odftoolkit/simple/draw/Image.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="Image.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2010-2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>