1 write to _document
PresentationFramework (1)
MS\Internal\Documents\FlowDocumentPaginator.cs (1)
45
_document
= document;
35 references to _document
PresentationFramework (35)
MS\Internal\Documents\FlowDocumentPaginator.cs (35)
82
if (
_document
.StructuralCache.IsFormattingInProgress)
86
if (
_document
.StructuralCache.IsContentChangeInProgress)
155
if (
_document
.StructuralCache.IsFormattingInProgress)
159
if (
_document
.StructuralCache.IsContentChangeInProgress)
165
using (
_document
.Dispatcher.DisableProcessing())
167
_document
.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag.
200
_document
.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag.
234
if (flowContentPosition.TextContainer !=
_document
.StructuralCache.TextContainer)
291
if (flowContentPosition.TextContainer !=
_document
.StructuralCache.TextContainer)
298
if (
_document
.StructuralCache.IsFormattingInProgress)
302
if (
_document
.StructuralCache.IsContentChangeInProgress)
308
using (
_document
.Dispatcher.DisableProcessing())
310
_document
.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag.
332
_document
.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag.
373
if (
_document
.FlowDirection == FlowDirection.RightToLeft)
421
return
_document
.GetObjectPosition(o);
539
if (
_document
.StructuralCache.IsFormattingInProgress)
541
_document
.StructuralCache.OnInvalidOperationDetected();
595
get { return
_document
; }
616
_backgroundPaginationOperation =
_document
.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnBackgroundPagination), this);
741
page = new FlowDocumentPage(
_document
.StructuralCache);
743
pageMargin =
_document
.ComputePageMargin();
772
if (
_document
.StructuralCache.IsFormattingInProgress)
778
if (
_document
.StructuralCache.PtsContext.Disposed)
785
using (
_document
.Dispatcher.DisableProcessing())
787
_document
.StructuralCache.IsFormattingInProgress = true; // Set reentrancy flag
830
_document
.StructuralCache.IsFormattingInProgress = false; // Clear reentrancy flag.
843
Size pageSize = new Size(
_document
.PageWidth,
_document
.PageHeight);
847
max =
_document
.MaxPageWidth;
852
min =
_document
.MinPageWidth;
861
max =
_document
.MaxPageHeight;
866
min =
_document
.MinPageHeight;
1073
return ((IServiceProvider)
_document
).GetService(serviceType);
1136
return !
_document
.StructuralCache.IsContentChangeInProgress;