mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Support PDF-export from Python
This commit is contained in:
@@ -34,6 +34,14 @@ class RicfExportSnapshots : public RicfCommandObject
|
||||
|
||||
public:
|
||||
// Values are exposed in gRPC .proto. Do not change without also changing .proto
|
||||
|
||||
enum class PlotOutputFormat
|
||||
{
|
||||
PNG,
|
||||
PDF
|
||||
};
|
||||
typedef caf::AppEnum<PlotOutputFormat> PreferredOutputFormatEnum;
|
||||
|
||||
enum SnapshotsType
|
||||
{
|
||||
VIEWS,
|
||||
@@ -48,9 +56,10 @@ public:
|
||||
RicfCommandResponse execute() override;
|
||||
|
||||
private:
|
||||
caf::PdmField<SnapshotsTypeEnum> m_type;
|
||||
caf::PdmField<QString> m_prefix;
|
||||
caf::PdmField<int> m_caseId;
|
||||
caf::PdmField<int> m_viewId;
|
||||
caf::PdmField<QString> m_exportFolder;
|
||||
caf::PdmField<SnapshotsTypeEnum> m_type;
|
||||
caf::PdmField<QString> m_prefix;
|
||||
caf::PdmField<int> m_caseId;
|
||||
caf::PdmField<int> m_viewId;
|
||||
caf::PdmField<QString> m_exportFolder;
|
||||
caf::PdmField<PreferredOutputFormatEnum> m_plotOutputFormat;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user