1 write to _document
PresentationFramework (1)
MS\Internal\Documents\FlowDocumentPaginator.cs (1)
41_document = document;
35 references to _document
PresentationFramework (35)
MS\Internal\Documents\FlowDocumentPaginator.cs (35)
78if (_document.StructuralCache.IsFormattingInProgress) 82if (_document.StructuralCache.IsContentChangeInProgress) 151if (_document.StructuralCache.IsFormattingInProgress) 155if (_document.StructuralCache.IsContentChangeInProgress) 161using (_document.Dispatcher.DisableProcessing()) 163_document.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag. 196_document.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag. 230if (flowContentPosition.TextContainer != _document.StructuralCache.TextContainer) 287if (flowContentPosition.TextContainer != _document.StructuralCache.TextContainer) 294if (_document.StructuralCache.IsFormattingInProgress) 298if (_document.StructuralCache.IsContentChangeInProgress) 304using (_document.Dispatcher.DisableProcessing()) 306_document.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag. 328_document.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag. 369if (_document.FlowDirection == FlowDirection.RightToLeft) 417return _document.GetObjectPosition(o); 535if (_document.StructuralCache.IsFormattingInProgress) 537_document.StructuralCache.OnInvalidOperationDetected(); 591get { return _document; } 612_backgroundPaginationOperation = _document.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnBackgroundPagination), this); 737page = new FlowDocumentPage(_document.StructuralCache); 739pageMargin = _document.ComputePageMargin(); 768if (_document.StructuralCache.IsFormattingInProgress) 774if (_document.StructuralCache.PtsContext.Disposed) 781using (_document.Dispatcher.DisableProcessing()) 783_document.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag 826_document.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag. 839Size pageSize = new Size(_document.PageWidth, _document.PageHeight); 843max = _document.MaxPageWidth; 848min = _document.MinPageWidth; 857max = _document.MaxPageHeight; 862min = _document.MinPageHeight; 1069return ((IServiceProvider)_document).GetService(serviceType); 1132return !_document.StructuralCache.IsContentChangeInProgress;