BrightSide Workbench Full Report + Source Code
org.turro.financials.model.document.GenerateDocument Class Reference

Public Member Functions

void outputDocument (Document doc, boolean showValues, OutputStream out)
 
void outputDocument (Document doc, boolean showValues, HttpServletResponse response)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 42 of file GenerateDocument.java.

Member Function Documentation

◆ outputDocument() [1/2]

void org.turro.financials.model.document.GenerateDocument.outputDocument ( Document  doc,
boolean  showValues,
HttpServletResponse  response 
)

Definition at line 56 of file GenerateDocument.java.

56  {
57  lines = doc.getDocumentLines();
58  if(lines != null && lines.size() > 0) {
59  prepareValues(doc, showValues);
60  GeneratePDF.writeAsResponse(response, ElephantContext.getRealPath(file), lines, parameters);
61  }
62  }
Here is the call graph for this function:

◆ outputDocument() [2/2]

void org.turro.financials.model.document.GenerateDocument.outputDocument ( Document  doc,
boolean  showValues,
OutputStream  out 
)

Definition at line 48 of file GenerateDocument.java.

48  {
49  lines = doc.getDocumentLines();
50  if(lines != null && lines.size() > 0) {
51  prepareValues(doc, showValues);
52  GeneratePDF.exportToStream(out, ElephantContext.getRealPath(file), lines, parameters);
53  }
54  }
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: