GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Files | Data Structures | Macros | Typedefs | Enumerations | Functions
Reports

Files

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

Data Structures

struct  GncPluginPageReportPrivate
 
struct  GncPluginPageReport
 
struct  GncPluginPageReportClass
 

Macros

#define WINDOW_REPORT_CM_CLASS   "window-report"
 
#define GNC_PLUGIN_PAGE_REPORT_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), GNC_TYPE_PLUGIN_PAGE_REPORT, GncPluginPageReportPrivate))
 
#define SCHEME_OPTIONS   "SchemeOptions"
 
#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"
 

Typedefs

typedef struct
GncPluginPageReportPrivate 
GncPluginPageReportPrivate
 

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)
 
GType gnc_plugin_page_report_get_type (void)
 
GncPluginPagegnc_plugin_page_report_new (int reportId)
 
void gnc_main_window_open_report (int report_id, GncMainWindow *window)
 
void gnc_main_window_open_report_url (const char *url, GncMainWindow *window)
 

Detailed Description

Macro Definition Documentation

#define SCHEME_OPTIONS   "SchemeOptions"

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

Definition at line 712 of file gnc-plugin-page-report.c.

Function Documentation

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

Definition at line 185 of file gnc-plugin-page-report.c.

186 {
187  static GType gnc_plugin_page_report_type = 0;
188 
189  if (gnc_plugin_page_report_type == 0)
190  {
191  static const GTypeInfo our_info =
192  {
193  sizeof (GncPluginPageReportClass),
194  NULL,
195  NULL,
196  (GClassInitFunc) gnc_plugin_page_report_class_init,
197  NULL,
198  NULL,
199  sizeof (GncPluginPageReport),
200  0,
201  (GInstanceInitFunc) gnc_plugin_page_report_init
202  };
203 
204  gnc_plugin_page_report_type = g_type_register_static (GNC_TYPE_PLUGIN_PAGE,
205  "GncPluginPageReport",
206  &our_info, 0);
207  }
208 
209  return gnc_plugin_page_report_type;
210 }
GncPluginPage * gnc_plugin_page_report_new ( int  reportId)
Parameters
reportIdThe scheme-defined report identifier
Returns
a new "report" plugin page.

Definition at line 1175 of file gnc-plugin-page-report.c.

1176 {
1177  GncPluginPageReport *plugin_page;
1178 
1179  DEBUG( "report id = %d", reportId );
1180  plugin_page = g_object_new( GNC_TYPE_PLUGIN_PAGE_REPORT,
1181  "report-id", reportId, NULL );
1182  DEBUG( "plugin_page: %p", plugin_page );
1183  DEBUG( "set %d on page %p", reportId, plugin_page );
1184  return GNC_PLUGIN_PAGE( plugin_page );
1185 }
#define DEBUG(format, args...)
Definition: qoflog.h:255