예제 #1
0
 public PivotFieldType()
 {
     this.autoShowRangeField = AutoShowRangeType.Top;
     this.autoShowTypeField = AutoShowTypeType.Manual;
     this.autoSortOrderField = AutoSortOrderType.Manual;
     this.calculationField = CalculationPivotFieldType.Normal;
     this.groupByField = 1;
     this.functionField = FunctionType.Sum;
     this.currentPageField = "All";
     this.positionField = 1;
     this.sQLTypeField = SQLTypeType.Character;
     this.subtotalNameField = "Subtotal";
     this.groupedWidthField = 50;
     this.pLGroupTypeField = "Weeks";
     this.totalAlignmentField = TotalAlignmentType.Automatic;
 }
 public PivotFieldType()
 {
     _subtotalFormat = new SubtotalFormatType();
     _pivotItem = new List<PivotItemType>();
     _detailFormat = new DetailFormatType();
     _pLTPivotItem = new List<PivotItemType>();
     _filterMember = new List<PivotFieldTypeFilterMember>();
     _memberProperty = new List<MemberPropertyType>();
     _subtotal = new List<SubtotalType>();
     _mapChildItems = new MapChildItemsType();
     _autoShowRange = AutoShowRangeType.Top;
     _autoShowType = AutoShowTypeType.Manual;
     _autoSortOrder = AutoSortOrderType.Manual;
     _calculation = CalculationPivotFieldType.Normal;
     _groupBy = 1;
     _function = FunctionType.Sum;
     _currentPage = "All";
     _position = 1;
     _sQLType = SQLTypeType.Character;
     _subtotalName = "Subtotal";
     _groupedWidth = 50;
     _pLGroupType = "Weeks";
     _totalAlignment = TotalAlignmentType.Automatic;
 }