1 write to _document
PresentationFramework (1)
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (1)
50
_document
= document;
35 references to _document
PresentationFramework (35)
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (35)
87
if (
_document
.StructuralCache.IsFormattingInProgress)
91
if (
_document
.StructuralCache.IsContentChangeInProgress)
160
if (
_document
.StructuralCache.IsFormattingInProgress)
164
if (
_document
.StructuralCache.IsContentChangeInProgress)
170
using (
_document
.Dispatcher.DisableProcessing())
172
_document
.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag.
205
_document
.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag.
242
if (flowContentPosition.TextContainer !=
_document
.StructuralCache.TextContainer)
302
if (flowContentPosition.TextContainer !=
_document
.StructuralCache.TextContainer)
309
if (
_document
.StructuralCache.IsFormattingInProgress)
313
if (
_document
.StructuralCache.IsContentChangeInProgress)
319
using (
_document
.Dispatcher.DisableProcessing())
321
_document
.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag.
343
_document
.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag.
387
if (
_document
.FlowDirection == FlowDirection.RightToLeft)
438
return
_document
.GetObjectPosition(o);
556
if (
_document
.StructuralCache.IsFormattingInProgress)
558
_document
.StructuralCache.OnInvalidOperationDetected();
612
get { return
_document
; }
633
_backgroundPaginationOperation =
_document
.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnBackgroundPagination), this);
758
page = new FlowDocumentPage(
_document
.StructuralCache);
760
pageMargin =
_document
.ComputePageMargin();
789
if (
_document
.StructuralCache.IsFormattingInProgress)
795
if (
_document
.StructuralCache.PtsContext.Disposed)
802
using (
_document
.Dispatcher.DisableProcessing())
804
_document
.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag
847
_document
.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag.
860
Size pageSize = new Size(
_document
.PageWidth,
_document
.PageHeight);
864
max =
_document
.MaxPageWidth;
869
min =
_document
.MinPageWidth;
878
max =
_document
.MaxPageHeight;
883
min =
_document
.MinPageHeight;
1090
return ((IServiceProvider)
_document
).GetService(serviceType);
1153
return !
_document
.StructuralCache.IsContentChangeInProgress;