Class Format.Abstract
- java.lang.Object
-
- com.rapidclipse.framework.server.reports.Format.Abstract
-
- All Implemented Interfaces:
Format
- Direct Known Subclasses:
Format.Csv
,Format.Docx
,Format.Html
,Format.Ods
,Format.Odt
,Format.Pdf
,Format.Pptx
,Format.Rtf
,Format.Text
,Format.Xls
,Format.Xlsx
,Format.Xml
- Enclosing interface:
- Format
public abstract static class Format.Abstract extends Object implements Format
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.rapidclipse.framework.server.reports.Format
Format.Abstract, Format.Csv, Format.Docx, Format.Html, Format.Ods, Format.Odt, Format.Pdf, Format.Pptx, Format.Rtf, Format.Text, Format.Xls, Format.Xlsx, Format.Xml
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
canBePreviewedInStandardBrowser
protected boolean
hasPageMargin
protected boolean
paginationActive
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
canBePreviewedInStandardBrowser()
protected abstract DynamicExporter
createDynamicExporter()
Exporter
createExporter()
protected abstract PlainExporter
createPlainExporter()
void
disablePageMargin()
void
enablePagination()
boolean
equals(Object obj)
String
fileSuffix()
int
hashCode()
boolean
hasPageMargin()
Returns if a report has a page margin.boolean
isPaginationActive()
Returns if a report is paginated (on every new page a new title, column-headers are printed, etc)boolean
isPreviewableInStandardBrowser()
Returns if a preview can be shown in a "standardized" browser (e.g.String
mimeType()
String
name()
void
setHasPageMargin(boolean hasPageMargin)
void
setPaginationActive(boolean paginationActive)
void
setPreviewableInStandardBrowser(boolean canBePreviewedInStandardBrowser)
-
-
-
Method Detail
-
canBePreviewedInStandardBrowser
public void canBePreviewedInStandardBrowser()
-
setPreviewableInStandardBrowser
public void setPreviewableInStandardBrowser(boolean canBePreviewedInStandardBrowser)
-
enablePagination
public void enablePagination()
-
setPaginationActive
public void setPaginationActive(boolean paginationActive)
-
disablePageMargin
public void disablePageMargin()
-
setHasPageMargin
public void setHasPageMargin(boolean hasPageMargin)
-
fileSuffix
public String fileSuffix()
- Specified by:
fileSuffix
in interfaceFormat
-
isPreviewableInStandardBrowser
public boolean isPreviewableInStandardBrowser()
Description copied from interface:Format
Returns if a preview can be shown in a "standardized" browser (e.g. the latest versions of Chrome and Firefox)- Specified by:
isPreviewableInStandardBrowser
in interfaceFormat
- Returns:
true
if a preview can be shown in the browser
-
isPaginationActive
public boolean isPaginationActive()
Description copied from interface:Format
Returns if a report is paginated (on every new page a new title, column-headers are printed, etc)- Specified by:
isPaginationActive
in interfaceFormat
- Returns:
true
if the pagination is active
-
hasPageMargin
public boolean hasPageMargin()
Description copied from interface:Format
Returns if a report has a page margin.- Specified by:
hasPageMargin
in interfaceFormat
- Returns:
true
if there is a page margin
-
createExporter
public Exporter createExporter()
- Specified by:
createExporter
in interfaceFormat
-
createDynamicExporter
protected abstract DynamicExporter createDynamicExporter()
-
createPlainExporter
protected abstract PlainExporter createPlainExporter()
-
-