Package net.sf.jasperreports.export
Class SimplePptxExporterConfiguration
- java.lang.Object
-
- net.sf.jasperreports.export.SimpleCommonExportConfiguration
-
- net.sf.jasperreports.export.SimpleExporterConfiguration
-
- net.sf.jasperreports.export.SimplePptxExporterConfiguration
-
- All Implemented Interfaces:
CommonExportConfiguration
,ExporterConfiguration
,PptxExporterConfiguration
public class SimplePptxExporterConfiguration extends SimpleExporterConfiguration implements PptxExporterConfiguration
- Author:
- Sanda Zaharia (shertage@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.PptxExporterConfiguration
PROPERTY_BACKGROUND_AS_SLIDE_MASTER, PROPERTY_EMBED_FONTS, PROPERTY_ENCRYPTION_PASSWORD, PROPERTY_METADATA_APPLICATION, PROPERTY_METADATA_AUTHOR, PROPERTY_METADATA_KEYWORDS, PROPERTY_METADATA_SUBJECT, PROPERTY_METADATA_TITLE, PROPERTY_SLIDE_MASTER_PAGE, PROPERTY_SLIDE_MASTER_REPORT
-
-
Constructor Summary
Constructors Constructor Description SimplePptxExporterConfiguration()
-
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 PPTX document.String
getMetadataAuthor()
The Author of the PPTX document.String
getMetadataKeywords()
The Keywords of the PPTX document.String
getMetadataSubject()
The Subject of the PPTX document.String
getMetadataTitle()
The Title of the PPTX document.Integer
getSlideMasterPage()
Specifies the page from which the content of the slide master should be extracted.Integer
getSlideMasterReport()
Specifies the report (export input item) from which the content of the slide master should be extracted.Boolean
isBackgroundAsSlideMaster()
Flag that specifies whether the elements from the background section on the first page should be exported as the contents of the slide master, and then ignoring the background section elements for all pages/slides.Boolean
isEmbedFonts()
Indicates whether the true type fonts used in the report should be embedded into the generated PPTX document.void
setEmbedFonts(Boolean embedFonts)
void
setEncryptionPassword(String encryptionPassword)
void
setMetadataApplication(Boolean isBackgroundAsSlideMaster)
void
setMetadataApplication(String metadataApplication)
void
setMetadataAuthor(String metadataAuthor)
void
setMetadataKeywords(String metadataKeywords)
void
setMetadataSubject(String metadataSubject)
void
setMetadataTitle(String metadataTitle)
void
setSlideMasterPage(Integer slideMasterPage)
void
setSlideMasterReport(Integer slideMasterReport)
-
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:PptxExporterConfiguration
The Title of the PPTX document.- Specified by:
getMetadataTitle
in interfacePptxExporterConfiguration
-
setMetadataTitle
public void setMetadataTitle(String metadataTitle)
-
getMetadataAuthor
public String getMetadataAuthor()
Description copied from interface:PptxExporterConfiguration
The Author of the PPTX document.- Specified by:
getMetadataAuthor
in interfacePptxExporterConfiguration
-
setMetadataAuthor
public void setMetadataAuthor(String metadataAuthor)
-
getMetadataSubject
public String getMetadataSubject()
Description copied from interface:PptxExporterConfiguration
The Subject of the PPTX document.- Specified by:
getMetadataSubject
in interfacePptxExporterConfiguration
-
setMetadataSubject
public void setMetadataSubject(String metadataSubject)
-
getMetadataKeywords
public String getMetadataKeywords()
Description copied from interface:PptxExporterConfiguration
The Keywords of the PPTX document.- Specified by:
getMetadataKeywords
in interfacePptxExporterConfiguration
-
setMetadataKeywords
public void setMetadataKeywords(String metadataKeywords)
-
getMetadataApplication
public String getMetadataApplication()
Description copied from interface:PptxExporterConfiguration
The Application for the PPTX document. Defaults to "JasperReports Library version x.x.x".- Specified by:
getMetadataApplication
in interfacePptxExporterConfiguration
-
setMetadataApplication
public void setMetadataApplication(String metadataApplication)
-
isBackgroundAsSlideMaster
public Boolean isBackgroundAsSlideMaster()
Description copied from interface:PptxExporterConfiguration
Flag that specifies whether the elements from the background section on the first page should be exported as the contents of the slide master, and then ignoring the background section elements for all pages/slides.- Specified by:
isBackgroundAsSlideMaster
in interfacePptxExporterConfiguration
- See Also:
PptxExporterConfiguration.PROPERTY_BACKGROUND_AS_SLIDE_MASTER
-
setMetadataApplication
public void setMetadataApplication(Boolean isBackgroundAsSlideMaster)
-
getSlideMasterReport
public Integer getSlideMasterReport()
Description copied from interface:PptxExporterConfiguration
Specifies the report (export input item) from which the content of the slide master should be extracted. The default value is 1 (first report).- Specified by:
getSlideMasterReport
in interfacePptxExporterConfiguration
- See Also:
PptxExporterConfiguration.PROPERTY_SLIDE_MASTER_REPORT
-
setSlideMasterReport
public void setSlideMasterReport(Integer slideMasterReport)
-
getSlideMasterPage
public Integer getSlideMasterPage()
Description copied from interface:PptxExporterConfiguration
Specifies the page from which the content of the slide master should be extracted. The default value is 1 (first page).- Specified by:
getSlideMasterPage
in interfacePptxExporterConfiguration
- See Also:
PptxExporterConfiguration.PROPERTY_SLIDE_MASTER_PAGE
-
setSlideMasterPage
public void setSlideMasterPage(Integer slideMasterPage)
-
isEmbedFonts
public Boolean isEmbedFonts()
Description copied from interface:PptxExporterConfiguration
Indicates whether the true type fonts used in the report should be embedded into the generated PPTX document.- Specified by:
isEmbedFonts
in interfacePptxExporterConfiguration
- See Also:
PptxExporterConfiguration.PROPERTY_EMBED_FONTS
-
setEmbedFonts
public void setEmbedFonts(Boolean embedFonts)
-
getEncryptionPassword
public String getEncryptionPassword()
Description copied from interface:PptxExporterConfiguration
The encryption password needed to open the document, if it is encrypted.- Specified by:
getEncryptionPassword
in interfacePptxExporterConfiguration
- See Also:
PptxExporterConfiguration.PROPERTY_ENCRYPTION_PASSWORD
-
setEncryptionPassword
public void setEncryptionPassword(String encryptionPassword)
-
-