Package net.sf.jasperreports.export
Class SimpleDocxReportConfiguration
- java.lang.Object
-
- net.sf.jasperreports.export.SimpleCommonExportConfiguration
-
- net.sf.jasperreports.export.SimpleReportExportConfiguration
-
- net.sf.jasperreports.export.SimpleDocxReportConfiguration
-
- All Implemented Interfaces:
CommonExportConfiguration
,DocxReportConfiguration
,ReportExportConfiguration
public class SimpleDocxReportConfiguration extends SimpleReportExportConfiguration implements DocxReportConfiguration
- 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.DocxReportConfiguration
PROPERTY_BACKGROUND_AS_HEADER, PROPERTY_FLEXIBLE_ROW_HEIGHT, PROPERTY_FRAMES_AS_NESTED_TABLES, PROPERTY_IGNORE_HYPERLINK, PROPERTY_NEW_LINE_AS_PARAGRAPH
-
Fields inherited from interface net.sf.jasperreports.export.ReportExportConfiguration
PROPERTY_IGNORE_PAGE_MARGINS
-
-
Constructor Summary
Constructors Constructor Description SimpleDocxReportConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
isBackgroundAsHeader()
Boolean
isFlexibleRowHeight()
Indicates whether table rows can grow if more text is added into cells.Boolean
isFramesAsNestedTables()
Indicates whetherframes
are to be exported as nested tables.Boolean
isIgnoreHyperlink()
Boolean
isNewLineAsParagraph()
Indicates whether the newline element present in a justified paragraph introduces a new justified paragraph.void
setBackgroundAsHeader(Boolean isBackgroundAsHeader)
void
setFlexibleRowHeight(Boolean isFlexibleRowHeight)
void
setFramesAsNestedTables(Boolean isFramesAsNestedTables)
void
setIgnoreHyperlink(Boolean isIgnoreHyperlink)
void
setNewLineAsParagraph(Boolean isNewLineAsParagraph)
-
Methods inherited from class net.sf.jasperreports.export.SimpleReportExportConfiguration
getEndPageIndex, getExporterFilter, getHyperlinkProducerFactory, getOffsetX, getOffsetY, getPageIndex, getProgressMonitor, getStartPageIndex, setEndPageIndex, setExporterFilter, setHyperlinkProducerFactory, setOffsetX, setOffsetY, setPageIndex, setProgressMonitor, setStartPageIndex
-
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
-
Methods inherited from interface net.sf.jasperreports.export.ReportExportConfiguration
getEndPageIndex, getExporterFilter, getHyperlinkProducerFactory, getOffsetX, getOffsetY, getPageIndex, getProgressMonitor, getStartPageIndex
-
-
-
-
Method Detail
-
isFramesAsNestedTables
public Boolean isFramesAsNestedTables()
Description copied from interface:DocxReportConfiguration
Indicates whetherframes
are to be exported as nested tables.If set to
false
, the frame contents will be integrated into the master/page table.- Specified by:
isFramesAsNestedTables
in interfaceDocxReportConfiguration
- See Also:
DocxReportConfiguration.PROPERTY_FRAMES_AS_NESTED_TABLES
-
setFramesAsNestedTables
public void setFramesAsNestedTables(Boolean isFramesAsNestedTables)
-
isFlexibleRowHeight
public Boolean isFlexibleRowHeight()
Description copied from interface:DocxReportConfiguration
Indicates whether table rows can grow if more text is added into cells.If set to
false
, the table rows do not increase in height automatically and the user has to enlarge them manually.- Specified by:
isFlexibleRowHeight
in interfaceDocxReportConfiguration
- See Also:
DocxReportConfiguration.PROPERTY_FLEXIBLE_ROW_HEIGHT
-
setFlexibleRowHeight
public void setFlexibleRowHeight(Boolean isFlexibleRowHeight)
-
isIgnoreHyperlink
public Boolean isIgnoreHyperlink()
- Specified by:
isIgnoreHyperlink
in interfaceDocxReportConfiguration
- See Also:
DocxReportConfiguration.PROPERTY_IGNORE_HYPERLINK
-
setIgnoreHyperlink
public void setIgnoreHyperlink(Boolean isIgnoreHyperlink)
-
isNewLineAsParagraph
public Boolean isNewLineAsParagraph()
Description copied from interface:DocxReportConfiguration
Indicates whether the newline element present in a justified paragraph introduces a new justified paragraph.If set to
true
, the text line before the new paragraph will lose the justified alignment.- Specified by:
isNewLineAsParagraph
in interfaceDocxReportConfiguration
- See Also:
DocxReportConfiguration.PROPERTY_NEW_LINE_AS_PARAGRAPH
-
setNewLineAsParagraph
public void setNewLineAsParagraph(Boolean isNewLineAsParagraph)
-
isBackgroundAsHeader
public Boolean isBackgroundAsHeader()
- Specified by:
isBackgroundAsHeader
in interfaceDocxReportConfiguration
- See Also:
DocxReportConfiguration.PROPERTY_BACKGROUND_AS_HEADER
-
setBackgroundAsHeader
public void setBackgroundAsHeader(Boolean isBackgroundAsHeader)
-
-