git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1516973 13f79535-47bb-0310-9956-ffa450edef68tags/REL_3_10_BETA2
@@ -25,7 +25,6 @@ import org.apache.poi.hssf.record.Record; | |||
* via the EventRecordFactory | |||
* | |||
* @see EventRecordFactory | |||
* @author Andrew C. Oliver acoliver@apache.org | |||
*/ | |||
public interface ERFListener | |||
{ |
@@ -29,8 +29,7 @@ import org.apache.poi.ss.formula.FormulaType; | |||
import org.apache.poi.ss.usermodel.DataValidationConstraint; | |||
/** | |||
* | |||
* @author Josh Micich | |||
* Data Validation Constraint | |||
*/ | |||
public class DVConstraint implements DataValidationConstraint { | |||
/* package */ public static final class FormulaPair { |
@@ -56,8 +56,6 @@ import java.text.AttributedCharacterIterator; | |||
* height of the group can be calculated by using a convenience called | |||
* <code>HSSFClientAnchor.getAnchorHeightInPoints()</code>. | |||
* </blockquote> | |||
* | |||
* @author Glen Stampoultzis (glens at apache.org) | |||
*/ | |||
public class EscherGraphics | |||
extends Graphics |
@@ -67,8 +67,6 @@ import java.util.Map; | |||
* height of the group can be calculated by using a convenience called | |||
* <code>HSSFClientAnchor.getAnchorHeightInPoints()</code>. | |||
* </blockquote> | |||
* | |||
* @author Glen Stampoultzis (glens at apache.org) | |||
*/ | |||
public final class EscherGraphics2d extends Graphics2D { | |||
private EscherGraphics _escherGraphics; |
@@ -24,8 +24,6 @@ import java.util.StringTokenizer; | |||
/** | |||
* Stores width and height details about a font. | |||
* | |||
* @author Glen Stampoultzis (glens at apache.org) | |||
*/ | |||
public class FontDetails | |||
{ |
@@ -26,8 +26,6 @@ import org.apache.poi.ddf.EscherRecord; | |||
/** | |||
* An anchor is what specifics the position of a shape within a client object | |||
* or within another containing shape. | |||
* | |||
* @author Glen Stampoultzis (glens at apache.org) | |||
*/ | |||
public abstract class HSSFAnchor { | |||
@@ -20,8 +20,6 @@ import org.apache.poi.ss.usermodel.AutoFilter; | |||
/** | |||
* Represents autofiltering for the specified worksheet. | |||
* | |||
* @author Yegor Kozlov | |||
*/ | |||
public final class HSSFAutoFilter implements AutoFilter { | |||
private HSSFSheet _sheet; | |||
@@ -29,4 +27,4 @@ public final class HSSFAutoFilter implements AutoFilter { | |||
HSSFAutoFilter(HSSFSheet sheet){ | |||
_sheet = sheet; | |||
} | |||
} | |||
} |
@@ -23,9 +23,6 @@ import org.apache.poi.hssf.record.cf.BorderFormatting; | |||
/** | |||
* High level representation for Border Formatting component | |||
* of Conditional Formatting settings | |||
* | |||
* @author Dmitriy Kumshayev | |||
* | |||
*/ | |||
public final class HSSFBorderFormatting implements org.apache.poi.ss.usermodel.BorderFormatting | |||
{ |
@@ -58,11 +58,6 @@ import org.apache.poi.util.POILogFactory; | |||
* Cells should have their number (0 based) before being added to a row. Only | |||
* cells that have values should be added. | |||
* <p> | |||
* | |||
* @author Andrew C. Oliver (acoliver at apache dot org) | |||
* @author Dan Sherman (dsherman at isisph.com) | |||
* @author Brian Sanders (kestrel at burdell dot org) Active Cell support | |||
* @author Yegor Kozlov cell comments support | |||
*/ | |||
public class HSSFCell implements Cell { | |||
private static POILogger log = POILogFactory.getLogger(HSSFCell.class); |
@@ -29,8 +29,6 @@ import org.apache.poi.ss.usermodel.Font; | |||
/** | |||
* High level representation of the style of a cell in a sheet of a workbook. | |||
* | |||
* @author Andrew C. Oliver (acoliver at apache dot org) | |||
* @author Jason Height (jheight at chariot dot net dot au) | |||
* @see org.apache.poi.hssf.usermodel.HSSFWorkbook#createCellStyle() | |||
* @see org.apache.poi.hssf.usermodel.HSSFWorkbook#getCellStyleAt(short) | |||
* @see org.apache.poi.hssf.usermodel.HSSFCell#setCellStyle(HSSFCellStyle) |
@@ -21,7 +21,7 @@ import org.apache.poi.ddf.*; | |||
import org.apache.poi.hssf.record.*; | |||
/** | |||
* @author Evgeniy Berlog | |||
* | |||
*/ | |||
public class HSSFCombobox extends HSSFSimpleShape { | |||
@@ -22,8 +22,6 @@ import org.apache.poi.ss.usermodel.Comment; | |||
/** | |||
* Represents a cell comment - a sticky note associated with a cell. | |||
* | |||
* @author Yegor Kozlov | |||
*/ | |||
public class HSSFComment extends HSSFTextbox implements Comment { | |||
@@ -72,8 +72,6 @@ import org.apache.poi.ss.util.CellRangeAddress; | |||
* // Apply Conditional Formatting rule defined above to the regions | |||
* sheet.addConditionalFormatting(regions, rule); | |||
* </PRE> | |||
* | |||
* @author Dmitriy Kumshayev | |||
*/ | |||
public final class HSSFConditionalFormatting implements ConditionalFormatting | |||
{ |
@@ -31,8 +31,6 @@ import org.apache.poi.ss.usermodel.ConditionalFormattingRule; | |||
* High level representation of Conditional Formatting Rule. | |||
* It allows to specify formula based conditions for the Conditional Formatting | |||
* and the formatting settings such as font, border and pattern. | |||
* | |||
* @author Dmitriy Kumshayev | |||
*/ | |||
public final class HSSFConditionalFormattingRule implements ConditionalFormattingRule | |||
{ |
@@ -44,9 +44,6 @@ import org.apache.poi.ss.usermodel.DataFormat; | |||
* <a href="http://office.microsoft.com/assistance/hfws.aspx?AssetID=HA010346351033&CTT=6&Origin=EC010272491033"> | |||
* Creating international number formats | |||
* </a> for more details on these codes. | |||
* | |||
* @author Andrew C. Oliver (acoliver at apache dot org) | |||
* @author Shawn M. Laubach (slaubach at apache dot org) | |||
*/ | |||
public final class HSSFDataFormat implements DataFormat { | |||
private static final String[] _builtinFormats = BuiltinFormats.getAll(); |
@@ -62,8 +62,6 @@ import org.apache.poi.ss.usermodel.DataFormatter; | |||
* HSSFDataFormatter.setDefaultNumberFormat(Format)</code>. <b>Note:</b> the | |||
* default format will only be used when a Format cannot be created from the | |||
* cell's data format string. | |||
* | |||
* @author James May (james dot may at fmr dot com) | |||
*/ | |||
public final class HSSFDataFormatter extends DataFormatter { | |||
@@ -25,9 +25,7 @@ import org.apache.poi.ss.usermodel.DataValidationConstraint.ValidationType; | |||
import org.apache.poi.ss.util.CellRangeAddressList; | |||
/** | |||
*Utility class for creating data validation cells | |||
* | |||
* @author Dragos Buleandra (dragos.buleandra@trade2b.ro) | |||
* Utility class for creating data validation cells | |||
*/ | |||
public final class HSSFDataValidation implements DataValidation { | |||
private String _prompt_title; |
@@ -24,8 +24,7 @@ import org.apache.poi.ss.usermodel.DataValidationConstraint.ValidationType; | |||
import org.apache.poi.ss.util.CellRangeAddressList; | |||
/** | |||
* @author <a href="rjankiraman@emptoris.com">Radhakrishnan J</a> | |||
* | |||
* Helper for working with Data Validation | |||
*/ | |||
public class HSSFDataValidationHelper implements DataValidationHelper { | |||
@SuppressWarnings("unused") |
@@ -30,15 +30,7 @@ import org.apache.poi.ss.usermodel.DateUtil; | |||
/** | |||
* Contains methods for dealing with Excel dates. | |||
* | |||
* @author Michael Harhen | |||
* @author Glen Stampoultzis (glens at apache.org) | |||
* @author Dan Sherman (dsherman at isisph.com) | |||
* @author Hack Kampbjorn (hak at 2mba.dk) | |||
* @author Alex Jacoby (ajacoby at gmail.com) | |||
* @author Pavel Krupets (pkrupets at palmtreebusiness dot com) | |||
*/ | |||
public class HSSFDateUtil extends DateUtil { | |||
protected static int absoluteDay(Calendar cal, boolean use1904windowing) { | |||
return DateUtil.absoluteDay(cal, use1904windowing); |
@@ -20,8 +20,6 @@ import org.apache.poi.ss.usermodel.ErrorConstants; | |||
/** | |||
* Contains raw Excel error codes (as defined in OOO's excelfileformat.pdf (2.5.6) | |||
* | |||
* @author Michael Harhen | |||
*/ | |||
public final class HSSFErrorConstants extends ErrorConstants { | |||
} |
@@ -21,8 +21,6 @@ import org.apache.poi.ss.formula.EvaluationCell; | |||
import org.apache.poi.ss.formula.EvaluationSheet; | |||
/** | |||
* HSSF wrapper for a cell under evaluation | |||
* | |||
* @author Josh Micich | |||
*/ | |||
final class HSSFEvaluationCell implements EvaluationCell { | |||
@@ -22,8 +22,6 @@ import org.apache.poi.ss.formula.EvaluationSheet; | |||
/** | |||
* HSSF wrapper for a sheet under evaluation | |||
* | |||
* @author Josh Micich | |||
*/ | |||
final class HSSFEvaluationSheet implements EvaluationSheet { | |||
@@ -47,4 +45,4 @@ final class HSSFEvaluationSheet implements EvaluationSheet { | |||
} | |||
return new HSSFEvaluationCell(cell, this); | |||
} | |||
} | |||
} |
@@ -39,8 +39,6 @@ import org.apache.poi.util.POILogger; | |||
/** | |||
* Internal POI use only | |||
* | |||
* @author Josh Micich | |||
*/ | |||
public final class HSSFEvaluationWorkbook implements FormulaRenderingWorkbook, EvaluationWorkbook, FormulaParsingWorkbook { | |||
private static POILogger logger = POILogFactory.getLogger(HSSFEvaluationWorkbook.class); |
@@ -23,9 +23,7 @@ import org.apache.poi.ss.usermodel.Font; | |||
/** | |||
* Represents a Font used in a workbook. | |||
* | |||
* | |||
* @author Andrew C. Oliver | |||
* | |||
* @see org.apache.poi.hssf.usermodel.HSSFWorkbook#createFont() | |||
* @see org.apache.poi.hssf.usermodel.HSSFWorkbook#getFontAt(short) | |||
* @see org.apache.poi.hssf.usermodel.HSSFCellStyle#setFont(HSSFFont) |
@@ -22,9 +22,6 @@ import org.apache.poi.hssf.record.cf.FontFormatting; | |||
/** | |||
* High level representation for Font Formatting component | |||
* of Conditional Formatting settings | |||
* | |||
* @author Dmitriy Kumshayev | |||
* | |||
*/ | |||
public final class HSSFFontFormatting implements org.apache.poi.ss.usermodel.FontFormatting | |||
{ |
@@ -30,8 +30,6 @@ import org.apache.poi.ss.usermodel.Footer; | |||
* For special things (such as page numbers and date), one can use a the methods | |||
* that return the characters used to represent these. One can also change the | |||
* fonts by using similar methods. | |||
* <P> | |||
* @author Shawn Laubach (slaubach at apache dot org) | |||
*/ | |||
public final class HSSFFooter extends HeaderFooter implements Footer { | |||
private final PageSettingsBlock _psb; |
@@ -39,9 +39,6 @@ import org.apache.poi.ss.usermodel.Workbook; | |||
* For performance reasons, this class keeps a cache of all previously calculated intermediate | |||
* cell values. Be sure to call {@link #clearAllCachedResultValues()} if any workbook cells are changed between | |||
* calls to evaluate~ methods on this class. | |||
* | |||
* @author Amol S. Deshmukh < amolweb at ya hoo dot com > | |||
* @author Josh Micich | |||
*/ | |||
public class HSSFFormulaEvaluator implements FormulaEvaluator { | |||
@@ -30,9 +30,6 @@ import org.apache.poi.ss.usermodel.Header; | |||
* For special things (such as page numbers and date), one can use a the methods | |||
* that return the characters used to represent these. One can also change the | |||
* fonts by using similar methods. | |||
* <P> | |||
* | |||
* @author Shawn Laubach (slaubach at apache dot org) | |||
*/ | |||
public final class HSSFHeader extends HeaderFooter implements Header { | |||
@@ -21,8 +21,6 @@ import org.apache.poi.ss.usermodel.Hyperlink; | |||
/** | |||
* Represents an Excel hyperlink. | |||
* | |||
* @author Yegor Kozlov (yegor at apache dot org) | |||
*/ | |||
public class HSSFHyperlink implements Hyperlink { | |||
@@ -28,8 +28,6 @@ import org.apache.poi.ss.usermodel.Name; | |||
/** | |||
* High Level Representation of a 'defined name' which could be a 'built-in' name, | |||
* 'named range' or name of a user defined function. | |||
* | |||
* @author Libin Roman (Vista Portal LDT. Developer) | |||
*/ | |||
public final class HSSFName implements Name { | |||
private HSSFWorkbook _book; |
@@ -31,8 +31,6 @@ import org.apache.poi.util.HexDump; | |||
* Represents binary object (i.e. OLE) data stored in the file. Eg. A GIF, JPEG etc... | |||
* <p/> | |||
* Right now, 13, july, 2012 can not be created from scratch | |||
* | |||
* @author Daniel Noll | |||
*/ | |||
public final class HSSFObjectData extends HSSFPicture { | |||
/** |
@@ -25,8 +25,6 @@ import org.apache.poi.hssf.util.HSSFColor; | |||
* Internally, the XLS format refers to colors using an offset into the palette | |||
* record. Thus, the first color in the palette has the index 0x8, the second | |||
* has the index 0x9, etc. through 0x40 | |||
* | |||
* @author Brian Sanders (bsanders at risklabs dot com) | |||
*/ | |||
public final class HSSFPalette { | |||
private PaletteRecord _palette; |
@@ -35,8 +35,6 @@ import org.apache.poi.ss.usermodel.ClientAnchor; | |||
/** | |||
* The patriarch is the toplevel container for shapes in a sheet. It does | |||
* little other than act as a container for other shapes and groups. | |||
* | |||
* @author Glen Stampoultzis (glens at apache.org) | |||
*/ | |||
public final class HSSFPatriarch implements HSSFShapeContainer, Drawing { | |||
private static POILogger log = POILogFactory.getLogger(HSSFPatriarch.class); |
@@ -22,9 +22,6 @@ import org.apache.poi.hssf.record.cf.PatternFormatting; | |||
/** | |||
* High level representation for Conditional Formatting settings | |||
* | |||
* @author Dmitriy Kumshayev | |||
* | |||
*/ | |||
public class HSSFPatternFormatting implements org.apache.poi.ss.usermodel.PatternFormatting | |||
{ |
@@ -33,9 +33,6 @@ import org.apache.poi.hssf.model.InternalWorkbook; | |||
/** | |||
* Represents a escher picture. Eg. A GIF, JPEG etc... | |||
* | |||
* @author Glen Stampoultzis | |||
* @author Yegor Kozlov (yegor at apache.org) | |||
*/ | |||
public class HSSFPicture extends HSSFSimpleShape implements Picture { | |||
private static POILogger logger = POILogFactory.getLogger(HSSFPicture.class); |
@@ -26,8 +26,6 @@ import org.apache.poi.util.PngUtils; | |||
/** | |||
* Represents binary data stored in the file. Eg. A GIF, JPEG etc... | |||
* | |||
* @author Daniel Noll | |||
*/ | |||
public class HSSFPictureData implements PictureData | |||
{ |
@@ -24,7 +24,7 @@ import org.apache.poi.util.POILogFactory; | |||
import org.apache.poi.util.POILogger; | |||
/** | |||
* @author Glen Stampoultzis (glens at superlinksoftware.com) | |||
* | |||
*/ | |||
public class HSSFPolygon extends HSSFSimpleShape { | |||
private static POILogger logger = POILogFactory.getLogger(HSSFPolygon.class); |
@@ -35,8 +35,7 @@ import org.apache.poi.ss.usermodel.PrintSetup; | |||
* public static final short ENVELOPE_DL_PAPERSIZE = 27;<br> | |||
* public static final short ENVELOPE_CS_PAPERSIZE = 28;<br> | |||
* public static final short ENVELOPE_MONARCH_PAPERSIZE = 37;<br> | |||
* <P> | |||
* @author Shawn Laubach (slaubach at apache dot org) */ | |||
*/ | |||
public class HSSFPrintSetup implements PrintSetup { | |||
PrintSetupRecord printSetupRecord; | |||
@@ -351,4 +350,4 @@ public class HSSFPrintSetup implements PrintSetup { | |||
public short getCopies() { | |||
return printSetupRecord.getCopies(); | |||
} | |||
} | |||
} |
@@ -64,10 +64,6 @@ import org.apache.poi.ss.usermodel.RichTextString; | |||
* | |||
* <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=47543"> | |||
* https://issues.apache.org/bugzilla/show_bug.cgi?id=47543</a> | |||
* <p> | |||
* | |||
* @author Glen Stampoultzis (glens at apache.org) | |||
* @author Jason Height (jheight at apache.org) | |||
*/ | |||
public final class HSSFRichTextString implements Comparable<HSSFRichTextString>, RichTextString { | |||
/** Place holder for indicating that NO_FONT has been applied here */ |
@@ -33,9 +33,6 @@ import org.apache.poi.util.Configurator; | |||
* High level representation of a row of a spreadsheet. | |||
* | |||
* Only rows that have cells should be added to a Sheet. | |||
* | |||
* @author Andrew C. Oliver (acoliver at apache dot org) | |||
* @author Glen Stampoultzis (glens at apache.org) | |||
*/ | |||
public final class HSSFRow implements Row { | |||
@@ -27,8 +27,6 @@ import java.io.IOException; | |||
/** | |||
* An abstract shape. | |||
* | |||
* @author Glen Stampoultzis (glens at apache.org) | |||
*/ | |||
public abstract class HSSFShape { | |||
public static final int LINEWIDTH_ONE_PT = 12700; |
@@ -21,8 +21,6 @@ import java.util.List; | |||
/** | |||
* An interface that indicates whether a class can contain children. | |||
* | |||
* @author Glen Stampoultzis (glens at apache.org) | |||
*/ | |||
public interface HSSFShapeContainer extends Iterable<HSSFShape> | |||
{ |
@@ -26,8 +26,7 @@ import java.util.List; | |||
import java.util.Map; | |||
/** | |||
* @author Evgeniy Berlog | |||
* date: 05.06.12 | |||
* Factory class for producing Excel Shapes from Escher records | |||
*/ | |||
public class HSSFShapeFactory { | |||
@@ -28,8 +28,6 @@ import java.util.Iterator; | |||
/** | |||
* A shape group may contain other shapes. It was no actual form on the | |||
* sheet. | |||
* | |||
* @author Glen Stampoultzis (glens at apache.org) | |||
*/ | |||
public class HSSFShapeGroup extends HSSFShape implements HSSFShapeContainer { | |||
private final List<HSSFShape> shapes = new ArrayList<HSSFShape>(); |
@@ -56,15 +56,6 @@ import org.apache.poi.util.POILogger; | |||
/** | |||
* High level representation of a worksheet. | |||
* | |||
* @author Andrew C. Oliver (acoliver at apache dot org) | |||
* @author Glen Stampoultzis (glens at apache.org) | |||
* @author Libin Roman (romal at vistaportal.com) | |||
* @author Shawn Laubach (slaubach at apache dot org) (Just a little) | |||
* @author Jean-Pierre Paris (jean-pierre.paris at m4x dot org) (Just a little, too) | |||
* @author Yegor Kozlov (yegor at apache.org) (Autosizing columns) | |||
* @author Josh Micich | |||
* @author Petr Udalau(Petr.Udalau at exigenservices.com) - set/remove array formulas | |||
*/ | |||
public final class HSSFSheet implements org.apache.poi.ss.usermodel.Sheet { | |||
private static final POILogger log = POILogFactory.getLogger(HSSFSheet.class); |
@@ -28,8 +28,6 @@ import org.apache.poi.ss.SpreadsheetVersion; | |||
/** | |||
* The 'Conditional Formatting' facet of <tt>HSSFSheet</tt> | |||
* | |||
* @author Dmitriy Kumshayev | |||
*/ | |||
public final class HSSFSheetConditionalFormatting implements SheetConditionalFormatting { | |||
@@ -23,8 +23,6 @@ import org.apache.poi.ss.usermodel.RichTextString; | |||
/** | |||
* Represents a simple shape such as a line, rectangle or oval. | |||
* | |||
* @author Glen Stampoultzis (glens at apache.org) | |||
*/ | |||
public class HSSFSimpleShape extends HSSFShape | |||
{ |
@@ -22,8 +22,6 @@ import org.apache.poi.hssf.record.*; | |||
/** | |||
* A textbox is a shape that may hold a rich text string. | |||
* | |||
* @author Glen Stampoultzis (glens at apache.org) | |||
*/ | |||
public class HSSFTextbox extends HSSFSimpleShape { | |||
public final static short OBJECT_TYPE_TEXT = 6; |
@@ -68,9 +68,6 @@ import org.apache.poi.util.POILogger; | |||
* | |||
* @see org.apache.poi.hssf.model.InternalWorkbook | |||
* @see org.apache.poi.hssf.usermodel.HSSFSheet | |||
* @author Andrew C. Oliver (acoliver at apache dot org) | |||
* @author Glen Stampoultzis (glens at apache.org) | |||
* @author Shawn Laubach (slaubach at apache dot org) | |||
*/ | |||
public final class HSSFWorkbook extends POIDocument implements org.apache.poi.ss.usermodel.Workbook { | |||
private static final Pattern COMMA_PATTERN = Pattern.compile(","); |
@@ -33,8 +33,6 @@ import java.util.Properties; | |||
* resource from the POI jar file (or classpath) and should be contained in path | |||
* "/font_metrics.properties". The font widths are for a 10 point version of the | |||
* font. Use a multiplier for other sizes. | |||
* | |||
* @author Glen Stampoultzis (glens at apache.org) | |||
*/ | |||
final class StaticFontMetrics { | |||
/** The font metrics property file we're using */ |