Package net.sf.jasperreports.export
Class SimpleDocxExporterConfiguration
- java.lang.Object
-
- net.sf.jasperreports.export.SimpleCommonExportConfiguration
-
- net.sf.jasperreports.export.SimpleExporterConfiguration
-
- net.sf.jasperreports.export.SimpleDocxExporterConfiguration
-
- All Implemented Interfaces:
CommonExportConfiguration,DocxExporterConfiguration,ExporterConfiguration
public class SimpleDocxExporterConfiguration extends SimpleExporterConfiguration implements DocxExporterConfiguration
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
PROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS
-
Fields inherited from interface net.sf.jasperreports.export.DocxExporterConfiguration
PROPERTY_EMBED_FONTS, PROPERTY_ENCRYPTION_PASSWORD, PROPERTY_METADATA_APPLICATION, PROPERTY_METADATA_AUTHOR, PROPERTY_METADATA_KEYWORDS, PROPERTY_METADATA_SUBJECT, PROPERTY_METADATA_TITLE
-
-
Constructor Summary
Constructors Constructor Description SimpleDocxExporterConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEncryptionPassword()The encryption password needed to open the document, if it is encrypted.StringgetMetadataApplication()The Application for the DOCX document.StringgetMetadataAuthor()The Author of the DOCX document.StringgetMetadataKeywords()The Keywords of the DOCX document.StringgetMetadataSubject()The Subject of the DOCX document.StringgetMetadataTitle()The Title of the DOCX document.BooleanisEmbedFonts()Indicates whether the true type fonts used in the report should be embedded into the generated DOCX document.voidsetEmbedFonts(Boolean embedFonts)voidsetEncryptionPassword(String encryptionPassword)voidsetMetadataApplication(String metadataApplication)voidsetMetadataAuthor(String metadataAuthor)voidsetMetadataKeywords(String metadataKeywords)voidsetMetadataSubject(String metadataSubject)voidsetMetadataTitle(String metadataTitle)-
Methods inherited from class net.sf.jasperreports.export.SimpleCommonExportConfiguration
isOverrideHints, setOverrideHints
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
isOverrideHints
-
-
-
-
Method Detail
-
getMetadataTitle
public String getMetadataTitle()
Description copied from interface:DocxExporterConfigurationThe Title of the DOCX document.- Specified by:
getMetadataTitlein interfaceDocxExporterConfiguration
-
setMetadataTitle
public void setMetadataTitle(String metadataTitle)
-
getMetadataAuthor
public String getMetadataAuthor()
Description copied from interface:DocxExporterConfigurationThe Author of the DOCX document.- Specified by:
getMetadataAuthorin interfaceDocxExporterConfiguration
-
setMetadataAuthor
public void setMetadataAuthor(String metadataAuthor)
-
getMetadataSubject
public String getMetadataSubject()
Description copied from interface:DocxExporterConfigurationThe Subject of the DOCX document.- Specified by:
getMetadataSubjectin interfaceDocxExporterConfiguration
-
setMetadataSubject
public void setMetadataSubject(String metadataSubject)
-
getMetadataKeywords
public String getMetadataKeywords()
Description copied from interface:DocxExporterConfigurationThe Keywords of the DOCX document.- Specified by:
getMetadataKeywordsin interfaceDocxExporterConfiguration
-
setMetadataKeywords
public void setMetadataKeywords(String metadataKeywords)
-
getMetadataApplication
public String getMetadataApplication()
Description copied from interface:DocxExporterConfigurationThe Application for the DOCX document. Defaults to "JasperReports Library version x.x.x".- Specified by:
getMetadataApplicationin interfaceDocxExporterConfiguration
-
setMetadataApplication
public void setMetadataApplication(String metadataApplication)
-
isEmbedFonts
public Boolean isEmbedFonts()
Description copied from interface:DocxExporterConfigurationIndicates whether the true type fonts used in the report should be embedded into the generated DOCX document.- Specified by:
isEmbedFontsin interfaceDocxExporterConfiguration- See Also:
DocxExporterConfiguration.PROPERTY_EMBED_FONTS
-
setEmbedFonts
public void setEmbedFonts(Boolean embedFonts)
-
getEncryptionPassword
public String getEncryptionPassword()
Description copied from interface:DocxExporterConfigurationThe encryption password needed to open the document, if it is encrypted.- Specified by:
getEncryptionPasswordin interfaceDocxExporterConfiguration- See Also:
DocxExporterConfiguration.PROPERTY_ENCRYPTION_PASSWORD
-
setEncryptionPassword
public void setEncryptionPassword(String encryptionPassword)
-
-