GnuCash  5.6-150-g038405b370+
Files | Data Structures | Macros | Enumerations | Functions
Reports

Files

file  gnc-plugin-page-report.h
 Report page.
 

Data Structures

struct  GncPluginPageReportPrivate
 
struct  GncPluginPageReport
 
struct  GncPluginPageReportClass
 

Macros

#define GNC_PLUGIN_PAGE_REPORT_GET_PRIVATE(o)   ((GncPluginPageReportPrivate*)gnc_plugin_page_report_get_instance_private((GncPluginPageReport*)o))
 
#define SCHEME_OPTIONS   "SchemeOptions"
 The key name used it the state file for storing the report options. More...
 
#define SCHEME_OPTIONS_N   "SchemeOptions%d"
 
#define GNC_PREFS_GROUP_REPORT_PDFEXPORT   GNC_PREFS_GROUP_GENERAL_REPORT ".pdf-export"
 
#define GNC_PREF_FILENAME_DATE_FMT   "filename-date-format"
 
#define GNC_PREF_FILENAME_FMT   "filename-format"
 
#define GNC_TYPE_PLUGIN_PAGE_REPORT   (gnc_plugin_page_report_get_type ())
 
#define GNC_PLUGIN_PAGE_REPORT(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReport))
 
#define GNC_PLUGIN_PAGE_REPORT_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReportClass))
 
#define GNC_IS_PLUGIN_PAGE_REPORT(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_PAGE_REPORT))
 
#define GNC_IS_PLUGIN_PAGE_REPORT_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_PAGE_REPORT))
 
#define GNC_PLUGIN_PAGE_REPORT_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReportClass))
 
#define GNC_PLUGIN_PAGE_REPORT_NAME   "GncPluginPageReport"
 
#define WINDOW_REPORT_CM_CLASS   "window-report"
 

Enumerations

enum  { PROP_0, PROP_REPORT_ID }
 

Functions

void gnc_plugin_page_report_destroy (GncPluginPageReportPrivate *priv)
 
void gnc_plugin_page_report_remove_edited_report (GncPluginPageReportPrivate *priv, SCM report)
 
void gnc_plugin_page_report_add_edited_report (GncPluginPageReportPrivate *priv, SCM report)
 
void gnc_plugin_page_report_raise_editor (SCM report)
 
GncPluginPagegnc_plugin_page_report_new (int reportId)
 
void gnc_plugin_page_report_reload (GncPluginPageReport *report)
 
void gnc_main_window_open_report (int report_id, GncMainWindow *window)
 
void gnc_main_window_open_report_url (const char *url, GncMainWindow *window)
 
GType gnc_plugin_page_report_get_type (void)
 

Detailed Description

Macro Definition Documentation

◆ SCHEME_OPTIONS

#define SCHEME_OPTIONS   "SchemeOptions"

The key name used it the state file for storing the report options.

Definition at line 903 of file gnc-plugin-page-report.cpp.

Function Documentation

◆ gnc_plugin_page_report_get_type()

GType gnc_plugin_page_report_get_type ( void  )
Returns
the type number for an "report" plugin page.

◆ gnc_plugin_page_report_new()

GncPluginPage * gnc_plugin_page_report_new ( int  reportId)
Parameters
reportIdThe scheme-defined report identifier
Returns
a new "report" plugin page.

Definition at line 1334 of file gnc-plugin-page-report.cpp.

1335 {
1336  DEBUG( "report id = %d", reportId );
1337  auto plugin_page{g_object_new(GNC_TYPE_PLUGIN_PAGE_REPORT, "report-id",
1338  reportId, nullptr)};
1339  DEBUG( "plugin_page: %p", plugin_page );
1340  DEBUG( "set %d on page %p", reportId, plugin_page );
1341  return GNC_PLUGIN_PAGE( plugin_page );
1342 }
#define DEBUG(format, args...)
Print a debugging message.
Definition: qoflog.h:264