00001 /**************************************************************************** 00002 ** $Id: acalctemplate.h,v 1.2 2007/02/23 21:04:26 gr Exp $ 00003 ** 00004 ** Report metadata object header file of 00005 ** Ananas application library 00006 ** 00007 ** Created : 20050202 00008 ** 00009 ** Copyright (C) 2003-2005 Grigory Panov <gr1313 at mail.ru>, Yoshkar-Ola. 00010 ** 00011 ** This file is part of the Designer application of the Ananas 00012 ** automation accounting system. 00013 ** 00014 ** This file may be distributed and/or modified under the terms of the 00015 ** GNU General Public License version 2 as published by the Free Software 00016 ** Foundation and appearing in the file LICENSE.GPL included in the 00017 ** packaging of this file. 00018 ** 00019 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00020 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00021 ** 00022 ** See http://www.leaderit.ru/page=ananas or email sales@leaderit.ru 00023 ** See http://www.leaderit.ru/gpl/ for GPL licensing information. 00024 ** 00025 ** Contact org@leaderit.ru if any conditions of this licensing are 00026 ** not clear to you. 00027 ** 00028 **********************************************************************/ 00029 #ifndef ACALCTEMPLATE_H 00030 #define ACALCTEMPLATE_H 00031 00032 #include <qstring.h> 00033 #include <qptrlist.h> 00034 #include <qvaluestack.h> 00035 #include <qdom.h> 00036 00037 #include "ananasglobal.h" 00038 #include "aootemplate.h" 00039 00048 class ANANAS_EXPORT aCalcTemplate : public aOOTemplate 00049 { 00050 public: 00051 aCalcTemplate(); 00052 virtual ~aCalcTemplate(); 00053 protected: 00054 virtual bool getNodeTags(QDomNode node, const QString &tagname, bool params ); 00055 virtual void insertTagsValues(QDomNode node, const QString &tagName); 00056 QDomNode getCellNode(QDomNode node); 00057 }; 00058 #endif // ACALCTEMPLATE_H