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 String
getEncryptionPassword()
The encryption password needed to open the document, if it is encrypted.String
getMetadataApplication()
The Application for the DOCX document.String
getMetadataAuthor()
The Author of the DOCX document.String
getMetadataKeywords()
The Keywords of the DOCX document.String
getMetadataSubject()
The Subject of the DOCX document.String
getMetadataTitle()
The Title of the DOCX document.Boolean
isEmbedFonts()
Indicates whether the true type fonts used in the report should be embedded into the generated DOCX document.void
setEmbedFonts(Boolean embedFonts)
void
setEncryptionPassword(String encryptionPassword)
void
setMetadataApplication(String metadataApplication)
void
setMetadataAuthor(String metadataAuthor)
void
setMetadataKeywords(String metadataKeywords)
void
setMetadataSubject(String metadataSubject)
void
setMetadataTitle(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:DocxExporterConfiguration
The Title of the DOCX document.- Specified by:
getMetadataTitle
in interfaceDocxExporterConfiguration
-
setMetadataTitle
public void setMetadataTitle(String metadataTitle)
-
getMetadataAuthor
public String getMetadataAuthor()
Description copied from interface:DocxExporterConfiguration
The Author of the DOCX document.- Specified by:
getMetadataAuthor
in interfaceDocxExporterConfiguration
-
setMetadataAuthor
public void setMetadataAuthor(String metadataAuthor)
-
getMetadataSubject
public String getMetadataSubject()
Description copied from interface:DocxExporterConfiguration
The Subject of the DOCX document.- Specified by:
getMetadataSubject
in interfaceDocxExporterConfiguration
-
setMetadataSubject
public void setMetadataSubject(String metadataSubject)
-
getMetadataKeywords
public String getMetadataKeywords()
Description copied from interface:DocxExporterConfiguration
The Keywords of the DOCX document.- Specified by:
getMetadataKeywords
in interfaceDocxExporterConfiguration
-
setMetadataKeywords
public void setMetadataKeywords(String metadataKeywords)
-
getMetadataApplication
public String getMetadataApplication()
Description copied from interface:DocxExporterConfiguration
The Application for the DOCX document. Defaults to "JasperReports Library version x.x.x".- Specified by:
getMetadataApplication
in interfaceDocxExporterConfiguration
-
setMetadataApplication
public void setMetadataApplication(String metadataApplication)
-
isEmbedFonts
public Boolean isEmbedFonts()
Description copied from interface:DocxExporterConfiguration
Indicates whether the true type fonts used in the report should be embedded into the generated DOCX document.- Specified by:
isEmbedFonts
in interfaceDocxExporterConfiguration
- See Also:
DocxExporterConfiguration.PROPERTY_EMBED_FONTS
-
setEmbedFonts
public void setEmbedFonts(Boolean embedFonts)
-
getEncryptionPassword
public String getEncryptionPassword()
Description copied from interface:DocxExporterConfiguration
The encryption password needed to open the document, if it is encrypted.- Specified by:
getEncryptionPassword
in interfaceDocxExporterConfiguration
- See Also:
DocxExporterConfiguration.PROPERTY_ENCRYPTION_PASSWORD
-
setEncryptionPassword
public void setEncryptionPassword(String encryptionPassword)
-
-