📄 name.cs
字号:
using System;
using Microsoft.Fawvw.Components.NExcel.Biff;
namespace Microsoft.Fawvw.Components.NExcel.Biff.Formula
{
/// <summary> A name operand</summary>
class Name:Operand, ParsedThing
{
/// <summary> Gets the token representation of this item in RPN
///
/// </summary>
/// <returns> the bytes applicable to this formula
/// </returns>
override internal sbyte[] Bytes
{
get
{
sbyte[] data = new sbyte[6];
return data;
}
}
/// <summary> Constructor</summary>
public Name()
{
}
/// <summary> Reads the ptg data from the array starting at the specified position
///
/// </summary>
/// <param name="data">the RPN array
/// </param>
/// <param name="pos">the current position in the array, excluding the ptg identifier
/// </param>
/// <returns> the number of bytes read
/// </returns>
public virtual int read(sbyte[] data, int pos)
{
int ixti = IntegerHelper.getInt(data[pos], data[pos + 1]);
int ilbl = IntegerHelper.getInt(data[pos + 2], data[pos + 3]);
return 6;
}
/// <summary> Abstract method implementation to get the string equivalent of this
/// token
///
/// </summary>
/// <param name="buf">the string to append to
/// </param>
public override void getString(System.Text.StringBuilder buf)
{
buf.Append("[Name record not implemented]");
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -