sp-flowdiv.cpp revision 4c0ce26a3d50888ea326789170588360b784e935
/*
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
//#include "style.h"
#include "sp-flowdiv.h"
#include "sp-string.h"
#include "document.h"
static Inkscape::XML::Node *sp_flowdiv_write (SPObject *object, Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags);
static Inkscape::XML::Node *sp_flowtspan_write (SPObject *object, Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags);
static Inkscape::XML::Node *sp_flowpara_write (SPObject *object, Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags);
static Inkscape::XML::Node *sp_flowline_write (SPObject *object, Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags);
static Inkscape::XML::Node *sp_flowregionbreak_write (SPObject *object, Inkscape::XML::Document *doc, 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;
GType 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;
}
{
//sp_object_class->build = sp_flowdiv_build;
}
}
}
{
}
}
// CPPIFY: remove
{
}
if (flags & SP_OBJECT_MODIFIED_FLAG) {
}
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 {
}
}
}
}
// CPPIFY: remove
{
}
if (flags & SP_OBJECT_MODIFIED_FLAG) {
}
l = g_slist_prepend(l, child);
}
l = g_slist_reverse (l);
while (l) {
l = g_slist_remove(l, child);
}
}
}
// CPPIFY: remove
{
}
}
// CPPIFY: remove
{
}
}
// CPPIFY: remove
{
}
Inkscape::XML::Node* CFlowdiv::onWrite(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) {
if ( flags & SP_OBJECT_WRITE_BUILD ) {
}
if ( SP_IS_FLOWTSPAN (child) ) {
} else if ( SP_IS_FLOWPARA(child) ) {
} else if ( SP_IS_STRING(child) ) {
}
if ( c_repr ) {
l = g_slist_prepend (l, c_repr);
}
}
while ( l ) {
l = g_slist_remove(l, l->data);
}
} else {
if ( SP_IS_FLOWTSPAN (child) ) {
} else if ( SP_IS_FLOWPARA(child) ) {
} else if ( SP_IS_STRING(child) ) {
}
}
}
return repr;
}
// CPPIFY: remove
static Inkscape::XML::Node *sp_flowdiv_write(SPObject *object, Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags)
{
}
/*
*
*/
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;
}
{
//sp_object_class->build = sp_flowtspan_build;
}
this->spflowtspan = flowtspan;
}
CFlowtspan::~CFlowtspan() {
}
{
}
void CFlowtspan::onRelease() {
}
// CPPIFY: remove
{
}
if (flags & SP_OBJECT_MODIFIED_FLAG) {
}
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 {
}
}
}
}
// CPPIFY: remove
{
}
if (flags & SP_OBJECT_MODIFIED_FLAG) {
}
l = g_slist_prepend(l, child);
}
l = g_slist_reverse (l);
while (l) {
l = g_slist_remove(l, child);
}
}
}
// CPPIFY: remove
{
}
{
}
// CPPIFY: remove
{
}
}
// CPPIFY: remove
{
}
Inkscape::XML::Node *CFlowtspan::onWrite(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags)
{
if ( flags&SP_OBJECT_WRITE_BUILD ) {
}
if ( SP_IS_FLOWTSPAN(child) ) {
} else if ( SP_IS_FLOWPARA(child) ) {
} else if ( SP_IS_STRING(child) ) {
}
if ( c_repr ) {
l = g_slist_prepend(l, c_repr);
}
}
while ( l ) {
l = g_slist_remove(l, l->data);
}
} else {
if ( SP_IS_FLOWTSPAN(child) ) {
} else if ( SP_IS_FLOWPARA(child) ) {
} else if ( SP_IS_STRING(child) ) {
}
}
}
return repr;
}
// CPPIFY: remove
static Inkscape::XML::Node *sp_flowtspan_write(SPObject *object, Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags)
{
}
/*
*
*/
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;
}
{
//sp_object_class->build = sp_flowpara_build;
}
this->spflowpara = flowpara;
}
}
{
}
}
// CPPIFY: remove
{
}
{
if (flags & SP_OBJECT_MODIFIED_FLAG) {
}
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 {
}
}
}
}
// CPPIFY: remove
{
}
if (flags & SP_OBJECT_MODIFIED_FLAG) {
}
l = g_slist_prepend(l, child);
}
l = g_slist_reverse (l);
while (l) {
l = g_slist_remove(l, child);
}
}
}
// CPPIFY: remove
{
}
{
}
// CPPIFY: remove
{
}
}
// CPPIFY: remove
{
}
Inkscape::XML::Node *CFlowpara::onWrite(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags)
{
if ( flags&SP_OBJECT_WRITE_BUILD ) {
if ( SP_IS_FLOWTSPAN(child) ) {
} else if ( SP_IS_FLOWPARA(child) ) {
} else if ( SP_IS_STRING(child) ) {
}
if ( c_repr ) {
l = g_slist_prepend(l, c_repr);
}
}
while ( l ) {
l = g_slist_remove(l, l->data);
}
} else {
if ( SP_IS_FLOWTSPAN(child) ) {
} else if ( SP_IS_FLOWPARA(child) ) {
} else if ( SP_IS_STRING(child) ) {
}
}
}
return repr;
}
// CPPIFY: remove
static Inkscape::XML::Node *sp_flowpara_write(SPObject *object, Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags)
{
}
/*
*
*/
GType 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;
}
{
}
this->spflowline = flowline;
}
}
{
}
}
// CPPIFY: remove
{
}
if (flags & SP_OBJECT_MODIFIED_FLAG) {
}
}
// CPPIFY: remove
{
}
Inkscape::XML::Node *CFlowline::onWrite(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags)
{
if ( flags & SP_OBJECT_WRITE_BUILD ) {
}
} else {
}
return repr;
}
// CPPIFY: remove
static Inkscape::XML::Node *sp_flowline_write(SPObject *object, Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags)
{
}
/*
*
*/
{
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;
}
{
}
this->spflowregionbreak = flowregionbreak;
}
}
{
}
void CFlowregionbreak::onRelease() {
}
// CPPIFY: remove
{
}
if (flags & SP_OBJECT_MODIFIED_FLAG) {
}
}
// CPPIFY: remove
{
}
Inkscape::XML::Node *CFlowregionbreak::onWrite(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags)
{
if ( flags & SP_OBJECT_WRITE_BUILD ) {
}
} else {
}
return repr;
}
// CPPIFY: remove
static Inkscape::XML::Node *sp_flowregionbreak_write(SPObject *object, Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags)
{
}
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :