sp-flowdiv.cpp revision 6b15695578f07a3f72c4c9475c1a261a3021472a
#define __SP_FLOWDIV_C__
/*
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "libnr/nr-matrix-ops.h"
//#include "style.h"
#include "sp-flowdiv.h"
#include "sp-string.h"
static Inkscape::XML::Node *sp_flowdiv_write (SPObject *object, Inkscape::XML::Node *repr, guint flags);
static Inkscape::XML::Node *sp_flowtspan_write (SPObject *object, Inkscape::XML::Node *repr, guint flags);
static Inkscape::XML::Node *sp_flowpara_write (SPObject *object, Inkscape::XML::Node *repr, guint flags);
static Inkscape::XML::Node *sp_flowline_write (SPObject *object, Inkscape::XML::Node *repr, guint flags);
static Inkscape::XML::Node *sp_flowregionbreak_write (SPObject *object, Inkscape::XML::Node *repr, guint flags);
static SPItemClass * flowdiv_parent_class;
static SPItemClass * flowtspan_parent_class;
static SPItemClass * flowpara_parent_class;
static SPObjectClass * flowline_parent_class;
static SPObjectClass * flowregionbreak_parent_class;
sp_flowdiv_get_type (void)
{
static GType group_type = 0;
if (!group_type) {
GTypeInfo group_info = {
sizeof (SPFlowdivClass),
NULL, /* base_init */
NULL, /* base_finalize */
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (SPFlowdiv),
16, /* n_preallocs */
NULL, /* value_table */
};
}
return group_type;
}
static void
{
}
static void
{
}
static void
{
}
static void
{
for (SPObject *child = sp_object_first_child(object) ; child != NULL ; child = SP_OBJECT_NEXT(child) ) {
l = g_slist_prepend (l, child);
}
l = g_slist_reverse (l);
while (l) {
l = g_slist_remove (l, child);
if (SP_IS_ITEM (child)) {
} else {
}
}
}
}
static void
{
GSList *l;
l = NULL;
l = g_slist_prepend (l, child);
}
l = g_slist_reverse (l);
while (l) {
l = g_slist_remove (l, child);
}
}
}
static void
{
}
static void
{
}
{
// SPFlowdiv *group = SP_FLOWDIV (object);
if ( flags&SP_OBJECT_WRITE_BUILD ) {
for (SPObject* child = sp_object_first_child(object) ; child != NULL ; child = SP_OBJECT_NEXT(child) ) {
if ( SP_IS_FLOWTSPAN (child) ) {
} else if ( SP_IS_FLOWPARA(child) ) {
} else if ( SP_IS_STRING(child) ) {
}
}
while ( l ) {
l = g_slist_remove (l, l->data);
}
} else {
for (SPObject* child = sp_object_first_child(object) ; child != NULL ; child = SP_OBJECT_NEXT(child) ) {
if ( SP_IS_FLOWTSPAN (child) ) {
} else if ( SP_IS_FLOWPARA(child) ) {
} else if ( SP_IS_STRING(child) ) {
}
}
}
return repr;
}
/*
*
*/
sp_flowtspan_get_type (void)
{
static GType group_type = 0;
if (!group_type) {
GTypeInfo group_info = {
sizeof (SPFlowtspanClass),
NULL, /* base_init */
NULL, /* base_finalize */
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (SPFlowtspan),
16, /* n_preallocs */
NULL, /* value_table */
};
}
return group_type;
}
static void
{
}
static void
{
}
static void
{
}
static void
{
// SPFlowtspan *group=SP_FLOWTSPAN (object);
for (SPObject *child = sp_object_first_child(object) ; child != NULL ; child = SP_OBJECT_NEXT(child) ) {
l = g_slist_prepend (l, child);
}
l = g_slist_reverse (l);
while (l) {
l = g_slist_remove (l, child);
if (SP_IS_ITEM (child)) {
} else {
}
}
}
}
static void
{
GSList *l;
l = NULL;
l = g_slist_prepend (l, child);
}
l = g_slist_reverse (l);
while (l) {
l = g_slist_remove (l, child);
}
}
}
static void
{
}
static void
{
}
{
if ( flags&SP_OBJECT_WRITE_BUILD ) {
for (SPObject* child = sp_object_first_child(object) ; child != NULL ; child = SP_OBJECT_NEXT(child) ) {
if ( SP_IS_FLOWTSPAN (child) ) {
} else if ( SP_IS_FLOWPARA (child) ) {
} else if ( SP_IS_STRING(child) ) {
}
}
while ( l ) {
l = g_slist_remove (l, l->data);
}
} else {
for (SPObject* child = sp_object_first_child(object) ; child != NULL ; child = SP_OBJECT_NEXT(child) ) {
if ( SP_IS_FLOWTSPAN (child) ) {
} else if ( SP_IS_FLOWPARA (child) ) {
} else if ( SP_IS_STRING(child) ) {
}
}
}
return repr;
}
/*
*
*/
sp_flowpara_get_type (void)
{
static GType group_type = 0;
if (!group_type) {
GTypeInfo group_info = {
sizeof (SPFlowparaClass),
NULL, /* base_init */
NULL, /* base_finalize */
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (SPFlowpara),
16, /* n_preallocs */
NULL, /* value_table */
};
}
return group_type;
}
static void
{
}
static void
{
}
static void
{
}
static void
{
for (SPObject *child = sp_object_first_child(object) ; child != NULL ; child = SP_OBJECT_NEXT(child) ) {
l = g_slist_prepend (l, child);
}
l = g_slist_reverse (l);
while (l) {
l = g_slist_remove (l, child);
if (SP_IS_ITEM (child)) {
} else {
}
}
}
}
static void
{
GSList *l;
l = NULL;
l = g_slist_prepend (l, child);
}
l = g_slist_reverse (l);
while (l) {
l = g_slist_remove (l, child);
}
}
}
static void
{
}
static void
{
}
{
// SPFlowpara *group = SP_FLOWPARA (object);
if ( flags&SP_OBJECT_WRITE_BUILD ) {
for (SPObject* child = sp_object_first_child(object) ; child != NULL ; child = SP_OBJECT_NEXT(child) ) {
if ( SP_IS_FLOWTSPAN (child) ) {
} else if ( SP_IS_FLOWPARA (child) ) {
} else if ( SP_IS_STRING(child) ) {
}
}
while ( l ) {
l = g_slist_remove (l, l->data);
}
} else {
for (SPObject* child = sp_object_first_child(object) ; child != NULL ; child = SP_OBJECT_NEXT(child) ) {
if ( SP_IS_FLOWTSPAN (child) ) {
} else if ( SP_IS_FLOWPARA (child) ) {
} else if ( SP_IS_STRING(child) ) {
}
}
}
return repr;
}
/*
*
*/
sp_flowline_get_type (void)
{
static GType group_type = 0;
if (!group_type) {
GTypeInfo group_info = {
sizeof (SPFlowlineClass),
NULL, /* base_init */
NULL, /* base_finalize */
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (SPFlowline),
16, /* n_preallocs */
NULL, /* value_table */
};
}
return group_type;
}
static void
{
}
static void
{
}
static void
{
}
static void
{
}
{
if ( flags&SP_OBJECT_WRITE_BUILD ) {
} else {
}
return repr;
}
/*
*
*/
sp_flowregionbreak_get_type (void)
{
static GType group_type = 0;
if (!group_type) {
GTypeInfo group_info = {
sizeof (SPFlowregionbreakClass),
NULL, /* base_init */
NULL, /* base_finalize */
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (SPFlowregionbreak),
16, /* n_preallocs */
NULL, /* value_table */
};
group_type = g_type_register_static (SP_TYPE_OBJECT, "SPFlowregionbreak", &group_info, (GTypeFlags)0);
}
return group_type;
}
static void
{
}
static void
{
}
static void
{
}
static void
{
}
{
if ( flags&SP_OBJECT_WRITE_BUILD ) {
} else {
}
return repr;
}