本文整理汇总了C#中RecordInputStream类的典型用法代码示例。如果您正苦于以下问题:C# RecordInputStream类的具体用法?C# RecordInputStream怎么用?C# RecordInputStream使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
RecordInputStream类属于命名空间,在下文中一共展示了RecordInputStream类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AutoFilterRecord
public AutoFilterRecord(RecordInputStream in1)
{
field_1_iEntry = in1.ReadShort();
field_2_grbit = in1.ReadShort();
field_3_doper1 = new DOPERRecord(in1);
field_4_doper2 = new DOPERRecord(in1);
if (field_3_doper1.DataType == DOPERType.String&&field_3_doper1.LengthOfString>0)
{
rgch1_multibyte = (in1.ReadByte() != 0);
if (rgch1_multibyte)
{
field_5_rgch1 = in1.ReadUnicodeLEString(field_3_doper1.LengthOfString);
}
else
{
field_5_rgch1 = in1.ReadCompressedUnicode(field_3_doper1.LengthOfString);
}
}
if (field_4_doper2.DataType == DOPERType.String && field_4_doper2.LengthOfString > 0)
{
rgch2_multibyte = (in1.ReadByte() != 0);
if (rgch2_multibyte)
{
field_6_rgch2 = in1.ReadUnicodeLEString(field_4_doper2.LengthOfString);
}
else
{
field_6_rgch2 = in1.ReadCompressedUnicode(field_4_doper2.LengthOfString);
}
}
}
示例2: DOPERRecord
public DOPERRecord(RecordInputStream in1)
{
vt=(DOPERType)in1.ReadByte();
switch (vt)
{
case DOPERType.RKNumber:
grbitSgn = (byte)in1.ReadByte();
_RK = new RKRecord(in1);
in1.ReadInt(); //reserved
break;
case DOPERType.IEEENumber:
grbitSgn = (byte)in1.ReadByte();
_IEEENumber = in1.ReadDouble();
break;
case DOPERType.String:
grbitSgn = (byte)in1.ReadByte();
in1.ReadInt(); //reserved
CCH = (byte)in1.ReadByte();
in1.ReadByte(); //reserved
in1.ReadShort(); //reserved
break;
case DOPERType.BooleanOrErrors:
grbitSgn = (byte)in1.ReadByte();
fError=(byte)in1.ReadByte();
bBoolErr=(byte)in1.ReadByte();
in1.ReadShort(); //reserved
in1.ReadInt(); //reserved
break;
default: //FilterCondition,MatchAllBlanks,MatchNoneBlank
grbitSgn = 0;
in1.ReadByte(); //reserved
in1.ReadLong(); //reserved
break;
}
}
示例3: BarRecord
/**
* Constructs a Bar record and s its fields appropriately.
*
* @param in the RecordInputstream to Read the record from
*/
public BarRecord(RecordInputStream in1)
{
field_1_barSpace = in1.ReadShort();
field_2_categorySpace = in1.ReadShort();
field_3_formatFlags = in1.ReadShort();
}
示例4: ObjectLinkRecord
/**
* Constructs a ObjectLink record and Sets its fields appropriately.
*
* @param in the RecordInputstream to Read the record from
*/
public ObjectLinkRecord(RecordInputStream in1)
{
field_1_anchorId = in1.ReadShort();
field_2_link1 = in1.ReadShort();
field_3_link2 = in1.ReadShort();
}
示例5: DataFormatRecord
/**
* Constructs a DataFormat record and Sets its fields appropriately.
*
* @param in the RecordInputstream to Read the record from
*/
public DataFormatRecord(RecordInputStream in1)
{
field_1_pointNumber = in1.ReadShort();
field_2_seriesIndex = in1.ReadShort();
field_3_seriesNumber = in1.ReadShort();
field_4_formatFlags = in1.ReadShort();
}
示例6: ShtPropsRecord
/**
* Constructs a SheetProperties record and Sets its fields appropriately.
*
* @param in the RecordInputstream to Read the record from
*/
public ShtPropsRecord(RecordInputStream in1)
{
field_1_flags = in1.ReadShort();
field_2_mdBlank = (byte)in1.ReadByte();
field_3_reserved = (byte)in1.ReadByte();
}
示例7: SheetPropertiesRecord
/**
* Constructs a SheetProperties record and Sets its fields appropriately.
*
* @param in the RecordInputstream to Read the record from
*/
public SheetPropertiesRecord(RecordInputStream in1)
{
field_1_flags = in1.ReadShort();
field_2_empty = (byte)in1.ReadByte();
field_3_reserved = (byte)in1.ReadByte();
}
示例8: AxisRecord
/**
* Constructs a Axis record and Sets its fields appropriately.
*
* @param in the RecordInputstream to Read the record from
*/
public AxisRecord(RecordInputStream in1)
{
field_1_axisType = in1.ReadShort();
field_2_reserved1 = in1.ReadInt();
field_3_reserved2 = in1.ReadInt();
field_4_reserved3 = in1.ReadInt();
field_5_reserved4 = in1.ReadInt();
}
示例9: CategorySeriesAxisRecord
/**
* Constructs a CategorySeriesAxis record and Sets its fields appropriately.
*
* @param in the RecordInputstream to Read the record from
*/
public CategorySeriesAxisRecord(RecordInputStream in1)
{
field_1_crossingPoint = in1.ReadShort();
field_2_labelFrequency = in1.ReadShort();
field_3_tickMarkFrequency = in1.ReadShort();
field_4_options = in1.ReadShort();
}
示例10: ChartRecord
/**
* Constructs a Chart record and Sets its fields appropriately.
*
* @param in the RecordInputstream to Read the record from
*/
public ChartRecord(RecordInputStream in1)
{
field_1_x = in1.ReadInt();
field_2_y = in1.ReadInt();
field_3_width = in1.ReadInt();
field_4_height = in1.ReadInt();
}
示例11: AxisParentRecord
/**
* Constructs a AxisParent record and s its fields appropriately.
*
* @param in the RecordInputstream to Read the record from
*/
public AxisParentRecord(RecordInputStream in1)
{
field_1_axisType = in1.ReadShort();
field_2_x = in1.ReadInt();
field_3_y = in1.ReadInt();
field_4_width = in1.ReadInt();
field_5_height = in1.ReadInt();
}
示例12: FontBasisRecord
/**
* Constructs a FontBasis record and Sets its fields appropriately.
*
* @param in the RecordInputstream to Read the record from
*/
public FontBasisRecord(RecordInputStream in1)
{
field_1_xBasis = in1.ReadShort();
field_2_yBasis = in1.ReadShort();
field_3_heightBasis = in1.ReadShort();
field_4_scale = in1.ReadShort();
field_5_indexToFontTable = in1.ReadShort();
}
示例13: LineFormatRecord
/**
* Constructs a LineFormat record and Sets its fields appropriately.
*
* @param in the RecordInputstream to Read the record from
*/
public LineFormatRecord(RecordInputStream in1)
{
field_1_lineColor = in1.ReadInt();
field_2_linePattern = in1.ReadShort();
field_3_weight = in1.ReadShort();
field_4_format = in1.ReadShort();
field_5_colourPaletteIndex = in1.ReadShort();
}
示例14: CatSerRangeRecord
/**
* Constructs a CategorySeriesAxis record and Sets its fields appropriately.
*
* @param in the RecordInputstream to Read the record from
*/
public CatSerRangeRecord(RecordInputStream in1)
{
field_1_catCross = in1.ReadShort();
field_2_catLabel = in1.ReadShort();
field_3_catMark = in1.ReadShort();
field_4_options = in1.ReadShort();
}
示例15: LinkedDataRecord
/**
* Constructs a LinkedData record and Sets its fields appropriately.
*
* @param in the RecordInputstream to Read the record from
*/
public LinkedDataRecord(RecordInputStream in1)
{
field_1_linkType = (byte)in1.ReadByte();
field_2_referenceType = (byte)in1.ReadByte();
field_3_options = in1.ReadShort();
field_4_indexNumberFmtRecord = in1.ReadShort();
int encodedTokenLen = in1.ReadUShort();
field_5_formulaOfLink = Formula.Read(encodedTokenLen, in1);
}