1 write to _document
PresentationFramework (1)
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (1)
50_document = document;
35 references to _document
PresentationFramework (35)
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (35)
87if (_document.StructuralCache.IsFormattingInProgress) 91if (_document.StructuralCache.IsContentChangeInProgress) 160if (_document.StructuralCache.IsFormattingInProgress) 164if (_document.StructuralCache.IsContentChangeInProgress) 170using (_document.Dispatcher.DisableProcessing()) 172_document.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag. 205_document.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag. 242if (flowContentPosition.TextContainer != _document.StructuralCache.TextContainer) 302if (flowContentPosition.TextContainer != _document.StructuralCache.TextContainer) 309if (_document.StructuralCache.IsFormattingInProgress) 313if (_document.StructuralCache.IsContentChangeInProgress) 319using (_document.Dispatcher.DisableProcessing()) 321_document.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag. 343_document.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag. 387if (_document.FlowDirection == FlowDirection.RightToLeft) 438return _document.GetObjectPosition(o); 556if (_document.StructuralCache.IsFormattingInProgress) 558_document.StructuralCache.OnInvalidOperationDetected(); 612get { return _document; } 633_backgroundPaginationOperation = _document.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnBackgroundPagination), this); 758page = new FlowDocumentPage(_document.StructuralCache); 760pageMargin = _document.ComputePageMargin(); 789if (_document.StructuralCache.IsFormattingInProgress) 795if (_document.StructuralCache.PtsContext.Disposed) 802using (_document.Dispatcher.DisableProcessing()) 804_document.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag 847_document.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag. 860Size pageSize = new Size(_document.PageWidth, _document.PageHeight); 864max = _document.MaxPageWidth; 869min = _document.MinPageWidth; 878max = _document.MaxPageHeight; 883min = _document.MinPageHeight; 1090return ((IServiceProvider)_document).GetService(serviceType); 1153return !_document.StructuralCache.IsContentChangeInProgress;