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