Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 8226 → Rev 8227

/branches/Version13x/Scribus/scribus/desaxe/saxiohelper.h
1,18 → 1,36
#ifndef SAXHELPER_H
#define SAXHELPER_H
 
#include <qstring.h>
#include "desaxe_conf.h"
 
class ScFace;
class FPointArray;
 
QString toXMLString(uint val);
QString toXMLString(int val);
QString toXMLString(double val);
QString toXMLString(const QString& val);
QString toXMLString(bool val);
QString toXMLString(const ScFace& val);
QString toXMLString(bool what);
QString toXMLString(const FPointArray& path);
Xml_string toXMLString(unsigned int val);
Xml_string toXMLString(int val);
Xml_string toXMLString(unsigned long val);
Xml_string toXMLString(long val);
Xml_string toXMLString(double val);
Xml_string toXMLString(float val);
Xml_string toXMLString(bool val);
Xml_string toXMLString(const Xml_string& val);
 
Xml_string toXMLString(const ScFace& val);
Xml_string toXMLString(const FPointArray& path);
 
unsigned int parseUInt(Xml_string str);
int parseInt(Xml_string str);
unsigned long parseULong(Xml_string str);
long parseLong(Xml_string str);
double parseDouble(Xml_string str);
float parseFloat(Xml_string str);
bool parseBool(Xml_string str);
 
template <class ENUM>
ENUM parseEnum(Xml_string str)
{
return static_cast<ENUM>(str.toUInt());
}
 
 
#endif