1 write to _document
PresentationFramework (1)
MS\Internal\Documents\FlowDocumentFormatter.cs (1)
37_document = document;
26 references to _document
PresentationFramework (26)
MS\Internal\Documents\FlowDocumentFormatter.cs (26)
38_documentPage = new FlowDocumentPage(_document.StructuralCache); 61if (_document.StructuralCache.IsFormattingInProgress) 65if (_document.StructuralCache.IsContentChangeInProgress) 71if (_document.StructuralCache.IsFormattedOnce) 76_document.StructuralCache.InvalidateFormatCache(true); 78if (!_arrangedAfterFormat && (!_document.StructuralCache.ForceReformat || !_document.StructuralCache.DestroyStructure)) 97using (_document.Dispatcher.DisableProcessing()) 99_document.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag. 102_document.StructuralCache.BackgroundFormatInfo.ViewportHeight = constraint.Height; 107_document.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag. 120Invariant.Assert(_document.StructuralCache.DtrList == null || _document.StructuralCache.DtrList.Length == 0 || 121(_document.StructuralCache.DtrList.Length == 1 && _document.StructuralCache.BackgroundFormatInfo.DoesFinalDTRCoverRestOfText)); 131viewport = new Rect(0, 0, arrangeSize.Width, _document.StructuralCache.BackgroundFormatInfo.ViewportHeight); 196Size pageSize = new Size(_document.PageWidth, double.PositiveInfinity); 200max = _document.MaxPageWidth; 205min = _document.MinPageWidth; 224double lineHeight = MS.Internal.Text.DynamicPropertyReader.GetLineHeightValue(_document); 225Thickness pageMargin = _document.PagePadding; 308_document.StructuralCache.InvalidateFormatCache(true); 366_document.StructuralCache.IsFormattedOnce && 367!_document.StructuralCache.ForceReformat && 369!_document.StructuralCache.IsContentChangeInProgress && 370!_document.StructuralCache.IsFormattingInProgress;