/*
 * This file is part of OpenModelica.
 *
 * Copyright (c) 1998-2010, Linköpings University,
 * Department of Computer and Information Science,
 * SE-58183 Linköping, Sweden.
 *
 * All rights reserved.
 *
 * THIS PROGRAM IS PROVIDED UNDER THE TERMS OF THIS OSMC PUBLIC
 * LICENSE (OSMC-PL). ANY USE, REPRODUCTION OR DISTRIBUTION OF
 * THIS PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THE OSMC
 * PUBLIC LICENSE.
 *
 * The OpenModelica software and the Open Source Modelica
 * Consortium (OSMC) Public License (OSMC-PL) are obtained
 * from Linköpings University, either from the above address,
 * from the URL: http://www.ida.liu.se/projects/OpenModelica
 * and in the OpenModelica distribution.
 *
 * This program is distributed  WITHOUT ANY WARRANTY; without
 * even the implied warranty of  MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE, EXCEPT AS EXPRESSLY SET FORTH
 * IN THE BY RECIPIENT SELECTED SUBSIDIARY LICENSE CONDITIONS
 * OF OSMC-PL.
 *
 * See the full OSMC Public License conditions for more details.
 *
 * For more information about the Qt-library visit TrollTech's webpage 
 * regarding the Qt licence: http://www.trolltech.com/products/qt/licensing.html
 */

/*!
* \file xmlnodename.h
* \author Anders Fernström
* \date 2005-11-30
*
* \brief Define the xml node names for the xml format used to save the
* cell structure
*/

// notebook
#define XML_NOTEBOOK      "Notebook"

// cell element
#define XML_GROUPCELL      "GroupCell"
#define XML_TEXTCELL      "TextCell"
#define XML_INPUTCELL      "InputCell"
#define XML_GRAPHCELL      "GraphCell"

// attribute
#define XML_CLOSED        "closed"
#define XML_STYLE        "style"
#define XML_NAME        "name"

// child
#define XML_TEXT        "Text"
#define XML_RULE        "Rule"
#define XML_IMAGE        "Image"
#define XML_INPUTPART      "Input"
#define XML_OUTPUTPART      "Output"

#define XML_FALSE        "false"
#define XML_TRUE        "true"

// Define different read mode
#define READMODE_NORMAL        1
#define READMODE_OLD        2
#define READMODE_CONVERTING_ONB    3

#define XML_GRAPHCELL_OMCPLOT "OMCPlot"
#define XML_GRAPHCELL_TITLE "Title"
#define XML_GRAPHCELL_GRID "Grid"
#define XML_GRAPHCELL_PLOTTYPE "PlotType"
#define XML_GRAPHCELL_LOGX "LogX"
#define XML_GRAPHCELL_LOGY "LogY"
#define XML_GRAPHCELL_XLABEL "XLabel"
#define XML_GRAPHCELL_YLABEL "YLabel"
#define XML_GRAPHCELL_XRANGE_MIN "XRangeMin"
#define XML_GRAPHCELL_XRANGE_MAX "XRangeMax"
#define XML_GRAPHCELL_YRANGE_MIN "YRangeMin"
#define XML_GRAPHCELL_YRANGE_MAX "YRangeMax"
#define XML_GRAPHCELL_CURVE_WIDTH "CurveWidth"
#define XML_GRAPHCELL_CURVE_STYLE "CurveStyle"
#define XML_GRAPHCELL_LEGENDPOSITION "LegendPosition"

#define XML_GRAPHCELL_CURVE "Curve"
#define XML_GRAPHCELL_XDATA "XData"
#define XML_GRAPHCELL_YDATA "YData"
#define XML_GRAPHCELL_VISIBLE "Visible"
#define XML_GRAPHCELL_COLOR "Color"

#define XML_GRAPHCELL_DATA "Data"
#define XML_GRAPHCELL_AREA  "Area"

#define XML_GRAPHCELL_GRAPH  "Graph"
#define XML_GRAPHCELL_SHAPE "Shape"
