1 write to _document
PresentationFramework (1)
MS\Internal\Documents\FlowDocumentPaginator.cs (1)
41
_document
= document;
35 references to _document
PresentationFramework (35)
MS\Internal\Documents\FlowDocumentPaginator.cs (35)
78
if (
_document
.StructuralCache.IsFormattingInProgress)
82
if (
_document
.StructuralCache.IsContentChangeInProgress)
151
if (
_document
.StructuralCache.IsFormattingInProgress)
155
if (
_document
.StructuralCache.IsContentChangeInProgress)
161
using (
_document
.Dispatcher.DisableProcessing())
163
_document
.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag.
196
_document
.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag.
230
if (flowContentPosition.TextContainer !=
_document
.StructuralCache.TextContainer)
287
if (flowContentPosition.TextContainer !=
_document
.StructuralCache.TextContainer)
294
if (
_document
.StructuralCache.IsFormattingInProgress)
298
if (
_document
.StructuralCache.IsContentChangeInProgress)
304
using (
_document
.Dispatcher.DisableProcessing())
306
_document
.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag.
328
_document
.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag.
369
if (
_document
.FlowDirection == FlowDirection.RightToLeft)
417
return
_document
.GetObjectPosition(o);
535
if (
_document
.StructuralCache.IsFormattingInProgress)
537
_document
.StructuralCache.OnInvalidOperationDetected();
591
get { return
_document
; }
612
_backgroundPaginationOperation =
_document
.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnBackgroundPagination), this);
737
page = new FlowDocumentPage(
_document
.StructuralCache);
739
pageMargin =
_document
.ComputePageMargin();
768
if (
_document
.StructuralCache.IsFormattingInProgress)
774
if (
_document
.StructuralCache.PtsContext.Disposed)
781
using (
_document
.Dispatcher.DisableProcessing())
783
_document
.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag
826
_document
.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag.
839
Size pageSize = new Size(
_document
.PageWidth,
_document
.PageHeight);
843
max =
_document
.MaxPageWidth;
848
min =
_document
.MinPageWidth;
857
max =
_document
.MaxPageHeight;
862
min =
_document
.MinPageHeight;
1069
return ((IServiceProvider)
_document
).GetService(serviceType);
1132
return !
_document
.StructuralCache.IsContentChangeInProgress;