本文整理汇总了C#中NPOI.POIFS.Common.POIFSBigBlockSize.GetHeaderValue方法的典型用法代码示例。如果您正苦于以下问题:C# POIFSBigBlockSize.GetHeaderValue方法的具体用法?C# POIFSBigBlockSize.GetHeaderValue怎么用?C# POIFSBigBlockSize.GetHeaderValue使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类NPOI.POIFS.Common.POIFSBigBlockSize
的用法示例。
在下文中一共展示了POIFSBigBlockSize.GetHeaderValue方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: HeaderBlock
public HeaderBlock(POIFSBigBlockSize bigBlockSize)
{
this.bigBlockSize = bigBlockSize;
_data = new byte[POIFSConstants.SMALLER_BIG_BLOCK_SIZE];
//fill the array.
for (int i = 0; i < _data.Length; i++)
_data[i] = _default_value;
new LongField(_signature_offset, _signature, _data);
new IntegerField(0x08, 0, _data);
new IntegerField(0x0c, 0, _data);
new IntegerField(0x10, 0, _data);
new IntegerField(0x14, 0, _data);
new ShortField((int)0x18, (short)0x3b, ref _data);
new ShortField((int)0x1a, (short)0x3, ref _data);
new ShortField((int)0x1c, (short)-2, ref _data);
new ShortField(0x1e, bigBlockSize.GetHeaderValue(), ref _data);
new IntegerField(0x20, 0x6, _data);
new IntegerField(0x24, 0, _data);
new IntegerField(0x28, 0, _data);
new IntegerField(0x34, 0, _data);
new IntegerField(0x38, 0x1000, _data);
_bat_count = 0;
_sbat_count = 0;
_xbat_count = 0;
_property_start = POIFSConstants.END_OF_CHAIN;
_sbat_start = POIFSConstants.END_OF_CHAIN;
_xbat_start = POIFSConstants.END_OF_CHAIN;
}