Package net.sf.jasperreports.view.save
Class JRDocxSaveContributor
- java.lang.Object
-
- javax.swing.filechooser.FileFilter
-
- net.sf.jasperreports.view.JRSaveContributor
-
- net.sf.jasperreports.view.save.JRDocxSaveContributor
-
public class JRDocxSaveContributor extends JRSaveContributor
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description JRDocxSaveContributor(Locale locale, ResourceBundle resBundle)JRDocxSaveContributor(JasperReportsContext jasperReportsContext, Locale locale, ResourceBundle resBundle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(File file)StringgetDescription()voidsave(JasperPrint jasperPrint, File file)-
Methods inherited from class net.sf.jasperreports.view.JRSaveContributor
getBundleString, getJasperReportsContext
-
-
-
-
Constructor Detail
-
JRDocxSaveContributor
public JRDocxSaveContributor(Locale locale, ResourceBundle resBundle)
-
JRDocxSaveContributor
public JRDocxSaveContributor(JasperReportsContext jasperReportsContext, Locale locale, ResourceBundle resBundle)
-
-
Method Detail
-
accept
public boolean accept(File file)
- Specified by:
acceptin classFileFilter
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin classFileFilter
-
save
public void save(JasperPrint jasperPrint, File file) throws JRException
- Specified by:
savein classJRSaveContributor- Throws:
JRException
-
-