1 write to _document
PresentationFramework (1)
MS\Internal\Documents\FlowDocumentPaginator.cs (1)
40
_document
= document;
35 references to _document
PresentationFramework (35)
MS\Internal\Documents\FlowDocumentPaginator.cs (35)
77
if (
_document
.StructuralCache.IsFormattingInProgress)
81
if (
_document
.StructuralCache.IsContentChangeInProgress)
150
if (
_document
.StructuralCache.IsFormattingInProgress)
154
if (
_document
.StructuralCache.IsContentChangeInProgress)
160
using (
_document
.Dispatcher.DisableProcessing())
162
_document
.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag.
195
_document
.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag.
229
if (flowContentPosition.TextContainer !=
_document
.StructuralCache.TextContainer)
286
if (flowContentPosition.TextContainer !=
_document
.StructuralCache.TextContainer)
293
if (
_document
.StructuralCache.IsFormattingInProgress)
297
if (
_document
.StructuralCache.IsContentChangeInProgress)
303
using (
_document
.Dispatcher.DisableProcessing())
305
_document
.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag.
327
_document
.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag.
368
if (
_document
.FlowDirection == FlowDirection.RightToLeft)
416
return
_document
.GetObjectPosition(o);
534
if (
_document
.StructuralCache.IsFormattingInProgress)
536
_document
.StructuralCache.OnInvalidOperationDetected();
590
get { return
_document
; }
611
_backgroundPaginationOperation =
_document
.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnBackgroundPagination), this);
736
page = new FlowDocumentPage(
_document
.StructuralCache);
738
pageMargin =
_document
.ComputePageMargin();
767
if (
_document
.StructuralCache.IsFormattingInProgress)
773
if (
_document
.StructuralCache.PtsContext.Disposed)
780
using (
_document
.Dispatcher.DisableProcessing())
782
_document
.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag
825
_document
.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag.
838
Size pageSize = new Size(
_document
.PageWidth,
_document
.PageHeight);
842
max =
_document
.MaxPageWidth;
847
min =
_document
.MinPageWidth;
856
max =
_document
.MaxPageHeight;
861
min =
_document
.MinPageHeight;
1068
return ((IServiceProvider)
_document
).GetService(serviceType);
1131
return !
_document
.StructuralCache.IsContentChangeInProgress;