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);
61
if (
_document
.StructuralCache.IsFormattingInProgress)
65
if (
_document
.StructuralCache.IsContentChangeInProgress)
71
if (
_document
.StructuralCache.IsFormattedOnce)
76
_document
.StructuralCache.InvalidateFormatCache(true);
78
if (!_arrangedAfterFormat && (!
_document
.StructuralCache.ForceReformat || !
_document
.StructuralCache.DestroyStructure))
97
using (
_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.
120
Invariant.Assert(
_document
.StructuralCache.DtrList == null ||
_document
.StructuralCache.DtrList.Length == 0 ||
121
(
_document
.StructuralCache.DtrList.Length == 1 &&
_document
.StructuralCache.BackgroundFormatInfo.DoesFinalDTRCoverRestOfText));
131
viewport = new Rect(0, 0, arrangeSize.Width,
_document
.StructuralCache.BackgroundFormatInfo.ViewportHeight);
196
Size pageSize = new Size(
_document
.PageWidth, double.PositiveInfinity);
200
max =
_document
.MaxPageWidth;
205
min =
_document
.MinPageWidth;
224
double lineHeight = MS.Internal.Text.DynamicPropertyReader.GetLineHeightValue(
_document
);
225
Thickness pageMargin =
_document
.PagePadding;
308
_document
.StructuralCache.InvalidateFormatCache(true);
366
_document
.StructuralCache.IsFormattedOnce &&
367
!
_document
.StructuralCache.ForceReformat &&
369
!
_document
.StructuralCache.IsContentChangeInProgress &&
370
!
_document
.StructuralCache.IsFormattingInProgress;