org.jpedal.examples.viewer.gui.popups.PrintPanelInt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of OpenViewerFX Show documentation
Show all versions of OpenViewerFX Show documentation
Open Source (LGPL) JavaFX PDF Viewer
/*
* ===========================================
* Java Pdf Extraction Decoding Access Library
* ===========================================
*
* Project Info: http://www.idrsolutions.com
* Help section for developers at http://www.idrsolutions.com/support/
*
* (C) Copyright 1997-2017 IDRsolutions and Contributors.
*
* This file is part of JPedal/JPDF2HTML5
*
@LICENSE@
*
* ---------------
* PrintPanelInt.java
* ---------------
*/
package org.jpedal.examples.viewer.gui.popups;
import javax.print.attribute.SetOfIntegerSyntax;
import javax.print.attribute.standard.PrinterResolution;
import org.jpedal.examples.viewer.paper.MarginPaper;
public interface PrintPanelInt {
void resetDefaults(String[] printersList, String defaultPrinter, int pageCount, int currentPage);
PrinterResolution getResolution();
/**
* return range as SetOfIntegerSytax
* - if you try to do something silly like print all
* even pages in rage 1-1 you will get null returned
*/
SetOfIntegerSyntax getPrintRange();
int getCopies();
/**
* return setting for type of scaling to use
* PAGE_SCALING_NONE,PAGE_SCALING_FIT_TO_PRINTER_MARGINS,PAGE_SCALING_REDUCE_TO_PRINTER_MARGINS
* see org.jpedal.objects.contstants.PrinterOptions for all values
*/
int getPageScaling();
String getPrinter();
boolean okClicked();
boolean isAutoRotateAndCenter();
boolean isPaperSourceByPDFSize();
boolean isPrintingCurrentView();
String[] getAvailablePaperSizes();
/**
* return selected Paper
*/
MarginPaper getSelectedPaper();
/**
* return printers default orientation
*/
int getSelectedPrinterOrientation();
boolean isPagesReversed();
boolean isOddPagesOnly();
boolean isEvenPagesOnly();
boolean isMonochrome();
boolean isVisible();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy