1 write to _document
PresentationFramework (1)
MS\Internal\Documents\FlowDocumentPaginator.cs (1)
40_document = document;
35 references to _document
PresentationFramework (35)
MS\Internal\Documents\FlowDocumentPaginator.cs (35)
77if (_document.StructuralCache.IsFormattingInProgress) 81if (_document.StructuralCache.IsContentChangeInProgress) 150if (_document.StructuralCache.IsFormattingInProgress) 154if (_document.StructuralCache.IsContentChangeInProgress) 160using (_document.Dispatcher.DisableProcessing()) 162_document.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag. 195_document.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag. 229if (flowContentPosition.TextContainer != _document.StructuralCache.TextContainer) 286if (flowContentPosition.TextContainer != _document.StructuralCache.TextContainer) 293if (_document.StructuralCache.IsFormattingInProgress) 297if (_document.StructuralCache.IsContentChangeInProgress) 303using (_document.Dispatcher.DisableProcessing()) 305_document.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag. 327_document.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag. 368if (_document.FlowDirection == FlowDirection.RightToLeft) 416return _document.GetObjectPosition(o); 534if (_document.StructuralCache.IsFormattingInProgress) 536_document.StructuralCache.OnInvalidOperationDetected(); 590get { return _document; } 611_backgroundPaginationOperation = _document.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnBackgroundPagination), this); 736page = new FlowDocumentPage(_document.StructuralCache); 738pageMargin = _document.ComputePageMargin(); 767if (_document.StructuralCache.IsFormattingInProgress) 773if (_document.StructuralCache.PtsContext.Disposed) 780using (_document.Dispatcher.DisableProcessing()) 782_document.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag 825_document.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag. 838Size pageSize = new Size(_document.PageWidth, _document.PageHeight); 842max = _document.MaxPageWidth; 847min = _document.MinPageWidth; 856max = _document.MaxPageHeight; 861min = _document.MinPageHeight; 1068return ((IServiceProvider)_document).GetService(serviceType); 1131return !_document.StructuralCache.IsContentChangeInProgress;