8#include "RshPluginScript/RshPluginScriptDefines.h"
9#include "RshReportInterface/RshReportFwd.h"
10#include "RshPluginScript/SClass/SComp.h"
13namespace rsh::ScriptBinding
156 (Number)SPageSize::A4 == (Number)QPageSize::A4,
157 "Enum for page size on the script side is different from the Qt enum for page size");
159 (Number)SPageSize::LetterPlus == (Number)QPageSize::LetterPlus,
160 "Enum for page size on the script side is different from the Qt enum for page size");
162 (Number)SPageSize::B6 == (Number)QPageSize::B6,
163 "Enum for page size on the script side is different from the Qt enum for page size");
165 (Number)SPageSize::EnvelopeYou4 == (Number)QPageSize::EnvelopeYou4,
166 "Enum for page size on the script side is different from the Qt enum for page size");
220 String iTemplateToUse =
233 String iTemplateToUse
245 String iTemplateToUse
267 :
public SObjectStatic
287Q_DECLARE_METATYPE(SReport::_SReportDummy);
The SComp class is an abstract class. Use derived classes SCircle, SCylinder, SCloud,...
Definition: SComp.h:32
Class to store reporting data. Reporting data corresponds to a chapter of a report....
Definition: SReportData.h:19
Class to create reports. A report is a collection of chapters that can be exported as a PDF file at t...
Definition: SReport.h:20
SetReportOptions(Array iOptions)
Set all report options.
Array AddChapter(SReportData ipReportData, String iTemplateToUse="")
Add a report data as a chapter in the report. The chapter uses the given template or the default temp...
static String toString()
Get the type of the variable.
static SReport New()
Get the current report.
Array SetHeader(String iTemplateToUse)
Add a header corresponding to the given template.
Array SetFooter(String iTemplateToUse)
Add a footer corresponding to the given template.
SPageSize
Definition: SReport.h:26
@ NPageSize
Definition: SReport.h:147
@ Imperial10x13
Definition: SReport.h:94
@ EnvelopePrc6
Definition: SReport.h:140
@ Imperial12x11
Definition: SReport.h:96
@ A3
Definition: SReport.h:35
@ A9
Definition: SReport.h:40
@ Imperial9x12
Definition: SReport.h:92
@ EnvelopeC1
Definition: SReport.h:116
@ B9
Definition: SReport.h:50
@ EnvelopePrc3
Definition: SReport.h:137
@ Legal
Definition: SReport.h:30
@ LetterPlus
Definition: SReport.h:81
@ EnvelopePersonal
Definition: SReport.h:128
@ NPaperSize
Definition: SReport.h:148
@ A4
Definition: SReport.h:27
@ FanFoldGermanLegal
Definition: SReport.h:111
@ EnvelopePrc5
Definition: SReport.h:139
@ JisB9
Definition: SReport.h:74
@ B5Extra
Definition: SReport.h:64
@ B8
Definition: SReport.h:49
@ A8
Definition: SReport.h:39
@ Prc32KBig
Definition: SReport.h:108
@ B6
Definition: SReport.h:47
@ Postcard
Definition: SReport.h:104
@ A4Plus
Definition: SReport.h:61
@ B3
Definition: SReport.h:45
@ EnvelopeC4
Definition: SReport.h:119
@ DLE
Definition: SReport.h:53
@ Imperial10x14
Definition: SReport.h:95
@ A7
Definition: SReport.h:38
@ FanFoldUS
Definition: SReport.h:109
@ Prc16K
Definition: SReport.h:106
@ EnvelopePrc1
Definition: SReport.h:135
@ TabloidExtra
Definition: SReport.h:83
@ Envelope14
Definition: SReport.h:126
@ EnvelopeKaku3
Definition: SReport.h:134
@ B2
Definition: SReport.h:44
@ EnvelopeC2
Definition: SReport.h:117
@ B0
Definition: SReport.h:41
@ A4Extra
Definition: SReport.h:60
@ A10
Definition: SReport.h:58
@ EnvelopeChou4
Definition: SReport.h:130
@ EnvelopeB6
Definition: SReport.h:114
@ A6
Definition: SReport.h:37
@ Comm10E
Definition: SReport.h:52
@ LastPageSize
Definition: SReport.h:146
@ Statement
Definition: SReport.h:101
@ Imperial7x9
Definition: SReport.h:89
@ Envelope9
Definition: SReport.h:123
@ SuperB
Definition: SReport.h:103
@ Custom
Definition: SReport.h:57
@ ArchB
Definition: SReport.h:85
@ ArchC
Definition: SReport.h:86
@ EnvelopeKaku2
Definition: SReport.h:133
@ AnsiB
Definition: SReport.h:150
@ JisB1
Definition: SReport.h:66
@ Imperial9x11
Definition: SReport.h:91
@ B5
Definition: SReport.h:28
@ EnvelopePrc8
Definition: SReport.h:142
@ Executive
Definition: SReport.h:31
@ Note
Definition: SReport.h:99
@ ExecutiveStandard
Definition: SReport.h:98
@ B10
Definition: SReport.h:43
@ A1
Definition: SReport.h:33
@ EnvelopeC6
Definition: SReport.h:120
@ Quarto
Definition: SReport.h:100
@ EnvelopeDL
Definition: SReport.h:152
@ EnvelopePrc10
Definition: SReport.h:144
@ ArchE
Definition: SReport.h:88
@ JisB10
Definition: SReport.h:75
@ B7
Definition: SReport.h:48
@ AnsiD
Definition: SReport.h:77
@ A2
Definition: SReport.h:34
@ JisB2
Definition: SReport.h:67
@ EnvelopePrc7
Definition: SReport.h:141
@ EnvelopePrc4
Definition: SReport.h:138
@ Imperial8x10
Definition: SReport.h:90
@ EnvelopeInvite
Definition: SReport.h:131
@ FanFoldGerman
Definition: SReport.h:110
@ EnvelopePrc9
Definition: SReport.h:143
@ DoublePostcard
Definition: SReport.h:105
@ EnvelopeMonarch
Definition: SReport.h:127
@ A3Extra
Definition: SReport.h:59
@ Letter
Definition: SReport.h:29
@ SuperA
Definition: SReport.h:102
@ AnsiC
Definition: SReport.h:76
@ Folio
Definition: SReport.h:54
@ B4
Definition: SReport.h:46
@ LetterExtra
Definition: SReport.h:80
@ JisB0
Definition: SReport.h:65
@ EnvelopeC5
Definition: SReport.h:151
@ A5Extra
Definition: SReport.h:63
@ Envelope12
Definition: SReport.h:125
@ EnvelopeItalian
Definition: SReport.h:132
@ Imperial15x11
Definition: SReport.h:97
@ A5
Definition: SReport.h:36
@ LegalExtra
Definition: SReport.h:79
@ A0
Definition: SReport.h:32
@ EnvelopeB4
Definition: SReport.h:112
@ Prc32K
Definition: SReport.h:107
@ AnsiE
Definition: SReport.h:78
@ EnvelopeC7
Definition: SReport.h:122
@ JisB8
Definition: SReport.h:73
@ EnvelopeYou4
Definition: SReport.h:145
@ Ledger
Definition: SReport.h:55
@ LetterSmall
Definition: SReport.h:82
@ EnvelopeC0
Definition: SReport.h:115
@ B1
Definition: SReport.h:42
@ EnvelopeC65
Definition: SReport.h:121
@ Imperial10x11
Definition: SReport.h:93
@ EnvelopeC3
Definition: SReport.h:118
@ Envelope11
Definition: SReport.h:124
@ Tabloid
Definition: SReport.h:56
@ EnvelopeChou3
Definition: SReport.h:129
@ EnvelopePrc2
Definition: SReport.h:136
@ JisB6
Definition: SReport.h:71
@ JisB7
Definition: SReport.h:72
@ AnsiA
Definition: SReport.h:149
@ JisB5
Definition: SReport.h:70
@ ArchD
Definition: SReport.h:87
@ C5E
Definition: SReport.h:51
@ A4Small
Definition: SReport.h:62
@ ArchA
Definition: SReport.h:84
@ JisB4
Definition: SReport.h:69
@ EnvelopeB5
Definition: SReport.h:113
@ JisB3
Definition: SReport.h:68
Array ExportReportPDF(String iCompletePath)
Export a report as PDF file.