package org.apache.poi.hssf.usermodel;
import java.io.FileNotFoundException;
-import java.util.*;
-
-import org.apache.poi.ddf.*;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+import org.apache.poi.ddf.EscherComplexProperty;
+import org.apache.poi.ddf.EscherContainerRecord;
+import org.apache.poi.ddf.EscherDgRecord;
+import org.apache.poi.ddf.EscherOptRecord;
+import org.apache.poi.ddf.EscherProperty;
+import org.apache.poi.ddf.EscherSpRecord;
+import org.apache.poi.ddf.EscherSpgrRecord;
import org.apache.poi.hssf.model.DrawingManager2;
import org.apache.poi.hssf.record.CommonObjectDataSubRecord;
import org.apache.poi.hssf.record.EmbeddedObjectRefSubRecord;
*
* @param anchor the client anchor describes how this picture is
* attached to the sheet.
- * @param storageId the storageId returned by {@Link HSSFWorkbook.addOlePackage}
+ * @param storageId the storageId returned by {@link HSSFWorkbook.addOlePackage}
* @param pictureIndex the index of the picture (used as preview image) in the
* workbook collection of pictures.
*
*
* @param val double value of fraction
* @param exactDenom the exact denominator
- * @return
+ * @return a SimpleFraction with the given values set.
*/
public static SimpleFraction buildFractionExactDenominator(double val, int exactDenom){
int num = (int)Math.round(val*(double)exactDenom);
* @return The character encoding's name, in either Java Lang format
* (eg Cp1251, ISO8859_5) or Java NIO format (eg windows-1252, ISO-8859-9)
*
- * @see http://docs.oracle.com/javase/6/docs/technotes/guides/intl/encoding.doc.html
+ * See <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/intl/encoding.doc.html">Encodings supported by Java</a>
*
* @exception UnsupportedEncodingException if the specified codepage is
* less than zero.