1 write to _document
PresentationFramework (1)
MS\Internal\Documents\FlowDocumentPaginator.cs (1)
45_document = document;
35 references to _document
PresentationFramework (35)
MS\Internal\Documents\FlowDocumentPaginator.cs (35)
82if (_document.StructuralCache.IsFormattingInProgress) 86if (_document.StructuralCache.IsContentChangeInProgress) 155if (_document.StructuralCache.IsFormattingInProgress) 159if (_document.StructuralCache.IsContentChangeInProgress) 165using (_document.Dispatcher.DisableProcessing()) 167_document.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag. 200_document.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag. 234if (flowContentPosition.TextContainer != _document.StructuralCache.TextContainer) 291if (flowContentPosition.TextContainer != _document.StructuralCache.TextContainer) 298if (_document.StructuralCache.IsFormattingInProgress) 302if (_document.StructuralCache.IsContentChangeInProgress) 308using (_document.Dispatcher.DisableProcessing()) 310_document.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag. 332_document.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag. 373if (_document.FlowDirection == FlowDirection.RightToLeft) 421return _document.GetObjectPosition(o); 539if (_document.StructuralCache.IsFormattingInProgress) 541_document.StructuralCache.OnInvalidOperationDetected(); 595get { return _document; } 616_backgroundPaginationOperation = _document.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnBackgroundPagination), this); 741page = new FlowDocumentPage(_document.StructuralCache); 743pageMargin = _document.ComputePageMargin(); 772if (_document.StructuralCache.IsFormattingInProgress) 778if (_document.StructuralCache.PtsContext.Disposed) 785using (_document.Dispatcher.DisableProcessing()) 787_document.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag 830_document.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag. 843Size pageSize = new Size(_document.PageWidth, _document.PageHeight); 847max = _document.MaxPageWidth; 852min = _document.MinPageWidth; 861max = _document.MaxPageHeight; 866min = _document.MinPageHeight; 1073return ((IServiceProvider)_document).GetService(serviceType); 1136return !_document.StructuralCache.IsContentChangeInProgress;