1 write to _document
PresentationFramework (1)
MS\Internal\Documents\FlowDocumentFormatter.cs (1)
34
_document
= document;
26 references to _document
PresentationFramework (26)
MS\Internal\Documents\FlowDocumentFormatter.cs (26)
35
_documentPage = new FlowDocumentPage(
_document
.StructuralCache);
58
if (
_document
.StructuralCache.IsFormattingInProgress)
62
if (
_document
.StructuralCache.IsContentChangeInProgress)
68
if (
_document
.StructuralCache.IsFormattedOnce)
73
_document
.StructuralCache.InvalidateFormatCache(true);
75
if (!_arrangedAfterFormat && (!
_document
.StructuralCache.ForceReformat || !
_document
.StructuralCache.DestroyStructure))
94
using (
_document
.Dispatcher.DisableProcessing())
96
_document
.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag.
99
_document
.StructuralCache.BackgroundFormatInfo.ViewportHeight = constraint.Height;
104
_document
.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag.
117
Invariant.Assert(
_document
.StructuralCache.DtrList == null ||
_document
.StructuralCache.DtrList.Length == 0 ||
118
(
_document
.StructuralCache.DtrList.Length == 1 &&
_document
.StructuralCache.BackgroundFormatInfo.DoesFinalDTRCoverRestOfText));
128
viewport = new Rect(0, 0, arrangeSize.Width,
_document
.StructuralCache.BackgroundFormatInfo.ViewportHeight);
193
Size pageSize = new Size(
_document
.PageWidth, double.PositiveInfinity);
197
max =
_document
.MaxPageWidth;
202
min =
_document
.MinPageWidth;
221
double lineHeight = MS.Internal.Text.DynamicPropertyReader.GetLineHeightValue(
_document
);
222
Thickness pageMargin =
_document
.PagePadding;
305
_document
.StructuralCache.InvalidateFormatCache(true);
363
_document
.StructuralCache.IsFormattedOnce &&
364
!
_document
.StructuralCache.ForceReformat &&
366
!
_document
.StructuralCache.IsContentChangeInProgress &&
367
!
_document
.StructuralCache.IsFormattingInProgress;