// Token: 0x060023B3 RID: 9139 RVA: 0x000CD618 File Offset: 0x000CB818 protected override void RenderMenuItems(TextWriter output) { if (output == null) { throw new ArgumentNullException("output"); } DefaultFolderType defaultFolderType = Utilities.GetDefaultFolderType(this.folder); if (defaultFolderType == DefaultFolderType.SentItems || defaultFolderType == DefaultFolderType.Outbox) { this.RenderMenuItemWithImageAndText(output, -1795472081, null, ColumnId.SentTime); } else { this.RenderMenuItemWithImageAndText(output, -1795472081, null, ColumnId.DeliveryTime); } this.RenderMenuItemWithImageAndText(output, 1309845117, null, ColumnId.From); this.RenderMenuItemWithImageAndText(output, 262509582, null, ColumnId.To); this.RenderMenuItemWithImageAndText(output, 1128018090, null, ColumnId.Size); this.RenderMenuItemWithImageAndText(output, 2014646167, "divSbj", ColumnId.Subject); this.RenderMenuItemWithImageAndText(output, 785343019, null, ColumnId.MailIcon); this.RenderMenuItemWithImageAndText(output, 1072079569, null, ColumnId.HasAttachment); this.RenderMenuItemWithImageAndText(output, 1569168155, null, ColumnId.Importance); this.RenderMenuItemWithImageAndText(output, -568934371, null, ColumnId.ConversationFlagStatus); this.RenderMenuItemWithImageAndText(output, 1587370059, null, ColumnId.FlagDueDate); this.RenderMenuItemWithImageAndText(output, 1580556595, null, ColumnId.FlagStartDate); if (ConversationUtilities.ShouldAllowConversationView(this.userContext, this.folder)) { ContextMenu.RenderMenuDivider(output, null); string attributes = ConversationUtilities.IsConversationSortColumn(this.sortedColumn) ? "isCnv=1" : "isCnv=0"; this.RenderMenuItemWithImageAndText(output, 207081000, ThemeFileId.CheckUnchecked, "gbyCnv", attributes); } }
// Token: 0x06002971 RID: 10609 RVA: 0x000E99D0 File Offset: 0x000E7BD0 protected override Toolbar CreateListToolbar() { MessageItemManageToolbar toolbar = new MessageItemManageToolbar(base.IsPublicFolder, ConversationUtilities.ShouldAllowConversationView(base.UserContext, base.Folder), base.IsInDeleteItems || this.IsJunkMailFolder, this.IsMultiLine, base.IsOtherMailboxFolder, base.UserContext.IsWebPartRequest, base.Folder.ClassName, this.ReadingPanePosition, this.IsConversationView, base.UserContext.UserOptions.ConversationSortOrder == ConversationSortOrder.ChronologicalNewestOnTop, base.UserContext.UserOptions.ShowTreeInListView, base.IsInDeleteItems || base.IsDeletedItemsSubFolder, this.IsJunkMailFolder); MessageViewManageToolbar toolbar2 = new MessageViewManageToolbar(); MessageViewActionToolbar toolbar3 = new MessageViewActionToolbar(this.IsJunkMailFolder); MessageViewActionsButtonToolbar toolbar4 = new MessageViewActionsButtonToolbar(); return(new MultipartToolbar(new MultipartToolbar.ToolbarInfo[] { new MultipartToolbar.ToolbarInfo(toolbar, "divItemToolbar"), new MultipartToolbar.ToolbarInfo(toolbar2, "divViewToolbar"), new MultipartToolbar.ToolbarInfo(toolbar3, "divReplyForwardToolbar"), new MultipartToolbar.ToolbarInfo(toolbar4, "divActionsButtonToolbar") })); }
// Token: 0x060021E8 RID: 8680 RVA: 0x000C18B0 File Offset: 0x000BFAB0 protected override void LoadViewState() { OwaStoreObjectId owaStoreObjectId = null; if (base.SerializedContainerId != null) { if (OwaStoreObjectId.IsDummyArchiveFolder(base.SerializedContainerId)) { owaStoreObjectId = base.UserContext.GetArchiveRootFolderId(); this.archiveRootFolderId = owaStoreObjectId.ToString(); } else { owaStoreObjectId = OwaStoreObjectId.CreateFromString(base.SerializedContainerId); } } if (owaStoreObjectId == null) { base.AlgorithmTracer.TraceDebug((long)this.GetHashCode(), "folder Id is null, using default folder"); owaStoreObjectId = OwaStoreObjectId.CreateFromMailboxFolderId(this.DefaultFolderId); } PropertyDefinition[] array = new PropertyDefinition[] { FolderSchema.DisplayName, FolderSchema.ItemCount, FolderSchema.UnreadCount, ViewStateProperties.ReadingPanePosition, ViewStateProperties.ViewWidth, ViewStateProperties.ViewHeight, ViewStateProperties.MultiLine, ViewStateProperties.SortColumn, ViewStateProperties.SortOrder, ViewStateProperties.ViewFilter, ViewStateProperties.FilteredViewLabel, FolderSchema.SearchFolderAllowAgeout, FolderSchema.IsOutlookSearchFolder, FolderSchema.AdminFolderFlags, FolderSchema.FolderQuota, FolderSchema.FolderSize, FolderSchema.ELCFolderComment, FolderSchema.ELCPolicyIds, FolderSchema.ExtendedFolderFlags, StoreObjectSchema.EffectiveRights, FolderSchema.OutlookSearchFolderClsId }; this.folder = Utilities.GetFolderForContent <Folder>(base.UserContext, owaStoreObjectId, array); this.favoritesFilterParameter = Utilities.GetFavoritesFilterViewParameter(base.UserContext, this.Folder); if (this.folder is SearchFolder && this.favoritesFilterParameter != null && !this.favoritesFilterParameter.IsCurrentVersion) { this.favoritesFilterParameter.UpgradeFilter(this.folder as SearchFolder, array); } this.sortOrder = this.DefaultSortOrder; this.sortedColumn = this.DefaultSortedColumn; this.isMultiLine = this.DefaultMultiLineSetting; this.readingPanePosition = this.DefaultReadingPanePosition; FolderViewStates folderViewStates = base.UserContext.GetFolderViewStates(this.folder); if (base.UserContext.IsWebPartRequest) { string queryStringParameter = Utilities.GetQueryStringParameter(base.Request, "view", false); WebPartListView webPartListView = WebPartUtilities.LookUpWebPartView(this.folder.Id.ObjectId.ObjectType, this.folder.ClassName, queryStringParameter); if (webPartListView != null) { if (webPartListView.ColumnId != null) { this.sortedColumn = (ColumnId)webPartListView.ColumnId.Value; } if (webPartListView.SortOrder != null) { this.sortOrder = (SortOrder)webPartListView.SortOrder.Value; } if (webPartListView.IsMultiLine != null) { this.isMultiLine = webPartListView.IsMultiLine.Value; } } } else { this.viewWidth = folderViewStates.ViewWidth; this.viewHeight = folderViewStates.ViewHeight; this.sortOrder = folderViewStates.GetSortOrder(this.DefaultSortOrder); this.isMultiLine = folderViewStates.GetMultiLine(this.DefaultMultiLineSetting); string sortColumn = folderViewStates.GetSortColumn(null); if (sortColumn != null) { ColumnId columnId = ColumnIdParser.Parse(sortColumn); if (columnId < ColumnId.Count && (!this.isMultiLine || ListViewColumns.GetColumn(columnId).SortBoundaries != null)) { this.sortedColumn = columnId; } } } if (ConversationUtilities.IsConversationSortColumn(this.sortedColumn) && !ConversationUtilities.ShouldAllowConversationView(base.UserContext, this.Folder)) { this.sortedColumn = ColumnId.DeliveryTime; } this.readingPanePosition = folderViewStates.GetReadingPanePosition(this.DefaultReadingPanePosition); this.LoadELCData(); }