3 implementations of DocumentPaginator
PresentationFramework (3)
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
242
public DocumentPaginator
DocumentPaginator
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
322
public DocumentPaginator
DocumentPaginator
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
1738
DocumentPaginator IDocumentPaginatorSource.
DocumentPaginator
36 references to DocumentPaginator
PresentationFramework (36)
src\Framework\MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (2)
212
page = document.
DocumentPaginator
.GetPage(pageNumber) as FixedDocumentPage;
219
FixedDocumentSequenceDocumentPage sequencePage = document.
DocumentPaginator
.GetPage(pageNumber) as FixedDocumentSequenceDocumentPage;
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (4)
357
DynamicDocumentPaginator ddp = idp.
DocumentPaginator
as DynamicDocumentPaginator;
422
DocumentPage docPage = idp.
DocumentPaginator
.GetPage(pageNumber);
460
DynamicDocumentPaginator ddp = idp.
DocumentPaginator
as DynamicDocumentPaginator;
501
DocumentPage docPage = idp.
DocumentPaginator
.GetPage(pageNumber);
src\Framework\MS\Internal\Documents\Application\DocumentApplicationJournalEntry.cs (1)
103
if ((document != null) && (document.
DocumentPaginator
.IsPageCountValid))
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (2)
353
DynamicDocumentPaginator documentPaginator = _viewer.Document.
DocumentPaginator
as DynamicDocumentPaginator;
1522
DocumentPaginator documentPaginator = document.
DocumentPaginator
;
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
2143
_documentScrollInfo.Content = (Document != null) ? Document.
DocumentPaginator
as DynamicDocumentPaginator : null;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
562
paginator = ((IDocumentPaginatorSource)Document).
DocumentPaginator
as FlowDocumentPaginator;
1089
((IDocumentPaginatorSource)Document).
DocumentPaginator
.PageSize = _printingState.PageSize;
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (11)
176
((_document != null) && (pageNumber - 1 == this.PageCount) && !_document.
DocumentPaginator
.IsPageCountValid);
619
docWriter.WriteAsync(_document.
DocumentPaginator
);
649
_pageViews[index].DocumentPaginator = (_document != null) ? _document.
DocumentPaginator
: null;
868
_pageViews[index].DocumentPaginator = (_document != null) ? _document.
DocumentPaginator
: null;
1120
if (_document != null && sender == _document.
DocumentPaginator
&& e != null)
1202
documentPaginator = _document.
DocumentPaginator
as DynamicDocumentPaginator;
1243
SetValue(PageCountPropertyKey, (_document != null) ? _document.
DocumentPaginator
.PageCount : 0);
1272
canGoToNextPage = (MasterPageNumber < _document.
DocumentPaginator
.PageCount) || !_document.
DocumentPaginator
.IsPageCountValid;
1341
dynamicDocumentPaginator = oldDocument.
DocumentPaginator
as DynamicDocumentPaginator;
1379
dynamicDocumentPaginator = _document.
DocumentPaginator
as DynamicDocumentPaginator;
src\Framework\System\Windows\Controls\SinglePageViewer.cs (10)
502
DynamicDocumentPaginator dynamicDocumentPaginator = _oldDocument.
DocumentPaginator
as DynamicDocumentPaginator;
508
FlowDocumentPaginator flowDocumentPaginator = _oldDocument.
DocumentPaginator
as FlowDocumentPaginator;
529
DynamicDocumentPaginator dynamicDocumentPaginator = Document.
DocumentPaginator
as DynamicDocumentPaginator;
535
FlowDocumentPaginator flowDocumentPaginator = Document.
DocumentPaginator
as FlowDocumentPaginator;
677
paginator = ((IDocumentPaginatorSource)document).
DocumentPaginator
as FlowDocumentPaginator;
972
documentPaginator = this.Document.
DocumentPaginator
as DynamicDocumentPaginator;
1002
if (Document != null && sender == Document.
DocumentPaginator
&& e != null)
1050
DynamicDocumentPaginator documentPaginator = this.Document.
DocumentPaginator
as DynamicDocumentPaginator;
1121
Document.
DocumentPaginator
.PageSize = _printingState.PageSize;
1185
newMasterPageNumber = ((DynamicDocumentPaginator)this.Document.
DocumentPaginator
).GetPageNumber(_contentPosition) + 1;
src\Framework\System\Windows\Documents\DocumentSequence.cs (2)
601
paginator = document.
DocumentPaginator
as DynamicDocumentPaginator;
609
paginator = document.
DocumentPaginator
as DynamicDocumentPaginator;
src\Framework\System\Windows\Documents\FixedFindEngine.cs (1)
53
DynamicDocumentPaginator paginator = paginatorSource.
DocumentPaginator
as DynamicDocumentPaginator;