Classes | Enumerations | Functions | Variables

ap_RDFSemanticItemGTKInjected.cpp File Reference

#include "GTKCommon.h"
#include "ap_RDFSemanticItemGTKInjected.h"
#include "pd_Document.h"
#include "fv_View.h"
#include "xap_UnixDialogHelper.h"
#include "ap_Strings.h"
#include "xap_Frame.h"
#include "xap_UnixFrameImpl.h"
#include "xap_GtkComboBoxHelpers.h"

Classes

struct  ssList_t
struct  combo_box_t
class  PD_RDFDialogsGTK

Enumerations

enum  { COLUMN_REFDLG_NAME = 0, NUM_REFDLG_COLUMNS }

Functions

static const char * getStylesheetName (const ssList_t *ssList, const gchar *translation)
void GDestroyNotify_GObjectSemItem (gpointer data)
PD_RDFSemanticItemHandle getHandle (GtkDialog *d)
void OnSemItemEdited (GtkDialog *d, gint, gpointer)
void GDestroyNotify_GObjectSemItem_List (gpointer data)
PD_RDFSemanticItems getSemItemListHandle (GtkDialog *d)
void OnSemItemListEdited (GtkDialog *d, gint response_id, gpointer)
static void OnSemanticStylesheetsDialogResponse (GtkWidget *dialog, GtkTreeView *, FV_View *)
static void ApplySemanticStylesheets (const std::string &semItemClassRestriction, const std::string &ssName, bool reflow)
static gboolean OnSemanticStylesheetsSet_cb (GtkWidget *widget, GdkEvent *event, combo_box_t *box)
static gboolean OnSemanticStylesheetsOk_cb (GtkWidget *widget, GdkEvent *event, combo_box_t *box)
static void OnInsertReferenceBase (GtkWidget *dialog, GtkTreeView *tree, FV_View *pView)
static void OnInsertReference (GtkDialog *d, gint, gpointer user_data)
static void OnInsertReferenceDblClicked (GtkTreeView *tree, GtkTreePath *, GtkTreeViewColumn *, gpointer user_data)

Variables

static gchar * s_id
static const ssList_t ssListContact []
static const ssList_t ssListEvent []
static const ssList_t ssListLocation []
static combo_box_t combo_box_data []

Enumeration Type Documentation

anonymous enum
Enumerator:
COLUMN_REFDLG_NAME 
NUM_REFDLG_COLUMNS 

Function Documentation

static void ApplySemanticStylesheets ( const std::string &  semItemClassRestriction,
const std::string &  ssName,
bool  reflow 
) [static]
void GDestroyNotify_GObjectSemItem ( gpointer  data  ) 
void GDestroyNotify_GObjectSemItem_List ( gpointer  data  ) 
PD_RDFSemanticItemHandle getHandle ( GtkDialog *  d  ) 

References ap_GObjectSemItem::h.

Referenced by OnSemItemEdited().

PD_RDFSemanticItems getSemItemListHandle ( GtkDialog *  d  ) 
static const char* getStylesheetName ( const ssList_t ssList,
const gchar *  translation 
) [static]
static void OnInsertReference ( GtkDialog *  d,
gint  ,
gpointer  user_data 
) [static]
static void OnInsertReferenceBase ( GtkWidget *  dialog,
GtkTreeView *  tree,
FV_View pView 
) [static]
static void OnInsertReferenceDblClicked ( GtkTreeView *  tree,
GtkTreePath *  ,
GtkTreeViewColumn *  ,
gpointer  user_data 
) [static]
static void OnSemanticStylesheetsDialogResponse ( GtkWidget *  dialog,
GtkTreeView *  ,
FV_View  
) [static]
static gboolean OnSemanticStylesheetsOk_cb ( GtkWidget *  widget,
GdkEvent *  event,
combo_box_t box 
) [static]
static gboolean OnSemanticStylesheetsSet_cb ( GtkWidget *  widget,
GdkEvent *  event,
combo_box_t box 
) [static]
void OnSemItemEdited ( GtkDialog *  d,
gint  ,
gpointer   
)
void OnSemItemListEdited ( GtkDialog *  d,
gint  response_id,
gpointer   
)

Variable Documentation

Initial value:
{
    {"Contact", RDF_SEMANTIC_STYLESHEET_CONTACT_NAME, ssListContact, NULL, 0},
    {"Event", RDF_SEMANTIC_STYLESHEET_EVENT_NAME, ssListEvent, NULL, 0},
    {"Location", RDF_SEMANTIC_STYLESHEET_LOCATION_NAME, ssListLocation, NULL, 0},
    {NULL, NULL, NULL, NULL, 0}
}
gchar* s_id [static]
const ssList_t ssListContact[] [static]
Initial value:
{
    {AP_STRING_ID_MENU_LABEL_RDF_SEMITEM_STYLESHEET_CONTACT_NAME, RDF_SEMANTIC_STYLESHEET_CONTACT_NAME},
    {AP_STRING_ID_MENU_LABEL_RDF_SEMITEM_STYLESHEET_CONTACT_NICK, RDF_SEMANTIC_STYLESHEET_CONTACT_NICK},    
    {AP_STRING_ID_MENU_LABEL_RDF_SEMITEM_STYLESHEET_CONTACT_NAME_PHONE, RDF_SEMANTIC_STYLESHEET_CONTACT_NAME_PHONE},   
    {AP_STRING_ID_MENU_LABEL_RDF_SEMITEM_STYLESHEET_CONTACT_NICK_PHONE, RDF_SEMANTIC_STYLESHEET_CONTACT_NICK_PHONE},   
    {AP_STRING_ID_MENU_LABEL_RDF_SEMITEM_STYLESHEET_CONTACT_NAME_HOMEPAGE_PHONE, RDF_SEMANTIC_STYLESHEET_CONTACT_NAME_HOMEPAGE_PHONE},   
    {0, NULL}
}
const ssList_t ssListEvent[] [static]
Initial value:
{
    {AP_STRING_ID_MENU_LABEL_RDF_SEMITEM_STYLESHEET_EVENT_NAME, RDF_SEMANTIC_STYLESHEET_EVENT_NAME},
    {AP_STRING_ID_MENU_LABEL_RDF_SEMITEM_STYLESHEET_EVENT_SUMMARY, RDF_SEMANTIC_STYLESHEET_EVENT_SUMMARY},
    {AP_STRING_ID_MENU_LABEL_RDF_SEMITEM_STYLESHEET_EVENT_SUMMARY_LOCATION, RDF_SEMANTIC_STYLESHEET_EVENT_SUMMARY_LOCATION},
    {AP_STRING_ID_MENU_LABEL_RDF_SEMITEM_STYLESHEET_EVENT_SUMMARY_LOCATION_TIMES, RDF_SEMANTIC_STYLESHEET_EVENT_SUMMARY_LOCATION_TIMES},
    {AP_STRING_ID_MENU_LABEL_RDF_SEMITEM_STYLESHEET_EVENT_SUMMARY_TIMES, RDF_SEMANTIC_STYLESHEET_EVENT_SUMMARY_TIMES},
    {0, NULL}
}
const ssList_t ssListLocation[] [static]
Initial value:
{
    {AP_STRING_ID_MENU_LABEL_RDF_SEMITEM_STYLESHEET_LOCATION_NAME, RDF_SEMANTIC_STYLESHEET_LOCATION_NAME},
    {AP_STRING_ID_MENU_LABEL_RDF_SEMITEM_STYLESHEET_LOCATION_NAME_LATLONG, RDF_SEMANTIC_STYLESHEET_LOCATION_NAME_LATLONG},
    {0, NULL}
}