static void annotation_get_props(Annotation *annotation, GPtrArray *props) { text_get_attributes(annotation->text,&annotation->attrs); object_get_props_from_offsets(&annotation->connection.object, annotation_offsets,props); }
void aadlbox_get_props(Aadlbox * aadlbox, GPtrArray *props) { text_get_attributes(aadlbox->name,&aadlbox->attrs); object_get_props_from_offsets(&aadlbox->element.object, aadlbox_offsets,props); }
static void state_get_props(State * state, GPtrArray *props) { text_get_attributes(state->text,&state->attrs); object_get_props_from_offsets(&state->element.object, state_offsets,props); }
static void function_get_props(Function * function, GPtrArray *props) { text_get_attributes (function->text, &function->attrs); object_get_props_from_offsets(&function->element.object, function_offsets, props); }
/*! * \brief Get properties of the _Image * \memberof _Image * Overwites DiaObject::get_props() to initialize pixbuf property */ static void image_get_props(Image *image, GPtrArray *props) { if (image->inline_data) image->pixbuf = (GdkPixbuf *)dia_image_pixbuf (image->image); object_get_props_from_offsets(&image->element.object, image_offsets, props); }
static void other_get_props(Other *other, GPtrArray *props) { text_get_attributes(other->text,&other->attrs); object_get_props_from_offsets(&other->element.object, other_offsets,props); }
static void component_get_props(Component * component, GPtrArray *props) { text_get_attributes(component->text,&component->attrs); object_get_props_from_offsets(&component->element.object, component_offsets,props); }
static void compfeat_get_props(Compfeat *compfeat, GPtrArray *props) { if (compfeat->roletmp) compfeat->role = compfeat->roletmp; text_set_position(compfeat->text, &compfeat->text_pos); object_get_props_from_offsets(&compfeat->orth.object, compfeat_offsets, props); }
void object_get_props(DiaObject *obj, GPtrArray *props) { const PropOffset *offsets = obj->type->prop_offsets; g_return_if_fail (offsets != NULL); object_get_props_from_offsets(obj, (PropOffset *)offsets, props); }
static void objet_get_props(Objet * objet, GPtrArray *props) { text_get_attributes(objet->text,&objet->text_attrs); /* the aligement is _not_ part of the deal */ objet->text_attrs.alignment = ALIGN_CENTER; if (objet->attrib) g_free(objet->attrib); objet->attrib = text_get_string_copy(objet->attributes); object_get_props_from_offsets(&objet->element.object, objet_offsets,props); }
static void realizes_get_props(Realizes * realizes, GPtrArray *props) { object_get_props_from_offsets(&realizes->orth.object, realizes_offsets,props); }
static void compound_get_props (Compound * comp, GPtrArray * props) { object_get_props_from_offsets(&comp->object, compound_offsets, props); }
static void usecase_get_props(Usecase * usecase, GPtrArray *props) { object_get_props_from_offsets(&usecase->element.object, usecase_offsets,props); }
static void ellipse_get_props(Ellipse *ellipse, GPtrArray *props) { object_get_props_from_offsets(&ellipse->element.object, ellipse_offsets,props); }
static void box_get_props(Box *box, GPtrArray *props) { object_get_props_from_offsets(&box->element.object, box_offsets,props); }
static void bus_get_props(Bus *bus, GPtrArray *props) { object_get_props_from_offsets(&bus->connection.object, bus_offsets, props); }
static void dependency_get_props(Dependency * dependency, GPtrArray *props) { object_get_props_from_offsets(&dependency->orth.object, dependency_offsets,props); }
static void textobj_get_props(Textobj *textobj, GPtrArray *props) { object_get_props_from_offsets(&textobj->object,textobj_offsets,props); }
static void basestation_get_props(Basestation * basestation, GPtrArray *props) { object_get_props_from_offsets(&basestation->element.object, basestation_offsets,props); }
static void step_get_props(Step *step, GPtrArray *props) { object_get_props_from_offsets(&step->element.object, step_offsets,props); }
static void node_get_props(Node * node, GPtrArray *props) { object_get_props_from_offsets(&node->element.object, node_offsets,props); }
static void lifeline_get_props(Lifeline * lifeline, GPtrArray *props) { object_get_props_from_offsets(&lifeline->connection.object, lifeline_offsets, props); }
static void mbr_get_props(Mbr * mbr, GPtrArray *props) { object_get_props_from_offsets(&mbr->connection.object, mbr_offsets, props); }
static void wanlink_get_props(WanLink *wanlink, GPtrArray *props) { object_get_props_from_offsets(&wanlink->connection.object, wanlink_offsets, props); }
static void image_get_props(EImage *image, GPtrArray *props) { object_get_props_from_offsets(&image->element.object, image_offsets, props); }
static void largepackage_get_props(LargePackage * largepackage, GPtrArray *props) { object_get_props_from_offsets(&largepackage->element.object, largepackage_offsets, props); }
static void chronoref_get_props(Chronoref *chronoref, GPtrArray *props) { object_get_props_from_offsets(&chronoref->element.object, chronoref_offsets,props); }
static void message_get_props(Message * message, GPtrArray *props) { object_get_props_from_offsets(&message->connection.object, message_offsets, props); }
static void flow_get_props(Flow * flow, GPtrArray *props) { object_get_props_from_offsets(&flow->connection.object, flow_offsets, props); }
static void attribute_get_props(Attribute *attribute, GPtrArray *props) { object_get_props_from_offsets(&attribute->element.object, attribute_offsets, props); }