![]() | ![]() | ![]() | Conglomerate Programmer's Reference Manual | ![]() |
---|
cong-util —
gboolean cong_util_is_docbook (CongDocument *doc); gboolean cong_util_is_pure_whitespace (const gchar *utf8_text); gchar* cong_util_cleanup_text (const xmlChar *text); gchar* cong_utils_get_norman_walsh_stylesheet_path (void); gchar* cong_utils_get_norman_walsh_stylesheet (const gchar *stylesheet_relative_path); GdkPixbuf* cong_util_load_icon (const gchar *icon_basename); void cong_util_append (gchar **string, const gchar *to_add); void cong_util_prepend (gchar **string, const gchar *to_add); void cong_util_print_xslfo (GtkWindow *toplevel_window, GnomePrintContext *gpc, xmlDocPtr xml_doc); #define CONG_GET_VAR_STR (msg, str) xmlDtdPtr cong_util_make_dtd (xmlDocPtr xml_doc, const xmlChar *root_element, const xmlChar *ExternalID, const xmlChar *SystemID); xmlDtdPtr cong_util_add_external_dtd (xmlDocPtr xml_doc, const xmlChar *root_element, const xmlChar *ExternalID, const xmlChar *SystemID); void cong_util_draw_blended_line (GtkWidget *w, const GdkColor *col, int x0, int y0, int x1);
gboolean cong_util_is_pure_whitespace (const gchar *utf8_text);
utf8_text : | |
Returns : |
gchar* cong_util_cleanup_text (const xmlChar *text);
text: input xml text
Handy function for taking xml text and turning it into something you can see in a log: tabs and carriage returns etc are turned into visible characters.
text : | |
Returns : | a freshly-allocated string, with all tabs and carriage returns turned into their printf equivalents |
gchar* cong_utils_get_norman_walsh_stylesheet_path (void);
Try to locate Norman Walsh's stylesheets for DocBook using the local catalog to find them.
Returns : | a string containing the path (which the caller must delete), or NULL |
gchar* cong_utils_get_norman_walsh_stylesheet (const gchar *stylesheet_relative_path);
stylesheet_relative_path : | |
Returns : |
GdkPixbuf* cong_util_load_icon (const gchar *icon_basename);
icon_basename : | |
Returns : |
void cong_util_print_xslfo (GtkWindow *toplevel_window, GnomePrintContext *gpc, xmlDocPtr xml_doc);
toplevel_window : | |
gpc : | |
xml_doc : |
xmlDtdPtr cong_util_make_dtd (xmlDocPtr xml_doc, const xmlChar *root_element, const xmlChar *ExternalID, const xmlChar *SystemID);
Make DTD declaration, and assigns it to the given document. Doesn't add it to doc tree
xml_doc : | |
root_element : | |
ExternalID : | |
SystemID : | |
Returns : | the xmlDtdPtr that was assigned |
xmlDtdPtr cong_util_add_external_dtd (xmlDocPtr xml_doc, const xmlChar *root_element, const xmlChar *ExternalID, const xmlChar *SystemID);
Make DTD declaration, assigns it to the given document, and add it to the tree. Call cong_document_set_external_dtd() instead if you want notifications to work.
xml_doc : | |
root_element : | |
ExternalID : | |
SystemID : | |
Returns : | the xmlDtdPtr that was assigned |
<< cong-error-dialog | cong-text-cache >> |