diff -r 9d9da416206e -r 92bebad145d2 ornamentedobj.h --- a/ornamentedobj.h Thu Nov 08 15:28:03 2007 +0000 +++ b/ornamentedobj.h Wed Dec 05 14:58:02 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 };