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);
57
if (
_document
.StructuralCache.IsFormattingInProgress)
61
if (
_document
.StructuralCache.IsContentChangeInProgress)
67
if (
_document
.StructuralCache.IsFormattedOnce)
72
_document
.StructuralCache.InvalidateFormatCache(true);
74
if (!_arrangedAfterFormat && (!
_document
.StructuralCache.ForceReformat || !
_document
.StructuralCache.DestroyStructure))
93
using (
_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.
116
Invariant.Assert(
_document
.StructuralCache.DtrList == null ||
_document
.StructuralCache.DtrList.Length == 0 ||
117
(
_document
.StructuralCache.DtrList.Length == 1 &&
_document
.StructuralCache.BackgroundFormatInfo.DoesFinalDTRCoverRestOfText));
127
viewport = new Rect(0, 0, arrangeSize.Width,
_document
.StructuralCache.BackgroundFormatInfo.ViewportHeight);
192
Size pageSize = new Size(
_document
.PageWidth, double.PositiveInfinity);
196
max =
_document
.MaxPageWidth;
201
min =
_document
.MinPageWidth;
220
double lineHeight = MS.Internal.Text.DynamicPropertyReader.GetLineHeightValue(
_document
);
221
Thickness pageMargin =
_document
.PagePadding;
304
_document
.StructuralCache.InvalidateFormatCache(true);
362
_document
.StructuralCache.IsFormattedOnce &&
363
!
_document
.StructuralCache.ForceReformat &&
365
!
_document
.StructuralCache.IsContentChangeInProgress &&
366
!
_document
.StructuralCache.IsFormattingInProgress;