public class Report
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Report.exportFormats |
static class |
Report.imageFormats |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
comment |
protected Report.exportFormats |
exportFormat |
protected Report.imageFormats |
imageFormat |
protected java.util.List<Section> |
sections |
protected java.lang.String |
title |
Constructor and Description |
---|
Report() |
Report(java.lang.String reportTitle) |
Report(java.lang.String _title,
java.lang.String _comment) |
Modifier and Type | Method and Description |
---|---|
Section |
addDataset(Dataset _dataset,
int _order) |
Section |
addDatasetToReport(Dataset _dataset) |
void |
clearAll() |
void |
dump() |
java.lang.String |
exportToHtml(int indent,
java.io.File resourceFolder) |
java.lang.String |
exportToTxt(java.io.File mainFile) |
java.lang.String |
exportXML(java.io.File mainFile) |
java.lang.String |
getComment() |
Report.exportFormats |
getExportFormat() |
Report.imageFormats |
getImageFormat() |
Section |
getSectionByTitle(java.lang.String title) |
java.util.List<Section> |
getSections() |
java.lang.String |
getTitle() |
java.lang.String |
getTitleMacro() |
void |
loadMacro(org.jdom.Element root) |
void |
loadReport(org.jdom.Element root) |
Report |
loadReportFromXLM(org.jdom.Element root) |
void |
loadRoutine() |
void |
removeDataset(int sectionId,
int datasetId) |
boolean |
removeSection(Section sec) |
java.lang.String |
saveMacroXml() |
void |
saveRoutine() |
void |
setComment(java.lang.String comment) |
void |
setExportFormat(Report.exportFormats exportFormat) |
void |
setImageFormat(Report.imageFormats imageFormat) |
void |
setSectionsList(java.util.ArrayList<Section> sections) |
void |
setTitle(java.lang.String title) |
void |
setTitleMacro(java.lang.String title) |
java.lang.String |
toc() |
java.lang.String |
toString() |
protected java.lang.String title
protected java.lang.String comment
protected Report.exportFormats exportFormat
protected Report.imageFormats imageFormat
protected java.util.List<Section> sections
public Report(java.lang.String _title, java.lang.String _comment)
_title
- : report's title_comment
- : report's general commentpublic Report(java.lang.String reportTitle)
public Report()
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public java.lang.String getTitleMacro()
public void setTitleMacro(java.lang.String title)
public java.lang.String getComment()
public void setComment(java.lang.String comment)
public Report.exportFormats getExportFormat()
public void setExportFormat(Report.exportFormats exportFormat)
public Report.imageFormats getImageFormat()
public void setImageFormat(Report.imageFormats imageFormat)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toc()
public Section getSectionByTitle(java.lang.String title)
public java.lang.String exportToHtml(int indent, java.io.File resourceFolder)
public java.lang.String saveMacroXml()
public java.lang.String exportToTxt(java.io.File mainFile)
public boolean removeSection(Section sec)
public java.util.List<Section> getSections()
public void setSectionsList(java.util.ArrayList<Section> sections)
public void saveRoutine()
public void loadRoutine()
public void removeDataset(int sectionId, int datasetId)
public void clearAll()
public void dump()
public void loadReport(org.jdom.Element root)
public Report loadReportFromXLM(org.jdom.Element root)
public void loadMacro(org.jdom.Element root)
public java.lang.String exportXML(java.io.File mainFile)