1 write to _document
PresentationFramework (1)
MS\Internal\Documents\FlowDocumentFormatter.cs (1)
33_document = document;
26 references to _document
PresentationFramework (26)
MS\Internal\Documents\FlowDocumentFormatter.cs (26)
34_documentPage = new FlowDocumentPage(_document.StructuralCache); 57if (_document.StructuralCache.IsFormattingInProgress) 61if (_document.StructuralCache.IsContentChangeInProgress) 67if (_document.StructuralCache.IsFormattedOnce) 72_document.StructuralCache.InvalidateFormatCache(true); 74if (!_arrangedAfterFormat && (!_document.StructuralCache.ForceReformat || !_document.StructuralCache.DestroyStructure)) 93using (_document.Dispatcher.DisableProcessing()) 95_document.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag. 98_document.StructuralCache.BackgroundFormatInfo.ViewportHeight = constraint.Height; 103_document.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag. 116Invariant.Assert(_document.StructuralCache.DtrList == null || _document.StructuralCache.DtrList.Length == 0 || 117(_document.StructuralCache.DtrList.Length == 1 && _document.StructuralCache.BackgroundFormatInfo.DoesFinalDTRCoverRestOfText)); 127viewport = new Rect(0, 0, arrangeSize.Width, _document.StructuralCache.BackgroundFormatInfo.ViewportHeight); 192Size pageSize = new Size(_document.PageWidth, double.PositiveInfinity); 196max = _document.MaxPageWidth; 201min = _document.MinPageWidth; 220double lineHeight = MS.Internal.Text.DynamicPropertyReader.GetLineHeightValue(_document); 221Thickness pageMargin = _document.PagePadding; 304_document.StructuralCache.InvalidateFormatCache(true); 362_document.StructuralCache.IsFormattedOnce && 363!_document.StructuralCache.ForceReformat && 365!_document.StructuralCache.IsContentChangeInProgress && 366!_document.StructuralCache.IsFormattingInProgress;