objprops.h

00001 // -*- C++ -*-
00002 
00003 /* 
00004  * Gnome Chemistry Utils
00005  * gcu/loader.h
00006  *
00007  * Copyright (C) 2007 Jean Bréfort <jean.brefort@normalesup.org>
00008  *
00009  * This program is free software; you can redistribute it and/or 
00010  * modify it under the terms of the GNU General Public License as 
00011  * published by the Free Software Foundation; either version 2 of the
00012  * License, or (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
00022  * USA
00023  */
00024 
00025 #ifndef GCU_OBJ_PROPS_H
00026 #define GCU_OBJ_PROPS_H
00027 
00028 enum {
00029         // Common properties
00030         GCU_PROP_ID,
00031         GCU_PROP_POS2D,
00032         // Document properties
00033         GCU_PROP_DOC_FILENAME,
00034         GCU_PROP_DOC_MIMETYPE,
00035         GCU_PROP_DOC_TITLE,
00036         GCU_PROP_DOC_COMMENT,
00037         GCU_PROP_DOC_CREATOR,
00038         GCU_PROP_DOC_CREATION_TIME,
00039         GCU_PROP_DOC_MODIFICATION_TIME,
00040         // Theme related properties (might be doc properties in some formats)
00041         GCU_PROP_THEME_BOND_LENGTH,
00042         // Atom properties
00043         GCU_PROP_ATOM_SYMBOL,
00044         GCU_PROP_ATOM_Z,
00045         GCU_PROP_ATOM_CHARGE,
00046         // Bond properties
00047         GCU_PROP_BOND_BEGIN,
00048         GCU_PROP_BOND_END,
00049         GCU_PROP_BOND_ORDER,
00050         GCU_PROP_BOND_TYPE, //normal, hash, wedge,...
00051         // Text properties
00052         GCU_PROP_TEXT_TEXT,
00053         GCU_PROP_TEXT_ALIGNMENT,
00054         GCU_PROP_FRAGMENT_ATOM_START, // index of the start of the symbol of the bonded atom if any
00055         GCU_PROP_FRAGMENT_ATOM_ID,
00056         // Arrows properties
00057         GCU_PROP_ARROW_COORDS,
00058         GCU_PROP_ARROW_START_ID,
00059         GCU_PROP_ARROW_END_ID,
00060         GCU_PROP_REACTION_ARROW_TYPE,
00061 };
00062 
00063 #endif  //      GCU_OBJ_PROPS_H

Generated on Sun Jun 22 13:26:05 2008 for The Gnome Chemistry Utils by  doxygen 1.5.6