Engauge Digitizer  2
Public Member Functions | List of all members
ExportToClipboard Class Reference

Strategy class for exporting to the clipboard. This strategy is external to the Document class so that class is simpler. More...

#include <ExportToClipboard.h>

Public Member Functions

 ExportToClipboard ()
 Single constructor.
 
void exportToClipboard (const QStringList &selected, const Transformation &transformation, QTextStream &strCsv, QTextStream &strHtml, const Curve &curveAxis, const CurvesGraphs &curvesGraphsAll, CurvesGraphs &curvesGraphsSelected) const
 Export, curve-by-curve, raw data points to a string that will be copied to the clipboard. More...
 

Detailed Description

Strategy class for exporting to the clipboard. This strategy is external to the Document class so that class is simpler.

Definition at line 18 of file ExportToClipboard.h.

Member Function Documentation

◆ exportToClipboard()

void ExportToClipboard::exportToClipboard ( const QStringList &  selected,
const Transformation transformation,
QTextStream &  strCsv,
QTextStream &  strHtml,
const Curve curveAxis,
const CurvesGraphs curvesGraphsAll,
CurvesGraphs curvesGraphsSelected 
) const

Export, curve-by-curve, raw data points to a string that will be copied to the clipboard.

Parameters
[in]selectedSimple list of selected points that will be exported
[in]transformationTransformation which may or may not be defined
[out]strCsvSelected points as comma separated value list
[out]strHtmlSelected points as html
[in]curveAxisAxis curve in the Document and its points
[in]curvesGraphsAllAll graph curves in the Document and their points
[out]curvesGraphsSelectedSelected points as a subset of document.curvesGraphs()

Definition at line 18 of file ExportToClipboard.cpp.


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