1 write to _document
PresentationFramework (1)
MS\Internal\Documents\FlowDocumentFormatter.cs (1)
34_document = document;
26 references to _document
PresentationFramework (26)
MS\Internal\Documents\FlowDocumentFormatter.cs (26)
35_documentPage = new FlowDocumentPage(_document.StructuralCache); 58if (_document.StructuralCache.IsFormattingInProgress) 62if (_document.StructuralCache.IsContentChangeInProgress) 68if (_document.StructuralCache.IsFormattedOnce) 73_document.StructuralCache.InvalidateFormatCache(true); 75if (!_arrangedAfterFormat && (!_document.StructuralCache.ForceReformat || !_document.StructuralCache.DestroyStructure)) 94using (_document.Dispatcher.DisableProcessing()) 96_document.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag. 99_document.StructuralCache.BackgroundFormatInfo.ViewportHeight = constraint.Height; 104_document.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag. 117Invariant.Assert(_document.StructuralCache.DtrList == null || _document.StructuralCache.DtrList.Length == 0 || 118(_document.StructuralCache.DtrList.Length == 1 && _document.StructuralCache.BackgroundFormatInfo.DoesFinalDTRCoverRestOfText)); 128viewport = new Rect(0, 0, arrangeSize.Width, _document.StructuralCache.BackgroundFormatInfo.ViewportHeight); 193Size pageSize = new Size(_document.PageWidth, double.PositiveInfinity); 197max = _document.MaxPageWidth; 202min = _document.MinPageWidth; 221double lineHeight = MS.Internal.Text.DynamicPropertyReader.GetLineHeightValue(_document); 222Thickness pageMargin = _document.PagePadding; 305_document.StructuralCache.InvalidateFormatCache(true); 363_document.StructuralCache.IsFormattedOnce && 364!_document.StructuralCache.ForceReformat && 366!_document.StructuralCache.IsContentChangeInProgress && 367!_document.StructuralCache.IsFormattingInProgress;