1 write to _document
PresentationFramework (1)
src\Framework\MS\Internal\Documents\FlowDocumentFormatter.cs (1)
42
_document
= document;
26 references to _document
PresentationFramework (26)
src\Framework\MS\Internal\Documents\FlowDocumentFormatter.cs (26)
43
_documentPage = new FlowDocumentPage(
_document
.StructuralCache);
66
if (
_document
.StructuralCache.IsFormattingInProgress)
70
if (
_document
.StructuralCache.IsContentChangeInProgress)
76
if (
_document
.StructuralCache.IsFormattedOnce)
81
_document
.StructuralCache.InvalidateFormatCache(true);
83
if (!_arrangedAfterFormat && (!
_document
.StructuralCache.ForceReformat || !
_document
.StructuralCache.DestroyStructure))
102
using (
_document
.Dispatcher.DisableProcessing())
104
_document
.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag.
107
_document
.StructuralCache.BackgroundFormatInfo.ViewportHeight = constraint.Height;
112
_document
.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag.
125
Invariant.Assert(
_document
.StructuralCache.DtrList == null ||
_document
.StructuralCache.DtrList.Length == 0 ||
126
(
_document
.StructuralCache.DtrList.Length == 1 &&
_document
.StructuralCache.BackgroundFormatInfo.DoesFinalDTRCoverRestOfText));
136
viewport = new Rect(0, 0, arrangeSize.Width,
_document
.StructuralCache.BackgroundFormatInfo.ViewportHeight);
201
Size pageSize = new Size(
_document
.PageWidth, double.PositiveInfinity);
205
max =
_document
.MaxPageWidth;
210
min =
_document
.MinPageWidth;
229
double lineHeight = MS.Internal.Text.DynamicPropertyReader.GetLineHeightValue(
_document
);
230
Thickness pageMargin =
_document
.PagePadding;
313
_document
.StructuralCache.InvalidateFormatCache(true);
371
_document
.StructuralCache.IsFormattedOnce &&
372
!
_document
.StructuralCache.ForceReformat &&
374
!
_document
.StructuralCache.IsContentChangeInProgress &&
375
!
_document
.StructuralCache.IsFormattingInProgress;