import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Row height for rows with undefined or not explicitly defined heights.
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public DefaultRowHeightRecord clone() {
- return copy();
- }
-
@Override
public DefaultRowHeightRecord copy() {
return new DefaultRowHeightRecord(this);
import java.util.function.Supplier;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Marks the end of records belonging to a particular object in the HSSF File
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public EOFRecord clone() {
- return copy();
- }
-
@Override
public EOFRecord copy() {
return instance;
import org.apache.poi.hssf.record.common.FtrHeader;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Title: FeatHdr (Feature Header) Record
return 12 + 2+1+4+rgbHdrData.length;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public FeatHdrRecord clone() {
- return copy();
- }
-
@Override
public FeatHdrRecord copy() {
//HACK: do a "cheat" clone, see Record.java for more information
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger;
-import org.apache.poi.util.Removal;
/**
* Title: Feat (Feature) Record
}
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public FeatRecord clone() {
- return copy();
- }
-
@Override
public FeatRecord copy() {
return new FeatRecord(this);
return "FORMULA";
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public FormulaRecord clone() {
- return copy();
- }
-
@Override
public FormulaRecord copy() {
return new FormulaRecord(this);
import org.apache.poi.util.LittleEndianInput;
import org.apache.poi.util.LittleEndianOutput;
import org.apache.poi.util.RecordFormatException;
-import org.apache.poi.util.Removal;
-
/**
* This structure appears as part of an Obj record that represents a checkbox or radio button.
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings("squid:S2975")
- @Deprecated
- @Removal(version = "5.0.0")
- public FtCblsSubRecord clone() {
- return copy();
- }
-
@Override
public FtCblsSubRecord copy() {
return new FtCblsSubRecord(this);
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Row/column gutter sizes
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public GutsRecord clone() {
- return copy();
- }
-
@Override
public GutsRecord copy() {
return new GutsRecord(this);
import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger;
import org.apache.poi.util.RecordFormatException;
-import org.apache.poi.util.Removal;
import org.apache.poi.util.StringUtil;
/**
setTextMark("");
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public HyperlinkRecord clone() {
- return copy();
- }
-
@Override
public HyperlinkRecord copy() {
return new HyperlinkRecord(this);
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* NUMBER (0x0203) Contains a numeric cell value.
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public NumberRecord clone() {
- return copy();
- }
-
@Override
public NumberRecord copy() {
return new NumberRecord(this);
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Whether to print the gridlines when you enjoy the spreadsheet on paper.
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public PrintGridlinesRecord clone() {
- return copy();
- }
-
public PrintGridlinesRecord copy() {
return new PrintGridlinesRecord(this);
}
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;
/**
* Primarily used as an excel optimization so that multiple similar formulas are not
return sf.convertSharedFormulas(field_7_parsed_expr.getTokens(), formulaRow, formulaColumn);
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public SharedFormulaRecord clone() {
- return copy();
- }
-
@Override
public SharedFormulaRecord copy() {
return new SharedFormulaRecord(this);
return GenericRecordJsonWriter.marshal(this);
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public FontFormatting clone() {
- return copy();
- }
-
@Override
public FontFormatting copy() {
return new FontFormatting(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;
/**
* The axis options record provides unit information and other various tidbits about the axis.
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public AxisOptionsRecord clone() {
- return copy();
- }
-
/**
* Get the minimum category field for the AxisOptions record.
*/
import org.apache.poi.util.BitFieldFactory;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
-import org.apache.poi.util.Removal;
/**
* Defines a legend for a chart.
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public LegendRecord clone() {
- return copy();
- }
-
@Override
public LegendRecord copy() {
return new LegendRecord(this);
}
-
-
/**
* Get the x axis upper left field for the Legend 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;
/**
* The series chart group index record stores the index to the CHARTFORMAT record (0 based).
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public SeriesChartGroupIndexRecord clone() {
- return copy();
- }
-
@Override
public SeriesChartGroupIndexRecord copy() {
return new SeriesChartGroupIndexRecord(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;
/**
* SERIESLIST (0x1016)<p>
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public SeriesListRecord clone() {
- return copy();
- }
-
@Override
public SeriesListRecord copy() {
return new SeriesListRecord(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;
import org.apache.poi.util.StringUtil;
/**
return sid;
}
- /**
- * @deprecated use {@link #copy()} instead
- */
- @Override
- @SuppressWarnings({"squid:S2975", "MethodDoesntCallSuperMethod"})
- @Deprecated
- @Removal(version = "5.0.0")
- public SeriesTextRecord clone() {
- return copy();
- }
-
@Override
public SeriesTextRecord copy() {
return new SeriesTextRecord(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 text record is used to define text stored on a chart.
return sid;
}
- @SuppressWarnings("squid:S2975")
- @Deprecated
- @Removal(version = "5.0.0")
- public TextRecord clone() {
- return copy();
- }
-
@Override
public TextRecord copy() {
return new TextRecord(this);