import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Used by Excel and other MS apps to quickly find rows in the sheets.
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public DBCellRecord clone() {
- return copy();
- }
-
@Override
public DBCellRecord copy() {
// safe because immutable
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
import org.apache.poi.util.StringUtil;
/**
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public FileSharingRecord clone() {
- return copy();
- }
-
@Override
public FileSharingRecord copy() {
return new FileSharingRecord(this);
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Whether to center between horizontal margins
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public HCenterRecord clone() {
- return copy();
- }
-
@Override
public HCenterRecord copy() {
return new HCenterRecord(this);
import org.apache.poi.util.IntList;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.RecordFormatException;
-import org.apache.poi.util.Removal;
/**
* Occurs right after BOF, tells you where the DBCELL records are for a sheet Important for locating cells
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public IndexRecord clone() {
- return copy();
- }
-
@Override
public IndexRecord copy() {
return new IndexRecord(this);
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Refers to a string in the shared string table and is a column value.
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public LabelSSTRecord clone() {
- return copy();
- }
-
@Override
public LabelSSTRecord copy() {
return new LabelSSTRecord(this);
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* I have no idea what a Scenario is or why on would want to protect it with the lamest "security" ever invented.
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public ScenarioProtectRecord clone() {
- return copy();
- }
-
public ScenarioProtectRecord copy() {
return new ScenarioProtectRecord(this);
}
import org.apache.poi.common.Duplicatable;
import org.apache.poi.util.LittleEndianInput;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Icon / Multi-State specific Threshold / value (CFVO),
return super.getDataLength() + 5;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings("squid:S2975")
- @Deprecated
- @Removal(version = "5.0.0")
- public IconMultiStateThreshold clone() {
- return copy();
- }
-
@Override
public IconMultiStateThreshold copy() {
return new IconMultiStateThreshold(this);
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 axis line format record defines the axis type details.
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public AxisLineFormatRecord clone() {
- return copy();
- }
-
/**
* Get the axis type field for the AxisLineFormat record.
*
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;
/**
* STARTBLOCK - Chart Future Record Type Start Block (0x0852)
out.writeShort(iObjectInstance2);
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public ChartStartBlockRecord clone() {
- return copy();
- }
-
@Override
public ChartStartBlockRecord copy() {
return new ChartStartBlockRecord(this);