import org.apache.poi.ddf.NullEscherSerializationListener;
import org.apache.poi.hssf.util.LazilyConcatenatedByteArray;
import org.apache.poi.util.LittleEndian;
-import org.apache.poi.util.Removal;
/**
* The escher container record is used to hold escher records. It is abstract and
@Override
public abstract short getSid();
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public AbstractEscherHolderRecord clone() {
- return copy();
- }
-
@Override
public abstract AbstractEscherHolderRecord copy();
import org.apache.poi.ss.formula.ptg.Ptg;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* ARRAY (0x0221)<p>
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public ArrayRecord clone() {
- return copy();
- }
-
@Override
public ArrayRecord copy() {
return new ArrayRecord(this);
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* The AutoFilterInfo record specifies the number of columns that have AutoFilter enabled
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public AutoFilterInfoRecord clone() {
- return copy();
- }
-
@Override
public AutoFilterInfoRecord copy() {
return new AutoFilterInfoRecord(this);
import java.util.function.Supplier;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Somewhat of a misnomer, its used for the beginning of a set of records that
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public BOFRecord clone() {
- return copy();
- }
-
@Override
public BOFRecord copy() {
return new BOFRecord(this);
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Represents a column in a row with no value but with styling.
return 6;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public BlankRecord clone() {
- return copy();
- }
-
@Override
public BlankRecord copy() {
return new BlankRecord(this);
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
import org.apache.poi.ss.util.CellRangeAddress;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Conditional Formatting Header v12 record CFHEADER12 (0x0879),
return futureHeader.getAssociatedRange();
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings("squid:S2975")
- @Deprecated
- @Removal(version = "5.0.0")
- public CFHeader12Record clone() {
- return copy();
- }
-
@Override
public CFHeader12Record copy() {
return new CFHeader12Record(this);
import org.apache.poi.ss.util.CellRangeUtil;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Parent of Conditional Formatting Header records,
field_4_cell_ranges.serialize(out);
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings("squid:S2975")
- @Deprecated
- @Removal(version = "5.0.0")
- public abstract CFHeaderBase clone();
-
@Override
public abstract CFHeaderBase copy();
package org.apache.poi.hssf.record;
import org.apache.poi.ss.util.CellRangeAddress;
-import org.apache.poi.util.Removal;
/**
* Conditional Formatting Header record CFHEADER (0x01B0).
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings("squid:S2975")
- @Deprecated
- @Removal(version = "5.0.0")
- public CFHeaderRecord clone() {
- return copy();
- }
-
@Override
public CFHeaderRecord copy() {
return new CFHeaderRecord(this);
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger;
-import org.apache.poi.util.Removal;
/**
* Conditional Formatting Rules. This can hold old-style rules
return HSSFFormulaParser.parse(formula, sheet.getWorkbook(), FormulaType.CELL, sheetIndex);
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings("squid:S2975")
- @Deprecated
- @Removal(version = "5.0.0")
- public abstract CFRuleBase clone();
-
@Override
public abstract CFRuleBase copy();
import org.apache.poi.ss.formula.Formula;
import org.apache.poi.ss.formula.ptg.Ptg;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Conditional Formatting Rule Record (0x01B1).
getFormulaSize(getFormula2());
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings("squid:S2975")
- @Deprecated
- @Removal(version = "5.0.0")
- public CFRuleRecord clone() {
- return copy();
- }
-
@Override
public CFRuleRecord copy() {
return new CFRuleRecord(this);
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger;
-import org.apache.poi.util.Removal;
/**
* Provides the minumum and maximum bounds of a sheet.
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public DimensionsRecord clone() {
- return copy();
- }
-
@Override
public DimensionsRecord copy() {
return new DimensionsRecord(this);
recordData = thedata;
}
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
package org.apache.poi.hssf.record;
-import org.apache.poi.util.Removal;
-
/**
* Specifies the footer for a sheet
*/
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public FooterRecord clone() {
- return copy();
- }
-
@Override
public FooterRecord copy() {
return new FooterRecord(this);
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* The HEADERFOOTER record stores information added in Office Excel 2007 for headers/footers.
return Arrays.equals(getGuid(), BLANK_GUID);
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public HeaderFooterRecord clone() {
- return copy();
- }
-
@Override
public HeaderFooterRecord copy() {
return new HeaderFooterRecord(this);
package org.apache.poi.hssf.record;
-import org.apache.poi.util.Removal;
-
/**
* Specifies a header for a sheet
*/
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public HeaderRecord clone() {
- return copy();
- }
-
@Override
public HeaderRecord copy() {
return new HeaderRecord(this);
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Record for the left margin.
this.field_1_margin = field_1_margin;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public LeftMarginRecord clone() {
- return copy();
- }
-
@Override
public LeftMarginRecord copy() {
return new LeftMarginRecord(this);
import org.apache.poi.ss.util.CellRangeAddressList;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Optional record defining a square area of cells to "merged" into one cell.
}
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public MergeCellsRecord clone() {
- return copy();
- }
-
@Override
public MergeCellsRecord copy() {
return new MergeCellsRecord(this);
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Protect embedded object with the lamest "security" ever invented.
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public ObjectProtectRecord clone() {
- return copy();
- }
-
@Override
public ObjectProtectRecord copy() {
return new ObjectProtectRecord(this);
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* The UserSViewEnd record marks the end of the settings for a custom view associated with the sheet
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public UserSViewEnd clone() {
- return copy();
- }
-
@Override
public UserSViewEnd copy() {
return new UserSViewEnd(this);
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Tells whether to center the sheet between vertical margins
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public VCenterRecord clone() {
- return copy();
- }
-
@Override
public VCenterRecord copy() {
return new VCenterRecord(this);
import org.apache.poi.util.BitFieldFactory;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Stores workbook settings (aka its a big "everything we didn't put somewhere else")
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public WSBoolRecord clone() {
- return copy();
- }
-
@Override
public WSBoolRecord copy() {
return new WSBoolRecord(this);
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
import org.apache.poi.hssf.record.StandardRecord;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* The number format index record indexes format table. This applies to an axis.
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public NumberFormatIndexRecord clone() {
- return copy();
- }
-
@Override
public NumberFormatIndexRecord copy() {
return new NumberFormatIndexRecord(this);
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
import org.apache.poi.hssf.record.StandardRecord;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* The series record describes the overall data for a series.
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public SeriesRecord clone() {
- return copy();
- }
-
@Override
public SeriesRecord copy() {
return new SeriesRecord(this);
import org.apache.poi.util.BitField;
import org.apache.poi.util.BitFieldFactory;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* The Tick record defines how tick marks and label positioning/formatting<p>
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public TickRecord clone() {
- return copy();
- }
-
@Override
public TickRecord copy() {
return new TickRecord(this);
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
/**
* @deprecated use {@link #copy()} instead
*/
- @Override
@SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
@Deprecated
@Removal(version = "5.0.0")
import org.apache.poi.util.GenericRecordJsonWriter;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Title: FtrHeader (Future Record Header) common record part
this.associatedRange = associatedRange;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public FtrHeader clone() {
- return copy();
- }
-
public FtrHeader copy() {
return new FtrHeader(this);
}
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger;
-import org.apache.poi.util.Removal;
/**
* Unicode String - just standard fields that are in several records.
return extBit.isSet(getOptionFlags());
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings("squid:S2975")
- @Deprecated
- @Removal(version = "5.0.0")
- public UnicodeString clone() {
- return copy();
- }
-
@Override
public UnicodeString copy() {
return new UnicodeString(this);
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
-import org.apache.poi.util.Removal;
/**
* Common functionality across file formats for evaluating formula cells.<p>
setCellValue(cell, cv);
return cv.getCellType();
}
-
- /**
- * If cell contains formula, it evaluates the formula,
- * and saves the result of the formula. The cell
- * remains as a formula cell.
- * Else if cell does not contain formula, this method leaves
- * the cell unchanged.
- * Note that the type of the formula result is returned,
- * so you know what kind of value is also stored with
- * the formula.
- * <pre>
- * CellType evaluatedCellType = evaluator.evaluateFormulaCell(cell);
- * </pre>
- * Be aware that your cell will hold both the formula,
- * and the result. If you want the cell replaced with
- * the result of the formula, use {@link #evaluate(org.apache.poi.ss.usermodel.Cell)} }
- * @param cell The cell to evaluate
- * @return The type of the formula result (the cell's type remains as CellType.FORMULA however)
- * If cell is not a formula cell, returns {@link CellType#_NONE} rather than throwing an exception.
- * @since POI 3.15 beta 3
- * @deprecated use <code>evaluateFormulaCell(cell)</code> instead
- */
- @Deprecated
- @Removal(version = "4.2")
- @Override
- public CellType evaluateFormulaCellEnum(Cell cell) {
- return evaluateFormulaCell(cell);
- }
/**
* set the cell type
package org.apache.poi.xssf.usermodel.helpers;
import org.apache.poi.util.Internal;
-import org.apache.poi.util.Removal;
import org.apache.poi.xssf.usermodel.XSSFTable;
import org.apache.poi.xssf.usermodel.XSSFTableColumn;
import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXmlColumnPr;
return ctXmlColumnPr.getXpath();
}
- /**
- * (see Open Office XML Part 4: chapter 3.5.1.3)
- *
- * @deprecated Use {@link XSSFTableColumn#getId()} instead.
- *
- * @return An integer representing the unique identifier of this column.
- */
- @Deprecated
- @Removal(version="4.2")
- public long getId() {
- return tableColumn.getId();
- }
-
/**
* If the XPath is, for example, /Node1/Node2/Node3 and /Node1/Node2 is the common XPath for the table, the local XPath is /Node3
*
emboss.setVal(value ? STOnOff.TRUE : STOnOff.FALSE);
}
- /**
- * Specifies the alignment which shall be applied to the contents of this
- * run in relation to the default appearance of the run's text.
- * This allows the text to be repositioned as subscript or superscript without
- * altering the font size of the run properties.
- *
- * @return VerticalAlign
- * @see {@link VerticalAlign} all possible value that could be applyed to this run
- * @deprecated use {@link XWPFRun.getVerticalAlignment}
- */
- @Removal(version = "4.2")
- public VerticalAlign getSubscript() {
- CTRPr pr = getRunProperties(false);
- return (pr != null && pr.isSetVertAlign()) ? VerticalAlign.valueOf(pr.getVertAlign().getVal().intValue()) : VerticalAlign.BASELINE;
- }
-
/**
* Specifies the alignment which shall be applied to the contents of this
* run in relation to the default appearance of the run's text. This allows