You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
928 B
C#
38 lines
928 B
C#
namespace com.azkoss.excellite
|
|
{
|
|
using System;
|
|
using System.IO;
|
|
|
|
internal class FormulaRecord : XLSRecord
|
|
{
|
|
// Methods
|
|
static FormulaRecord()
|
|
{
|
|
FormulaRecord.staticDescriptor = XLSDescriptors.GetByName("Formula");
|
|
}
|
|
|
|
public FormulaRecord(object[] args) : base(FormulaRecord.staticDescriptor)
|
|
{
|
|
base.InitializeBody(args);
|
|
}
|
|
|
|
public FormulaRecord(int bodyLength, BinaryReader br, AbsXLSRec previousRecord) : base(FormulaRecord.staticDescriptor, bodyLength, br)
|
|
{
|
|
}
|
|
|
|
protected override int GetVariableArraySize(object[] loadedArgs, object[] varArr, int bodySize)
|
|
{
|
|
if (loadedArgs[1] != null)
|
|
{
|
|
return (ushort) loadedArgs[3];
|
|
}
|
|
return 8;
|
|
}
|
|
|
|
|
|
// Fields
|
|
private static XLSDescriptor staticDescriptor;
|
|
}
|
|
}
|
|
|