# objprops.h

Go to the documentation of this file.

    00001 // -*- C++ -*-
    00002
    00003 /*
    00004  * Gnome Chemistry Utils
    00005  * gcu/loader.h
    00006  *
    00007  * Copyright (C) 2007-2008 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
    00033 enum {
    00034         // Common properties
    00038         GCU_PROP_ID,
    00042         GCU_PROP_POS2D,
    00046         GCU_PROP_POS3D,
    00047         // Document properties
    00051         GCU_PROP_DOC_FILENAME,
    00055         GCU_PROP_DOC_MIMETYPE,
    00059         GCU_PROP_DOC_TITLE,
    00063         GCU_PROP_DOC_COMMENT,
    00067         GCU_PROP_DOC_CREATOR,
    00071         GCU_PROP_DOC_CREATION_TIME,
    00075         GCU_PROP_DOC_MODIFICATION_TIME,
    00076         // Theme related properties (might be doc properties in some formats)
    00080         GCU_PROP_THEME_BOND_LENGTH,
    00081         // Atom properties
    00085         GCU_PROP_ATOM_SYMBOL,
    00089         GCU_PROP_ATOM_Z,
    00093         GCU_PROP_ATOM_CHARGE,
    00094         // Bond properties
    00098         GCU_PROP_BOND_BEGIN,
    00102         GCU_PROP_BOND_END,
    00105         GCU_PROP_BOND_ORDER,
    00109         GCU_PROP_BOND_TYPE, //normal, hash, wedge,...
    00110         // Text properties
    00114         GCU_PROP_TEXT_TEXT,
    00118         GCU_PROP_TEXT_MARKUP,
    00122         GCU_PROP_TEXT_ALIGNMENT,
    00126         GCU_PROP_TEXT_JUSTIFICATION,
    00130         GCU_PROP_FRAGMENT_ATOM_START, // index of the start of the symbol of the bonded atom if any
    00134         GCU_PROP_FRAGMENT_ATOM_ID,
    00135         // Arrows properties
    00140         GCU_PROP_ARROW_COORDS,
    00144         GCU_PROP_ARROW_START_ID,
    00148         GCU_PROP_ARROW_END_ID,
    00152         GCU_PROP_REACTION_ARROW_TYPE,
    00153 };
    00154
    00155 #endif  //      GCU_OBJ_PROPS_H