@class UIPrintSheetController, UIImageView, NSCache, UICollectionView, UIAction, UIViewController, UIButton, UIView, NSLayoutConstraint, NSString, UIAlertController, NSOperationQueue, UIPrintMessageAndSpinnerView, UIPrintPanelViewController, UIDocumentInteractionController, UIPrintInteractionController, UIPrintInfo; @protocol UITraitChangeRegistration; @interface UIPrintPreviewViewController : UIViewController <UIPrintPreviewDelegate, UIGestureRecognizerDelegate, UIDocumentInteractionControllerDelegate, UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDataSourcePrefetching, UICollectionViewDelegateFlowLayout, UITraitChangeObservable> @property (retain) UIPrintSheetController *printSheetController; @property long long previewLayoutType; @property (retain) UIPrintInfo *printInfo; @property long long numberOfSheets; @property (retain) NSCache *cachedThumbnailImages; @property (copy) id /* block */ thumnailImageCompletionHandler; @property (retain) NSOperationQueue *thumbnailOperationsQueue; @property (retain) UIButton *layoutPopupButton; @property (retain) NSLayoutConstraint *layoutPopupButtonTopConstraint; @property (retain) UIAction *pagesPopupAction; @property (retain) UIAction *sheetsPopupAction; @property struct CGSize { double width; double height; } previewSize; @property (retain) NSLayoutConstraint *collectionViewTopConstraint; @property long long previewScrollDirection; @property (retain) UIDocumentInteractionController *documentInteractionController; @property (retain) UIViewController *longPressImageViewController; @property (retain) UIView *pinchGestureBeginningView; @property (retain) UIImageView *pinchAnimationView; @property (retain) UIView *pinchAnimationProgressView; @property struct CGPoint { double x; double y; } pinchGestureLastPoint; @property double pinchGestureLastScale; @property (retain) UIAlertController *generatingPDFProgressController; @property (retain) UIPrintMessageAndSpinnerView *webKitGeneratingPreviewProgressView; @property BOOL showWebKitGeneratingPreviewProgress; @property double progressPresentationTime; @property (retain) id<UITraitChangeRegistration> traitPreferredContentSizeChangeRegistration; @property (weak) UIPrintPanelViewController *printPanelViewController; @property (weak) UIPrintInteractionController *printInteractionController; @property (retain) UICollectionView *collectionView; @property BOOL presentingDocumentInteractionController; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; - (double)headerHeight; - (id)collectionView:(id)a0 previewForHighlightingContextMenuWithConfiguration:(id)a1; - (struct CGSize { double x0; double x1; })collectionView:(id)a0 layout:(id)a1 sizeForItemAtIndexPath:(id)a2; - (void)collectionView:(id)a0 prefetchItemsAtIndexPaths:(id)a1; - (void)dealloc; - (id)collectionView:(id)a0 previewForDismissingContextMenuWithConfiguration:(id)a1; - (void)viewDidLayoutSubviews; - (struct UIEdgeInsets { double x0; double x1; double x2; double x3; })collectionView:(id)a0 layout:(id)a1 insetForSectionAtIndex:(long long)a2; - (id)collectionView:(id)a0 contextMenuConfigurationForItemAtIndexPath:(id)a1 point:(struct CGPoint { double x0; double x1; })a2; - (void)viewDidLoad; - (void)setScrollDirection:(long long)a0; - (struct CGSize { double x0; double x1; })maxThumbnailSize; - (void)collectionView:(id)a0 willPerformPreviewActionForMenuWithConfiguration:(id)a1 animator:(id)a2; - (void)observeValueForKeyPath:(id)a0 ofObject:(id)a1 change:(id)a2 context:(void *)a3; - (void).cxx_destruct; - (void)handlePinch:(id)a0; - (long long)collectionView:(id)a0 numberOfItemsInSection:(long long)a1; - (long long)numberOfSectionsInCollectionView:(id)a0; - (void)viewWillTransitionToSize:(struct CGSize { double x0; double x1; })a0 withTransitionCoordinator:(id)a1; - (id)collectionView:(id)a0 cellForItemAtIndexPath:(id)a1; - (void)setupCollectionView; - (void)documentInteractionController:(id)a0 didEndSendingToApplication:(id)a1; - (void)documentInteractionControllerDidEndPreview:(id)a0; - (id)documentInteractionControllerViewControllerForPreview:(id)a0; - (id)excludedActivityTypesForDocumentInteractionController:(id)a0; - (BOOL)showingPageView; - (BOOL)canAddAllPages:(id)a0; - (void)addAllPages:(id)a0; - (void)addPage:(id)a0 forPageIndex:(long long)a1; - (void)animateCellAndPresentDocumentInteractionController; - (BOOL)canAddPage:(id)a0 forPageIndex:(long long)a1; - (BOOL)canModifyPageRange; - (BOOL)canRemovePage:(id)a0 forPageIndex:(long long)a1; - (BOOL)canSetEndPage:(id)a0 forPageIndex:(long long)a1; - (BOOL)canSetStartPage:(id)a0 forPageIndex:(long long)a1; - (BOOL)canShowMenuBar; - (id)createGeneratingPDFProgressView:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (void)fetchThumnailImageInBackground:(long long)a0 previewPageCell:(id)a1 completion:(id /* block */)a2; - (void)gotoFirstPage:(id)a0; - (void)gotoLastPage:(id)a0; - (void)hideGeneratingPDFProgress:(id)a0; - (void)hideWebkitGeneratingPreviewProgress; - (id)initWithScrollDirection:(long long)a0 printPanelViewController:(id)a1; - (void)layoutPopupButtonChanged:(long long)a0; - (void)pageBadgeTapped:(long long)a0; - (BOOL)pageIndexIsInRange:(long long)a0; - (void)performThumbnailDispatchBlock:(id /* block */)a0; - (id)printPagePreviewActionItemsWithPageIndex:(long long)a0; - (id)printPagePreviewViewControllerForItemAtPageIndex:(long long)a0; - (void)removePage:(id)a0 forPageIndex:(long long)a1; - (void)resetAllPages; - (void)resetPrintPreview; - (void)setEndPage:(id)a0 forPageIndex:(long long)a1; - (void)setStartPage:(id)a0 forPageIndex:(long long)a1; - (void)setupLayoutControl; - (BOOL)showPageRange; - (void)showQuickLookDocumentInteractionController:(id)a0; - (void)showQuickLookFromPreviewAction; - (void)showWebkitGeneratingPreviewProgress; - (struct CGSize { double x0; double x1; })thumbnailSizeForSheetNum:(long long)a0; - (void)traitCollectionDidChange:(id)a0 previousTraitCollection:(id)a1; - (void)updateHeaderFooters; - (void)updateLayoutControl; - (void)updatePageRange:(id)a0; - (void)updatePreviewSize; @end