GnuCash 2.3.0
Data Structures | Files | Defines | Typedefs | Enumerations | Functions
Reports
GUI

Data Structures

struct  GncPluginPageReportPrivate
struct  GncPluginPageReport
struct  GncPluginPageReportClass

Files

file  gnc-plugin-page-report.c
 

Report page.


file  gnc-plugin-page-report.h
 

Report page.


Defines

#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 GCONF_GENERAL_REPORT_PDFEXPORT   GCONF_GENERAL_REPORT "/pdf_export"
#define KVP_OWNER_EXPORT_PDF_DIRNAME   "export-pdf-directory"
#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)

Define Documentation

#define SCHEME_OPTIONS   "SchemeOptions"

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

Definition at line 716 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 183 of file gnc-plugin-page-report.c.

{
    static GType gnc_plugin_page_report_type = 0;

    if (gnc_plugin_page_report_type == 0)
    {
        static const GTypeInfo our_info =
        {
            sizeof (GncPluginPageReportClass),
            NULL,
            NULL,
            (GClassInitFunc) gnc_plugin_page_report_class_init,
            NULL,
            NULL,
            sizeof (GncPluginPageReport),
            0,
            (GInstanceInitFunc) gnc_plugin_page_report_init
        };

        gnc_plugin_page_report_type = g_type_register_static (GNC_TYPE_PLUGIN_PAGE,
                                      "GncPluginPageReport",
                                      &our_info, 0);
    }

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

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

{
    GncPluginPageReport *plugin_page;

    DEBUG( "report id = %d", reportId );
    plugin_page = g_object_new( GNC_TYPE_PLUGIN_PAGE_REPORT,
                                "report-id", reportId, NULL );
    DEBUG( "plugin_page: %p", plugin_page );
    DEBUG( "set %d on page %p", reportId, plugin_page );
    return GNC_PLUGIN_PAGE( plugin_page );
}
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines