internal XlsBiffBoundSheet(uint startOffset, SheetType type, SheetVisibility visibleState, string name) : base(new byte[32]) { StartOffset = startOffset; Type = type; VisibleState = visibleState; _sheetName = new XlsInternalString(name); }
public override string ToString() { var builder = new StringBuilder(); builder.AppendLine("------------------------STATE------------------------"); builder.AppendLine("Sheet: " + ((Sheet == null) ? "null" : Sheet.ToString())); builder.AppendLine("SheetVisibility: " + SheetVisibility.ToString()); builder.AppendLine("MapCenter: " + ((MapCenter == null) ? "null" : (MapCenter.Position.Latitude.ToString() + ", " + MapCenter.Position.Longitude.ToString()))); builder.AppendLine("MapZoomLevel: " + MapZoomLevel.ToString()); builder.AppendLine("MapPitch: " + MapPitch.ToString()); builder.AppendLine("MapHeading: " + MapHeading.ToString()); builder.AppendLine("HasSheet: " + HasSheet.ToString()); builder.AppendLine("HasSheetVisibility: " + HasSheetVisibility.ToString()); builder.AppendLine("HasMapCenter: " + HasMapCenter.ToString()); builder.AppendLine("HasMapZoomLevel: " + HasMapZoomLevel.ToString()); builder.AppendLine("HasMapPitch: " + HasMapPitch.ToString()); builder.AppendLine("HasMapHeading: " + HasMapHeading.ToString()); builder.AppendLine("-----------------------------------------------------"); return(builder.ToString()); }