Engauge Digitizer  2
ExportToClipboard.h
1 /******************************************************************************************************
2  * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
7 #ifndef EXPORT_TO_CLIPBOARD_H
8 #define EXPORT_TO_CLIPBOARD_H
9 
10 class Curve;
11 class CurvesGraphs;
12 class Document;
13 class QStringList;
14 class QTextStream;
15 class Transformation;
16 
19 {
20 public:
23 
32  void exportToClipboard (const QStringList &selected,
33  const Transformation &transformation,
34  QTextStream &strCsv,
35  QTextStream &strHtml,
36  const Curve &curveAxis,
37  const CurvesGraphs &curvesGraphsAll,
38  CurvesGraphs &curvesGraphsSelected) const;
39 };
40 
41 #endif // EXPORT_TO_CLIPBOARD_H
Affine transformation between screen and graph coordinates, based on digitized axis points...
Container for all graph curves. The axes point curve is external to this class.
Definition: CurvesGraphs.h:24
Storage of one imported image and the data attached to that image.
Definition: Document.h:41
Container for one set of digitized Points.
Definition: Curve.h:33
ExportToClipboard()
Single constructor.
Strategy class for exporting to the clipboard. This strategy is external to the Document class so tha...
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.