public class Java14PrintUtil extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CONFIGURATION_REPAGINATE |
static int |
CONFIGURATION_SHOW_DIALOG |
static int |
CONFIGURATION_VALID |
Modifier and Type | Method and Description |
---|---|
static PrintRequestAttributeSet |
copyAuxillaryAttributes(PrintRequestAttributeSet attributes,
org.pentaho.reporting.engine.classic.core.MasterReport report) |
static PrintRequestAttributeSet |
copyConfiguration(PrintRequestAttributeSet attributes,
org.pentaho.reporting.engine.classic.core.MasterReport report)
This method replaces the media definition from the given attribute set with the one found in the report itself.
|
static PageFormat |
extractPageFormat(PrintRequestAttributeSet attributeSet) |
static int |
isValidConfiguration(PrintRequestAttributeSet attributes,
org.pentaho.reporting.engine.classic.core.MasterReport report)
This tests, whether the given attribute set defines the same page properties as the given JFreeReport object.
|
static boolean |
print(org.pentaho.reporting.engine.classic.core.MasterReport report) |
static boolean |
print(org.pentaho.reporting.engine.classic.core.MasterReport report,
org.pentaho.reporting.engine.classic.core.event.ReportProgressListener progressListener) |
static void |
printDirectly(org.pentaho.reporting.engine.classic.core.MasterReport report,
PrintService printService) |
public static final int CONFIGURATION_VALID
public static final int CONFIGURATION_REPAGINATE
public static final int CONFIGURATION_SHOW_DIALOG
public static int isValidConfiguration(PrintRequestAttributeSet attributes, org.pentaho.reporting.engine.classic.core.MasterReport report)
attributes
- report
- public static PrintRequestAttributeSet copyConfiguration(PrintRequestAttributeSet attributes, org.pentaho.reporting.engine.classic.core.MasterReport report)
attributes
- report
- public static PrintRequestAttributeSet copyAuxillaryAttributes(PrintRequestAttributeSet attributes, org.pentaho.reporting.engine.classic.core.MasterReport report)
public static PageFormat extractPageFormat(PrintRequestAttributeSet attributeSet)
public static void printDirectly(org.pentaho.reporting.engine.classic.core.MasterReport report, PrintService printService) throws PrintException, org.pentaho.reporting.engine.classic.core.ReportProcessingException
PrintException
org.pentaho.reporting.engine.classic.core.ReportProcessingException
public static boolean print(org.pentaho.reporting.engine.classic.core.MasterReport report) throws PrintException, org.pentaho.reporting.engine.classic.core.ReportProcessingException
PrintException
org.pentaho.reporting.engine.classic.core.ReportProcessingException
public static boolean print(org.pentaho.reporting.engine.classic.core.MasterReport report, org.pentaho.reporting.engine.classic.core.event.ReportProgressListener progressListener) throws PrintException, org.pentaho.reporting.engine.classic.core.ReportProcessingException
PrintException
org.pentaho.reporting.engine.classic.core.ReportProcessingException
Copyright © 2017 Hitachi Vantara. All rights reserved.