diff -r 513107d1ed59 -r d7d0708b1c60 ornamentedobj.h --- a/ornamentedobj.h Tue Dec 04 12:32:56 2007 +0000 +++ b/ornamentedobj.h Tue Dec 04 12:32:59 2007 +0000 @@ -1,6 +1,7 @@ #ifndef ORNAMENTEDOBJ_H #define ORNAMENTEDOBJ_H +#include "attribute.h" #include "frameobj.h" #include "linkablemapobj.h" @@ -58,11 +59,16 @@ virtual QString getNoteASCII(const QString &indent, const int &width); // returns note (ASCII) virtual QString getNoteASCII(); // returns note (ASCII) virtual QString getNoteOpenDoc(); // returns note (OpenDoc) + virtual void setURL (QString); virtual QString getURL (); + virtual void setVymLink (QString); virtual QString getVymLink (); + virtual QList getAttributes (); + virtual void setAttributes (const QList &al); + virtual void clearStandardFlags(); virtual void toggleStandardFlag(QString, bool exclusive=false); virtual void activateStandardFlag(QString); @@ -76,7 +82,7 @@ virtual void setHideInExport(bool); // set export of object (and childs) virtual bool hideInExport(); virtual bool isHidden (); - virtual QString getOrnAttr(); // get attributes for saveToDir + virtual QString getOrnXMLAttr(); // get attributes for saveToDir protected: HeadingObj *heading; // Heading @@ -88,6 +94,8 @@ QRectF ornamentsBBox; // bbox of flags and heading QString url; // url to external doc QString vymLink; // path to another map + QList attributes; // List with attributes + bool hideExport; // hide in exports if set bool hidden; // true if temporary hidden };